Let the altitudes be, AM,BN and CO respectively
Given, A(2,−2),B(1,1),C(−1,0)
Slope of AM= -1 / Slope of BC
=−1(−1−10−1)=−2
(y+2)=−2(x−2)..........A(2,-2)
2x+y=2 is the equation of altitude AM.
Slope of BN= -1 / Slope of AC
=−1(−1−20+2)=32
(y−1)=32(x−1)..........B(1,1)
3x−2y=1 is the equation of altitude BN.
Slope of CO= -1 / Slope of AB
=−1(1−21+2)=13
(y−0)=13(x+1)..........C(-1,0)
3y−x=1 is the equation of altitude CO.