By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19. \(\int^\pi_0 \dfrac{x\ dx}{1+sin\ x}\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine you and a friend both count the same pile of coins but from opposite ends. Your counts look different, yet they add up the same. Here, we do the same trick with the integral — we swap \( x \) with \( \pi - x \) to get a twin version. Adding the two twins makes the tricky \( x \) on top disappear. What remains is a much simpler calculation, and the final answer turns out to be a clean, beautiful \( \pi \).
Answer: \[\int_0^\pi \frac{x}{1+\sin x}\, dx = \pi.\]
This problem uses one of the most important properties of definite integrals, often called the King's Rule: \[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx.\] The idea is that when the variable \( x \) appears in the numerator but the denominator is nearly symmetric, replacing \( x \) with \( a-x \) creates a second equation. Adding the two equations cancels the awkward \( x \) term, leaving a much simpler integral. Here we also use \( \sin(\pi - x) = \sin x \), and we rationalise the denominator to reach a standard integrable form.
\[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx\] \[\sin(\pi - x) = \sin x\] \[\sec^2 x \text{ integrates to } \tan x, \quad \sec x \tan x \text{ integrates to } \sec x\]
\[\int_0^\pi \frac{x}{1+\sin x}\, dx = \pi.\]
A common mistake is evaluating \( \tan x - \sec x \) directly at the limits without noticing that both \( \tan x \) and \( \sec x \) blow up near \( x = \tfrac{\pi}{2} \). Rewriting the antiderivative as \( \dfrac{\sin x - 1}{\cos x} \) keeps it well-defined and gives the correct finite value.
\[\int_0^\pi \frac{x}{1+\sin x}\, dx = \pi.\]
One common mistake: Students forget to apply \( \sin(\pi - x) = \sin x \) when substituting \( x \to \pi - x \), and instead write \( \sin(\pi - x) = -\sin x \), which gives a wrong second equation and leads to an incorrect final answer.
Answer: \[\int_0^\pi \frac{x}{1+\sin x}\, dx = \pi.\]
Question: Evaluate using properties of definite integrals: \[\int_0^{\pi} \frac{x\,dx}{1 + \cos x}\]
Solution: Let \[I = \int_0^{\pi} \frac{x}{1 + \cos x}\,dx\] Applying the King's Property with \(a = 0,\, b = \pi\), replace \(x\) by \(\pi - x\): \[I = \int_0^{\pi} \frac{(\pi - x)}{1 + \cos(\pi - x)}\,dx\] Since \(\cos(\pi - x) = -\cos x\), we get \[I = \int_0^{\pi} \frac{(\pi - x)}{1 - \cos x}\,dx\] Adding the two expressions for \(I\): \[2I = \int_0^{\pi} \frac{x}{1 + \cos x}\,dx + \int_0^{\pi} \frac{\pi - x}{1 - \cos x}\,dx\] Note that \(\frac{x}{1+\cos x} + \frac{\pi - x}{1 - \cos x} = \frac{x(1-\cos x) + (\pi - x)(1+\cos x)}{1 - \cos^2 x}\). Expanding the numerator: \[x - x\cos x + \pi + \pi\cos x - x - x\cos x = \pi + \pi\cos x - 2x\cos x\] Hmm, let us instead write the two integrals clearly. We have \[I = \int_0^{\pi} \frac{x}{1 + \cos x}\,dx \quad \text{and} \quad I = \int_0^{\pi} \frac{\pi - x}{1 - \cos x}\,dx\] Adding: \[2I = \pi\int_0^{\pi} \frac{1}{1 - \cos x}\,dx + \int_0^{\pi} \frac{-x}{1-\cos x}\,dx + \int_0^{\pi}\frac{x}{1+\cos x}\,dx\] This approach mixes terms. Let us instead use a cleaner split. Write \[I = \int_0^{\pi} \frac{x}{1+\cos x}\,dx\] and by King's: \[I = \int_0^{\pi} \frac{\pi - x}{1 - \cos x}\,dx\] Adding: \[2I = \int_0^{\pi} \left[\frac{x}{1+\cos x} + \frac{\pi - x}{1 - \cos x}\right]dx\] Combine over common denominator \(\sin^2 x = 1 - \cos^2 x\): numerator \(= x(1-\cos x) + (\pi-x)(1+\cos x) = x - x\cos x + \pi + \pi\cos x - x - x\cos x = \pi + \pi\cos x - 2x\cos x\). This does not simplify to a clean form, so let us instead try: \[I + I = \int_0^{\pi}\frac{x}{1+\cos x}\,dx + \int_0^{\pi}\frac{\pi - x}{1 - \cos x}\,dx\] These two integrands have different denominators. Notice that a simpler approach is to take the King's property on the same integrand. Let \[I = \int_0^{\pi} \frac{x}{1+\cos x}\,dx\] Also \[I = \int_0^{\pi} \frac{\pi - x}{1 + \cos(\pi - x)}\,dx = \int_0^{\pi} \frac{\pi - x}{1 - \cos x}\,dx\] So \[2I = \int_0^{\pi}\frac{x}{1+\cos x}\,dx + \int_0^{\pi}\frac{\pi - x}{1 - \cos x}\,dx\] Since these have different denominators, rewrite \(I\) differently. Use \(1 + \cos x = 2\cos^2\frac{x}{2}\): \[I = \int_0^{\pi} \frac{x}{2\cos^2\frac{x}{2}}\,dx = \frac{1}{2}\int_0^{\pi} x\sec^2\frac{x}{2}\,dx\] Integrate by parts with \(u = x\) and \(dv = \sec^2\frac{x}{2}\,dx\), so \(du = dx\) and \(v = 2\tan\frac{x}{2}\): \[I = \frac{1}{2}\left[2x\tan\frac{x}{2}\right]_0^{\pi} - \frac{1}{2}\int_0^{\pi}2\tan\frac{x}{2}\,dx\] \[= \left[x\tan\frac{x}{2}\right]_0^{\pi} - \int_0^{\pi}\tan\frac{x}{2}\,dx\] As \(x \to \pi^-\), \(\tan\frac{x}{2} \to +\infty\), so the boundary term diverges. This integral diverges. Let us verify: near \(x = \pi\), \(1 + \cos x \approx 2\cos^2\frac{x}{2} \to 0\), so the integrand \(\frac{x}{1+\cos x} \to \infty\) and the integral does not converge. Therefore, we choose the corrected example below with \(1 - \cos x\) in the denominator instead.
Answer: The integral \(\int_0^{\pi}\frac{x\,dx}{1+\cos x}\) diverges (improper). See Example 2 for a well-posed problem.
Question: Evaluate using properties of definite integrals: \[\int_0^{\pi} \frac{x\,dx}{1 + \sin x}\]
Solution: Let \[I = \int_0^{\pi} \frac{x}{1 + \sin x}\,dx\] Step 1 — Apply the King's Property (replace \(x\) with \(\pi - x\)): \[I = \int_0^{\pi} \frac{\pi - x}{1 + \sin(\pi - x)}\,dx\] Since \(\sin(\pi - x) = \sin x\): \[I = \int_0^{\pi} \frac{\pi - x}{1 + \sin x}\,dx\] Step 2 — Add the two expressions: \[2I = \int_0^{\pi} \frac{x}{1 + \sin x}\,dx + \int_0^{\pi} \frac{\pi - x}{1 + \sin x}\,dx = \int_0^{\pi} \frac{\pi}{1 + \sin x}\,dx\] So \[2I = \pi \int_0^{\pi} \frac{dx}{1 + \sin x}\] Step 3 — Evaluate \(\int_0^{\pi} \frac{dx}{1 + \sin x}\). Multiply numerator and denominator by \((1 - \sin x)\): \[\frac{1}{1 + \sin x} = \frac{1 - \sin x}{1 - \sin^2 x} = \frac{1 - \sin x}{\cos^2 x} = \sec^2 x - \sec x \tan x\] Therefore: \[\int_0^{\pi} \frac{dx}{1 + \sin x} = \int_0^{\pi} \left(\sec^2 x - \sec x \tan x\right)dx\] \[= \left[\tan x - \sec x\right]_0^{\pi}\] Evaluating at the limits (using left-hand and right-hand limits near \(x = \frac{\pi}{2}\) where \(\tan x\) and \(\sec x\) are discontinuous, we treat this as an improper integral and note that \(\tan x - \sec x = \frac{\sin x - 1}{\cos x}\)). Let \(J = \int_0^{\pi}\frac{dx}{1+\sin x}\). Use the Weierstrass substitution \(t = \tan\frac{x}{2}\), so \(\sin x = \frac{2t}{1+t^2}\) and \(dx = \frac{2\,dt}{1+t^2}\). When \(x=0\), \(t=0\); when \(x=\pi\), \(t \to +\infty\): \[J = \int_0^{\infty} \frac{1}{1 + \frac{2t}{1+t^2}} \cdot \frac{2\,dt}{1+t^2} = \int_0^{\infty} \frac{2\,dt}{1+t^2+2t} = \int_0^{\infty} \frac{2\,dt}{(1+t)^2}\] \[= 2\left[\frac{-1}{1+t}\right]_0^{\infty} = 2\left(0 - \frac{-1}{1}\right) = 2\] Step 4 — Find \(I\): \[2I = \pi \cdot 2 = 2\pi\] \[I = \pi\]
Answer: \(I = \pi\)
Question: Using the properties of definite integrals, evaluate \[\int_0^{\pi} \frac{x}{1 - \cos x} \, dx.\]
Answer: \[\int_0^{\pi} \frac{x \sin x}{1 + \cos^2 x} \, dx = \frac{\pi^2}{4}.\]