In the triangle ABC with vertices A(2, 3), B (4, -1) and C(1, 2), find the equation and length of altitude from the vertex A
Slope of BC
=2−(−1)1−4=2+1−3=3−3=−1
Since AD ⊥ BC, so slope of AD = 1.
∴ Equation of AD is
y - 3 = 1 (x - 2) ⇒ x - y + 1 = 0
Equation of line BC is
y + 1 =-1 (x - 4) ⇒ x + y - 3 = 0
∴ Length of
AD=∣∣ ∣∣2+3−3√(1)2+(1)2∣∣ ∣∣
=∣∣∣2√2∣∣∣=√2 units