SOLVER7 Study. Nothing Else.
2026 Board Paper Q27(a)

Find : \(\int\dfrac{x-sin\ x}{1-cos\ x}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy fraction that looks scary. We use a clever trick to break it into two simpler pieces, like splitting a big sandwich into two halves. Each half is easier to handle on its own. One piece needs a special trick called integration by parts, like carefully untangling a knot. The two pieces combine neatly, and everything cancels out beautifully, leaving a clean answer.

Answer: \[ \int \dfrac{x - \sin x}{1 - \cos x} \, dx = -x\cot\left(\dfrac{x}{2}\right) + C \]

📖 Integrating (x - sin x)/(1 - cos x)

Detailed Explanation

The key idea is to simplify the denominator using the half-angle identities. We know that \( 1 - \cos x = 2\sin^2\left(\dfrac{x}{2}\right) \) and \( \sin x = 2\sin\left(\dfrac{x}{2}\right)\cos\left(\dfrac{x}{2}\right) \). After simplifying, the integrand splits into a part that needs integration by parts and a part that integrates directly using standard results. Recall that \( \dfrac{1}{\sin^2\theta} = \csc^2\theta \) and \( \cot\theta = \dfrac{\cos\theta}{\sin\theta} \).

Formula Used

\( 1 - \cos x = 2\sin^2\left(\dfrac{x}{2}\right) \), \( \sin x = 2\sin\left(\dfrac{x}{2}\right)\cos\left(\dfrac{x}{2}\right) \), and \( \int \csc^2\theta \, d\theta = -\cot\theta + C \)

Solution

  1. Step 1: Rewrite the denominator and numerator using half-angle identities. Substitute \( 1 - \cos x = 2\sin^2\left(\dfrac{x}{2}\right) \) and \( \sin x = 2\sin\left(\dfrac{x}{2}\right)\cos\left(\dfrac{x}{2}\right) \) into the integral: \[ \int \dfrac{x - 2\sin\left(\frac{x}{2}\right)\cos\left(\frac{x}{2}\right)}{2\sin^2\left(\frac{x}{2}\right)} \, dx \]
  2. Step 2: Split the fraction into two separate terms: \[ \int \dfrac{x}{2\sin^2\left(\frac{x}{2}\right)} \, dx - \int \dfrac{2\sin\left(\frac{x}{2}\right)\cos\left(\frac{x}{2}\right)}{2\sin^2\left(\frac{x}{2}\right)} \, dx \] This simplifies to \[ \dfrac{1}{2}\int x \csc^2\left(\tfrac{x}{2}\right) \, dx - \int \cot\left(\tfrac{x}{2}\right) \, dx \]
  3. Step 3: Solve the first integral using integration by parts. Take \( u = x \) and \( dv = \csc^2\left(\frac{x}{2}\right)\,dx \). Then \( du = dx \) and \( v = -2\cot\left(\frac{x}{2}\right) \). Applying \( \int u \, dv = uv - \int v \, du \): \[ \dfrac{1}{2}\left[ -2x\cot\left(\tfrac{x}{2}\right) + 2\int \cot\left(\tfrac{x}{2}\right) \, dx \right] \] This becomes \[ -x\cot\left(\tfrac{x}{2}\right) + \int \cot\left(\tfrac{x}{2}\right) \, dx \]
  4. Step 4: Combine with the second integral from Step 2. The full expression is \[ -x\cot\left(\tfrac{x}{2}\right) + \int \cot\left(\tfrac{x}{2}\right) \, dx - \int \cot\left(\tfrac{x}{2}\right) \, dx \] The two cotangent integrals cancel out completely, leaving only \[ -x\cot\left(\tfrac{x}{2}\right) + C \]

Final Answer

\[ \int \dfrac{x - \sin x}{1 - \cos x} \, dx = -x\cot\left(\dfrac{x}{2}\right) + C \]

Common Mistake

A common mistake is to integrate the two \( \cot\left(\frac{x}{2}\right) \) terms separately and add unnecessary logarithm terms, instead of noticing that they cancel each other exactly. Always check whether identical integrals with opposite signs can be cancelled before doing extra work.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Replace the denominator and the sine term in the numerator using half-angle identities. Substitute \(1 - \cos x = 2\sin^2\!\left(\dfrac{x}{2}\right)\) and \(\sin x = 2\sin\!\left(\dfrac{x}{2}\right)\cos\!\left(\dfrac{x}{2}\right)\) so the integral becomes \[\int \dfrac{x - 2\sin\!\left(\dfrac{x}{2}\right)\cos\!\left(\dfrac{x}{2}\right)}{2\sin^2\!\left(\dfrac{x}{2}\right)} \, dx.\] Reason: Half-angle forms turn both the numerator and denominator into expressions involving the single angle \(\dfrac{x}{2}\), making cancellation possible.
  2. Step 2: Separate the single fraction into two independent integrals: \[\int \dfrac{x}{2\sin^2\!\left(\dfrac{x}{2}\right)} \, dx - \int \dfrac{2\sin\!\left(\dfrac{x}{2}\right)\cos\!\left(\dfrac{x}{2}\right)}{2\sin^2\!\left(\dfrac{x}{2}\right)} \, dx.\] Simplify using \(\dfrac{\cos\theta}{\sin\theta} = \cot\theta\) and \(\dfrac{1}{\sin^2\theta} = \csc^2\theta\) to get \[\dfrac{1}{2}\int x\csc^2\!\left(\dfrac{x}{2}\right) \, dx - \int \cot\!\left(\dfrac{x}{2}\right) \, dx.\] Reason: Splitting lets us handle each piece with the appropriate technique — integration by parts for the first and a standard result for the second.
  3. Step 3: Evaluate the first integral \(\dfrac{1}{2}\int x\csc^2\!\left(\dfrac{x}{2}\right) \, dx\) using integration by parts. Choose \(u = x\) and \(dv = \csc^2\!\left(\dfrac{x}{2}\right) \, dx\). Then \(du = dx\) and, since \(\int \csc^2\!\left(\dfrac{x}{2}\right) \, dx = -2\cot\!\left(\dfrac{x}{2}\right)\), we have \(v = -2\cot\!\left(\dfrac{x}{2}\right)\). Applying \(\int u \, dv = uv - \int v \, du\): \[\dfrac{1}{2}\left[x \cdot \left(-2\cot\!\left(\dfrac{x}{2}\right)\right) - \int \left(-2\cot\!\left(\dfrac{x}{2}\right)\right) \, dx\right] = -x\cot\!\left(\dfrac{x}{2}\right) + \int \cot\!\left(\dfrac{x}{2}\right) \, dx.\] Reason: Integration by parts is the standard method when the integrand is a product of a polynomial and a trigonometric function.
  4. Step 4: Combine both parts. The full expression so far is \[-x\cot\!\left(\dfrac{x}{2}\right) + \int \cot\!\left(\dfrac{x}{2}\right) \, dx - \int \cot\!\left(\dfrac{x}{2}\right) \, dx.\] The two remaining integrals cancel each other exactly, leaving \[-x\cot\!\left(\dfrac{x}{2}\right).\] Reason: The cotangent integral produced by the by-parts step is identical to the second integral from Step 2, so they annihilate each other, giving a clean closed form.
  5. Step 5: Add the constant of integration to write the final answer: \[\int \dfrac{x - \sin x}{1 - \cos x} \, dx = -x\cot\!\left(\dfrac{x}{2}\right) + C.\] Reason: An arbitrary constant C must always be appended to an indefinite integral.

Final Answer

\[ \int \dfrac{x - \sin x}{1 - \cos x} \, dx = -x\cot\left(\dfrac{x}{2}\right) + C \]

Common Mistake

One common mistake: forgetting the factor of 2 that appears when integrating \(\csc^2\!\left(\dfrac{x}{2}\right)\) — since the inner function is \(\dfrac{x}{2}\), the chain rule gives \(\int \csc^2\!\left(\dfrac{x}{2}\right) \, dx = -2\cot\!\left(\dfrac{x}{2}\right) + C\), not \(-\cot\!\left(\dfrac{x}{2}\right) + C\).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Apply half-angle substitutions and split: \[ \int \frac{x - \sin x}{1 - \cos x}\,dx = \frac{1}{2}\int x\csc^2\!\left(\frac{x}{2}\right)dx - \int \cot\!\left(\frac{x}{2}\right)dx \]
  2. Step 2: Integration by parts on first integral: Take \( u = x \), \( dv = \csc^2\!\left(\dfrac{x}{2}\right)dx \), so \( du = dx \), \( v = -2\cot\!\left(\dfrac{x}{2}\right) \). Then \[ \frac{1}{2}\int x\csc^2\!\left(\frac{x}{2}\right)dx = \frac{1}{2}\left[-2x\cot\!\left(\frac{x}{2}\right) + 2\int\cot\!\left(\frac{x}{2}\right)dx\right] = -x\cot\!\left(\frac{x}{2}\right) + \int\cot\!\left(\frac{x}{2}\right)dx \]
  3. Step 3: Combine both integrals: \[ -x\cot\!\left(\frac{x}{2}\right) + \int\cot\!\left(\frac{x}{2}\right)dx - \int\cot\!\left(\frac{x}{2}\right)dx = -x\cot\!\left(\frac{x}{2}\right) + C \]

Answer: \[ \int \dfrac{x - \sin x}{1 - \cos x} \, dx = -x\cot\left(\dfrac{x}{2}\right) + C \]

➕ More Examples

More Examples

Example 1

Question: Find \(\displaystyle\int \frac{x + \cos x}{1 + \sin x}\,dx\).

Solution: We want to evaluate \(\displaystyle I = \int \frac{x + \cos x}{1 + \sin x}\,dx\). Split the integrand into two fractions: \[I = \int \frac{x}{1 + \sin x}\,dx + \int \frac{\cos x}{1 + \sin x}\,dx\] For the second integral, notice that \(\frac{d}{dx}(1 + \sin x) = \cos x\), so: \[\int \frac{\cos x}{1 + \sin x}\,dx = \ln|1 + \sin x| + C_1\] For the first integral, use integration by parts. Let \(u = x\) and \(dv = \frac{dx}{1+\sin x}\). First, simplify \(\frac{1}{1+\sin x}\) by rationalising: \[\frac{1}{1+\sin x} = \frac{1-\sin x}{\cos^2 x} = \sec^2 x - \sec x \tan x\] So: \(\displaystyle v = \int (\sec^2 x - \sec x \tan x)\,dx = \tan x - \sec x\) Applying integration by parts with \(u = x\), \(v = \tan x - \sec x\): \[\int \frac{x}{1+\sin x}\,dx = x(\tan x - \sec x) - \int (\tan x - \sec x)\,dx\] Now compute \(\displaystyle\int (\tan x - \sec x)\,dx\): \[\int \tan x\,dx = -\ln|\cos x| + C, \quad \int \sec x\,dx = \ln|\sec x + \tan x| + C\] So: \(\displaystyle\int (\tan x - \sec x)\,dx = -\ln|\cos x| - \ln|\sec x + \tan x| + C_2\) Note that \(-\ln|\cos x| - \ln|\sec x + \tan x| = \ln\frac{1}{|\cos x|\cdot|\sec x+\tan x|}\). We can simplify: \(\frac{1}{\cos x}\cdot(\sec x+\tan x) = \sec^2 x + \sec x\tan x\), but it is cleaner to leave combined. Also observe: \[\ln\frac{1}{\cos x} - \ln(\sec x+\tan x) = \ln\sec x - \ln(\sec x+\tan x)\] Alternatively, note \(1+\sin x = \frac{\cos^2(x/2)+\sin^2(x/2)+2\sin(x/2)\cos(x/2)}{1} = \left(\cos\frac{x}{2}+\sin\frac{x}{2}\right)^2\), so \(\ln|1+\sin x| = 2\ln\left|\cos\frac{x}{2}+\sin\frac{x}{2}\right|\). Combining all parts, the final answer is: \[I = x(\tan x - \sec x) + \ln|\cos x| + \ln|\sec x + \tan x| + \ln|1 + \sin x| + C\] We simplify \(\ln|\cos x| + \ln|1+\sin x|\): \[\ln|\cos x| + \ln|1+\sin x| = \ln|\cos x(1+\sin x)|\] Also \(\ln|\sec x+\tan x| = \ln\left|\frac{1+\sin x}{\cos x}\right|\), so: \[\ln|\cos x(1+\sin x)| + \ln\left|\frac{1+\sin x}{\cos x}\right| = \ln|(1+\sin x)^2|\] Therefore: \[I = x(\tan x - \sec x) + 2\ln|1+\sin x| + C\]

Answer: \(x(\tan x - \sec x) + 2\ln|1+\sin x| + C\)

Example 2

Question: Find \(\displaystyle\int \frac{x - \cos x}{1 + \sin x}\,dx\).

Solution: We evaluate \(\displaystyle I = \int \frac{x - \cos x}{1 + \sin x}\,dx\). Split the integrand: \[I = \int \frac{x}{1+\sin x}\,dx - \int \frac{\cos x}{1+\sin x}\,dx\] For the second integral, since \(\frac{d}{dx}(1+\sin x) = \cos x\): \[\int \frac{\cos x}{1+\sin x}\,dx = \ln|1+\sin x| + C_1\] For the first integral, use integration by parts. Rationalise: \[\frac{1}{1+\sin x} = \frac{1-\sin x}{\cos^2 x} = \sec^2 x - \sec x\tan x\] So: \(\displaystyle v = \int(\sec^2 x - \sec x\tan x)\,dx = \tan x - \sec x\) With \(u = x\) and \(v = \tan x - \sec x\), integration by parts gives: \[\int \frac{x}{1+\sin x}\,dx = x(\tan x - \sec x) - \int(\tan x - \sec x)\,dx\] Compute \(\displaystyle\int(\tan x - \sec x)\,dx = -\ln|\cos x| - \ln|\sec x + \tan x| + C_2\) Using \(\ln|\sec x + \tan x| = \ln\left|\frac{1+\sin x}{\cos x}\right|\): \[-\ln|\cos x| - \ln\left|\frac{1+\sin x}{\cos x}\right| = -\ln|\cos x| - \ln|1+\sin x| + \ln|\cos x| = -\ln|1+\sin x|\] So: \[\int \frac{x}{1+\sin x}\,dx = x(\tan x - \sec x) + \ln|1+\sin x| + C_3\] Now subtract the second integral result: \[I = \left[x(\tan x - \sec x) + \ln|1+\sin x|\right] - \ln|1+\sin x| + C\] \[I = x(\tan x - \sec x) + C\]

Answer: \(x(\tan x - \sec x) + C\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find \[ \int \frac{x + \sin x}{1 + \cos x} \, dx \]

Solution

  1. Step 1: Split the integral: Write the integrand as a sum of two fractions: \[ \int \frac{x + \sin x}{1 + \cos x} \, dx = \int \frac{x}{1 + \cos x} \, dx + \int \frac{\sin x}{1 + \cos x} \, dx \]
  2. Step 2: Apply the half-angle identity for the denominator: Use the identity \( 1 + \cos x = 2\cos^2\!\left(\frac{x}{2}\right) \) and \( \sin x = 2\sin\!\left(\frac{x}{2}\right)\cos\!\left(\frac{x}{2}\right) \). So the two integrals become: \[ \int \frac{x}{2\cos^2\!\left(\frac{x}{2}\right)} \, dx + \int \frac{2\sin\!\left(\frac{x}{2}\right)\cos\!\left(\frac{x}{2}\right)}{2\cos^2\!\left(\frac{x}{2}\right)} \, dx \] which simplifies to \[ \int \frac{x}{2} \sec^2\!\left(\frac{x}{2}\right) dx + \int \tan\!\left(\frac{x}{2}\right) dx \]
  3. Step 3: Evaluate the second integral: The second integral is straightforward: \[ \int \tan\!\left(\frac{x}{2}\right) dx = -2\ln\!\left|\cos\!\left(\frac{x}{2}\right)\right| + C_1 \] We keep this aside for now and focus on the first integral using integration by parts.
  4. Step 4: Apply integration by parts to the first integral: Let \( u = x \) and \( dv = \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right) dx \). Then \( du = dx \) and \( v = \tan\!\left(\frac{x}{2}\right) \) (since \( \int \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right) dx = \tan\!\left(\frac{x}{2}\right) \)). Applying the formula \( \int u \, dv = uv - \int v \, du \): \[ \int \frac{x}{2}\sec^2\!\left(\frac{x}{2}\right) dx = x\tan\!\left(\frac{x}{2}\right) - \int \tan\!\left(\frac{x}{2}\right) dx \] \[ = x\tan\!\left(\frac{x}{2}\right) + 2\ln\!\left|\cos\!\left(\frac{x}{2}\right)\right| + C_2 \]
  5. Step 5: Combine both integrals: Adding the results of Step 3 and Step 4: \[ x\tan\!\left(\frac{x}{2}\right) + 2\ln\!\left|\cos\!\left(\frac{x}{2}\right)\right| + \left(-2\ln\!\left|\cos\!\left(\frac{x}{2}\right)\right|\right) + C \] The logarithm terms cancel, giving: \[ x\tan\!\left(\frac{x}{2}\right) + C \]

Answer: \[ \int \frac{x + \sin x}{1 + \cos x} \, dx = x\tan\!\left(\frac{x}{2}\right) + C \]

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)