If the equation of the base of an equilateral triangle is x + y = 2 and the vertex is (2, – 1), then find the length of the side of the triangle.
Let ABC be an equilateral triangle, BC is base, and altitude from A on BC meets at mid-point D.
Given:Equation of the base BC is x+y=2
Distance of point (x1,y1) from the equation Ax+By+C=0
Now, length of perpendicular from vertex A(2,-1) to the line x+y=2
Squaring both the sides, we get