Explanation:
Below are different types of triangles:-
- Equilateral triangle - All the three sides are of equal length
- Isosceles triangle - Two sides are equal
- Scalene triangle - All the three sides are of different length
- Right triangle - One angle is 90 degrees
We can find the length of the three sides by using the distance formula.
The distance formula is
If the length of all three sides are equal then it will be an equilateral triangle.
If the length of any two sides are equal then it will be an isosceles triangle.
If the length of all sides are different then it will be scalene triangle.
Now, using the slope formula, we can find whether the triangle is right triangle or not.
Slope formula is given by
If the product of any two slopes is -1. then the angle between them is 90 degrees and hence can be classified as a right triangle.