The distance between the orthocentre and the circumcentre of the triangle with vertices (0, 0),(0, a) and (b, 0) is
a2−b2/2
a + b
a - b
a2+b2/2
The triangle is right angled at (0, 0) so the orthocentreis (0, 0) and circumcentre is (a/2, b/2), the mid pointof the hypotenuse.