**Coordinate geometry** is defined as the study of geometry using the coordinate points on the plane with any dimension. Using coordinate geometry, it is possible to find the distance between two points, dividing lines in a ratio, finding the mid-point of a line, calculating the area of a triangle in the Cartesian plane, etc.

There are various methods to find the area of the triangle according to the parameters given, like the base and height of the triangle, co-ordinates of vertices, length of sides, etc. Following are 3 such methods for finding the area of a triangle.

**Method 1:** Using Base and Height of Triangle

When the base and altitude of the triangle are given we will use this method and this method is the simplest of all the methods. For a given triangle if the altitude of a triangle is ‘**h**‘ and the base of the triangle is ‘**b**‘ then the area of a triangle is given as:

**Derivation of the Formula**

**Step 1: **Consider the right triangle ABC.

**Step 2: **Now draw a horizontal line from point A and a vertical line from point C. Let the point be D where both the lines meet.

**Step 3:** The figure will look something like a rectangle i.e if we add 2 similar triangles then a rectangle is generated.

**Step 4: **As we required the area of triangle ABC then we can write it as an (area of rectangle ABCD / 2).

**Step 5:** Continuing the 4th step:

=> Area of ABC = (area of rectangle ABCD / 2)

=> Area of ABC = (b Ã— h) / 2

Hence, proved that area of the triangle is (1 / 2) Ã— b Ã— h

### Sample Problems on the Formula

**Example 1:** Find the area of the triangle whose height and base are 6 cm and 5 cm?

**Solution:** In the question, it is clearly mentioned that height and base are:

Given, h = 6 and b = 5

Area of triangle is given as = Â (1 / 2) Ã— b Ã— h

=> (1 / 2) Ã— 6 Ã— 5

=> 3 Ã— 5 = 15

Hence, the area of the given triangle is

15 cm^{2}

**Example 2:** Find the height of the triangle whose area is 12 cm^{2} and the base is 6 cm?

**Solution:Â **

Given, area = 12 and b = 6

Area of triangle is = (1 / 2) Ã— b Ã— h

=> 12 = (1 / 2) Ã— 6 Ã— h

=> h = 12 / 3 = 4

Hence, the height of the given triangle is 4 cm.

## Method 2: Using Heron’s Formula

When both the base and height of the triangle are not given then we can use Heron’s formula if the sides of the triangle are given.

If a, b, c are sides of the triangle then the area of the triangle is given as:

**Derivation of the Formula**

**Step 1: **As we know semi perimeter s = (a + b + c) / 2

=> 2s = a + b + c

=> 2s – 2a = a + b + c – 2a Â Â Â Â [subtracting both sides 2a]

=> 2(s – a) = b + c – a Â Â Â Â —————1

Similarly,

=> 2(s – b) = c + a – b Â Â Â —————2

=> 2(s – c) = a + b – c Â Â Â Â —————3

We will be using these relations later in the derivation.

**Step 2: **Now, let’s take a scalene triangle of sides a, b, c

**Step 3:** As we don’t have the height or altitude of the triangle, draw a perpendicular from A on BC at D and the base will be ‘a’.

**Step 4:** Now if we clearly observe there are two triangles formed which are **âˆ†****ABD** and** ****âˆ†****ADC**. And if the length of BD is d then the length of DC will be a – d.

**Step 5: **Now in triangle ABD, by Pythagoras theorem

=> h

^{2}= c^{2}– d^{2 Â }Â Â ——————–4Similarly in âˆ†ADC

=> h

^{2}= b^{2}– (a – d)^{2}From equation 4 substitute value of h

^{2}=> c

^{2}– d^{2}= b^{2}– (a – d)^{2}=> c

^{2}– d^{2}= b^{2}– (a^{2 }+ d^{2}– 2ad)After simplification of the equation we will get,

d = (c

^{2}+ a^{2}+ b^{2}) / 2aNow substitute above value in the equation 4

