Use the diagram to prove the double angle formula, where t=tanθ:
tan2θ= 2t 1- t2 ,   sin2θ= 2t 1+ t2 ,   cos2θ= 1- t2 1+ t2


Tan
The point P'=(p',q') is the image of the point P=(p,q) after reflection in the line y=mx. To find (p',q') use the fact that the midpoint of PP' is on the line y=mx and the line segment PP' is perpendicular to the line y=mx and show that
p'=pcos2θ+qsin2θ,q'=psin2θ-qcos2θ   (1)

where m=tanθ. Hence establish another proof that the matrix
T2 =( cos2θ sin2θ sin2θ -cos2θ )

gives a reflection in the line y=xtanθ. The point P''=(p'',q'') is the image of the point P' after reflection in the line y=xtanΦ. Apply the transformation
T'2 =( cos2Φ sin2Φ sin2Φ -cos2Φ )

to the point P'=(p',q') to find the coordinates of the point P'' in terms of p,q,θ and Φ. Hence show that the combination of two reflections in distinct intersecting lines is a rotation about the point of intersection by twice the angle between the two mirror lines. What is the effect of the two reflections if the lines coincide (i.e. θ=Φ)?