Find \(\int e^x\ sin\ x\ dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
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 \]
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 \).
Integration by parts: \[ \int u\,v\,dx = u\int v\,dx - \int\left(\frac{du}{dx}\int v\,dx\right)dx \]
\[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]
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.
\[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]
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.
Answer: \[ \int e^x \sin x \, dx = \frac{e^x(\sin x - \cos x)}{2} + C \]
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\)
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\)
Question: Find \(\int e^x \cos x \, dx\).
Answer: \[\int e^x \cos x \, dx = \frac{e^x(\sin x + \cos x)}{2} + C\]