we have to prove (Sinq + Cosecq)2 + (Cosq + Secq)2 = 7 + Tan2q + Cot2q we will start with LHS (Left hand side) and prove that it is equal to 7 + Tan2q + Cot2q Hence we will get LHS = RHS
Proof
Lets start with LHS of the equations
LHS = (sinq + cosecq)2 + (cosq + secq)2
= (sin2q + cosec2q + 2 sinq cosecq ) + ( cos2q + sec2q + 2 cosq secq )
= sin2q + cosec2q + cos2q + sec2q + 2 + 2 Hint :2 * sinq * 1/sinq + 2 * cosq * 1/cosq
= ( sin2q + cos2q) + cosec2q + sec2q + 2 + 2
= 1 +cosec2q + sec2q + 4
= (1 + cot2q) + (1 + tan2q) + 5
= 7 + tan2q + cot2q
= RHS
Hence proved RHS = LHS ie (Sinq + Cosecq)2 + (Cosq + Secq)2 = 7 + Tan2q + Cot2q
See in Picture