Find the equation of the altitude AD of the triangle whose vertices are (7,−1), (−2,8) and (1,2).
x−2y−9=0
Slope of (BC)=2−81+2=−63=−2
∴ slope of (AD)=12 [as the lines are perpendicular]
Equation of AD is y−y1=m(x−x1) [Point Slope form]
⇒ y+1=12(x−7)
⇒ 2y+2=x−7 or x−2y−9 =0