The centroid of the triangle formed by the lines x+y=0:2x+y+5=0 and x−y=2 is
We have,
x+y=0......(1)
2x+y+5=0.....(2)
x−y=2......(3)
From equation (1) and (2) to,
x+y=0
2x+y=−5
On subtracting and we get,
(x1,y1)=(−5,5)
From equation (2) and (3) to, we get,
2x+y+5=0
x−y−2=0
On adding and we get,
(x2,y2)=(−1,−3)
From equation (3) and (1) to, and we get,
x−y−2=0
x+y=0
On adding and we get,
(x3,y3)=(1,−1)
For orthocenter and we get,
(x,y)=x1+x2+x33,y1+y2+y33
(x,y)=(−5−1+13,5−3−13)
(x,y)=(−73,113)