You know sin2x+cos2x=1 — but the skill of turning a messy trig expression into that kind of clean form is trigonometric simplification. Because sines, cosines and their relatives are all tied together by identities from the unit circle, a tangled combination can almost always be rewritten as something shorter: a single term, a constant, or an easier combination.
Simplify 1+cosxsinx+sinx1+cosx. Over a common denominator the numerator is sin2x+(1+cosx)2=sin2x+1+2cosx+cos2x. The Pythagorean identity turns sin2x+cos2x into 1, giving 2+2cosx=2(1+cosx), so
sinx(1+cosx)2(1+cosx)=sinx2=2cscx.
A two-term sum collapses to one term.
Strategies that usually work
Convert everything to sines and cosines — cancellations then appear.
Spot Pythagorean pairs and replace them with 1 (or sec2, csc2).
Factor and cancel as you would with ordinary algebra.
Multiply by a conjugate — e.g. multiply 1+sinx1 by 1−sinx1−sinx to unlock a Pythagorean identity. …
Why it's wrong: 1−cosxcosx−cos2x hides a cancellable factor; integrating as-is is intractable. Correct approach: expand cos2x, factor, and cancel first.
Mistake 2: Factoring the numerator incorrectly.
Why it's wrong: the correct factorisation is (2cosx+1)(1−cosx); a wrong factoring won't cancel the (1−cosx). Correct approach: verify by expanding the product back. …