in which case area of triangle is negative
Answers
Step-by-step explanation:
Given the coordinates of the three vertices of any triangle, the area of the triangle is given by:
A x ( B y − C y ) + B x ( C y − A y ) + C x ( A y − B y )
2
where Ax and Ay are the x and y coordinates of the point A etc..
This formula allows you to calculate the area of a triangle when you know the coordinates of all three vertices. It does not matter which points are labelled A,B or C, and it will work with any triangle, including those where some or all coordinates are negative.
Looking at the formula above, you will see it is enclosed by two vertical bars like this:
area = A x
The two vertical bars mean "absolute value". This means that it is always positive even if the formula produced a negative result. Polygons can never have a negative area.
Hope this helps mate ☺️.