SOLVER7 Study. Nothing Else.
Chapter 7 Miscellaneous Examples Q42

Evaluate \(\int^{\pi}_{0}\dfrac{x\ dx}{a^2\ cos^2\ x +b^2\ sin^2\ x}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine a seesaw perfectly balanced in the middle. When you swap the left and right sides, the balance does not change. This integral has a tricky \( x \) sitting on top, making it hard to solve directly. A clever trick lets us swap \( x \) with \( \pi - x \), and the bottom part stays the same. Adding both versions together replaces the tricky \( x \) with a simple constant \( \pi \), making the problem easy to finish.

Answer: \[\int_0^{\pi} \frac{x\, dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi^2}{2ab}.\]

📖 Definite Integral Using King's Property

Detailed Explanation

This integral has an x in the numerator that makes direct integration very hard. The key idea is the King's property of definite integrals, which says \[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx.\] When we replace x by (a - x), the x-part often simplifies while the trigonometric part stays the same (because sine and cosine of pi minus x keep their squares unchanged). Adding the original integral to the transformed one lets us eliminate the awkward x term. After that, we use symmetry about pi/2 and a standard substitution to finish.

Formula Used

King's property: \[\int_0^a f(x)\, dx = \int_0^a f(a-x)\, dx.\] Standard result: \[\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi}{2ab}.\]

Solution

  1. Step 1: Let the integral be \[I = \int_0^{\pi} \frac{x\, dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Apply King's property with \( a = \pi \), replacing \( x \) by \( \pi - x \).
  2. Step 2: Note that \( \cos(\pi - x) = -\cos x \) and \( \sin(\pi - x) = \sin x \), so their squares are unchanged: \( \cos^2(\pi - x) = \cos^2 x \) and \( \sin^2(\pi - x) = \sin^2 x \). Therefore \[I = \int_0^{\pi} \frac{(\pi - x)\, dx}{a^2\cos^2 x + b^2\sin^2 x}.\]
  3. Step 3: Add the two expressions for \( I \). The numerators \( x \) and \( \pi - x \) add to \( \pi \): \[2I = \int_0^{\pi} \frac{\pi\, dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Hence \[I = \frac{\pi}{2}\int_0^{\pi} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\]
  4. Step 4: The remaining integrand is symmetric about \( x = \frac{\pi}{2} \) over \( [0, \pi] \), so \[\int_0^{\pi} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = 2\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\] This gives \[I = \pi \int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\]
  5. Step 5: Divide numerator and denominator by \( \cos^2 x \): \[\int_0^{\pi/2} \frac{\sec^2 x\, dx}{a^2 + b^2\tan^2 x}.\] Substitute \( t = \tan x \), so \( dt = \sec^2 x\, dx \). When \( x = 0, t = 0 \); when \( x \to \frac{\pi}{2}, t \to \infty \). The integral becomes \[\int_0^{\infty} \frac{dt}{a^2 + b^2 t^2}.\]
  6. Step 6: Evaluate using \[\int \frac{dt}{a^2 + b^2 t^2} = \frac{1}{ab}\tan^{-1}\left(\frac{bt}{a}\right).\] Applying the limits: \[\frac{1}{ab}\left[\tan^{-1}\left(\frac{bt}{a}\right)\right]_0^{\infty} = \frac{1}{ab}\left(\frac{\pi}{2} - 0\right) = \frac{\pi}{2ab}.\]
  7. Step 7: Substitute this value back: \[I = \pi \cdot \frac{\pi}{2ab} = \frac{\pi^2}{2ab}.\]

Final Answer

\[\int_0^{\pi} \frac{x\, dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi^2}{2ab}.\]

Common Mistake

A common mistake is to change the limits from \( 0 \) to \( \pi \) directly into the tan-substitution without splitting the interval at \( \frac{\pi}{2} \). Since \( \tan x \) is undefined at \( \frac{\pi}{2} \), you must first use symmetry to reduce the range to \( [0, \pi/2] \) before substituting \( t = \tan x \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Name the integral: Define \[I = \int_0^{\pi} \frac{x\,dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Reason: Giving the integral a name lets us write an equation when we add two expressions for the same quantity.
  2. Step 2: Apply King's Property: Replace \( x \) by \( \pi - x \) throughout. By King's Property the value of the integral does not change, so \[I = \int_0^{\pi} \frac{(\pi - x)\,dx}{a^2\cos^2(\pi - x) + b^2\sin^2(\pi - x)}.\] Reason: This substitution trades the awkward linear factor \( x \) for \( \pi - x \), while we check next that the denominator is unaffected.
  3. Step 3: Simplify the denominator after substitution: Use the identities \( \cos(\pi - x) = -\cos x \) and \( \sin(\pi - x) = \sin x \). Squaring both gives \( \cos^2(\pi - x) = \cos^2 x \) and \( \sin^2(\pi - x) = \sin^2 x \). Therefore the transformed integral becomes \[I = \int_0^{\pi} \frac{(\pi - x)\,dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Reason: Confirming the denominator is unchanged is essential — it means both expressions for \( I \) share exactly the same denominator.
  4. Step 4: Add both expressions for I: Add the original and the transformed expression. The left side gives \( 2I \), and the numerators \( x \) and \( \pi - x \) combine to the constant \( \pi \): \[2I = \int_0^{\pi} \frac{\pi\,dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Dividing both sides by 2: \[I = \frac{\pi}{2}\int_0^{\pi} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Reason: The troublesome linear \( x \) is now gone, leaving a purely trigonometric integrand that is much easier to handle.
  5. Step 5: Exploit symmetry to halve the interval: The integrand \( \frac{1}{a^2\cos^2 x + b^2\sin^2 x} \) satisfies \( f(\pi - x) = f(x) \), so it is symmetric about \( x = \frac{\pi}{2} \) on \( [0,\pi] \). Therefore \[\int_0^{\pi} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = 2\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Substituting back: \[I = \frac{\pi}{2} \cdot 2\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = \pi\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\] Reason: Reducing to \( [0,\pi/2] \) lets us use a well-known standard result directly.
  6. Step 6: Evaluate using the standard result: Apply the standard result \[\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi}{2ab}.\] Therefore \[I = \pi \cdot \frac{\pi}{2ab} = \frac{\pi^2}{2ab}.\] Reason: This standard result is established by dividing numerator and denominator by \( \cos^2 x \) and then using the substitution \( t = \tan x \), which converts the integral to a standard arctangent form.

Final Answer

\[\int_0^{\pi} \frac{x\, dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi^2}{2ab}.\]

Common Mistake

One common mistake: forgetting to verify that the denominator is unchanged when \( x \) is replaced by \( \pi - x \). Students sometimes assume the denominator simplifies or changes sign, leading them to conclude the two expressions for \( I \) cannot be added — but because both \( \cos^2(\pi - x) = \cos^2 x \) and \( \sin^2(\pi - x) = \sin^2 x \), the denominators are identical and the addition step is fully valid.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \[I = \int_0^{\pi} \frac{x \, dx}{a^2\cos^2 x + b^2\sin^2 x}.\] By King's property, \[I = \int_0^{\pi} \frac{(\pi - x) \, dx}{a^2\cos^2 x + b^2\sin^2 x}\] since \(\cos^2(\pi - x) = \cos^2 x\) and \(\sin^2(\pi - x) = \sin^2 x\).
  2. Step 2: Adding both expressions: \[2I = \pi \int_0^{\pi} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = 2\pi \int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x}.\]
  3. Step 3: Using the standard result \(\int_0^{\pi/2} \frac{dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi}{2ab}\): \[2I = 2\pi \cdot \frac{\pi}{2ab} = \frac{\pi^2}{ab},\] so \[I = \frac{\pi^2}{2ab}.\]

Answer: \[\int_0^{\pi} \frac{x\, dx}{a^2\cos^2 x + b^2\sin^2 x} = \frac{\pi^2}{2ab}.\]

➕ More Examples

More Examples

Example 1

Question: Evaluate \[ I = \int_0^{\pi} \frac{x\, dx}{9\cos^2 x + 4\sin^2 x} \]

Solution: Let \[ I = \int_0^{\pi} \frac{x\, dx}{9\cos^2 x + 4\sin^2 x} \] Apply the substitution \( x \to \pi - x \). Then \( dx \to -dx \), and the limits change from \( \pi \) to \( 0 \). Note that \( \cos(\pi - x) = -\cos x \) so \( \cos^2(\pi - x) = \cos^2 x \), and \( \sin(\pi - x) = \sin x \) so \( \sin^2(\pi - x) = \sin^2 x \). Therefore: \[ I = \int_0^{\pi} \frac{(\pi - x)\, dx}{9\cos^2 x + 4\sin^2 x} \] Adding the two expressions for \( I \): \[ 2I = \int_0^{\pi} \frac{\pi\, dx}{9\cos^2 x + 4\sin^2 x} \] So \[ I = \frac{\pi}{2} \int_0^{\pi} \frac{dx}{9\cos^2 x + 4\sin^2 x} \] Since the integrand is symmetric about \( x = \frac{\pi}{2} \): \[ I = \frac{\pi}{2} \cdot 2 \int_0^{\pi/2} \frac{dx}{9\cos^2 x + 4\sin^2 x} = \pi \int_0^{\pi/2} \frac{dx}{9\cos^2 x + 4\sin^2 x} \] Divide numerator and denominator by \( \cos^2 x \): \[ I = \pi \int_0^{\pi/2} \frac{\sec^2 x\, dx}{9 + 4\tan^2 x} \] Let \( t = \tan x \), so \( dt = \sec^2 x\, dx \). When \( x = 0 \), \( t = 0 \); when \( x \to \frac{\pi}{2} \), \( t \to \infty \). \[ I = \pi \int_0^{\infty} \frac{dt}{9 + 4t^2} = \frac{\pi}{4} \int_0^{\infty} \frac{dt}{\frac{9}{4} + t^2} \] Using the standard formula \( \int_0^{\infty} \frac{dt}{a^2 + t^2} = \frac{\pi}{2a} \) with \( a = \frac{3}{2} \): \[ I = \frac{\pi}{4} \cdot \frac{\pi}{2 \cdot \frac{3}{2}} = \frac{\pi}{4} \cdot \frac{\pi}{3} = \frac{\pi^2}{12} \]

Answer: \( \dfrac{\pi^2}{12} \)

Example 2

Question: Evaluate \[ I = \int_0^{\pi} \frac{x\sin x\, dx}{1 + \cos^2 x} \]

Solution: Let \[ I = \int_0^{\pi} \frac{x\sin x\, dx}{1 + \cos^2 x} \] Apply the substitution \( x \to \pi - x \). Then \( dx \to -dx \), \( \sin(\pi - x) = \sin x \), and \( \cos(\pi - x) = -\cos x \) so \( \cos^2(\pi - x) = \cos^2 x \). Therefore: \[ I = \int_0^{\pi} \frac{(\pi - x)\sin x\, dx}{1 + \cos^2 x} \] Adding both expressions: \[ 2I = \int_0^{\pi} \frac{\pi \sin x\, dx}{1 + \cos^2 x} \] So \[ I = \frac{\pi}{2} \int_0^{\pi} \frac{\sin x\, dx}{1 + \cos^2 x} \] Let \( t = \cos x \), so \( dt = -\sin x\, dx \). When \( x = 0 \), \( t = 1 \); when \( x = \pi \), \( t = -1 \). \[ I = \frac{\pi}{2} \int_1^{-1} \frac{-dt}{1 + t^2} = \frac{\pi}{2} \int_{-1}^{1} \frac{dt}{1 + t^2} \] \[ I = \frac{\pi}{2} \left[ \tan^{-1} t \right]_{-1}^{1} = \frac{\pi}{2} \left( \tan^{-1}(1) - \tan^{-1}(-1) \right) \] \[ I = \frac{\pi}{2} \left( \frac{\pi}{4} - \left(-\frac{\pi}{4}\right) \right) = \frac{\pi}{2} \cdot \frac{\pi}{2} = \frac{\pi^2}{4} \]

Answer: \( \dfrac{\pi^2}{4} \)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate \[ \int_0^{\pi} \frac{x \, dx}{9\cos^2 x + 4\sin^2 x} \]

Solution

  1. Step 1: Set up the integral: Let \( I = \int_0^{\pi} \frac{x}{9\cos^2 x + 4\sin^2 x} \, dx \).
  2. Step 2: Apply the king's property: Using the property \( \int_0^{\pi} f(x) \, dx = \int_0^{\pi} f(\pi - x) \, dx \), replace \( x \) with \( \pi - x \). Note that \( \cos^2(\pi - x) = \cos^2 x \) and \( \sin^2(\pi - x) = \sin^2 x \), so: \[ I = \int_0^{\pi} \frac{(\pi - x)}{9\cos^2 x + 4\sin^2 x} \, dx \]
  3. Step 3: Add the two expressions for I: Adding the original and the transformed integral: \[ 2I = \int_0^{\pi} \frac{x + (\pi - x)}{9\cos^2 x + 4\sin^2 x} \, dx = \pi \int_0^{\pi} \frac{1}{9\cos^2 x + 4\sin^2 x} \, dx \] Therefore: \[ I = \frac{\pi}{2} \int_0^{\pi} \frac{dx}{9\cos^2 x + 4\sin^2 x} \]
  4. Step 4: Use the symmetry to reduce the range: Since the integrand \( \frac{1}{9\cos^2 x + 4\sin^2 x} \) has period \( \pi \) and is symmetric about \( x = \frac{\pi}{2} \), we can write: \[ \int_0^{\pi} \frac{dx}{9\cos^2 x + 4\sin^2 x} = 2\int_0^{\pi/2} \frac{dx}{9\cos^2 x + 4\sin^2 x} \] So: \[ I = \frac{\pi}{2} \cdot 2 \int_0^{\pi/2} \frac{dx}{9\cos^2 x + 4\sin^2 x} = \pi \int_0^{\pi/2} \frac{dx}{9\cos^2 x + 4\sin^2 x} \]
  5. Step 5: Simplify the integrand: Divide numerator and denominator by \( \cos^2 x \): \[ \int_0^{\pi/2} \frac{dx}{9\cos^2 x + 4\sin^2 x} = \int_0^{\pi/2} \frac{\sec^2 x}{9 + 4\tan^2 x} \, dx \] Let \( t = \tan x \), so \( dt = \sec^2 x \, dx \). When \( x = 0 \), \( t = 0 \); when \( x \to \frac{\pi}{2} \), \( t \to \infty \). The integral becomes: \[ \int_0^{\infty} \frac{dt}{9 + 4t^2} \]
  6. Step 6: Evaluate the standard integral: Write \( 9 + 4t^2 = 4\left(t^2 + \frac{9}{4}\right) \). Using the formula \( \int_0^{\infty} \frac{dt}{t^2 + a^2} = \frac{\pi}{2a} \), with \( a = \frac{3}{2} \): \[ \int_0^{\infty} \frac{dt}{9 + 4t^2} = \frac{1}{4} \int_0^{\infty} \frac{dt}{t^2 + \frac{9}{4}} = \frac{1}{4} \cdot \frac{\pi}{2 \cdot \frac{3}{2}} = \frac{1}{4} \cdot \frac{\pi}{3} = \frac{\pi}{12} \]
  7. Step 7: Compute the final answer: Substituting back: \[ I = \pi \cdot \frac{\pi}{12} = \frac{\pi^2}{12} \]

Answer: \[ \int_0^{\pi} \frac{x \, dx}{9\cos^2 x + 4\sin^2 x} = \frac{\pi^2}{12} \]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)