Skip to content

How to choose u and dv in integration by parts

Pick u as the factor that simplifies when differentiated and let dv be the remaining part that can be integrated easily. The LIATE rule (Logarithmic, Inverse trig, Algebraic, Trig, Exponential) is a reliable guide for the choice.

Calculus · Integration


Integration by parts rewrites an integral as udv=uvvdu\int u\,dv = uv - \int v\,du. The success of the method hinges on selecting uu and dvdv so that dudu is simpler and vv is easy to find. A poor choice can turn a manageable problem into a more tangled one, often requiring a second application of the formula.

Heuristics for picking u

Key heuristics for selecting u and dv:

  • Choose u that becomes simpler after differentiation.
  • Choose dv that can be integrated without difficulty.
  • Follow the LIATE order: Logarithmic, Inverse trig, Algebraic, Trig, Exponential.
  • Avoid picking u that reproduces the original integral after applying the formula.

Worked example

Consider the integral xexdx\int x e^x\,dx. The algebraic factor xx simplifies to 1 when differentiated, while the exponential exe^x integrates to itself, making it a natural choice for dvdv. Setting u=xu = x and dv=exdxdv = e^x\,dx leads to du=dxdu = dx and v=exv = e^x, which satisfies the heuristics and yields a straightforward computation.

Apply the formula step by step:

  1. 1Set u=xu = x, so du=dxdu = dx.
  2. 2Set dv=exdxdv = e^x\,dx, so v=exv = e^x.
  3. 3Insert into udv=uvvdu\int u\,dv = uv - \int v\,du.
  4. 4Compute uv=xexuv = x e^x.
  5. 5Integrate vdu=exdx=exv\,du = \int e^x\,dx = e^x.
  6. 6Combine results: xexdx=xexex+C\int x e^x\,dx = x e^x - e^x + C.

If the first choice does not simplify the integral, try swapping the roles of uu and dvdv or use the LIATE hierarchy to reorder them. For instance, in exsinxdx\int e^x \sin x\,dx choosing u=sinxu = \sin x (algebraic after differentiation) and dv=exdxdv = e^x\,dx works better than the opposite assignment. Sometimes a second application of integration by parts or a reduction formula becomes necessary.

Typical u choices by function type:

Function typeGood choice for u
Logarithmic (ln x)ln x
Inverse trig (arctan x)arctan x
Algebraic (x^n)xnx^n
Trig (sin x)sin x
Exponential (e^x)none (choose dv)

Check yourself

When integrating xexdx\int x e^x\,dx, which function should be chosen as u according to the heuristics?

Get this as a lesson built for you

Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.

Try it

No account needed to try it.

What people ask next