Q.Integrate the following function:
The integral of is solved using integration by parts (the product rule in reverse). Choosing and gives the result .
Why integration by parts?
When you see a product of two different kinds of functions — here a polynomial () and a trigonometric function () — the standard tool is integration by parts. It comes from the product rule for derivatives:
Rearranging and integrating both sides gives the formula:
The art is in choosing which part to call and which to call . A good rule of thumb: pick to be the function that simplifies when differentiated, and to be the one that doesn't get more complicated when integrated.
Here, becomes simpler when differentiated (it becomes ), while integrates nicely to . So we set:
Step-by-step
1. Differentiate and integrate
(We can ignore the constant of integration here; it will be absorbed at the end.)
2. Apply the integration by parts formula
3. Simplify the expression
The minus signs need care:
4. Integrate
5. Write the final result
A quick check: differentiate . Using the product rule on gives , and the derivative of is . The terms cancel, leaving — perfect.
A common mistake is to swap the roles: if you set and , then and . The resulting integral is harder than the original — always choose so that is simpler.
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.