Q.Evaluate ∫0π1+cos2xxsinxdx
Concept understanding — Definite Integral Symmetry
Definite Integral Symmetry: The Shortcut That Saves You Work
Asked to find the area under f(x)=x3 from x=−2 to x=2? You could integrate directly — but there's a much faster way if you notice the symmetry of the graph.
The Intuition: What Does "Symmetry" Mean Here?
A function can be symmetric about the y-axis (like x2 or cosx) or about the origin (like x3 or sinx). When you integrate over a symmetric interval — from −a to a — these symmetries create a predictable cancellation or doubling.
Even functions (symmetric about the y-axis): f(−x)=f(x) — think x2, x4, cosx, ∣x∣. The left side mirrors the right, so the area from −a to 0 equals the area from 0 to a. The total is double the area on one side.
Odd functions (symmetric about the origin): f(−x)=−f(x) — think x3, x5, sinx, tanx. The left side is the negative mirror of the right, so every positive area on the right is cancelled by an equal negative area on the left. The total is zero.
This only works when the limits are symmetric about zero — from −a to a. For [0,a] or [1,3], symmetry doesn't help directly.
The Precise Statement
Let f be continuous on [−a,a].
- If f is even (f(−x)=f(x)), then ∫−aaf(x)dx=2∫0af(x)dx
- If f is odd (f(−x)=−f(x)), then ∫−aaf(x)dx=0
∫−aaf(x)dx={2∫0af(x)dx0if f is evenif f is odd
Why Does This Work? (A Quick Proof)
Split at zero:
∫−aaf(x)dx=∫−a0f(x)dx+∫0af(x)dx
For the first term substitute u=−x (dx=−du; x=−a→u=a, x=0→u=0):
∫−a0f(x)dx=∫0af(−u)du
Now use symmetry:
- If f is even, f(−u)=f(u), so this becomes ∫0af(u)du; adding the second term gives 2∫0af(x)dx.
- If f is odd, f(−u)=−f(u), so this becomes −∫0af(u)du; adding the second term gives 0.
Common Mistakes to Avoid
Don't assume symmetry without checking. A "balanced"-looking function need not be even or odd — e.g. f(x)=x2+x is neither, so these formulas don't apply. Always verify f(−x)=f(x) or f(−x)=−f(x) for all x.
The interval must be [−a,a]. If the limits are [−2,3], symmetry doesn't apply directly — split the integral or shift variables.
Examples to Cement the Idea
Example 1: ∫−33x4dx — x4 is even, so
∫−33x4dx=2∫03x4dx=2[5x5]03=2⋅5243=5486
Example 2: ∫−ππsinxdx — sinx is odd, so the integral is 0.
Example 3: ∫−22(x3+5x)dx — both terms are odd, so their sum is odd; the integral is 0.
Example 4: ∫−11(x2+1)dx — x2+1 is even, so
2∫01(x2+1)dx=2[3x3+x]01=2(31+1)=38
When to Use This in Exams
This is a time-saver, not a necessity: if unsure whether a function is even or odd, just integrate directly. But when you spot symmetry, you can cut your work in half (or to zero). Look for powers of x, trigonometric functions, and absolute values.
Quick check: replace x with −x. Same expression back → even. Negative of the expression → odd. Neither → symmetry doesn't apply.
Definite Integral Symmetry — the even and odd function shortcuts for integrals over [-a, a] — is a standard time-saving technique taught in the CBSE Class 12 Integrals chapter, and "even odd function integration trick class 12" is a widely searched revision topic. This shortcut is also frequently exploited in JEE Main and JEE Advanced integral calculus problems to avoid lengthy direct integration.
The key idea is to use the symmetry property of definite integrals: ∫0af(x)dx=∫0af(a−x)dx.
Let I=∫0π1+cos2xxsinxdx.
Replace x by π−x:
I=∫0π1+cos2(π−x)(π−x)sin(π−x)dx=∫0π1+cos2x(π−x)sinxdx.
Add the two expressions for I:
2I=∫0π1+cos2xπsinxdx.
Now evaluate the simpler integral. Let u=cosx, so du=−sinxdx. When x=0, u=1; when x=π, u=−1.
2I=π∫1−11+u2−du=π∫−111+u2du=π[tan−1u]−11=π(4π−(−4π))=π⋅2π=2π2.
Thus I=4π2.
The value is 4π2.
Using the property ∫0af(x)dx=∫0af(a−x)dx simplifies the integral to a form where the x factor is replaced by π−x, allowing us to isolate the x-dependent part and evaluate the remaining trigonometric integral via a standard substitution. The value is 4π2.
When you see an integral from 0 to π (or 0 to a) with a product of x and a trigonometric function, the first instinct should be to check if symmetry can help. The standard trick is to use the property:
∫0af(x)dx=∫0af(a−x)dx
This works because replacing x by a−x just reverses the order of integration, but the limits stay the same. Here a=π, so we replace x by π−x in the integrand.
Let’s see what happens.
- Apply the symmetry property
Let
I=∫0π1+cos2xxsinxdx
Using x→π−x, we get:
I=∫0π1+cos2(π−x)(π−x)sin(π−x)dx
Now recall: sin(π−x)=sinx and cos(π−x)=−cosx, so cos2(π−x)=cos2x. Therefore:
I=∫0π1+cos2x(π−x)sinxdx
- Add the two expressions for I
We now have two expressions for the same I:
I=∫0π1+cos2xxsinxdx
I=∫0π1+cos2x(π−x)sinxdx
Add them:
2I=∫0π1+cos2xxsinx+(π−x)sinxdx=∫0π1+cos2xπsinxdx
So:
2I=π∫0π1+cos2xsinxdx
The x has vanished — that’s the whole point. Now we just need to evaluate the remaining trigonometric integral.
- Evaluate the trigonometric integral
Let J=∫0π1+cos2xsinxdx.
Substitute u=cosx, so du=−sinxdx. When x=0, u=1; when x=π, u=−1. Thus:
J=∫1−11+u2−du=∫−111+u2du
This is a standard integral:
∫1+u2du=arctanu
So:
J=[arctanu]−11=arctan(1)−arctan(−1)=4π−(−4π)=2π
Notice that ∫−111+u2du is an even function integrated over a symmetric interval, so you could also compute 2∫011+u2du=2⋅4π=2π.
- Finish solving for I
We have 2I=π⋅J=π⋅2π=2π2.
Therefore:
I=4π2
A common mistake is to forget that cos2(π−x)=(−cosx)2=cos2x, which is correct — but some students mistakenly think cos(π−x)=cosx (wrong sign) and then square incorrectly. The square saves you here, but be careful with signs before squaring.
The value of the integral is 4π2.
Method: The Symmetry Property ∫0af(x)dx=∫0af(a−x)dx
Use this for a definite integral over [0,a] whose integrand simplifies when x is replaced by a−x, especially when an isolated x factor multiplies a symmetric function.
Steps
Step 1: Write I and form the reflected copy.
Let I=∫0af(x)dx and also I=∫0af(a−x)dx. Replacing x→a−x leaves sin,cos2 etc. unchanged but turns the isolated x into a−x.
Step 2: Add the two forms.
Adding gives 2I=∫0a[f(x)+f(a−x)]dx, in which the x-factor combines into the constant a, cancelling the troublesome x.
Step 3: Evaluate the simpler integral, then divide by 2.
For ∫0π1+cos2xxsinxdx, this reduces to 2π∫0π1+cos2xsinxdx; a substitution u=cosx then gives 4π2.
Common Mistakes
Mistake 1: Assuming f(a−x)=f(x) for every term.
Why it's wrong: only sinx and cos2x are unchanged under x→π−x; the isolated x becomes π−x. Correct approach: substitute carefully into each factor.
Mistake 2: Forgetting to divide by 2 at the end.
Why it's wrong: adding the two forms gives 2I, so the final answer needs the factor 21. Correct approach: solve 2I=⋯ for I.
Mistake 3: Mishandling the leftover substitution.
Why it's wrong: ∫0π1+cos2xsinxdx needs u=cosx with limits 1→−1; a sign slip mis-evaluates the arctan. Correct approach: change limits and track the minus from du=−sinxdx.
- KCET 2022Set C-41 markMCQQ.∫0π/21+sinxcosxsinxdx is equal to (A) log2 (B) −log2 (C) 1−log2 (D) log2−1
›Reveal solutionSolution
The cosxdx sitting next to a function of sinx is the signal for the substitution t=sinx.
Step 1 — Spot the structure.
I=∫0π/21+sinxcosxsinxdx
Everything except cosxdx is a function of sinx — the classic cue for t=sinx.
Step 2 — Substitute, changing the limits too.
Let t=sinx⇒dt=cosxdx.
- When x=0: t=sin0=0.
- When x=2π: t=sin2π=1.
I=∫011+ttdt
Step 3 — Handle the improper rational function.
The degree of the numerator equals that of the denominator, so split it first:
1+tt=1+t(1+t)−1=1−1+t1.
Step 4 — Integrate and apply the limits.
I=∫01(1−1+t1)dt=[t−log∣1+t∣]01
=(1−log2)−(0−log1)=1−log2.
Step 5 — Sanity check.
log2≈0.693, so I≈0.307 — positive, as it must be since the integrand is ≥0 on [0,π/2]. This also rules out (B) −log2 and (D) log2−1, both negative. ✓
✓Final answerThe correct option is (C) — 1−log2.
ANSWER: C
- COMEDK 2021Set 20211 markMCQQ.
[!FORMULA] ∫−π/2π/2sinxdx
(A) 2 (B) 3 (C) 0 (D) 5›Reveal solutionSolution
Direct check: integral of sin x dx = -cos x, evaluated from -pi/2 to pi/2: (-cos(pi/2)) - (-cos(-pi/2)) = -0 + 0 = 0.
Concept: if f is an odd function, the integral of f over a symmetric interval [-a, a] is zero.
sin(-x) = -sin(x), so sin x is odd, and the interval [-pi/2, pi/2] is symmetric about 0.
Direct check: integral of sin x dx = -cos x, evaluated from -pi/2 to pi/2:
(-cos(pi/2)) - (-cos(-pi/2)) = -0 + 0 = 0.
✓Final answerThe correct option is (C) — 0
ANSWER: C
- COMEDK 2026Set 2026-M1 markMCQQ.
[!FORMULA] ∫−2π2πsin5xcos7xdx=
(A) π (B) 0 (C) 4π (D) 2π›Reveal solutionSolution
The integrand is an odd function over a symmetric interval, so the definite integral is zero. The correct answer is (B).
The key insight here is symmetry. When you integrate an odd function over an interval symmetric about zero, the positive and negative contributions cancel exactly, giving zero. This is one of the most powerful shortcuts in definite integration — it saves you from doing any messy polynomial expansion or trigonometric substitution.
Let’s check if the integrand is odd.
- Recall the definition of an odd function A function f(x) is odd if f(−x)=−f(x) for all x in its domain. For such a function,
∫−aaf(x)dx=0.
- Examine the integrand Let
f(x)=sin5xcos7x.
Replace x with −x:
f(−x)=sin5(−x)cos7(−x).
Since sin(−x)=−sinx and cos(−x)=cosx, we get
f(−x)=(−sinx)5(cosx)7=(−sin5x)(cos7x)=−sin5xcos7x=−f(x).
-
Conclusion about parity
Because f(−x)=−f(x), the function is odd.
-
Apply the symmetry property
The integration limits are −2π to 2π, which is symmetric about zero. Therefore,
∫−π/2π/2sin5xcos7xdx=0.
Watch outA common mistake is to try to compute the antiderivative directly. While possible using substitution u=sinx or u=cosx, it’s unnecessary work — and if you forget the symmetry, you might waste time or make an algebraic slip. Always check parity first when limits are symmetric.
TipThis trick works for any odd power of sine (or any odd function) multiplied by an even function of cosine. The product of an odd and an even function is odd, so the integral over a symmetric interval is zero.
✓Final answerThe correct option is (B).
ANSWER: B
- KCET 2019Set A-11 markMCQQ.∫−33cot−1xdx= (A) 3π (B) 0 (C) 6π (D) 3
›Reveal solutionSolution
The key idea is to use the property cot−1(−x)=π−cot−1x to simplify the integral over a symmetric interval. The final value is 3π.
The relevant concept here is the odd/even function trick for definite integrals, but with a twist. cot−1x is neither odd nor even. However, it has a useful symmetry: for any x, cot−1(−x)=π−cot−1x. This lets us rewrite the integral over [−3,3] in a way that cancels the "odd part" and leaves only a constant times the length of the interval.
Let’s work through it step by step.
- Set up the integral and split the interval. We have I=∫−33cot−1xdx. A standard trick for symmetric limits is to split at 0:
I=∫−30cot−1xdx+∫03cot−1xdx.
- Use the substitution x→−t on the first integral. Let x=−t, so dx=−dt. When x=−3, t=3; when x=0, t=0. Then
∫−30cot−1xdx=∫30cot−1(−t)(−dt)=∫03cot−1(−t)dt.
- Apply the symmetry property. For any t, cot−1(−t)=π−cot−1t. So the first integral becomes
∫03(π−cot−1t)dt=∫03πdt−∫03cot−1tdt.
- Combine with the second integral. The original I is now
I=(∫03πdt−∫03cot−1tdt)+∫03cot−1tdt.
The two ∫03cot−1tdt terms cancel exactly.
So we are left with
I=∫03πdt=π⋅(3−0)=3π.
Watch outA common mistake is to think cot−1x is an odd function. It is not. The correct symmetry is cot−1(−x)=π−cot−1x, not −cot−1x. Using the wrong property would give 0, which is a trap option here.
TipThis trick works for any function f(x) satisfying f(−x)=c−f(x) for a constant c. Then ∫−aaf(x)dx=a⋅c. Here c=π and a=3, so the answer is 3π directly.
✓Final answerThe value is 3π, which corresponds to option (A).
- KCET 2025Set A-11 markMCQQ.∫01log(x1−1)dx is (A) 1 (B) 0 (C) loge2 (D) loge(21)
›Reveal solutionSolution
The integrand is antisymmetric about x=21 — replacing x by 1−x flips its sign — so the integral over [0,1] must vanish.
Step 1 — Simplify the integrand.
x1−1=x1−x ⇒ f(x)=log(x1−x)=log(1−x)−logx.
Method 1 — King's property (the elegant route).
The property states ∫0af(x)dx=∫0af(a−x)dx. With a=1:
I=∫01log(x1−x)dx,I=∫01log(1−x1−(1−x))dx=∫01log(1−xx)dx.
But log1−xx=−logx1−x, so the second expression is −I. Hence
I=−I ⇒ 2I=0 ⇒ I=0.
Method 2 — Evaluate the two pieces directly (the check).
I=∫01log(1−x)dx−∫01logxdx.
For the second, integrate by parts:
∫logxdx=xlogx−x ⇒ ∫01logxdx=[xlogx−x]01=(0−1)−(0−0)=−1,
using limx→0+xlogx=0.
For the first, substitute u=1−x (so du=−dx, and the limits swap):
∫01log(1−x)dx=∫01logudu=−1.
Therefore
I=(−1)−(−1)=0.
Both the integrals are improper (the integrand blows up at x=0 and x=1) but each converges, so the cancellation is legitimate.
✓Final answerThe correct option is (B) — 0.
ANSWER: B
- KCET 2024Set A-11 markMCQQ.∫15(∣x−3∣+∣1−x∣)dx= (A) 12 (B) 65 (C) 21 (D) 10
›Reveal solutionSolution
Split each modulus at its sign-change point inside [1,5] and integrate the resulting linear pieces.
Step 1 — The concept
∣f(x)∣ equals f(x) where f≥0 and −f(x) where f<0. So before integrating we must find where each expression inside the modulus changes sign within the limits [1,5], and use additivity of the integral to split there.
- ∣x−3∣ changes sign at x=3, which is inside [1,5] → must split.
- ∣1−x∣ changes sign at x=1, which is the left endpoint → no interior split needed; on all of (1,5] we have x>1, so 1−x<0 and ∣1−x∣=x−1.
Step 2 — First integral: ∫15∣x−3∣dx
∫15∣x−3∣dx=x<3 ⇒ ∣x−3∣=3−x∫13(3−x)dx+x>3 ⇒ ∣x−3∣=x−3∫35(x−3)dx
∫13(3−x)dx=[3x−2x2]13=(9−29)−(3−21)=29−25=2
∫35(x−3)dx=[2x2−3x]35=(225−15)−(29−9)=−25+29=2
⇒∫15∣x−3∣dx=2+2=4
(Geometric check: two right triangles, each of base 2 and height 2, area 21(2)(2)=2 each. ✓)
Step 3 — Second integral: ∫15∣1−x∣dx
On [1,5], x≥1, so ∣1−x∣=x−1:
∫15(x−1)dx=[2(x−1)2]15=216−0=8
(Geometric check: a right triangle of base 4 and height 4, area 21(4)(4)=8. ✓)
Step 4 — Add
∫15(∣x−3∣+∣1−x∣)dx=4+8=12
✓Final answerThe correct option is (A) — the value of the integral is 12.
ANSWER: A
- KCET 2026Set UNKNOWN1 markMCQQ.One of the possible functions f(x) which satisfies ∫−22f(x)dx=0 is (A) log(2−x2+x) (B) sin(2+x) (C) 2x3+2x+1 (D) 2xtanx
›Reveal solutionSolution
A function odd about x=0 integrates to zero over a symmetric interval like [−2,2]; test each option for oddness.
Step 1 — Recall the odd-function property
If g(−x)=−g(x) for all x in [−2,2], then ∫−22g(x)dx=0.
Step 2 — Test option (A)
g(x)=log(2−x2+x)
g(−x)=log(2+x2−x)=−log(2−x2+x)=−g(x)
So (A) is odd, and its integral over [−2,2] is 0.
Step 3 — Rule out the remaining options
(B) sin(2+x) is not odd about x=0. (C) 2x3+2x+1 has the even constant term 1, contributing ∫−221dx=4=0. (D) 2xtanx is a product of two odd functions, hence even, and does not integrate to zero in general.
✓Final answerThe correct option is (A) — log(2−x2+x).
🎓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.