Q.Integrate the function
The integral is solved using integration by parts (the reverse of the product rule), applied twice to reduce the polynomial factor to a constant. The final result is .
Why Integration by Parts?
When you see a product of two different kinds of functions — here, a polynomial () and an exponential () — the standard tool is integration by parts. It comes directly from the product rule for derivatives:
The trick is to choose and so that the new integral is simpler than the original. For a polynomial times , the polynomial gets simpler when differentiated, while stays the same when integrated. So we always set = polynomial, .
Integration by Parts
Step-by-Step Solution
1. First application of integration by parts
Let and . Then:
Applying the formula:
The new integral is still a product of a polynomial () and , but the polynomial degree has dropped from 2 to 1. We're making progress.
2. Second application of integration by parts
Now solve . Again, set and :
So:
Notice the pattern: each time you apply integration by parts to , the polynomial degree drops by one. After applications, you're left with . This is a systematic method for any .
3. Substitute back
Plug the result from step 2 into step 1:
Simplify:
Since is just an arbitrary constant, we can rename it :
A common mistake is forgetting the constant of integration or mishandling the minus signs when substituting back. Always distribute the factor (here, ) carefully across all terms inside the parentheses.
The integral is .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.