To prove the identity draw a right triangle :
Pythagorean theorem : .
Divide each side by .
From the diagram :
and .
Substitute the values in equation (1).
.