Solution:
Concept: The three Pythagorean identities hold for every angle A where the ratios exist: sin2A+cos2A=1, 1+tan2A=sec2A and 1+cot2A=cosec2A. Each can be rearranged, for example sec2A−tan2A=1 or 1−sin2A=cos2A.
Step 1 — Start from the left-hand side.
We begin with the LHS. We add the two fractions.
LHS=cosA1+sinA+1+sinAcosA
Step 2 — Add over a common denominator.
The common denominator is cosA(1+sinA):
LHS=cosA(1+sinA)(1+sinA)2+cos2A
Step 3 — Expand and use sin²A + cos²A = 1.
Expanding (1+sinA)2=1+2sinA+sin2A, the numerator has sin2A+cos2A=1 in it:
LHS=cosA(1+sinA)1+2sinA+sin2A+cos2A=cosA(1+sinA)2+2sinA
Step 4 — Factorise and cancel.
The numerator is 2(1+sinA), so 1+sinA cancels:
LHS=cosA(1+sinA)2(1+sinA)=cosA2=2secA
This is exactly the RHS.
Watch out: Keep (1+sinA)2 as 1+2sinA+sin2A; it is not 1+sin2A.
Therefore, LHS = RHS, so cosA1+sinA+1+sinAcosA=2secA. Hence proved.