The medians AD and BE of a triangle with vertices A (0, b), B(0, 0) and C (a, 0) are perpendicular to each other, if
a=±√2 b
The midpoints of BC and AC are D(a2,0) and E(a2,b2)
Slope of AD =0−ba2−0
Slope of BE =−b2−a2
It is given that the medians are perpendicular to each other.
0−ba2−0×−b2−a2=−1
⇒ a=±√2b