=> h

^{2}= c^{2}– [(c^{2}+ a^{2}+ b^{2}) / 2a]^{2}=> h

^{2}= (c – {(c^{2}+ a^{2}+ b^{2}) / 2a})(c + {(c^{2}+ a^{2}+ b^{2}) / 2a}) Â Â Â Â because [a^{2}– b^{2}= (a + b)(a – b)]=> h

^{2}= (1 / 4a^{2})[ b^{2}– (a – c)^{2}][(a + c)^{2 }– b^{2}]=> h

^{2}= (1 / 4a^{2})[(b – a + c)(b + a – c)(a + c – b)(a + b + c)] Â Â Â because [a^{2}– b^{2}= (a + b)(a – b)]From equation 1, 2 and 3 substitutes into above equation

=> h

^{2}= (1 / 4a^{2}) [2(s – a) Ã— 2(s – b) Ã— 2(s – c) Ã— 2s]=> h

^{2}= (4 / a^{2}) [s(s – a)(s – b)(s – c)]=> h = (2 / a) âˆš[s(s – a)(s – b)(s – c)] Â Â Â Â Â Â Â ————–5

**Step 6:** From method 1 we know if base and height of triangle are given then area of triangle is (base Ã— height) / 2. Now substitute height in this formula

=> area of ABC = (1 / 2) Ã— a Ã— (2 / a) âˆš[s(s – a)(s – b)(s – c)]Â

After simplification

=> area of ABC = âˆš[s(s – a)(s – b)(s – c)]Â

Therefore, the heron’s formula for the area of the triangle is proved.

### Sample Problems on Heron’s Formula

**Example 1:** If the sides of the triangle are 3 cm, 4 cm, and 5 cm then find the area of the triangle.

**Solution:**

Let a = 3, b = 4, and Â c = 5Â

First, we have to find semi perimeterÂ

=> s = (a + b + c) / 2

=> s = (3 + 4 + 5) / 2Â

=> s = 12 / 2 = 6

As we know heron’s formula is âˆš[s(s – a)(s – b)(s – c)], so substituting values in it

=> âˆš[s(s – a)(s – b)(s – c)]

=> âˆš[6(6 – 3)(6 – 4)(6 – 5)]

=> âˆš[6 Ã— 3 Ã— 2 Ã— 1]

=> âˆš36 = 6

The area of the triangle is

6 cm^{2}

**Example 2: **Using heron’s formula derive formula to find area of equilateral triangle whose side is a

**Solution:**

To find semi perimeter

=> s = (a + b + c) / 2

=> s = (a + a + a ) / 2

=> s = 3a / 2

Now using heron’s formula

=> âˆš[s(s – a)(s – b)(s – c)]

=> âˆš[(3a / 2)((3a / 2) – a)((3a / 2) – a)((3a / 2) – a)]

=> âˆš[(3a / 2)(a / 2)(a / 2)(a / 2)]

=> âˆš(3a

^{4}/ 16)=> âˆš3(a

^{2}) / 4ÂHence area of a equilateral triangle is Â

âˆš3(a^{2}) / 4

## Method 3: Using Coordinates of the vertices

In the previous methods, we have seen different conditions, in method 3 if coordinates of the triangle are given then we will see how to found the area of the triangle.

If coordinates of the triangle are(x1, y1), (x2, y2), and (x3, y3) then the area of the triangle is given by

**Derivation of the Formula**

**Step 1:** Draw the perpendiculars from coordinates P, Q, and R to X-axis at A, B, and C respectively.

**Step 2:** Now if we look at the figure carefully, three different trapeziums are formed such as PQAB, PBCR, and QACR in the coordinate plane.

**Step 3:** So the area of **âˆ†QPR** is calculated asÂ

Area of âˆ†PQR = [Area of trapezium PQAB + Area of trapezium PBCR] – [Area of trapezium QACR] Â Â Ââ€”-(1)

