SOLVER7 Study. Nothing Else.
Exercise 7.8 Q18

Evaluate the definite integrals in Exercises 1 to 20. \(\int^\pi_0(sin^2\dfrac{x}{2}-cos^2\dfrac{x}{2})dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy-looking puzzle piece that secretly fits a simple shape. The expression \( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \) looks tricky, but it is really just \( -\cos x \) in disguise. Once you swap the disguise for the simple shape, adding up the area under the curve from \( 0 \) to \( \pi \) becomes easy. The positive and negative parts of \( -\cos x \) perfectly cancel each other out over that interval. So the total area adds up to zero — like two equal but opposite weights on a balance scale.

Answer: \( \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx = 0 \)

📖 Evaluating a Definite Integral Using a Trigonometric Identity

Detailed Explanation

The key idea here is that before integrating, we should simplify the integrand as much as possible. The expression \( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \) looks complicated, but it matches a well-known identity. Recall that \( \cos 2\theta = \cos^2\theta - \sin^2\theta \), which can be rearranged as \( \sin^2\theta - \cos^2\theta = -\cos 2\theta \). Taking \( \theta = \dfrac{x}{2} \), the integrand becomes \( -\cos x \), which is very easy to integrate. Once simplified, we use the Fundamental Theorem of Calculus: if \( F(x) \) is an antiderivative of \( f(x) \), then \( \int_a^b f(x)\, dx = F(b) - F(a) \).

Formula Used

\( \sin^2\theta - \cos^2\theta = -\cos 2\theta \) and \( \int \cos x \, dx = \sin x + C \)

Solution

  1. Step 1: Write down the integral we need to evaluate. \[ I = \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx \]
  2. Step 2: Simplify the integrand using the identity \( \sin^2\theta - \cos^2\theta = -\cos 2\theta \). Here \( \theta = \dfrac{x}{2} \), so \( 2\theta = x \). This gives \[ \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} = -\cos x \]
  3. Step 3: Rewrite the integral with the simplified integrand. \[ I = \int_0^{\pi} (-\cos x)\, dx = -\int_0^{\pi} \cos x \, dx \]
  4. Step 4: Find the antiderivative of \( \cos x \), which is \( \sin x \). By the Fundamental Theorem of Calculus, \[ I = -\left[ \sin x \right]_0^{\pi} \]
  5. Step 5: Substitute the upper and lower limits. \[ I = -\left( \sin \pi - \sin 0 \right) \] Since \( \sin \pi = 0 \) and \( \sin 0 = 0 \), we get \[ I = -(0 - 0) = 0 \]

Final Answer

\( \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx = 0 \)

Common Mistake

A common mistake is getting the sign wrong when applying the identity. Students often write \( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} = \cos x \) instead of \( -\cos x \). Remember that \( \cos 2\theta = \cos^2\theta - \sin^2\theta \), so \( \sin^2\theta - \cos^2\theta \) is the negative of \( \cos 2\theta \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Label the integral for convenience: \[ I = \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx \] — Reason: Naming the integral I keeps the working tidy and easy to follow.
  2. Step 2: Recall the double-angle identity \( \cos 2\theta = \cos^2\theta - \sin^2\theta \), which can be rearranged to give \( \sin^2\theta - \cos^2\theta = -\cos 2\theta \). — Reason: The integrand matches this pattern exactly, so the identity lets us replace a complicated expression with a simple one.
  3. Step 3: Substitute \( \theta = \dfrac{x}{2} \) into the identity, so \( 2\theta = x \): \[ \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} = -\cos x \] — Reason: This collapses the two-term integrand into a single cosine function, which is straightforward to integrate.
  4. Step 4: Replace the integrand in the original integral: \[ I = \int_0^{\pi} (-\cos x) \, dx = -\int_0^{\pi} \cos x \, dx \] — Reason: The constant factor \( -1 \) is pulled outside the integral using the scalar multiple rule.
  5. Step 5: Use the antiderivative \( \int \cos x \, dx = \sin x + C \) and apply the Fundamental Theorem of Calculus: \[ I = -\left[\sin x\right]_0^{\pi} \] — Reason: The Fundamental Theorem tells us to evaluate the antiderivative at the upper limit and subtract its value at the lower limit.
  6. Step 6: Substitute the limits \( x = \pi \) and \( x = 0 \): \[ I = -\left(\sin \pi - \sin 0\right) \] Now use the known values \( \sin \pi = 0 \) and \( \sin 0 = 0 \): \[ I = -\left(0 - 0\right) = 0 \] — Reason: Both sine values are zero, so the expression inside the bracket vanishes, giving a final answer of zero.

Final Answer

\( \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx = 0 \)

Common Mistake

