I have no idea how to do this can someone teach me step by step please?!
using integration, find the area of the triangle with vertices (0,0)(2,1)(-1,6)
Given a function , gives us the area between the function and the x-axis, from a to b.
Naturally, when we have two functions and , where is always bigger than , then gives us the area between the two functions.
So, we have 3 points . We can find three lines from these points, and each line will cross two of the points. These will be the sides of the triangle. We can obtain these with simple algebra
crosses (0,0) and (2,1)
crosses (0,0) and (-1,6)
crosses (2,1) and (-1,6)
Now if we draw out the triangle on the xy plane, we see that is above when
So the area between the two lines is given by .
Similarly, is about when and the area between the two lines is given by .
I'll leave you to solve these integrals. Now we see that by our setup, the sum of the two areas, is the area of the triangle. So the area of the triangle is
Drawing a rectangle from (-1,0) to (2,6) creates 3 triangles around yours. The surface of your triangle can be written as the surface of the rectangle minus the surface of the three triangles around your triangle:
Which leads to:
18-[3+1+7.5] = 6.5
This can be done for all possible triangles!
In your case the surfaces of the three triangles around the main traingle can be calcluated using integrals:
-6x integrated from -1 to 6 = 3
triangle 1: 3
0.5x integrated from 0 to 2 = 1
triangle 2: 1
4,33-(5/3)x integrated from -1 to 2 = 10.5
triangle 3: 3*6-10.5=7.5
This method is not as elegant as one given by Haven, but hopefully better understandable.
If you have time left you can try the Gauss method:
The surface of an figure can be calculated by multiplying the following factors per line. The summation over all lines leads to the surface.
a) The length of the line
b) The average x-coordinate
c) The x value of the normal on the line
First line ([0,0] [2,1])
second line ([2,1] [-1,6])
third line ([-1,6] [0,0])
(NOTICE the normal vector has a negative x-value)
surface = a1*b1*c1 + a2*b2*c2 + a3*b3*c3 = 6.5
This method is far too complicated for this case, but can be usefull for more complicated geometries.