SOLVER7 Study. Nothing Else.
Chapter 7 Examples Q21

Find \(\int e^x\ sin\ x\ dx\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you are trying to untangle two ropes twisted together. You pull one end, but the tangle just moves — it does not disappear. Multiplying \( e^x \) and \( \sin x \) together is like that tangle. We use a special untwisting trick twice, and magically the original tangle shows up again on the other side. Once we spot it, we treat it like an unknown number, move it across, and solve for it directly. That clever move gives us our clean final answer.

Answer: \[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]

📖 Integral of e^x sin x using Integration by Parts

Detailed Explanation

When we integrate a product of two functions we use integration by parts. Here the two functions are \( e^x \) and \( \sin x \). Neither becomes simpler on differentiation the way a polynomial would, so applying integration by parts once will not finish the problem. Instead, after applying it twice, the original integral reappears on the right-hand side. We then treat the integral as an unknown quantity, move it to the left side, and solve for it algebraically. This 'circular' technique is a standard trick for integrals of the form \( \int e^{ax}\sin(bx)\,dx \) and \( \int e^{ax}\cos(bx)\,dx \).

Formula Used

Integration by parts: \[ \int u\,v\,dx = u\int v\,dx - \int\left(\frac{du}{dx}\int v\,dx\right)dx \]

Solution

  1. Step 1: Let \( I = \int e^x \sin x \, dx \). Choose \( u = \sin x \) and \( dv = e^x \, dx \), so that differentiating gives \( du = \cos x \, dx \) and integrating gives \( v = e^x \).
  2. Step 2: Apply integration by parts once: \[ I = e^x \sin x - \int e^x \cos x \, dx \] The new integral \( \int e^x \cos x \, dx \) is not simpler, so we apply integration by parts again to it.
  3. Step 3: For \( \int e^x \cos x \, dx \), choose \( u = \cos x \) and \( dv = e^x \, dx \), so \( du = -\sin x \, dx \) and \( v = e^x \). Then \[ \int e^x \cos x \, dx = e^x \cos x - \int e^x(-\sin x)\,dx \] which gives \[ \int e^x \cos x \, dx = e^x \cos x + \int e^x \sin x \, dx \]
  4. Step 4: Notice that \( \int e^x \sin x \, dx \) is exactly our original integral \( I \). Substitute the result of Step 3 back into the equation from Step 2: \[ I = e^x \sin x - \left( e^x \cos x + I \right) \] which simplifies to \[ I = e^x \sin x - e^x \cos x - I \]
  5. Step 5: Bring the \( I \) from the right side over to the left side: \[ 2I = e^x \sin x - e^x \cos x \] Therefore \[ I = \frac{e^x(\sin x - \cos x)}{2} \] Finally, add the constant of integration.

Final Answer

\[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]

Common Mistake

A common mistake is choosing different functions for \( u \) and \( dv \) in the second integration by parts (for example switching so that \( u = e^x \)). If you are inconsistent, the original integral cancels out completely and you get \( 0 = 0 \) instead of an equation you can solve. Keep the exponential as \( dv \) both times so the original integral reappears with the correct sign.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Name the integral and choose roles: Let \( I = \int e^x \sin x \, dx \). Assign \( u = \sin x \) (to differentiate) and take \( e^x \, dx \) as the part to integrate, giving \( v = e^x \). — Reason: Naming the integral \( I \) is essential because we plan to recover it later and solve algebraically; choosing \( \sin x \) as \( u \) starts the cycle of differentiation that eventually brings \( I \) back.
  2. Step 2: Apply integration by parts the first time: Using the formula with \( u = \sin x \), \( \frac{du}{dx} = \cos x \), and \( v = e^x \): \[ I = e^x \sin x - \int e^x \cos x \, dx \] — Reason: This correctly applies integration by parts, but the result still contains an integral of a product \( e^x \cos x \), so the problem is not yet finished.
  3. Step 3: Apply integration by parts a second time: For the new integral \( \int e^x \cos x \, dx \), choose \( u = \cos x \), so \( \frac{du}{dx} = -\sin x \), and again \( v = e^x \). Applying the formula: \[ \int e^x \cos x \, dx = e^x \cos x - \int e^x (-\sin x) \, dx \] Simplifying the right side: \[ \int e^x \cos x \, dx = e^x \cos x + \int e^x \sin x \, dx \] — Reason: A second round of integration by parts is needed because \( \int e^x \cos x \, dx \) is just as complex as the original; crucially, \( \int e^x \sin x \, dx \) reappears, which is exactly \( I \).
  4. Step 4: Substitute back to get an equation in I: Replace \( \int e^x \cos x \, dx \) in the result from Step 2 with the expression found in Step 3: \[ I = e^x \sin x - \left( e^x \cos x + I \right) \] Expanding: \[ I = e^x \sin x - e^x \cos x - I \] — Reason: Substituting eliminates the unresolved integral and produces a simple equation involving only \( I \) and known expressions.
  5. Step 5: Solve algebraically for I: Add \( I \) to both sides of the equation: \[ 2I = e^x \sin x - e^x \cos x \] Divide both sides by 2: \[ I = \frac{e^x(\sin x - \cos x)}{2} \] Finally, include the constant of integration \( C \): \[ I = \frac{e^x(\sin x - \cos x)}{2} + C \] — Reason: Treating \( I \) as an unknown and isolating it by basic algebra gives the closed-form answer; adding \( C \) is mandatory because we computed an indefinite integral.

Final Answer

\[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]

Common Mistake

One common mistake: forgetting to carry the negative sign when expanding \( -\left(e^x \cos x + I\right) \), which leads to \( I = e^x \sin x - e^x \cos x + I \) — a contradiction that makes it seem the method has failed, when in fact a sign error is the culprit.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: First application of integration by parts: Let \( I = \int e^x \sin x \, dx \). Take \( u = \sin x \), \( dv = e^x \, dx \): \[ I = e^x \sin x - \int e^x \cos x \, dx \]
  2. Step 2: Second application of integration by parts: Take \( u = \cos x \), \( dv = e^x \, dx \) for \( \int e^x \cos x \, dx \): \[ \int e^x \cos x \, dx = e^x \cos x + \int e^x \sin x \, dx = e^x \cos x + I \]
  3. Step 3: Substitute back and solve for \( I \): Substituting: \( I = e^x \sin x - (e^x \cos x + I) \), so \( 2I = e^x \sin x - e^x \cos x \).

Answer: \[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]

➕ More Examples

More Examples

Example 1

Question: Find \(\int e^x \cos x \, dx\).

Solution: Let \(I = \int e^x \cos x \, dx\). Apply integration by parts. Choose \(u = \cos x\) and \(dv = e^x \, dx\), so \(du = -\sin x \, dx\) and \(v = e^x\). Then: \[I = e^x \cos x - \int e^x (-\sin x) \, dx\] which simplifies to: \[I = e^x \cos x + \int e^x \sin x \, dx\] Now apply integration by parts again to \(\int e^x \sin x \, dx\). Choose \(u = \sin x\) and \(dv = e^x \, dx\), so \(du = \cos x \, dx\) and \(v = e^x\). This gives: \[\int e^x \sin x \, dx = e^x \sin x - \int e^x \cos x \, dx = e^x \sin x - I\] Substituting back: \[I = e^x \cos x + e^x \sin x - I\] Adding \(I\) to both sides: \[2I = e^x (\cos x + \sin x)\] Dividing by 2: \[I = \frac{e^x (\sin x + \cos x)}{2} + C\]

Answer: \(\int e^x \cos x \, dx = \dfrac{e^x (\sin x + \cos x)}{2} + C\)

Example 2

Question: Find \(\int e^{2x} \sin x \, dx\).

Solution: Let \(I = \int e^{2x} \sin x \, dx\). Apply integration by parts. Choose \(u = \sin x\) and \(dv = e^{2x} \, dx\), so \(du = \cos x \, dx\) and \(v = \dfrac{e^{2x}}{2}\). Then: \[I = \frac{e^{2x} \sin x}{2} - \int \frac{e^{2x}}{2} \cos x \, dx\] which gives: \[I = \frac{e^{2x} \sin x}{2} - \frac{1}{2} \int e^{2x} \cos x \, dx\] Now apply integration by parts to \(\int e^{2x} \cos x \, dx\). Choose \(u = \cos x\) and \(dv = e^{2x} \, dx\), so \(du = -\sin x \, dx\) and \(v = \dfrac{e^{2x}}{2}\). This gives: \[\int e^{2x} \cos x \, dx = \frac{e^{2x} \cos x}{2} - \int \frac{e^{2x}}{2}(-\sin x) \, dx = \frac{e^{2x} \cos x}{2} + \frac{1}{2} \int e^{2x} \sin x \, dx\] So: \[\int e^{2x} \cos x \, dx = \frac{e^{2x} \cos x}{2} + \frac{I}{2}\] Substituting back: \[I = \frac{e^{2x} \sin x}{2} - \frac{1}{2}\left(\frac{e^{2x} \cos x}{2} + \frac{I}{2}\right)\] Expanding: \[I = \frac{e^{2x} \sin x}{2} - \frac{e^{2x} \cos x}{4} - \frac{I}{4}\] Adding \(\dfrac{I}{4}\) to both sides: \[\frac{5I}{4} = \frac{e^{2x} \sin x}{2} - \frac{e^{2x} \cos x}{4}\] Multiplying both sides by \(\dfrac{4}{5}\): \[I = \frac{e^{2x}(2\sin x - \cos x)}{5} + C\]

Answer: \(\int e^{2x} \sin x \, dx = \dfrac{e^{2x}(2\sin x - \cos x)}{5} + C\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find \(\int e^x \cos x \, dx\).

Solution

  1. Step 1: Set up integration by parts: Let \(I = \int e^x \cos x \, dx\). Choose \(u = \cos x\) (first function) and \(v = e^x\) (second function). Then \(\frac{du}{dx} = -\sin x\) and \(\int v \, dx = e^x\).
  2. Step 2: Apply integration by parts the first time: Using the integration by parts formula: \[I = \cos x \cdot e^x - \int (-\sin x) \cdot e^x \, dx\] This simplifies to \[I = e^x \cos x + \int e^x \sin x \, dx\]
  3. Step 3: Apply integration by parts a second time: For \(\int e^x \sin x \, dx\), choose \(u = \sin x\) and \(v = e^x\). Then \(\frac{du}{dx} = \cos x\) and \(\int v \, dx = e^x\). Applying the formula: \[\int e^x \sin x \, dx = e^x \sin x - \int e^x \cos x \, dx\] That is, \[\int e^x \sin x \, dx = e^x \sin x - I\]
  4. Step 4: Substitute back and collect terms: Substituting the result from Step 3 into the expression from Step 2: \[I = e^x \cos x + e^x \sin x - I\] Adding \(I\) to both sides: \[2I = e^x \cos x + e^x \sin x\]
  5. Step 5: Solve for I and write the final answer: Dividing both sides by 2: \[I = \frac{e^x (\cos x + \sin x)}{2} + C\]

Answer: \[\int e^x \cos x \, dx = \frac{e^x(\sin x + \cos x)}{2} + 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)