The distance of the origin from the centroid of the triangle whose two sides have the equations x−2y+1=0 and 2x−y−1=0 and whose orthocenter is (37,37) is:
Solutions · 1
Official solution
Vertex A = intersection of x−2y+1=0 and 2x−y−1=0: solving gives A=(1,1).
Altitude from B perpendicular to AC (i.e. perpendicular to x−2y+1=0, slope 21, so altitude slope −2): 2x+y+λ=0 through H(37,37): 314+37+λ=0⟹λ=−7, so altitude: 2x+y−7=0.
Solving with 2x−y−1=0 (line AC... actually x−2y+1=0): x=2,y=3, giving B=(2,3).
Altitude from C perpendicular to AB: x+2y+λ=0 through H: 37+314+λ=0⟹λ=−7, so x+2y−7=0.
Solving with 2x−y−1=0: x=3,y=2, giving C=(3,2).
Centroid G=(31+2+3,31+3+2)=(2,2).
\[OG = \sqrt{4+4}=2\sqrt{2}\]