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 subtract the two fractions.
LHS=sinA−cosA1−sinA+cosA1
Step 2 — Subtract over a common denominator.
The common denominator is (sinA−cosA)(sinA+cosA)=sin2A−cos2A; the sines cancel on top:
LHS=sin2A−cos2A(sinA+cosA)−(sinA−cosA)=sin2A−cos2A2cosA
Step 3 — Write cos²A with sin A.
We use cos2A=1−sin2A:
LHS=sin2A−(1−sin2A)2cosA=2sin2A−12cosA
This is exactly the RHS.
Watch out: Subtracting (sinA−cosA) changes −cosA into +cosA, so the numerator is 2cosA.
Therefore, LHS = RHS, so sinA−cosA1−sinA+cosA1=2sin2A−12cosA. Hence proved.