HIRDESHWAR S. answered 05/05/24
M.Sc. & Ph.D. in Mathematics. Experienc 40 years
Given: Suppose a triangle in the x-y plane has vertices (-1,0), (1,0) and (0,2), how can I find tthe equations of the three lines that lie along the sides of the triangle in y = mx + b form?
Let these vertices be called A(-1,0), B(1,0), C(0,2). Use the formula for equation of a straight line passing through two given points (x1, y1) and (x2, y2):
y- y1 = [(y2-y1)/(x2-x1)](x-x1)
Equation of line AB: y-0 = [(0-0)/(1+1)](x-+1)
y = 0(x+1)
y=0.
Equation of line BC: y-0 = [(2-0)/(0-1)](x-1)
y = -2(x-1) i.e y = -2x + 2,
Equation of line AC: y - 0 = [(2-0) / (0 + 1)]((x+1)= 2(x+1)
y = 2x + 2