**Step 4:** Now calculating areas of all 3 trapeziums.

Since Area of a trapezium = (1 / 2) (sum of the parallel sides) Ã— (distance between sides)

**Finding Area of a Trapezium PQAB** Â

=> Area of trapezium PQAB = (1 / 2)(QA + PB) Ã— AB

=> QA = y2

=> PB = y1

=> AB = OB â€“ OA = x1 â€“ x2

=> Area of trapezium PQAB = (1 / 2)(y1 + y2)(x1 â€“ x2 ) â€”-(2)

**Finding Area of a Trapezium PBCR**

=>Area of trapezium PBCR =(1 / 2) (PB + CR) Ã— BC

=>PB = y1

=>CR = y3

=>BC = OC â€“ OB = x3 â€“ x1

=>Area of trapezium PBCR =(1 / 2) (y1 + y3 )(x3 â€“ x1) â€”-(3)

**Finding Area of a Trapezium QACR**

=>Area of trapezium QACR = (1 / 2) (QA + CR) Ã— AC

=>QA = y2

=>CR = y3

=>AC = OC â€“ OA = x3 â€“ x2

=>Area of trapezium QACR =(1 / 2)(y2 + y3 ) (x3 â€“ x2 )â€”-(4)

**Step 5: **Substituting (2), (3) and (4) in (1),

=> Area of âˆ†PQR = (1 / 2)[(y1 + y2)(x1 â€“ x2 ) + (y1 + y3 )(x3 â€“ x1) â€“ (y2 + y3 ) (x3 â€“ x2 )]

=>

Area of âˆ†PQR = (1 / 2) |[x1 (y2 â€“ y3 ) + x2 (y3 â€“ y1 ) + x3(y1 â€“ y2)]|

Therefore, this is the formula to find the area of triangle if coordinates are given.Â

Note:Observe that there is a mod, which indicates that, if we got a negative value we should only consider the numerical value as the area can’t be negative.

### Sample Problems on the Formula

**Example 1:** What is the area of the âˆ†ABC whose vertices are A(1, 2), B(4, 2), and C(3, 5)?

**Solution:**

Firstly, let’s draw a diagram for a better understanding.

Now comparing the given coordinates with (x1, y1), (x2, y2), and (x3, y3).

Let, (x1, y1) = (1, 2)

=> (x2, y2) = (4, 2)

=> (x3, y3) = (3, 5)

Now we have to substitute the values in **(1 / 2) [x1 (y2 â€“ y3 ) + x2 (y3 â€“ y1 ) + x3(y1 â€“ y2)]**

=> (1 / 2) [1 (2 â€“ 5 ) + 4 (5 â€“ 2 ) + 3(2 â€“ 2)]

=> (1 / 2) [(- 3) + 12 + 0]

=> (1 / 2) [9] = 4.5

Hence the area of the triangle is

4.5 sq units

**Example 2:** What is the value of x1 whose area of a triangle is 1 of coordinates (x1, 1), (2, 3), and (4, 5)?

**Solution:**

Firstly, let’s draw a diagram for a better understanding.

In this problem, we have to find the value of ‘x1’, which is X coordinate of point A.

It is given that the area of the triangle is 1.

Now comparing the given coordinates with (x1, y1), (x2, y2), and (x3, y3).

Let, (x1, y1) = (x1, 1)

=> (x2, y2) = (2, 3)

=> (x3, y3) = (4, 5)

Now we have to substitute the values in **(1 / 2) [x1 (y2 – y3 ) + x2 (y3 – y1 ) + x3(y1 – y2)]**

=> (1 / 2) [x1(3 – 5 ) + 2(5 – 1 ) + 4(1 – 3)] = 1

=> (1 / 2) [x1(- 2) + 8 + -8] = 1

=> -x1 = 1

=> x1 = Â±1 square units.

Hence, the value of x1 can be both

-1and1