Evaluate : \(\int^{\small\dfrac{\pi}{2}}_0\ e^x sin\ x \ dx \)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine trying to untangle two ropes that keep looping around each other. The functions \( e^x \) and \( \sin x \) are like that — they keep returning no matter how many times you work with them. We use a clever trick called integration by parts twice. Like a boomerang, the original problem comes back, and we treat it as an unknown. We then solve for it like a simple equation, and finally check the answer between two boundary points.
Answer: \[\int_0^{\frac{\pi}{2}} e^x \sin x \, dx = \frac{1}{2}\left( e^{\pi/2} + 1 \right)\]
When we integrate a product of two functions that both keep reappearing after differentiation or integration — such as \( e^x \) and \( \sin x \) — we use integration by parts. The special feature here is that after applying integration by parts 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. Once we obtain the indefinite integral (antiderivative), we apply the limits using the Fundamental Theorem of Calculus.
Integration by parts: \[\int u\, v \, dx = u \int v \, dx - \int \left( \frac{du}{dx} \int v \, dx \right) dx\] Standard result: \[\int e^x \sin x \, dx = \frac{e^x}{2}(\sin x - \cos x) + C\]
\[\int_0^{\frac{\pi}{2}} e^x \sin x \, dx = \frac{1}{2}\left( e^{\pi/2} + 1 \right)\]
A very common error is applying integration by parts inconsistently — for example, differentiating \( \sin x \) in the first step but then differentiating \( e^x \) in the second step. This causes the integral to cancel out to \( 0 = 0 \) and gives no result. Always keep the same type of function (either always the trigonometric or always the exponential) as \( u \) throughout both applications so that the original integral reappears correctly.
\[\int_0^{\frac{\pi}{2}} e^x \sin x \, dx = \frac{1}{2}\left( e^{\pi/2} + 1 \right)\]
One common mistake: forgetting the negative sign when differentiating \( \cos x \) — writing \( d(\cos x) = \sin x \, dx \) instead of \( d(\cos x) = -\sin x \, dx \) — which makes the original integral disappear instead of reappear, preventing the algebraic solve.
Answer: \[\int_0^{\frac{\pi}{2}} e^x \sin x \, dx = \frac{1}{2}\left( e^{\pi/2} + 1 \right)\]
Question: Evaluate: \[ \int_0^{\pi/2} e^x \cos x \, dx \]
Solution: Let \( I = \int_0^{\pi/2} e^x \cos x \, dx \). Apply integration by parts: take \( u = \cos x \) and \( dv = e^x \, dx \), so \( du = -\sin x \, dx \) and \( v = e^x \). \[ I = \left[ e^x \cos x \right]_0^{\pi/2} + \int_0^{\pi/2} e^x \sin x \, dx \] Evaluating the boundary term: at \( x = \pi/2 \), \( e^{\pi/2} \cos(\pi/2) = e^{\pi/2} \cdot 0 = 0 \); at \( x = 0 \), \( e^0 \cos 0 = 1 \). So \[ I = (0 - 1) + \int_0^{\pi/2} e^x \sin x \, dx = -1 + I_2 \] where \( I_2 = \int_0^{\pi/2} e^x \sin x \, dx \). Now apply integration by parts to \( I_2 \): take \( u = \sin x \) and \( dv = e^x \, dx \), so \( du = \cos x \, dx \) and \( v = e^x \). \[ I_2 = \left[ e^x \sin x \right]_0^{\pi/2} - \int_0^{\pi/2} e^x \cos x \, dx \] Evaluating the boundary term: at \( x = \pi/2 \), \( e^{\pi/2} \sin(\pi/2) = e^{\pi/2} \); at \( x = 0 \), \( e^0 \sin 0 = 0 \). So \[ I_2 = e^{\pi/2} - I \] Substituting back: \[ I = -1 + e^{\pi/2} - I \] \[ 2I = e^{\pi/2} - 1 \] \[ I = \frac{e^{\pi/2} - 1}{2} \]
Answer: \[ \int_0^{\pi/2} e^x \cos x \, dx = \frac{e^{\pi/2} - 1}{2} \]
Question: Evaluate: \[ \int_0^{\pi} e^{2x} \sin x \, dx \]
Solution: Let \( I = \int_0^{\pi} e^{2x} \sin x \, dx \). Apply integration by parts: take \( u = \sin x \) and \( dv = e^{2x} \, dx \), so \( du = \cos x \, dx \) and \( v = \frac{e^{2x}}{2} \). \[ I = \left[ \frac{e^{2x} \sin x}{2} \right]_0^{\pi} - \int_0^{\pi} \frac{e^{2x}}{2} \cos x \, dx \] Evaluating the boundary term: at \( x = \pi \), \( \frac{e^{2\pi} \sin \pi}{2} = 0 \); at \( x = 0 \), \( \frac{e^{0} \sin 0}{2} = 0 \). So \[ I = 0 - \frac{1}{2} \int_0^{\pi} e^{2x} \cos x \, dx = -\frac{1}{2} I_2 \] where \( I_2 = \int_0^{\pi} e^{2x} \cos x \, dx \). Apply integration by parts to \( I_2 \): take \( u = \cos x \) and \( dv = e^{2x} \, dx \), so \( du = -\sin x \, dx \) and \( v = \frac{e^{2x}}{2} \). \[ I_2 = \left[ \frac{e^{2x} \cos x}{2} \right]_0^{\pi} + \int_0^{\pi} \frac{e^{2x}}{2} \sin x \, dx \] Evaluating the boundary term: at \( x = \pi \), \( \frac{e^{2\pi} \cos \pi}{2} = -\frac{e^{2\pi}}{2} \); at \( x = 0 \), \( \frac{e^{0} \cos 0}{2} = \frac{1}{2} \). So \[ I_2 = \left( -\frac{e^{2\pi}}{2} - \frac{1}{2} \right) + \frac{1}{2} I \] Substituting \( I_2 \) back into the expression for \( I \): \[ I = -\frac{1}{2} \left( -\frac{e^{2\pi} + 1}{2} + \frac{I}{2} \right) \] \[ I = \frac{e^{2\pi} + 1}{4} - \frac{I}{4} \] \[ I + \frac{I}{4} = \frac{e^{2\pi} + 1}{4} \] \[ \frac{5I}{4} = \frac{e^{2\pi} + 1}{4} \] \[ I = \frac{e^{2\pi} + 1}{5} \]
Answer: \[ \int_0^{\pi} e^{2x} \sin x \, dx = \frac{e^{2\pi} + 1}{5} \]
Question: Evaluate: \[\int_0^{\pi} e^x \cos x \, dx\]
Answer: \[\int_0^{\pi} e^x \cos x \, dx = -\frac{(e^{\pi} + 1)}{2}\]