Integrate the functions in Exercises 1 to 22.\( e^x (sin\ x + cos\ x)\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine packing a gift box. If the box itself already wraps perfectly around the gift, you do not need extra tape. Here, the gift is \( \sin x \) and its natural partner is \( \cos x \), which is just the derivative of \( \sin x \). When multiplied by \( e^x \), these two functions fit together like a perfect pair. The answer is simply \( e^x \sin x + C \), because the two parts cancel each other's extra work out completely.
Answer: \[ \int e^x (\sin x + \cos x)\, dx = e^x \sin x + C \]
This integral is a classic example of a special pattern in integration by parts. Whenever an integrand can be written in the form \( e^x \left[ f(x) + f'(x) \right] \), the entire integral simplifies neatly to \( e^x f(x) + C \). This works because when you apply integration by parts to \( \int e^x f(x)\, dx \), the extra term that appears cancels exactly with \( \int e^x f'(x)\, dx \). Recognising this structure saves a lot of work. Here we notice that the derivative of \( \sin x \) is \( \cos x \), so the integrand fits the pattern with \( f(x) = \sin x \) and \( f'(x) = \cos x \).
\[ \int e^x \left[ f(x) + f'(x) \right] dx = e^x f(x) + C \]
\[ \int e^x (\sin x + \cos x)\, dx = e^x \sin x + C \]
A common mistake is to integrate each term separately without care and get confused with signs. Students may wrongly write the answer as \( e^x \cos x + C \) by mixing up which function is \( f(x) \). Remember: \( f(x) \) must be the function whose derivative gives the other term, so here \( f(x) = \sin x \), giving \( e^x \sin x + C \).
\[ \int e^x (\sin x + \cos x)\, dx = e^x \sin x + C \]
One common mistake: Students sometimes try to split the integral into \( \int e^x \sin x\, dx \) and \( \int e^x \cos x\, dx \) and apply integration by parts twice on each — this is valid but very lengthy. The key insight is to recognise the \( e^x [f(x) + f'(x)] \) pattern first, which gives the answer in a single step.
Answer: \[ \int e^x (\sin x + \cos x)\, dx = e^x \sin x + C \]
Question: Evaluate \( \int e^x (\cos x - \sin x) \, dx \).
Solution: We need to write the integrand in the form \( e^x [f(x) + f'(x)] \). Let \( f(x) = \cos x \). Then \( f'(x) = -\sin x \). So the integrand becomes \( e^x [\cos x + (-\sin x)] = e^x [\cos x - \sin x] \), which matches the given expression. Since \( f(x) = \cos x \) and \( f'(x) = -\sin x \), we identify that the integrand is exactly of the form \( e^x [f(x) + f'(x)] \). Applying the formula \[ \int e^x [f(x) + f'(x)] \, dx = e^x f(x) + C \] we get: \[ \int e^x (\cos x - \sin x) \, dx = e^x \cos x + C \] Verification by differentiation: Differentiating \( e^x \cos x \) using the product rule gives \[ \frac{d}{dx}(e^x \cos x) = e^x \cos x + e^x (-\sin x) = e^x(\cos x - \sin x) \] which matches the integrand. Hence the answer is confirmed.
Answer: \( e^x \cos x + C \)
Question: Evaluate \( \int e^x \left( \tan x + \sec^2 x \right) dx \).
Solution: We need to write the integrand in the form \( e^x [f(x) + f'(x)] \). Let \( f(x) = \tan x \). Then \( f'(x) = \sec^2 x \). Observe that the integrand is \( e^x [\tan x + \sec^2 x] = e^x [f(x) + f'(x)] \), which is exactly the required form. Applying the standard result \[ \int e^x [f(x) + f'(x)] \, dx = e^x f(x) + C \] we obtain: \[ \int e^x (\tan x + \sec^2 x) \, dx = e^x \tan x + C \] Verification by differentiation: Differentiating \( e^x \tan x \) using the product rule gives \[ \frac{d}{dx}(e^x \tan x) = e^x \tan x + e^x \sec^2 x = e^x(\tan x + \sec^2 x) \] which matches the integrand. Hence the answer is confirmed.
Answer: \( e^x \tan x + C \)
Question: Evaluate the integral \[ \int e^x (\cos x - \sin x) \, dx \]
Answer: \[ \int e^x (\cos x - \sin x) \, dx = e^x \cos x + C \]