Gauth

Calculus

Integration by Parts and the LIATE Rule

Integration by parts trades one integral for another. Everything about the technique comes down to making sure the trade is in your favour.

By the Gauth editorial teamHow this content is produced and checkedUpdated 10 September 2026

The idea

Every integration technique is a differentiation rule read backwards. Substitution is the chain rule reversed. Integration by parts is the product rule reversed, and you can derive it in three lines.

Start from the product rule and integrate both sides:

Now move one integral across:

In differential notation, with and , that is the version you will write on paper:

Notice what the formula does not do. It does not evaluate anything. It exchanges the integral you cannot do for a different integral, plus a term you get for free. The exchange is only useful if the new integral is easier, and it is entirely possible to choose badly and end up with something worse. That is the whole reason LIATE exists.

Take . Choosing means , and the new integrand loses its entirely — you are left with , which is trivial. Choosing instead gives and a new integral of , which is strictly harder than what you started with. Same formula, opposite outcomes.

When you need it

Integration by parts is for a product of two functions of different kinds, where neither factor is the derivative of the other. That last clause is the important one, because it draws the line between parts and substitution.

looks like a product, but is the derivative of , so this is a substitution problem and parts would be a detour. looks almost identical, but is not the derivative of anything in the exponential, so substitution has nothing to grab and parts is correct.

Reliable cues that parts is the technique:

  • A polynomial multiplied by , , or an exponential: .
  • Anything multiplied by a logarithm: .
  • A lone logarithm or inverse trig function: , .
  • A trigonometric function multiplied by an exponential: . Expect the circular case.

Once you have decided parts applies, the only remaining decision is which factor becomes . Work through it below.

Choosing u with LIATE

Look at what is being multiplied inside the integral. Which of these describes it?

The method

1. Rule out substitution first. Check whether one factor is, up to a constant, the derivative of the inside of the other. If it is, substitute. Parts on a substitution problem usually still works, but it takes three times as long.

2. Choose u by LIATE, then sanity-check dv. LIATE is a default, not a law. The two real requirements are that should get simpler when differentiated and that you must actually be able to integrate . If LIATE hands you a you cannot integrate, override it.

3. Write all four quantities down before substituting. A small block of , , , takes ten seconds and removes the chance of pairing the wrong pieces. When you integrate to get , do not add a constant — any constant cancels out of the final result, so the simplest choice is the right one.

4. Substitute, and keep the minus sign attached to the whole integral. Write , then a minus, then the entire new integral including its own . If the new integral itself needs parts again, bracket it before you expand, because the minus sign has to distribute across everything it produces.

5. Recognise the three endings. The new integral is either immediately doable, or needs another round of parts, or is a multiple of the integral you started with. In the third case, stop: name the original integral , write the equation, and solve for the way you would solve any linear equation.

Worked examples

Worked example

  1. 1

    Algebraic beats exponential in LIATE, so u is the power of x. Build all four pieces.

  2. 2

    Substitute into uv minus the integral of v du.

  3. 3

    The remaining integral is immediate. This is the whole point of choosing u = x: differentiating it removed the x.

  4. 4

    Factor, then check by differentiating: the product rule gives e^x(x-1) + e^x(1) = xe^x, which is the original integrand.

Answer

Worked example

  1. 1

    Logarithmic outranks algebraic in LIATE, so u is the logarithm even though the power looks like the friendlier choice.

  2. 2

    Substitute. The logarithm is now gone from the remaining integral, which is exactly the trade you wanted.

  3. 3

    Simplify the new integrand by cancelling one power of x.

  4. 4

    Integrate the power. Note the denominator becomes 9, not 3, because the one-third is carried through the integration.

Answer

Worked example

  1. 1

    Neither factor simplifies when differentiated, so this will cycle. Name the integral I so you can refer to it later, and take u as the trigonometric factor.

  2. 2

    First application. The new integral is no simpler, but it is no worse either.

  3. 3

    Apply parts again to the new integral, keeping the same style of choice: trigonometric as u, exponential as dv. Switching now would undo the first step.

  4. 4

    Substitute that back in. The original integral has reappeared, so this is now an equation in I rather than an integration problem.

  5. 5

    Solve for I. Add I to both sides and halve. The constant of integration is added at the very end, after the division.

Answer

Try one of your own

Type an integral and you will get the choice of and justified before the formula is applied, which is the part most solutions skip. The integral calculator with steps handles definite and indefinite versions and shows the boundary term evaluated separately. If you are not yet sure which technique a problem calls for, the guide to choosing an integration method walks every branch.

Solve a calculus problem now

First solution free

Where people go wrong

Choosing u to make the first line look neat

The formula produces a boundary term and a new integral, and only the second one matters. Faced with , people often pick because it differentiates to 1 — but then , and finding means integrating , which is the harder problem you were avoiding. Judge a choice by the integral it leaves behind, not by how tidy the first line is.

Letting the minus sign apply to only part of what follows

When the second integral needs parts again, it produces two terms, and the minus sign in front of it applies to both. Bracketing the whole second application before expanding is the fix. For the correct result is ; a sign that fails to distribute typically gives , and differentiating your answer catches it instantly.

Reversing the choice on the second round

In the circular case, the second application must keep the same kind of choice as the first. If you take and then switch to , the algebra collapses to — true, but useless. You have simply integrated by parts and then unintegrated by parts. Consistency in the choice is what makes the coefficient of come out as rather than .

Applying the limits to only the remaining integral

For a definite integral the formula is , and the boundary term needs evaluating too. Take : the boundary term is , the remaining integral is , and the answer is . Forgetting to evaluate leaves a stray function of in what should be a number, which is at least an error you can spot.

Practice

Include the constant of integration where the integral is indefinite. The last one is definite, so the answer is a single number.

Integration by parts practice

Answers are checked here — nothing is sent anywhere.

  1. 1
  2. 2
  3. 3
  4. 4

Frequently asked questions

What does LIATE actually stand for?
Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential. Whichever of those categories appears earliest in that list becomes u; the rest of the integrand becomes dv. The ordering is not arbitrary — it ranks functions roughly by how much simpler they get when differentiated and how easily the remainder can be integrated.
Is LIATE a theorem or a rule of thumb?
A rule of thumb, and it has exceptions. It is a good default because it works on the large majority of textbook integrals, but the real criterion is the one it approximates: u should get simpler when you differentiate it, and dv must be something you can actually integrate. If LIATE gives you a dv you cannot integrate, override it.
What do I do when integration by parts goes in a circle?
If after two applications the original integral reappears with a coefficient, treat it as an unknown. Call the integral I, write the equation you have derived, and solve for I algebraically. That is how ∫e^x sin x dx is done. If instead the original reappears with coefficient exactly 1 and nothing else changed, you have undone your own first step — swap which factor you called u.
How do I integrate ln x when there is nothing to pair it with?
Let dv = dx. Then u = ln x, du = dx/x, and v = x, giving x ln x − ∫x · (1/x) dx = x ln x − x + C. The same trick handles arctan x, which becomes x arctan x − ½ ln(1+x²) + C. Whenever a single awkward function has no obvious partner, pairing it with dx = 1 · dx is the move.
How does integration by parts change for a definite integral?
The boundary term gets evaluated at the limits as well: ∫ from a to b of u dv equals [uv] from a to b, minus ∫ from a to b of v du. The commonest mistake is applying the limits only to the remaining integral and forgetting the uv piece. Evaluate both, and do not add a constant of integration.

Keep going

Gauth AIAsk me for any help!