One common mistake: forgetting to negate the identity correctly — students sometimes write \( \sin^2\theta - \cos^2\theta = \cos 2\theta \) instead of \( -\cos 2\theta \), which flips the sign of the entire answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Apply identity \( \sin^2\theta - \cos^2\theta = -\cos 2\theta \) with \( \theta = \dfrac{x}{2} \): \[ I = \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx = -\int_0^{\pi} \cos x \, dx \]
  2. Step 2: Integrate using antiderivative of \( \cos x \): \[ I = -\left[ \sin x \right]_0^{\pi} \]
  3. Step 3: Substitute limits using \( \sin \pi = 0 \) and \( \sin 0 = 0 \): \[ I = -\left( 0 - 0 \right) = 0 \]

Answer: \( \int_0^{\pi} \left( \sin^2\dfrac{x}{2} - \cos^2\dfrac{x}{2} \right) dx = 0 \)

➕ More Examples

More Examples

Example 1

Question: Evaluate the definite integral \[ \int_0^{\pi} \left( \cos^2\frac{x}{2} - \sin^2\frac{x}{2} \right) dx \]

Solution: We simplify the integrand using the double-angle identity. Recall that \( \cos^2\theta - \sin^2\theta = \cos 2\theta \). Setting \( \theta = \frac{x}{2} \), we get: \[ \cos^2\frac{x}{2} - \sin^2\frac{x}{2} = \cos\left(2 \cdot \frac{x}{2}\right) = \cos x \] So the integral becomes: \[ \int_0^{\pi} \cos x \, dx \] Integrating: \[ = \left[ \sin x \right]_0^{\pi} \] Substituting the limits: \[ = \sin\pi - \sin 0 = 0 - 0 = 0 \]

Answer: \( 0 \)

Example 2

Question: Evaluate the definite integral \[ \int_0^{\pi/2} \left( \sin^2 x - \cos^2 x \right) dx \]

Solution: We simplify the integrand using the double-angle identity. Note that \( \sin^2 x - \cos^2 x = -(\cos^2 x - \sin^2 x) = -\cos 2x \). So the integral becomes: \[ \int_0^{\pi/2} (-\cos 2x) \, dx \] Integrating term by term: \[ = \left[ -\frac{\sin 2x}{2} \right]_0^{\pi/2} \] Substituting the upper limit \( x = \frac{\pi}{2} \): the term gives \( -\frac{\sin\pi}{2} = -\frac{0}{2} = 0 \). Substituting the lower limit \( x = 0 \): the term gives \( -\frac{\sin 0}{2} = 0 \). Therefore: \[ = 0 - 0 = 0 \]

Answer: \( 0 \)

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate the definite integral: \[ \int_0^{\pi} \left( \cos^2\frac{x}{2} - \sin^2\frac{x}{2} \right)^2 \, dx \]

Solution

  1. Step 1: Simplify the integrand using a trigonometric identity: Recall the double-angle identity: \( \cos^2\frac{x}{2} - \sin^2\frac{x}{2} = \cos x \). Therefore, the integrand becomes: \[ \left( \cos^2\frac{x}{2} - \sin^2\frac{x}{2} \right)^2 = \cos^2 x \]
  2. Step 2: Rewrite using another double-angle identity: Use the identity \( \cos^2 x = \frac{1 + \cos 2x}{2} \) to rewrite the integral: \[ \int_0^{\pi} \cos^2 x \, dx = \int_0^{\pi} \frac{1 + \cos 2x}{2} \, dx \]
  3. Step 3: Split the integral: Separate the integral into two parts: \[ \frac{1}{2} \int_0^{\pi} 1 \, dx + \frac{1}{2} \int_0^{\pi} \cos 2x \, dx \]
  4. Step 4: Evaluate the first integral: The first integral is straightforward: \[ \frac{1}{2} \int_0^{\pi} 1 \, dx = \frac{1}{2} \left[ x \right]_0^{\pi} = \frac{1}{2}(\pi - 0) = \frac{\pi}{2} \]
  5. Step 5: Evaluate the second integral: Integrate \( \cos 2x \): \[ \frac{1}{2} \int_0^{\pi} \cos 2x \, dx = \frac{1}{2} \left[ \frac{\sin 2x}{2} \right]_0^{\pi} = \frac{1}{4} \left[ \sin 2x \right]_0^{\pi} \] Applying the limits: \[ = \frac{1}{4} (\sin 2\pi - \sin 0) = \frac{1}{4}(0 - 0) = 0 \]
  6. Step 6: Add the results: Combining both parts: \[ \int_0^{\pi} \left( \cos^2\frac{x}{2} - \sin^2\frac{x}{2} \right)^2 \, dx = \frac{\pi}{2} + 0 = \frac{\pi}{2} \]

Answer: \[ \int_0^{\pi} \left( \cos^2\frac{x}{2} - \sin^2\frac{x}{2} \right)^2 \, dx = \frac{\pi}{2} \]

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)