MHB Finding the area of a triangle formed by 3 points in the plane

AI Thread Summary
To find the area of a triangle formed by three points in the plane, the formula A = 1/2 * |(x3-x1)(y2-y1) - (x2-x1)(y3-y1)| is derived. The base of the triangle is defined by the distance between the first two points, and the height is the perpendicular distance from the third point to this base. A user pointed out an error in the initial formula, suggesting the determinant method A = 1/2 * |det| for accuracy. The discussion highlights the importance of verifying mathematical formulas through examples. The corrected formula is now acknowledged as valid for calculating the area of a triangle given three points.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Suppose we have 3 points in the plane given by:

$\displaystyle (x_1,y_1),\,(x_2,y_2),\,(x_3,y_3)$

and we wish to find the area of the triangle whose vertices are at these points.

We may let the base b of the triangle be the line segment between the first two points, and the altitude h of the triangle will be the perpendicular distance from the third point to the base.

Let's begin with the familiar formula for the area A of a triangle:

$\displaystyle A=\frac{1}{2}bh$

Now, using the distance formula, we find:

$\displaystyle b=\sqrt{(x_2-x_1)^2+(y_2-x_y)^2}$

The line through the first two points, using the point-slope formula is:

$\displaystyle y-y_1=\frac{y_2-y_1}{x_2-x_1}(x-x_1)$

Arranging this in slope-intercept form, we find:

$\displaystyle y=\frac{y_2-y_1}{x_2-x_1}x-\frac{x_1y_2-y_1x_2}{x_2-x_1}$

Now, using the formula for the distance between a point and a line, we find:

$\displaystyle h=\frac{\left|\frac{y_2-y_1}{x_2-x_1}x_3-\frac{x_1y_2-y_1x_2}{x_2-x_1}-y_3 \right|}{\sqrt{\left(\frac{y_2-y_1}{x_2-x_1} \right)^2+1}}$

$\displaystyle h=\frac{\left|(y_2-y_1)x_3-(x_1y_2-y_1x_2)-y_3(x_2-x_1) \right|}{\sqrt{(x_2-x_1)^2+(y_2-x_y)^2}}$

$\displaystyle h=\frac{\left|(x_3-x_1)(y_2-y_1)-(x_2-x_1)(y_3-y_1) \right|}{\sqrt{(x_2-x_1)^2+(y_2-x_y)^2}}$

And so we have:

$\displaystyle A=\frac{1}{2}\left|(x_3-x_1)(y_2-y_1)-(x_2-x_1)(y_3-y_1) \right|$

Comments and questions should be posted here:

http://mathhelpboards.com/commentary-threads-53/commentary-finding-area-triangle-formed-3-points-plane-4217.html
 
Last edited:
Physics news on Phys.org
Moderator edit: This topic is for commentary pertaining to the tutorial:

http://mathhelpboards.com/math-notes-49/finding-area-triangle-formed-3-points-plane-2954.html

Hello, MarkFL!

Sorry, your formula doesn't work.

Try it for: $(0,0), (6,0), (0,4).$
The area should be $12.$The formula that I saw derived years ago:

. . $A \;=\;\dfrac{1}{2}\begin{vmatrix}1&1&1 \\ x_1 & x_2 & x_3 \\ y_1 & y_2 & y_3 \end{vmatrix}$

where we take the absolute value of the determinant.
 
Last edited by a moderator:
Re: Finding the area of a triangle formed by 3 points in the plane

Thanks for catching my error, which I have corrected above...I should have followed my notes more carefully! (Smirk)
 

Similar threads

Replies
5
Views
2K
Replies
1
Views
1K
Replies
6
Views
1K
Replies
12
Views
2K
Replies
4
Views
1K
Replies
9
Views
3K
Back
Top