Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

What is the simplest way to find out the area of a triangle if the coordinates of the three vertices are given in x-y plane?

One approach is to find the length of each side from the coordinates given and then apply the heron's formula.Is this the best way possible?

Is it possible to compare the area of triangles with their coordinates provided without actually calculating their respective areas?

share|improve this question

4 Answers 4

What you are looking for is the shoelace formula:

$$\frac{1}{2} \big| (x_A - x_C) (y_B - y_A) - (x_A - x_B) (y_C - y_A) \big|$$

share|improve this answer

if $(x_1,y_1),(x_2,y_2),(x_3,y_3)$ are the vertices of a triangle then its area is given by

$$|\frac12(x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_1-y_2))|$$

share|improve this answer

Heron's formula is inefficient; there is in fact a direct formula. If the triangle has one vertex at the origin, and the other two vertices are $(a,b)$ and $(c,d)$, the formula for its area is $$ A = \frac{\left| ad - bc \right|}{2} $$

To get a formula where the vertices can be anywhere, just subtract the coordinates of the third vertex from the coordinates of the other two (translating the triangle) and then use the above formula.

share|improve this answer

$${1\over 2}\vert x_1(y_2-y_3)+x_2(y_3-y_1)+x_3(y_2-y_1)|$$

share|improve this answer
1  
Hi and welcome on Math SX! Do you mind adding a bit of explaination? –  MattAllegro 2 days ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.