Integration by Parts Calculator

Enter your u function and dv function — the two parts of your integral — along with the variable of integration, and this Integration by Parts Calculator applies the formula ∫u dv = uv − ∫v du to solve it step by step. Choose between an indefinite integral or a definite integral by optionally setting lower and upper bounds. You get back the evaluated result, the intermediate steps (v, du, and the remaining integral), and a breakdown showing each component of the formula.

Enter the part of the integrand you choose as u. This will be differentiated to get du.

Enter the remaining part of the integrand as dv. This will be integrated to get v.

Only used for definite integrals.

Only used for definite integrals.

Select a preset to auto-fill u and dv fields with a classic integration by parts example.

Results

∫u dv = uv − ∫v du (Result)

--

u

--

du (derivative of u)

--

v (integral of dv)

--

u·v (product term)

--

∫v du (remaining integral)

--

Formula Applied

--

Result Breakdown: uv vs ∫v du

Results Table

Frequently Asked Questions

What is the integration by parts formula?

The integration by parts formula is ∫u dv = uv − ∫v du. It is derived from the product rule of differentiation and is used to integrate products of two functions by strategically splitting the integrand into u (to differentiate) and dv (to integrate).

How do I choose u and dv correctly?

A widely used guide is the LIATE rule: choose u in this priority order — Logarithmic, Inverse trigonometric, Algebraic (polynomials), Trigonometric, Exponential. The remaining part of the integrand becomes dv. For example, in ∫x·cos(x)dx, u = x (Algebraic) and dv = cos(x)dx (Trigonometric).

What are integrals?

An integral is the reverse operation of differentiation. It calculates the accumulation of a quantity — geometrically, the area under a curve. Indefinite integrals give a family of antiderivatives (with a constant C), while definite integrals compute the exact net area between two bounds.

When should I use integration by parts?

Use integration by parts when the integrand is a product of two different types of functions — such as a polynomial times an exponential (xe^x), a polynomial times a trigonometric function (x·sin x), or a logarithm times a polynomial (x·ln x). It is typically not needed for simple single-function integrals.

What is the difference between a definite and indefinite integral?

An indefinite integral produces a general antiderivative expressed as a function plus a constant C (e.g. sin(x) + C). A definite integral evaluates the antiderivative at an upper bound b and subtracts its value at a lower bound a, yielding a specific numerical result using the Fundamental Theorem of Calculus: F(b) − F(a).

Do I sometimes need to apply integration by parts more than once?

Yes. When the remaining integral ∫v du is still a product of two function types, you apply integration by parts again. For example, ∫x²·eˣ dx requires two applications. In some cases like ∫eˣ·sin(x) dx, the formula is applied twice and then the original integral is solved algebraically.

What is the LIATE rule and why does it work?

LIATE stands for Logarithms, Inverse trig, Algebraic, Trigonometric, Exponential — it ranks function types by how easily they differentiate into simpler forms. Choosing u from earlier in the list tends to simplify the remaining integral ∫v du, making the overall computation more manageable.

Can integration by parts handle definite integrals?

Absolutely. For definite integrals ∫[a to b] u dv, the formula becomes [uv] evaluated from a to b, minus ∫[a to b] v du. You apply the bounds at the final step after all antiderivatives have been found, giving a precise numerical answer.

More Math Tools