Given two squares with same centre and sides being parallel to the corresponding sides of the each other. If length of the side of the bigger square is X and the length of the smaller square is Y, find the length of the line joining AB.
Extend AB to C.
Draw OD perpendicular to the side of the bigger triangle as shown.
Given EC = X
The perpendicular from centre to the chord bisects it.
So DC=(X2)
Using Pythagoras theorem on ΔODC we get
OD2+DC2=OC2OC=x√2
Similarly in \Delta OHG we get,
OG=Y√2GC=OC−OG=(X−Y)√2