Q.Evaluate ∫0π/2logsinxdx
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 10-day free trial to unlock the full solution →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 …
The key idea is to use the symmetry of the definite integral, often called the King's property: ∫0af(x)dx=∫0af(a−x)dx.
Let I=∫0π/2logsinxdx.
Using the substitution x→2π−x, we get
I=∫0π/2logsin(2π−x)dx=∫0π/2logcosxdx.
Add the two expressions for I:
2I=∫0π/2(logsinx+logcosx)dx=∫0π/2log(sinxcosx)dx.
Use sinxcosx=21sin2x, so
2I=∫0π/2log(21sin2x)dx=∫0π/2log21dx+∫0π/2logsin2xdx.
The first term is −2πlog2. For the second, let t=2x, then dx=dt/2, limits 0 to π: …
This classic integral is solved using the symmetry property of definite integrals. By substituting x→2π−x and adding the two forms, we transform the product sinxcosx into 21sin2x, leading to a simple equation whose solution is ∫0π/2logsinxdx=−2πlog2.
The integral I=∫0π/2logsinxdx is a famous one — it appears in many contexts, from probability to number theory. The trick is not to integrate directly (the antiderivative involves the dilogarithm), but to exploit symmetry.
Why symmetry works: The interval [0,π/2] is symmetric about π/4. The function logsinx is not symmetric itself, but if we replace x by 2π−x, we get logcosx. Adding the two forms gives log(sinxcosx)=log(21sin2x), which splits into a constant term and a scaled version of the original integral. This creates an equation we can solve for I.
Let’s walk through it step by step.
- Define the integral and apply the substitution x→2π−x. Let I=∫0π/2logsinxdx. Substitute x=2π−t. Then dx=−dt, and when x=0, t=π/2; when x=π/2, t=0. So:
I=∫π/20logsin(2π−t)(−dt)=∫0π/2logcostdt.
Renaming the dummy variable back to x, we have:
I=∫0π/2logcosxdx.
So the integral of logsinx equals the integral of logcosx over the same interval.
- Add the two expressions for I.
2I=∫0π/2logsinxdx+∫0π/2logcosxdx=∫0π/2log(sinxcosx)dx.
Using the identity sinxcosx=21sin2x, we get:
2I=∫0π/2log(21sin2x)dx=∫0π/2(log21+logsin2x)dx.
The constant log(1/2)=−log2 factors out:
2I=−log2∫0π/21dx+∫0π/2logsin2xdx=−2πlog2+∫0π/2logsin2xdx.
- Handle the integral ∫0π/2logsin2xdx with another substitution. Let u=2x. Then dx=du/2, and when x=0, u=0; when x=π/2, u=π. So:
∫0π/2logsin2xdx=21∫0πlogsinudu.
Now, the integral from 0 to π of logsinu can be split at π/2:
∫0πlogsinudu=∫0π/2logsinudu+∫π/2πlogsinudu. …
Method: Reflection plus double-angle self-similarity for log-trig integrals
Use this for integrals like ∫0π/2logsinxdx where direct antidifferentiation fails (the antiderivative is non-elementary) but the interval [0,2π] has sin↔cos symmetry.
Steps
Step 1: Reflect with x→2π−x.
By ∫0af(x)dx=∫0af(a−x)dx, the integral of logsinx equals the integral of logcosx over the same interval. So I can be written two ways.
Step 2: Add the two forms and use a product identity.
2I=∫0π/2log(sinxcosx)dx=∫0π/2log(21sin2x)dx.
Splitting the log separates a constant term ∫0π/2log21dx from a new logsin2x term.
Step 3: Rescale the double angle back to the original integral. …
Common Mistakes
Mistake 1: Dropping the 21 factor when substituting t=2x.
Why it's wrong: t=2x gives dx=2dt, so ∫0π/2logsin2xdx=21∫0πlogsintdt; omitting the 21 doubles that term and gives a wrong final value. Correct approach: carry the Jacobian dx=2dt through carefully.
Mistake 2: Splitting log(21sin2x) incorrectly. …
Showing the 12 most recent of 53 on this concept.
- JEE Main 2026Set 2026-04-02-s14 marksQ.If α = ∫(0 to 2√3) log_2(x^2+4) dx + ∫(2 to 4) √(2^x − 4) dx, then α^2 is equal to __________.
›Reveal solutionSolution
Recognizing the second integrand as the inverse function of the first lets the whole sum collapse via the standard area-rectangle identity for a function and its inverse, giving α=83 and α2=192.
When a problem pairs ∫f(x)dx with ∫f−1(y)dy over matching ranges, it's almost always testing the geometric fact that the areas under f and under f−1 together fill a rectangle — recognizing the inverse relationship first avoids computing either integral directly (which would be messy here).
- Let f(x)=log2(x2+4) for x≥0. Solve y=log2(x2+4)⇒2y=x2+4⇒x=2y−4 — so f−1(y)=2y−4, exactly the second integrand. …
- JEE Main 2026Set 2026-01-21-s14 marksMCQQ.The value of ∫_{−π/6}^{π/6} ( (π + 4x^11) / (1 − sin(|x| + π/6)) ) dx is equal to: (A) 8π (B) 2π (C) 6π (D) 4π
›Reveal solutionSolution
The odd part of the integrand vanishes by symmetry; the remaining even part reduces to a standard ∫du/(1−sinu) integral, giving 4π.
The denominator 1−sin(∣x∣+π/6) is an even function of x, while x11 is odd; an odd function divided by an even function is odd, and odd functions integrate to zero over symmetric limits.
- ∫−π/6π/61−sin(∣x∣+π/6)4x11dx=0 by oddness.
- Remaining: ∫−π/6π/61−sin(∣x∣+π/6)πdx=2π∫0π/61−sin(x+π/6)dx (even integrand, doubled). …
- JEE Main 2026Set 2026-04-04-s24 marksMCQQ.If α = 1 and β = 1 + i√2, where i = √−1 are two roots of the equation x^3 + ax^2 + bx + c = 0, a, b, c ∈ R, then ∫ from -1 to 1 of (x^3 + ax^2 + bx + c) dx is equal to: (A) −2 (B) −4 (C) −8 (D) −10
›Reveal solutionSolution
The cubic with roots 1, 1+i√2, 1−i√2 is x³−3x²+5x−3; integrating it from −1 to 1 (odd terms vanish by symmetry) gives −8.
Because the polynomial has real coefficients, any non-real root must come with its complex conjugate — this pins down the third root.
- Given roots: α=1 (real), β=1+i√2. The third root must be β̄ = 1−i√2 (conjugate pair required for real coefficients).
- Vieta's formulas for x³+ax²+bx+c=0 with roots r1,r2,r3:
r1+r2+r3 = −a; r1r2+r1r3+r2r3 = b; r1r2r3 = −c
- Sum of roots = 1+(1+i√2)+(1−i√2) = 3 ⟹ −a=3 ⟹ a=−3.
- Sum of pairwise products: r1(r2+r3) + r2r3 = 1×2 + (1+i√2)(1−i√2) = 2 + (1+2) = 2+3 = 5 ⟹ b=5.
- Product of roots = 1×(1+i√2)(1−i√2) = 1×3 = 3 ⟹ −c=3 ⟹ c=−3.
- Polynomial: x³ − 3x² + 5x − 3. …
- JEE Main 2026Set 2026-04-06-s14 marksMCQQ.The value of the integral ∫(from −π/4 to π/4) [32cos⁴x / (1 + e^(sinx))] dx is: (A) 4π + 2 (B) 3π + 8 (C) 3π + 4 (D) 4π + 3
›Reveal solutionSolution
Because sinx is odd, ∫−aa1+esinxg(x)dx=∫0ag(x)dx for any even g -- this collapses the integral to a straightforward trig-power integral.
- Let f(x)=1+esinx32cos4x with g(x)=32cos4x even. Note
f(x)+f(−x)=g(x)[1+esinx1+1+e−sinx1]=g(x)
since the bracket sums to 1.
2. Using I=∫−π/4π/4f(x)dx=∫−π/4π/4f(−x)dx, adding gives 2I=∫−π/4π/4g(x)dx, so (as g is even)
I=∫0π/4g(x)dx=∫0π/432cos4xdx …
- JEE Main 2026Set 2026-01-23-s14 marksMCQQ.The value of the integral ∫ from π/24 to 5π/24 of dx / (1 + ∛(tan 2x)) is: (A) π/3 (B) π/18 (C) π/6 (D) π/12
›Reveal solutionSolution
Pairing f(x) with f(π/4−x) makes the sum identically 1, so 2I=π/6⟹I=π/12.
Integrals of the form ∫1+g(x)dx over a symmetric interval often simplify dramatically when g(x)⋅g(a+b−x)=1 — exactly the pattern that tan and cot (complementary angles) produce.
- Here a=π/24, b=5π/24, so a+b=246π=4π.
King's property: ∫abf(x)dx=∫abf(a+b−x)dx
- Let t=(tan2x)1/3, so f(x)=1+t1. Replacing x→4π−x: 2(4π−x)=2π−2x, so tan(2π−2x)=cot2x=tan2x1, giving f(4π−x)=1+t−11=t+1t.
- Adding: f(x)+f(4π−x)=1+t1+1+tt=1+t1+t=1. …
- JEE Main 2025Set 2025-01-23-s14 marksMCQQ.The value of ∫ from e^2 to e^4 of (1/x) ( e^{((log_e x)^2+1)^{-1}} / ( e^{((log_e x)^2+1)^{-1}} + e^{((6-log_e x)^2+1)^{-1}} ) ) dx is (A) 1 (B) log_e 2 (C) e^2 (D) 2
›Reveal solutionSolution
After substituting t=lnx, the integrand has the classic f(t)+f(6−t)=1 symmetry about the midpoint of [2,4], which forces the integral to equal 1.
Whenever an integrand looks complicated but the two "halves" of an exponential fraction swap into each other under t→a+b−t (reflecting about the midpoint of the interval [a,b]), it's worth testing this symmetry trick before grinding through any direct antiderivative.
- Let t=lnx, so dt=dx/x. The limits x=e2→t=2 and x=e4→t=4. The integral becomes
I=∫24e1/(t2+1)+e1/((6−t)2+1)e1/(t2+1)dt=∫24f(t)dt
- Note 2+4=6, so [2,4] is symmetric about t=3. Substituting u=6−t in I (which maps the limits back onto [2,4]) gives
I=∫24f(6−t)dt
- Adding the two expressions for I: 2I=∫24[f(t)+f(6−t)]dt …
- JEE Main 2025Set 2025-01-23-s24 marksMCQQ.If I=∫0π/2sin3/2x+cos3/2xsin3/2xdx, then ∫02Isin4x+cos4xxsinxcosxdx equals : (A) 12π2 (B) 4π2 (C) 16π2 (D) 8π2
›Reveal solutionSolution
I=π/4 by the standard x→π/2−x symmetry trick, so 2I=π/2; the second integral over [0,π/2] then evaluates to π2/16 using King's rule plus a u=sin2x substitution.
Integrals of the shape ∫0π/2f(sinx)+f(cosx)f(sinx)dx always equal π/4, because replacing x by π/2−x swaps the roles of sinx and cosx in the integrand, so the integral equals π/2 minus itself.
Step 1 — Evaluate I.
Let J=∫0π/2sin3/2x+cos3/2xcos3/2xdx (obtained from I by x→π/2−x). Then I+J=∫0π/21dx=π/2, and by the same substitution J=I. So 2I=π/2⇒I=π/4, and the upper limit of the second integral is 2I=π/2.
Step 2 — Set up the second integral over [0,π/2].
K=∫0π/2sin4x+cos4xxsinxcosxdx
Step 3 — Apply King's rule (x→π/2−x).
Since sinxcosx and sin4x+cos4x are both unchanged under x→π/2−x,
K=∫0π/2sin4x+cos4x(π/2−x)sinxcosxdx=2π∫0π/2sin4x+cos4xsinxcosxdx−K …
- JEE Main 2025Set 2025-01-28-s14 marksMCQQ.If ∫_{-π/2}^{π/2} (96x² cos² x)/(1 + e^x) dx = π(απ² + β), α, β ∈ ℤ, then (α + β)² equals (A) 196 (B) 100 (C) 64 (D) 144
›Reveal solutionSolution
The 1/(1+ex) factor over a symmetric interval is the classic signal to use the even-function reduction ∫−aa1+exf(x)dx=∫0af(x)dx, after which the problem becomes an ordinary (if slightly long) integration-by-parts computation.
- Here f(x)=96x2cos2x is even (product of two even functions). Using the standard identity
∫−aa1+exf(x)dx=∫0af(x)dx(f even),
the given integral reduces to
I=96∫0π/2x2cos2xdx.
- Write cos2x=21+cos2x:
∫0π/2x2cos2xdx=21∫0π/2x2dx+21∫0π/2x2cos2xdx.
- First piece:
21[3x3]0π/2=21⋅3(π/2)3=48π3.
- Second piece, integrate J=∫0π/2x2cos2xdx by parts twice:
∫x2cos2xdx=2x2sin2x+2xcos2x−4sin2x.
Evaluate at x=π/2 (sinπ=0,cosπ=−1) and x=0 (all terms zero): …
- JEE Main 2025Set 2025-04-02-s24 marksMCQQ.Let (a, b) be the point of intersection of the curve x² = 2y and the straight line y − 2x − 6 = 0 in the second quadrant. Then the integral I = ∫ₐᵇ 9x²/(1+5ˣ) dx is equal to : (A) 27 (B) 18 (C) 24 (D) 21
›Reveal solutionSolution
The second-quadrant intersection point is (−2,2), and the symmetric-limits trick gives I=24.
When the integration limits are symmetric about 0 and the integrand has an exponential like 5x in the denominator, pairing f(x) with f(−x) eliminates the exponential entirely.
1. Find the intersection points. Substitute y=2x+6 into x2=2y:
x2=2(2x+6)=4x+12 ⇒ x2−4x−12=0 ⇒ (x−6)(x+2)=0 ⇒ x=6 or x=−2
2. Pick the second-quadrant point. Need x<0,y>0: x=−2⇒y=2(−2)+6=2. So (a,b)=(−2,2).
3. Set up the integral.
I=∫−221+5x9x2dx
4. Apply the symmetry trick. Since the limits are symmetric about 0, relabel the dummy variable x→−x:
I=∫−221+5−x9x2dx=∫−225x+19x2⋅5xdx
5. Add the two expressions for I. …
- JEE Main 2025Set 2025-04-03-s24 marksMCQQ.The integral ∫(0 to π) [8x dx / (4cos²x + sin²x)] is equal to (A) 2π² (B) 4π² (C) π² (D) 3π²/2
›Reveal solutionSolution
The denominator is symmetric under x→π−x, so the King's-rule trick halves the x weight; the remaining integral evaluates via the standard ∫0π/2a2cos2x+b2sin2xdx=2abπ formula, giving the final answer 2π2.
Let f(x)=4cos2x+sin2x8, so the integral is I=∫0πxf(x)dx.
- Check symmetry: cos2(π−x)=cos2x and sin2(π−x)=sin2x, so f(π−x)=f(x).
King's rule: if f(a−x)=f(x) on [0,a], then ∫0axf(x)dx=2a∫0af(x)dx.
- Applying this with a=π:
I=2π∫0πf(x)dx=2π∫0π4cos2x+sin2x8dx
- The integrand has period π and is also symmetric about x=π/2 (same check as above), so ∫0π4cos2x+sin2xdx=2∫0π/24cos2x+sin2xdx …
- JEE Main 2025Set 2025-04-07-s14 marksMCQQ.The integral ∫0π1+3cos2x(x+3)sinxdx is equal to (A) 3π(π+1) (B) 33π(π+6) (C) 3π(π+2) (D) 23π(π+4)
›Reveal solutionSolution
Use ∫0af(x)dx=∫0af(a−x)dx to fold the lone x out of the numerator, reducing everything to one elementary arctan-type integral.
1. Split the integral.
I=∫0π1+3cos2x(x+3)sinxdx=A∫0π1+3cos2xxsinxdx+3J∫0π1+3cos2xsinxdx
2. Fold A using x→π−x.
Since sin(π−x)=sinx and cos2(π−x)=cos2x,
A=∫0π1+3cos2x(π−x)sinxdx=πJ−A ⇒ 2A=πJ ⇒ A=2πJ
3. Evaluate J by substitution u=cosx, du=−sinxdx.
As x:0→π, u:1→−1, so
J=∫1−11+3u2−du=∫−111+3u2du
Using ∫1+3u2du=31tan−1(3u)+C: …
- JEE Main 2024Set 2024-01-27-s14 marksMCQQ.If (a,b) be the orthocentre of the triangle whose vertices are (1,2),(2,3) and (3,1), and I1=∫abxsin(4x−x2)dx, I2=∫absin(4x−x2)dx, then 36I2I1 is equal to: (A) 80 (B) 66 (C) 72 (D) 88
›Reveal solutionSolution
Find the orthocentre, then use the symmetry 4x−x2=4−(x−2)2 about x=2 to evaluate I1/I2.
- Altitude from (1,2) perpendicular to side joining (2,3),(3,1) (slope −2): slope 1/2, line y−2=21(x−1).
- Altitude from (3,1) perpendicular to side joining (1,2),(2,3) (slope 1): slope −1, line y−1=−(x−3).
- Solving gives x=2, y=2, so (a,b)=(2,2). …
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.