Q.Find the integral of the function cos(x−a)cos(x−b)1
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — U Substitution
U Substitution: The Reverse Chain Rule
The chain rule differentiates composite functions: the derivative of sin(x2) is cos(x2)⋅2x — differentiate the outer function, then multiply by the derivative of the inside. Integration asks the reverse: given cos(x2)⋅2x, find the original function. That's what u substitution does — it reverses the chain rule.
The Core Intuition
When an integral looks like "a function times the derivative of its inside," substitute the inside with u and the derivative of the inside with du. Consider:
∫2xcos(x2)dx
Here 2x is the derivative of x2, and x2 is the inside of cos(x2). Let u=x2, so du=2xdx:
∫cos(u)du=sin(u)+C=sin(x2)+C
Check: the derivative of sin(x2) is cos(x2)⋅2x.
The Precise Statement
∫f(g(x))⋅g′(x)dx=∫f(u)duwhere u=g(x),du=g′(x)dx
Valid provided g is differentiable and the resulting integral in u is simpler.
The Step-by-Step Method
- Identify a function g(x) whose derivative g′(x) also appears (possibly up to a constant factor).
- Set u=g(x), compute du=g′(x)dx.
- Rewrite the entire integral in u and du — every x and dx must be replaced.
- Integrate with respect to u.
- Substitute back u=g(x).
You cannot mix variables. If any x remains after substitution, you chose the wrong u (or must solve for x in terms of u — rare).
A Second Example (with a constant factor)
Evaluate ∫xx2+1dx. Let u=x2+1, so xdx=21du:
∫u⋅21du=21⋅32u3/2+C=31(x2+1)3/2+C
When Does It Work?
When the integrand is something times the derivative of something inside. Common patterns:
- x⋅f(x2) — derivative of x2 is 2x, so u=x2
- eg(x)⋅g′(x) — derivative of g(x) appears
- g(x)g′(x) — leads to log∣g(x)∣ …
Introduce the constant sin(a−b) so the integrand splits into two tangents.
Since (x−b)−(x−a)=a−b, we have sin(a−b)=sin((x−b)−(x−a))=sin(x−b)cos(x−a)−cos(x−b)sin(x−a). Divide this by sin(a−b)cos(x−a)cos(x−b):
cos(x−a)cos(x−b)1=sin(a−b)1[tan(x−b)−tan(x−a)].
Using ∫tanudu=−log∣cosu∣, …
Writing 1=sin(a−b)sin(a−b) and expanding sin(a−b) as sin((x−b)−(x−a)) splits the integrand into tan(x−b)−tan(x−a), giving sin(a−b)1logcos(x−b)cos(x−a)+C.
The trick
There is no obvious substitution for a product of two shifted cosines. The standard move is to manufacture a sine in the numerator using the constant angle a−b. Notice (x−b)−(x−a)=a−b, so sin(a−b) is a constant we can insert for free.
Build the numerator
Expand
sin(a−b)=sin((x−b)−(x−a))=sin(x−b)cos(x−a)−cos(x−b)sin(x−a).
Divide both sides by sin(a−b)cos(x−a)cos(x−b):
cos(x−a)cos(x−b)1=sin(a−b)1[cos(x−b)sin(x−b)−cos(x−a)sin(x−a)]=sin(a−b)1[tan(x−b)−tan(x−a)].
Integrate
With ∫tanudu=−log∣cosu∣, …
Method: Multiply by sin(a−b)sin(a−b) to split cos(x−a)cos(x−b)1
For a reciprocal of two cosines with different phase shifts, manufacture the constant sin(a−b) so the numerator becomes a difference that splits into two tangents.
Steps
Step 1: Insert the constant cleverly.
Multiply and divide by sin(a−b), and write a−b=(x−b)−(x−a):
cos(x−a)cos(x−b)1=sin(a−b)1⋅cos(x−a)cos(x−b)sin[(x−b)−(x−a)]
Step 2: Expand the sine of a difference and split.
Using sin(P−Q)=sinPcosQ−cosPsinQ with P=x−b, Q=x−a, the fraction separates into
sin(a−b)1[tan(x−b)−tan(x−a)] …
Common Mistakes
Mistake 1: Not knowing to manufacture sin(a−b) in the numerator.
Why it's wrong: without introducing sin(a−b)=sin[(x−b)−(x−a)], the product of two cosines cannot be split. Correct approach: multiply and divide by sin(a−b) and expand the sine of the angle difference.
Mistake 2: Sign slip when integrating tan. …
Showing the 12 most recent of 32 on this concept.
- KEAM 2026Set eng-2026-04194 marksMCQQ.∫1+x2sin(cot−1x)dx is equal to (A) −cos(cot−1x)+C (B) cos(cot−1x)+C (C) 1+x2cos(cot−1x)+C (D) 2cos(cot−1x)+C (E) 1+x2−cos(cot−1x)+C
›Reveal solutionSolution
Substitute u=cot−1x so du=−1+x2dx.
Let u=cot−1x⇒du=−1+x2dx, i.e. 1+x2dx=−du. …
- KEAM 2025Set eng-2025-04294 marksMCQQ.∫cosx2sin2xdx= (A) 21tanx+C (B) tanx+C (C) 2tanx+C (D) 4tanx+C (E) 3tanx+C
›Reveal solutionSolution
Writing 2sin2x=4sinxcosx reduces the integrand to 21sec2x(tanx)−1/2; with u=tanx this integrates to tanx+C.
Use sin2x=2sinxcosx, so 2sin2x=4sinxcosx and 2sin2x=2sinxcosx. Then …
- KEAM 2021Set eng-2021-P2-B14 marksMCQQ.∫cos2xcos(tanx)dx= (A) (tanx)sin(tanx)+C (B) sin(tanx)+C (C) sec(tanx)+C (D) (cosx)sin(tanx)+C (E) cos2(tanx)+C
›Reveal solutionSolution
∫cos2xcos(tanx)dx=sin(tanx)+C.
Concept and Intuition
The factor 1/cos2x=sec2x is exactly the derivative of tanx, so substituting u=tanx linearizes the integral.
Step-by-Step Solution
- Rewrite as ∫cos(tanx)sec2xdx.
- Let u=tanx, du=sec2xdx. …
- KEAM 2025Set eng-2025-04284 marksMCQQ.∫cos2/3xsin4/3xdx is (A) 3tan3x+C (B) 3tan1/3x+C (C) −3tan1/3x+C (D) −3tan−1/3x+C (E) 3tan−1/3x+C
›Reveal solutionSolution
Rewrite as sec2xtan−4/3xdx; sub t=tanx to get ∫t−4/3dt=−3t−1/3=−3tan−1/3x+C.
The integrand cos2/3xsin4/3x1 has denominator powers summing to 2, so factor out cos2x. Multiplying numerator and denominator by cos4/3x (equivalently dividing top and bottom by cos2x): …
- KEAM 2025Set eng-2025-04274 marksMCQQ.∫2−sin2θcosθdθ= (A) 21log2+sinθ2−sinθ+C (B) 21log2−sinθ2+sinθ+C (C) log2−sinθ2+sinθ+C (D) 21log2−sinθ2+sinθ+C (E) 221log2−sinθ2+sinθ+C
›Reveal solutionSolution
Substitution u=sinθ gives ∫2−u2du=221log2−sinθ2+sinθ+C.
Let u=sinθ, so du=cosθdθ. The integral becomes
∫2−u2du=∫(2)2−u2du.
Using the standard result ∫a2−u2du=2a1loga−ua+u+C with a=2: …
- KEAM 2025Set eng-2025-04254 marksMCQQ.The value of ∫0π/3costtantdt is equal to (A) 21 (B) 2−1 (C) 2 (D) −2 (E) 1
›Reveal solutionSolution
Write costtant=cos2tsint; its antiderivative is sect.
costtant=cos2tsint.
With u=cost, du=−sintdt, the antiderivative is cost1=sect. Thus …
- KEAM 2025Set eng-2025-04264 marksMCQQ.∫0π/21+sinx1dx= (A) 2 (B) 21 (C) 41 (D) 1 (E) 0
›Reveal solutionSolution
Rationalise the denominator, integrate sec2x−secxtanx.
Multiply numerator and denominator by 1−sinx:
1+sinx1=1−sin2x1−sinx=cos2x1−sinx=sec2x−secxtanx. …
- KEAM 2024Set eng-2024-06064 marksMCQQ.∫x4+3x2+1x2−1dx= (A) 31tan−1(3xx2+1)+C (B) tan−1(x2−1)+C (C) tan−1(x−x1)+C (D) 51tan−1(5xx2+1)+C (E) tan−1(x+x1)+C
›Reveal solutionSolution
The substitution u=x+x1 turns it into ∫u2+1du=tan−1(x+x1)+C.
Divide numerator and denominator by x2:
x4+3x2+1x2−1=x2+3+x211−x21. …
- KEAM 2023Set eng-2023-P2-B24 marksMCQQ.∫sin2x+2cos2x2tanx+3dx= (A) 23sin−1(2sinx)+lnsin2x+2+C (B) 23tan−1(2tanx)+lntan2x+2+C (C) 21tan−1(2tanx)−lntan2x+2+C (D) 23cos−1(2cosx)+lnsin2x+2+C (E) 21cos−1(2cosx)−lncos2x+2+C
›Reveal solutionSolution
The integral is 23tan−1(2tanx)+log∣tan2x+2∣+C.
Concept and Intuition
Divide numerator and denominator by cos2x to convert everything into tanx, then substitute t=tanx.
Step-by-Step Solution
- Dividing by cos2x: integrand =tan2x+2(2tanx+3)sec2x.
- Let t=tanx,dt=sec2xdx: ∫t2+22t+3dt.
- Split: ∫t2+22tdt=log(t2+2) and ∫t2+23dt=23tan−12t.
Common Mistakes …
- KEAM 2024Set eng-2024-06064 marksMCQQ.∫0π/4(tan3x+tan5x)dx= (A) 125 (B) 31 (C) 41 (D) 61 (E) 121
›Reveal solutionSolution
Factor out tan3xsec2x and substitute u=tanx to get 41.
tan3x+tan5x=tan3x(1+tan2x)=tan3xsec2x.
Let u=tanx, du=sec2xdx. Limits: x=0→u=0, x=4π→u=1. …
- KEAM 2026Set eng-2026-04194 marksMCQQ.∫(13+36sin2tsint+cost)dt is equal to (A) 841log7−6(sint−cost)7+6(sint−cost)+C (B) 811log7−6(sint−cost)7+6(sint−cost)+C (C) 841log7+6(sint−cost)7−6(sint−cost)+C (D) 481log7−6(sint−cost)7+6(sint−cost)+C (E) 641log7−6(sint−cost)7+6(sint−cost)+C
›Reveal solutionSolution
Let u=sint−cost; the numerator becomes du and 13+36sin2t=49−36u2, giving a standard a2−k2u2du integral.
Set u=sint−cost. Then
du=(cost+sint)dt,
which is exactly the numerator, and
u2=1−2sintcost=1−sin2t⇒sin2t=1−u2.
So the denominator is
13+36sin2t=13+36(1−u2)=49−36u2.
Hence
∫49−36u2du=∫72−(6u)2du. …
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.∫cos27xsin25xdx is equal to (A) 26sin26(x)+C (B) 26cos26(x)+C (C) tan26(x)+C (D) 26tan26(x)+C (E) 26tan26(x)+C
›Reveal solutionSolution
The integral equals 26tan26x+C.
Concept and Intuition
Split off a sec2x factor so the rest becomes a power of tanx, then substitute u=tanx.
Step-by-Step Solution
- cos27xsin25x=tan25x⋅cos2x1=tan25xsec2x.
- Let u=tanx⇒du=sec2xdx.
- ∫tan25xsec2xdx=∫u25du=26u26+C.
- =26tan26x+C.
Common Mistakes …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.