Let theta = cos^-1(sqrt2/2)θ=cos−1(√22)
costheta=sqrt2/2cosθ=√22
So in an imaginary right-angled triangle, the length of the "hyp"hyp is 22 and the length of the "adj"adj is sqrt2√2. This means that the length of the "opp"opp is sqrt(2^2-(sqrt2)^2)=sqrt2√22−(√2)2=√2.
Since the "adj"adj and "opp"opp are equal lengths, our triangle is isosceles. This means that it also has two angles of equal lengths. Since one angle is pi/2π2, the other two must be pi/4π4.
So if we say that theta=pi/4θ=π4, then cos(pi/4)="adj"/"hyp"=sqrt2/2cos(π4)=adjhyp=√22
thereforepi/4=cos^-1(sqrt2/2)