How exactly does integration by parts work?

Integration by parts can be considered as the inverse method of differentiation using the product rule. With the product rule we have: d(fg)/dx = f(dg/dx) + g*(df/dx) where f and g are functions of x. Now lets say we want to integrate a function of the form f*(dg/dx) where f and dg/dx are functions of x. (e.g. xsin(x) -> f=x , dg/dx = sin(x)). We can rearrange the product rule equation above so that we obtain f(dg/dx) = d(fg)/dx - g(df/dx). If we integrate both sides with respect to x we obtain: integral [d(fg)/dx] = fg as the integral of the differential of a function is the function itself. integral[g*(df/dx)] where g is the integral of the function dg/dx and df/dx is the differential of the function f. Thus, integral[f*(dg/dx)] = fg - integral[g(df/dx)] For full understanding, differentiate x*(-cos(x)) using the product rule. Now using the expression you obtain find an expression for the integral of x*sin(x). Referring to the equation for integration by parts, consider where each term in your expression comes from.

FI
Answered by Fahad I. Maths tutor

3628 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find all solutions of the equation in the interval [0, 2π]. 5 cos^3 x = 5 cos x


How to do the chain rule.


Find the finite area enclosed between the curves y=x^2-5x+6 and y=4-x^2


Differentiate y = x^3− 5x^2 + 3x


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning