‘| |’ means modulus. It’s turns the internal value positive. We get a negative answer while finding the area of a triangle because there points in the quadrant other than the 1st quandrant i.e where all values are positive Area of a triangle can never be negative, so we use modulus