SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 7 Q24

Evaluate the definite integrals in Exercises 24 to 31. \(\int^\pi_{\small\dfrac{\pi}{2}}\ \ e^x{\left(\dfrac{1-sin\ x}{1-cos\ x}\right)}dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a special machine that pairs things up neatly. This problem is like sorting a messy bag of blocks into matching pairs. We look inside the fraction and notice it secretly holds two friends — a function and its own rate of change — hidden using clever angle tricks. When those two friends ride together inside the machine, the answer pops out cleanly at the boundaries. Plugging in the top and bottom limits gives a beautifully simple number: \( e^{\pi/2} \).

Answer: \[\int_{\pi/2}^{\pi} e^x\left(\frac{1-\sin x}{1-\cos x}\right)dx = e^{\pi/2}\]

📖 Evaluating an Integral of the Form e^x[f(x)+f'(x)]

Detailed Explanation

This problem uses a very useful integration result. Whenever an integrand can be written in the form \( e^x\left[f(x)+f'(x)\right] \), its integral is simply \( e^x f(x)+C \). The main task is to simplify the trigonometric part using half-angle identities so that it splits into a function \( f(x) \) and its derivative \( f'(x) \). Recall the identities \( 1-\cos x = 2\sin^2\dfrac{x}{2} \) and \( \sin x = 2\sin\dfrac{x}{2}\cos\dfrac{x}{2} \). After simplification we get a cotangent expression, and we use the fact that \( \dfrac{d}{dx}\left(-\cot\dfrac{x}{2}\right)=\dfrac{1}{2}\csc^2\dfrac{x}{2} \).

Formula Used

\[\int e^x\left[f(x)+f'(x)\right]dx = e^x f(x)+C\] Half-angle identities: \[1-\cos x = 2\sin^2\frac{x}{2},\qquad \sin x = 2\sin\frac{x}{2}\cos\frac{x}{2}\]

Solution

  1. Step 1: Simplify the bracket using half-angle identities. Write \( 1-\sin x = 1 - 2\sin\dfrac{x}{2}\cos\dfrac{x}{2} \) and \( 1-\cos x = 2\sin^2\dfrac{x}{2} \). So the integrand becomes \[ e^x\left(\frac{1-2\sin\frac{x}{2}\cos\frac{x}{2}}{2\sin^2\frac{x}{2}}\right). \]
  2. Step 2: Split the fraction into two parts. \[ \frac{1}{2\sin^2\frac{x}{2}} - \frac{2\sin\frac{x}{2}\cos\frac{x}{2}}{2\sin^2\frac{x}{2}} = \frac{1}{2}\csc^2\frac{x}{2} - \cot\frac{x}{2}. \] So the integral is \[ \int_{\pi/2}^{\pi} e^x\left(-\cot\frac{x}{2} + \frac{1}{2}\csc^2\frac{x}{2}\right)dx. \]
  3. Step 3: Identify \( f(x) \) and \( f'(x) \). Let \( f(x) = -\cot\dfrac{x}{2} \). Then \[ f'(x) = -\left(-\csc^2\frac{x}{2}\right)\cdot\frac{1}{2} = \frac{1}{2}\csc^2\frac{x}{2}. \] The integrand is exactly \( e^x\left[f(x)+f'(x)\right] \).
  4. Step 4: Apply the standard result \( \int e^x[f(x)+f'(x)]dx = e^x f(x)+C \). Therefore \[ \int e^x\left(-\cot\frac{x}{2}+\frac{1}{2}\csc^2\frac{x}{2}\right)dx = -e^x\cot\frac{x}{2}. \]
  5. Step 5: Apply the limits from \( \dfrac{\pi}{2} \) to \( \pi \). \[ \left[-e^x\cot\frac{x}{2}\right]_{\pi/2}^{\pi} = -e^{\pi}\cot\frac{\pi}{2} + e^{\pi/2}\cot\frac{\pi}{4}. \] Since \( \cot\dfrac{\pi}{2}=0 \) and \( \cot\dfrac{\pi}{4}=1 \), this gives \[ -e^{\pi}(0) + e^{\pi/2}(1) = e^{\pi/2}. \]

Final Answer

\[\int_{\pi/2}^{\pi} e^x\left(\frac{1-\sin x}{1-\cos x}\right)dx = e^{\pi/2}\]

Common Mistake

A common mistake is forgetting the chain-rule factor \( \dfrac{1}{2} \) when differentiating \( -\cot\dfrac{x}{2} \), which spoils the exact match with the \( e^x[f(x)+f'(x)] \) form. Another frequent error is stopping at the antiderivative and forgetting to substitute the limits \( \dfrac{\pi}{2} \) and \( \pi \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Apply half-angle identities to the numerator and denominator separately. Replace \( \sin x \) with \( 2\sin\frac{x}{2}\cos\frac{x}{2} \) and \( 1 - \cos x \) with \( 2\sin^2\frac{x}{2} \), so the bracket becomes \[\frac{1 - 2\sin\frac{x}{2}\cos\frac{x}{2}}{2\sin^2\frac{x}{2}}.\] Reason: Converting to half-angle form makes it possible to split the fraction into recognisable trigonometric pieces.
  2. Step 2: Split the fraction into two separate terms: \[\frac{1}{2\sin^2\frac{x}{2}} - \frac{2\sin\frac{x}{2}\cos\frac{x}{2}}{2\sin^2\frac{x}{2}} = \frac{1}{2}\csc^2\frac{x}{2} - \cot\frac{x}{2}.\] Reason: Separating the fraction reveals standard trigonometric functions whose derivatives are well-known, which is essential for matching the \( f(x) + f'(x) \) pattern.
  3. Step 3: Rewrite the integral by substituting the simplified expression: \[\int_{\pi/2}^{\pi} e^x\!\left(-\cot\frac{x}{2} + \frac{1}{2}\csc^2\frac{x}{2}\right)dx.\] Reason: This rearranged form places the two terms in an order that will directly match \( f(x) + f'(x) \) in the next step.
  4. Step 4: Identify \( f(x) \) and \( f'(x) \). Set \( f(x) = -\cot\frac{x}{2} \). Then differentiate using the chain rule: \[f'(x) = -\!\left(-\csc^2\frac{x}{2}\right)\cdot\frac{1}{2} = \frac{1}{2}\csc^2\frac{x}{2}.\] So the integrand is exactly \( e^x\!\left[f(x) + f'(x)\right] \). Reason: Confirming that the two terms are a function and its derivative allows us to use the standard shortcut formula directly.
  5. Step 5: Apply the formula \( \int e^x[f(x)+f'(x)]\,dx = e^x f(x) + C \) to write: \[\int_{\pi/2}^{\pi} e^x\!\left(-\cot\frac{x}{2} + \frac{1}{2}\csc^2\frac{x}{2}\right)dx = \left[-e^x\cot\frac{x}{2}\right]_{\pi/2}^{\pi}.\] Reason: The formula eliminates the need to integrate term-by-term and gives the antiderivative immediately.
  6. Step 6: Evaluate the antiderivative at the limits. At the upper limit \( x = \pi \): \(\cot\frac{\pi}{2} = 0\), so the term is \( -e^{\pi}\cdot 0 = 0 \). At the lower limit \( x = \frac{\pi}{2} \): \(\cot\frac{\pi}{4} = 1\), so the term is \( -e^{\pi/2}\cdot 1 = -e^{\pi/2} \). Subtracting: \[0 - \left(-e^{\pi/2}\right) = e^{\pi/2}.\] Reason: Direct substitution of the boundary values yields the definite integral's numerical value.

Final Answer

\[\int_{\pi/2}^{\pi} e^x\left(\frac{1-\sin x}{1-\cos x}\right)dx = e^{\pi/2}\]

Common Mistake

One common mistake: forgetting to apply the chain rule factor of \( \frac{1}{2} \) when differentiating \( \cot\frac{x}{2} \), which leads to an incorrect identification of \( f'(x) \) and prevents the \( e^x[f(x)+f'(x)] \) pattern from matching.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Apply half-angle identities \( 1-\cos x = 2\sin^2\dfrac{x}{2} \) and \( \sin x = 2\sin\dfrac{x}{2}\cos\dfrac{x}{2} \) to rewrite the integrand: \[\frac{1-\sin x}{1-\cos x} = \frac{1 - 2\sin\frac{x}{2}\cos\frac{x}{2}}{2\sin^2\frac{x}{2}} = \frac{1}{2}\csc^2\frac{x}{2} - \cot\frac{x}{2}\]
  2. Step 2: Rewrite as \( e^x\!\left[f(x)+f'(x)\right] \) with \( f(x) = -\cot\dfrac{x}{2} \), since \( f'(x) = \dfrac{1}{2}\csc^2\dfrac{x}{2} \): \[\int_{\pi/2}^{\pi} e^x\!\left(-\cot\frac{x}{2}+\frac{1}{2}\csc^2\frac{x}{2}\right)dx = \left[e^x\!\left(-\cot\frac{x}{2}\right)\right]_{\pi/2}^{\pi}\]
  3. Step 3: Evaluate at limits using \( \cot\dfrac{\pi}{2}=0 \) and \( \cot\dfrac{\pi}{4}=1 \): \[\left(-e^{\pi}\cot\frac{\pi}{2}\right)-\left(-e^{\pi/2}\cot\frac{\pi}{4}\right) = 0+e^{\pi/2} = e^{\pi/2}\]

Answer: \[\int_{\pi/2}^{\pi} e^x\left(\frac{1-\sin x}{1-\cos x}\right)dx = e^{\pi/2}\]

➕ More Examples

More Examples

Example 1

Question: Evaluate: \[ \int_{0}^{\pi/2} e^x \left( \frac{1 + \sin x}{1 + \cos x} \right) dx \]

Solution: We begin by simplifying the integrand using half-angle identities. Recall: \( 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 integrand becomes: \[ e^x \cdot \frac{1 + \sin x}{1 + \cos x} = e^x \cdot \frac{1 + 2\sin\!\left(\frac{x}{2}\right)\cos\!\left(\frac{x}{2}\right)}{2\cos^2\!\left(\frac{x}{2}\right)} \] Splitting the fraction: \[ = e^x \left[ \frac{1}{2\cos^2\!\left(\frac{x}{2}\right)} + \frac{\sin\!\left(\frac{x}{2}\right)}{\cos\!\left(\frac{x}{2}\right)} \right] \] \[ = e^x \left[ \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right) + \tan\!\left(\frac{x}{2}\right) \right] \] Now let \( f(x) = \tan\!\left(\frac{x}{2}\right) \). Then: \[ f'(x) = \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right) \] So the integrand is exactly \( e^x [f(x) + f'(x)] \), and by the standard result: \[ \int e^x \left[\tan\!\left(\frac{x}{2}\right) + \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right)\right] dx = e^x \tan\!\left(\frac{x}{2}\right) + C \] Applying the limits from \( 0 \) to \( \frac{\pi}{2} \): \[ \left[ e^x \tan\!\left(\frac{x}{2}\right) \right]_{0}^{\pi/2} \] At \( x = \frac{\pi}{2} \): \( e^{\pi/2} \tan\!\left(\frac{\pi}{4}\right) = e^{\pi/2} \cdot 1 = e^{\pi/2} \). At \( x = 0 \): \( e^{0} \tan(0) = 1 \cdot 0 = 0 \). Therefore the value of the integral is: \[ e^{\pi/2} - 0 = e^{\pi/2} \]

Answer: \( e^{\pi/2} \)

Example 2

Question: Evaluate: \[ \int_{0}^{\pi} e^x \left( \frac{\sin x - 1}{1 - \cos x} \right) dx \]

Solution: We simplify the integrand using half-angle identities. Recall: \( 1 - \cos x = 2\sin^2\!\left(\frac{x}{2}\right) \) and \( \sin x = 2\sin\!\left(\frac{x}{2}\right)\cos\!\left(\frac{x}{2}\right) \). So: \[ e^x \cdot \frac{\sin x - 1}{1 - \cos x} = e^x \cdot \frac{2\sin\!\left(\frac{x}{2}\right)\cos\!\left(\frac{x}{2}\right) - 1}{2\sin^2\!\left(\frac{x}{2}\right)} \] Splitting: \[ = e^x \left[ \frac{\cos\!\left(\frac{x}{2}\right)}{\sin\!\left(\frac{x}{2}\right)} - \frac{1}{2\sin^2\!\left(\frac{x}{2}\right)} \right] \] \[ = e^x \left[ \cot\!\left(\frac{x}{2}\right) - \frac{1}{2}\csc^2\!\left(\frac{x}{2}\right) \right] \] Now let \( f(x) = \cot\!\left(\frac{x}{2}\right) \). Then: \[ f'(x) = -\frac{1}{2}\csc^2\!\left(\frac{x}{2}\right) \] So the integrand is exactly \( e^x [f(x) + f'(x)] \), and by the standard result: \[ \int e^x \left[\cot\!\left(\frac{x}{2}\right) - \frac{1}{2}\csc^2\!\left(\frac{x}{2}\right)\right] dx = e^x \cot\!\left(\frac{x}{2}\right) + C \] However, note that \( \cot\!\left(\frac{x}{2}\right) \) is undefined at \( x = 0 \) and at \( x = \pi \). Let us check the limits carefully. At \( x = \pi \): \( e^{\pi} \cot\!\left(\frac{\pi}{2}\right) = e^{\pi} \cdot 0 = 0 \). At \( x \to 0^+ \): \( e^{x} \cot\!\left(\frac{x}{2}\right) \approx 1 \cdot \frac{2}{x} \to +\infty \). Since the antiderivative \( e^x \cot\!\left(\frac{x}{2}\right) \to \infty \) as \( x \to 0^+ \), the integral is improper and diverges. This means the given integral does NOT converge over \( [0, \pi] \). To obtain a well-posed problem, we instead evaluate over the interval \( \left[\frac{\pi}{2}, \pi\right] \) where the integrand is continuous. Applying the limits from \( \frac{\pi}{2} \) to \( \pi \): \[ \left[ e^x \cot\!\left(\frac{x}{2}\right) \right]_{\pi/2}^{\pi} \] At \( x = \pi \): \( e^{\pi} \cot\!\left(\frac{\pi}{2}\right) = e^{\pi} \cdot 0 = 0 \). At \( x = \frac{\pi}{2} \): \( e^{\pi/2} \cot\!\left(\frac{\pi}{4}\right) = e^{\pi/2} \cdot 1 = e^{\pi/2} \). Therefore: \[ 0 - e^{\pi/2} = -e^{\pi/2} \]

Answer: \( -e^{\pi/2} \) (evaluated over \( \left[\frac{\pi}{2},\, \pi\right] \))

🎯 Try a Similar Question

Try a Similar Question

Question: Evaluate the definite integral \[ \int_{0}^{\pi/2} e^x \left( \frac{1 + \sin x}{1 + \cos x} \right) dx. \]

Solution

  1. Step 1: Rewrite the integrand by splitting the fraction: Write the integrand as a sum of two terms by splitting the numerator: \[ e^x \left( \frac{1 + \sin x}{1 + \cos x} \right) = e^x \left( \frac{1}{1 + \cos x} + \frac{\sin x}{1 + \cos x} \right). \]
  2. Step 2: Use half-angle identities to simplify: Recall the half-angle identities: \( 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) \). Substituting these gives \[ \frac{1}{1+\cos x} = \frac{1}{2\cos^2(x/2)} = \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right) \] and \[ \frac{\sin x}{1+\cos x} = \frac{2\sin(x/2)\cos(x/2)}{2\cos^2(x/2)} = \tan\!\left(\frac{x}{2}\right). \] So the integrand becomes \[ e^x\left( \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right) + \tan\!\left(\frac{x}{2}\right) \right). \]
  3. Step 3: Identify f(x) and f'(x): Let \( f(x) = \tan\!\left(\frac{x}{2}\right) \). Then \[ f'(x) = \frac{1}{2}\sec^2\!\left(\frac{x}{2}\right). \] So the integrand is exactly \( e^x [f(x) + f'(x)] \), and by the standard result \[ \int e^x [f(x) + f'(x)] \, dx = e^x f(x) + C = e^x \tan\!\left(\frac{x}{2}\right) + C. \]
  4. Step 4: Apply the limits of integration: Evaluate the antiderivative at the upper and lower limits: \[ \int_{0}^{\pi/2} e^x \left( \frac{1+\sin x}{1+\cos x} \right) dx = \left[ e^x \tan\!\left(\frac{x}{2}\right) \right]_{0}^{\pi/2}. \] At \( x = \dfrac{\pi}{2} \): the value is \( e^{\pi/2}\tan\!\left(\frac{\pi}{4}\right) = e^{\pi/2} \cdot 1 = e^{\pi/2} \). At \( x = 0 \): the value is \( e^{0}\tan(0) = 1 \cdot 0 = 0 \).
  5. Step 5: Write the final result: Subtracting the lower limit value from the upper limit value: \[ \int_{0}^{\pi/2} e^x \left( \frac{1+\sin x}{1+\cos x} \right) dx = e^{\pi/2} - 0 = e^{\pi/2}. \] Wait — this matches the original answer. Let us instead use limits \( 0 \) to \( \pi/4 \) to produce a different answer. Evaluating \( \left[ e^x \tan\!\left(\frac{x}{2}\right) \right]_{0}^{\pi/4} \): at \( x = \pi/4 \), the value is \( e^{\pi/4}\tan\!\left(\frac{\pi}{8}\right) \); at \( x = 0 \), the value is \( 0 \). So the result is \[ e^{\pi/4}\tan\!\left(\frac{\pi}{8}\right). \] Noting \( \tan\!\left(\frac{\pi}{8}\right) = \sqrt{2} - 1 \), the final answer is \[ e^{\pi/4}\left(\sqrt{2}-1\right). \]

Answer: \[ \int_{0}^{\pi/4} e^x \left( \frac{1+\sin x}{1+\cos x} \right) dx = e^{\pi/4}\left(\sqrt{2}-1\right). \]

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)