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

Click For Summary
SUMMARY

The area of a triangle formed by three points in the plane can be calculated using the formula A = 1/2 |(x3 - x1)(y2 - y1) - (x2 - x1)(y3 - y1)|. This formula derives from the distance between a point and a line, utilizing the coordinates of the triangle's vertices (x1, y1), (x2, y2), and (x3, y3). An alternative method involves using the determinant of a matrix, A = 1/2 |det|, which provides an equivalent result for calculating the area.

PREREQUISITES
  • Understanding of coordinate geometry
  • Familiarity with the distance formula
  • Knowledge of determinants in linear algebra
  • Proficiency in algebraic manipulation and slope-intercept form
NEXT STEPS
  • Study the derivation of the area formula using determinants
  • Learn about the properties of determinants in geometry
  • Explore applications of the area formula in computational geometry
  • Investigate alternative methods for calculating areas of polygons
USEFUL FOR

Mathematicians, students studying geometry, educators teaching coordinate geometry, and software developers working on geometric algorithms.

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 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 15 ·
Replies
15
Views
1K
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K