Methods for choosing $u$ and $dv$ when integrating by parts?

41.8k Views Asked by At

When doing integration by parts, how do you know which part should be $u$ ?

For example,

For the following: $$\int x^2e^xdx$$

$u = x^2$?

However for: $$\int \sqrt{x}\ln xdx$$

$u = \ln x$?

Is there a rule for which part should be $u$ ? As this is confusing.

5

There are 5 best solutions below

8
On BEST ANSWER

There is an acronym called "LIATE":

Set $u$ to be the first function you see on this list (ordered):

  1. logarithm
  2. inverse trigonometric function
  3. algebraic function
  4. trigonometric function
  5. exponential

Doesn't always work perfectly, but it's your best bet.

In your first integral, the algebraic function $x^2$ takes precedence.

In the second, the logarithm $\ln x$ takes precedence.

1
On

My general principle is "Which bit gets nicer to work with when differentiated than when integrated?", which roughly lines up with the LIATE approach:

  • The derivative of $\ln x$ is $\frac{1}{x}$, which will interact nicely with polynomial terms, whereas the integral is some weird rubbish on the order of $x \ln x$ which looks terrible.
  • The derivatives of the inverse trigonometric functions tend to be rational functions or square roots of rational functions, which again tend to interact with polynomial terms decently, whereas the integrals are horrible things with logarithms in them.
  • Algebraic stuff (polynomials) differentiates into other algebraic stuff, and if you're lucky it will get simpler as it goes (but not always).
  • Trig and exponential functions tend to sit at about the same complexity no matter how much you differentiate or integrate them. So if you're left picking them as your $u$ it probably means you're going to be setting up a recurrence relation of some kind.
0
On

I prefer the converse of the more common LIATE approach:

  • dv is the first of
  • exponential function
  • trigonometric function
  • algebraic function
  • inverse trigonometric function
  • logarithm function

I find DETAIL to be easier to remember. The reason this order works well is that integrating the $dv$ tends to not mess things up as much higher up in the list.

In your first integral, you have an algebraic $x^2$ and an exponential $e^x$, so that $dv$ should be the exponential. In your second integral, you have an algebraic $\sqrt x$ and a logarithm, so that $dv$ should be the $\sqrt x$.

2
On

Forget cute (or weird) acronyms or tables. You are focusing on the wrong thing: differentiation is easy, while integration is hard, so you should ask not what to pick as $u$, but what to pick as $dv$. The answer is: choose as $dv$ the most complicated expression in the integrand that you currently know how to integrate.

For example, you asked about integrating $x^2e^x$. Between $x^2$ and $e^x$ the factor $e^x$ is more sophisticated and you can integrate it, so let $dv = e^x dx$ and then $u = x^2$. You also asked about integrating $\sqrt{x}\ln x$. For students the antiderivative of $\sqrt{x}$ is known but the antiderivative of $\ln x$ is not, so let $dv = \sqrt{x} dx$ and then $u = \ln x$.

When this tip of how to pick $dv$ rather than $u$ was passed on to me, I never had a problem applying integration by parts afterwards. This method requires no memorization of rules, but just experience integrating to recognize one factor as being more complicated than another.

0
On

I think ILATE rule is more accurate as it works well in most cases.Through this rule in most cases the problem becomes small and quite easy.ILATE stands for Inverse,Logarithmic,Algebraic,Trigonometric and last one exponential..