Let the given vertices be A(5,−1) and B(−2,3), and let the unknown third vertex be C(x,y). The orthocentre is H(0,0), i.e. the common intersection point of the three altitudes of the triangle.
Step 1: Slope of altitude through A
The altitude from A passes through A(5,−1) and H(0,0).
Slope of this altitude, mAH=5−0−1−0=−51.
This altitude is perpendicular to side BC, so
mBC=−mAH1=5.
Therefore, for points B(−2,3) and C(x,y), we have
mBC=x+2y−3=5⟹y−3=5(x+2).
Hence
y=5x+13−(1)
Step 2: Slope of altitude through B
The altitude from B passes through B(−2,3) and H(0,0).
Slope of this altitude, mBH=−2−03−0=−23.
This altitude is perpendicular to side AC, so
mAC=−mBH1=32.
Therefore, for points A(5,−1) and C(x,y), we have
mAC=x−5y+1=32⟹3(y+1)=2(x−5).
Hence
3y+3=2x−10⟹3y=2x−13⟹y=32x−13−(2)
Step 3: Solve simultaneous equations for C(x, y)
Equate the two expressions for y from (1) and (2):
5x+13=32x−13.
Multiply by 3:
15x+39=2x−13.
13x=−52⟹x=−4.
Substitute x=−4 in (1):
y=5(−4)+13=−20+13=−7.
Thus the third vertex is C(−4,−7).
Option B which is: (−4,−7)