Integration by parts is the product rule of differentiation read backwards. It converts an integral into , and the whole art of the method lies in splitting the integrand so that the new integral is easier than the old one.
| Item | Statement |
|---|---|
| The formula | |
| Goal | should be easier than |
| Choose | The factor that gets simpler when differentiated |
| Choose | The factor you can integrate (always include ) |
| LIATE priority for | Logarithmic, Inverse trigonometric, Algebraic, Trigonometric, Exponential |
| Repeated parts | Use a tabular layout when one factor differentiates down to zero |
Deriving the Formula
A powerful technique of integration is integration by parts, which hangs on the formula for the differential of a product. Let and be two functions of . Then
Taking to the other side, we get
Integrating both sides, we have
Since , we get
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{\int u\,dv=uv-\int v\,du.}\tag{a}Because we have to add a constant when we integrate , we can ignore the constant of integration when we integrate .
In words, formula (a) says: to integrate a product, integrate one factor and differentiate the other, then subtract the integral of the result. You have not solved the problem; you have traded it for a different one. The method pays off only when the trade is favorable.
When we choose expressions for and , we usually want:
to be an expression that can be easily integrated, to be a function that has a simpler derivative, and to be easier than .
Evaluate .
Solution
Obviously we cannot put and because we do not know how to find in this case. So we are left with one option:
Then
Integration by parts gives
\begin{aligned} \int\overbrace{\ln x}^{u}\overbrace{dx}^{dv} &= \overbrace{(x+C_{1})\ln x}^{uv}-\int\overbrace{(x+C_{1})}^{v}\overbrace{\frac{1}{x}\,dx}^{du}\\ &= x\ln x+C_{1}\ln x-\int dx-\int\frac{C_{1}}{x}\,dx\\ &= x\ln x+C_{1}\ln x-x-C_{1}\ln|x|+C_{2}\\ &= x\ln x-x+C_{2}. \end{aligned}Because the integrand, , makes sense only if , on the right-hand side we have , and the two terms cancel.
- In the above example, we see that the constant of integration used when determining as does not appear in the final result. This is, in general, true, for if we write in place of in formula (a), then we have
\begin{aligned}
\int u\,dv &= u(v+C_{1})-\int(v+C_{1})\,du\\
&= uv+C_{1}u-C_{1}u-\int v\,du\\
&= uv-\int v\,du.
\end{aligned}
So we do not need the most general , and some suffices. However, occasionally taking equal to some specific constant can simplify the calculations, as we shall see below.
How to Choose u and dv
- Identify and . It is often successful if we choose for the function in the integrand whose type appears earlier in the LIATE list. LIATE is an acronym that stands for
- Logarithmic functions (like )
- Inverse trigonometric functions (like )
- Algebraic functions (like )
- Trigonometric functions (like )
- Exponential functions (like )
- Compute and .
- Apply formula (a) to evaluate the integral.
The LIATE rule is due to H. E. Kasube, "A technique for integration by parts," The American Mathematical Monthly 90.3 (1983): 210-211.
- Note that is always part of .
Why the LIATE strategy for u works
Recall that, generally speaking, we choose and so that becomes simpler when differentiated and can be easily integrated. The derivatives of logarithmic and inverse trigonometric functions are algebraic functions, which are much simpler to work with. Also, we do not know how to integrate them directly, so they cannot be chosen as part of . Therefore, logarithmic and inverse trigonometric functions are natural choices for . For example, the derivative of is simply and the derivative of is , but integrating or directly is not straightforward.
Next in the LIATE list are algebraic functions. On one hand, the derivative of an algebraic function is another algebraic function, and it is often simpler. For example, the derivative of is simply . On the other hand, the integral of an algebraic function is sometimes non-algebraic. For example, . So we generally prefer to differentiate algebraic functions rather than integrate them. The last choices for are trigonometric and exponential functions, because the derivative of a trigonometric function is another trigonometric function, and the derivative of an exponential function remains exponential.
Basic Worked Examples
Evaluate .
Solution
In LIATE, Algebraic comes before Trigonometric, so the strategy suggests that we should let
Then
Integration by parts yields
\begin{aligned} \int x\sin x\,dx &= \underbrace{-x\cos x}_{uv}-\int\underbrace{(-\cos x)\,dx}_{v\,du}\\ &= -x\cos x+\sin x+C. \end{aligned}The trade was favorable: the new integral has no in front of it at all.
Evaluate .
Solution
Method 1. According to the LIATE strategy, the priority for choosing is logarithmic functions. So we let
Then
Integration by parts gives
\begin{aligned} \int x\ln x\,dx &= \overbrace{\frac{1}{2}x^{2}\ln x}^{uv}-\int\overbrace{\frac{1}{2}x^{2}}^{v}\overbrace{\frac{dx}{x}}^{du}\\ &= \frac{1}{2}x^{2}\ln x-\frac{1}{4}x^{2}+C. \end{aligned}Method 2. Let
Then
Integrating by parts, we obtain
\begin{aligned} \int x\ln x\,dx &= x(x\ln x-x)-\int(x\ln x-x)\,dx\\ &= x^{2}\ln x-x^{2}-\int x\ln x\,dx+\underbrace{\int x\,dx}_{\frac{x^{2}}{2}+C}. \end{aligned}Here appears both on the right and left hand sides. Thus
Finally
where . Obviously the first method is easier, as in the second method we need to use integration by parts twice.
Evaluate .
Solution
Obviously we cannot put and because we do not know how to find in this case. So we have to let
Then
Therefore,
To evaluate the last integral, we put . Then , and
\begin{aligned} \int\frac{x}{1+x^{2}}\,dx &= \int\frac{1}{t}\frac{dt}{2}\\ &= \frac{1}{2}\ln|t|+C\\ &= \frac{1}{2}\ln(1+x^{2})+C &&{\small(t=1+x^{2}>0)}\\ &= \ln\sqrt{1+x^{2}}+C. \end{aligned}Finally
where .
Evaluate .
Solution
Similar to the previous example, we let
Then
Therefore,
To evaluate , because appears in the numerator, we let . Then and
\begin{aligned} \int\frac{x}{\sqrt{1-x^{2}}}\,dx &= \int\frac{\overbrace{-\frac{1}{2}\,dt}^{x\,dx}}{\sqrt{t}}\\ &= \int-\frac{1}{2}t^{-1/2}\,dt\\ &= \frac{-1}{2}\left(2t^{1/2}\right)+C\\ &= -\sqrt{1-x^{2}}+C. &&{\small(t=1-x^{2})} \end{aligned}Finally
\begin{aligned} \int\arcsin x\,dx &= x\arcsin x-\left(-\sqrt{1-x^{2}}+C\right)\\ &= x\arcsin x+\sqrt{1-x^{2}}+C_{1}, \end{aligned}where .
Choosing the Constant in v Wisely
We showed above that any antiderivative works. The next two examples show that a clever choice of that constant can simplify the second integral dramatically.
Evaluate . (Notice that is the same as .)
Solution
The LIATE strategy suggests that we let
Notice that because it is easy to differentiate but hard to integrate it, and also because its derivative is algebraic, it is the best choice for . So
and
\begin{aligned} \int x\tan^{-1}x\,dx &= \overbrace{\frac{1}{2}x^{2}\tan^{-1}x}^{uv}-\int\overbrace{\frac{x^{2}}{2(1+x^{2})}\,dx}^{v\,du}\\ &= \frac{1}{2}x^{2}\tan^{-1}x-\frac{1}{2}\int\frac{(1+x^{2})-1}{1+x^{2}}\,dx\\ &= \frac{1}{2}x^{2}\tan^{-1}x-\frac{1}{2}\int dx+\frac{1}{2}\int\frac{dx}{1+x^{2}}\\ &= \frac{1}{2}x^{2}\tan^{-1}x-\frac{1}{2}x+\frac{1}{2}\tan^{-1}x+C\\ &= \frac{1}{2}(x^{2}+1)\tan^{-1}x-\frac{1}{2}x+C. \end{aligned}The same result is obtained more quickly if we take
Then integration by parts gives
Now taking makes the numerator of the last integrand equal to , which cancels the denominator entirely:
\begin{aligned} \int x\tan^{-1}x\,dx &= \frac{1}{2}\left(x^{2}+1\right)\tan^{-1}x-\frac{1}{2}\int\frac{x^{2}+1}{1+x^{2}}\,dx\\ &= \frac{1}{2}\left(x^{2}+1\right)\tan^{-1}x-\frac{1}{2}\int dx\\ &= \frac{1}{2}\left(x^{2}+1\right)\tan^{-1}x-\frac{1}{2}x+C. \end{aligned}Evaluate .
Solution
Let
Then
and
Taking makes cancel the factor , which simplifies the second integral. So
\begin{aligned} \int\tan^{-1}\sqrt{x}\,dx &= (x+1)\tan^{-1}\sqrt{x}-\int\frac{1}{2\sqrt{x}}\,dx\\ &= (x+1)\tan^{-1}\sqrt{x}-\sqrt{x}+C. \end{aligned}
Further Examples
Evaluate .
Solution
Because we can easily integrate , we let
Notice that this choice for agrees with the LIATE strategy. So
and
We know
\begin{aligned} \int\tan x\,dx &= \int\frac{\sin x}{\cos x}\,dx\\ &= -\int\frac{d(\cos x)}{\cos x}\\ &= -\ln|\cos x|+C, \end{aligned}so
\begin{aligned} \int\frac{x}{\cos^{2}x}\,dx &= x\tan x-\left(-\ln|\cos x|+C\right)\\ &= x\tan x+\ln|\cos x|+C_{1}, \end{aligned}with .
Apply integration by parts to evaluate .
Solution
Let
Then
Integration by parts gives
We may write
\begin{aligned} \frac{x^{2}}{\sqrt{a^{2}-x^{2}}} &= -\frac{a^{2}-x^{2}}{\sqrt{a^{2}-x^{2}}}+\frac{a^{2}}{\sqrt{a^{2}-x^{2}}}\\ &= -\sqrt{a^{2}-x^{2}}+\frac{a^{2}}{\sqrt{a^{2}-x^{2}}}. \end{aligned}We have therefore
\begin{aligned} \int\sqrt{a^{2}-x^{2}}\,dx &= x\sqrt{a^{2}-x^{2}}+\int\left(-\sqrt{a^{2}-x^{2}}+\frac{a^{2}}{\sqrt{a^{2}-x^{2}}}\right)\,dx\\ &= x\sqrt{a^{2}-x^{2}}-\int\sqrt{a^{2}-x^{2}}\,dx+a^{2}\int\frac{d\left(\frac{x}{a}\right)}{\sqrt{1-\left(\frac{x}{a}\right)^{2}}}. \end{aligned}The last integral is , by the inverse substitution from the previous chapter. The original integral now appears on both sides, so we solve for it:
and
Evaluate .
Solution
The LIATE strategy suggests that we let
So
and
\begin{aligned} \int\overbrace{\ln x}^{u}\overbrace{\sqrt{x}\,dx}^{dv} &= \overbrace{\frac{2}{3}x^{3/2}\ln x}^{uv}-\int\overbrace{\frac{2}{3}x^{3/2}}^{v}\overbrace{x^{-1}\,dx}^{du}\\ &= \frac{2}{3}x^{3/2}\ln x-\frac{2}{3}\int x^{1/2}\,dx\\ &= \frac{2}{3}x^{3/2}\ln x-\frac{4}{9}x^{3/2}+C. \end{aligned}
Substitution First, Then Parts
- Sometimes we need to use integration by substitution first, and then apply integration by parts.
Evaluate .
Solution
Let . Then
Therefore,
\begin{aligned} \int\sin\sqrt{x}\:dx &= \int\sin\theta\underbrace{2\theta\,d\theta}_{dx}\\ &= 2\int\theta\sin\theta\,d\theta. \end{aligned}In an earlier example, we learned that . Therefore,
\begin{aligned} \int\sin\sqrt{x}\,dx &= 2\left(-\theta\cos\theta+\sin\theta\right)+C_{1}\\ &= -2\sqrt{x}\cos\sqrt{x}+2\sin\sqrt{x}+C_{1}. &&{\small(\theta=\sqrt{x})} \end{aligned}Evaluate .
Solution
Let . Then
or
Therefore,
We had already obtained the second integral above. So
\begin{aligned} \int\arctan\sqrt{x}\,dx &= 2\int t\arctan t\,dt\\ &= 2\left[\frac{1}{2}\left(t^{2}+1\right)\arctan t-\frac{1}{2}t\right]+C\\ &= (x+1)\arctan\sqrt{x}-\sqrt{x}+C. \end{aligned}This agrees with the result obtained earlier by choosing the constant in cleverly.
When the Integrand Is Purely Algebraic
To evaluate using integration by parts, the LIATE strategy fails when is an algebraic function (because all we have is algebraic). However, if we can decompose into two factors and such that we can integrate , we may set and and try integration by parts.
The following shows two examples of such situations.
Evaluate .
Solution
This may be divided into two factors
of which the second can be integrated, because the extra factor of is what the substitution needs:
\begin{aligned} \int x\sqrt{a^{2}+x^{2}}\,dx &= \int\sqrt{z}\overbrace{\frac{1}{2}\,dz}^{x\,dx} &&{\small(z=a^{2}+x^{2})}\\ &= \frac{1}{2}\cdot\frac{2}{3}z^{3/2}+C_{1}\\ &= \frac{1}{3}(a^{2}+x^{2})^{3/2}+C_{1}. \end{aligned}So
and
We can integrate the last one by substitution. Let . Then and
\begin{aligned} \frac{2}{3}\int x(a^{2}+x^{2})^{\frac{3}{2}}\,dx &= \frac{2}{3}\int t^{\frac{3}{2}}\cdot\overbrace{\frac{1}{2}\,dt}^{x\,dx}\\ &= \frac{1}{3}\cdot\frac{2}{5}t^{5/2}+K\\ &= \frac{2}{15}(a^{2}+x^{2})^{\frac{5}{2}}+K. \end{aligned}Finally
Evaluate ().
Solution
We may try
because we can integrate by making the substitution and :
\begin{aligned} \int\frac{x}{(a^{2}-x^{2})^{\frac{3}{2}}}\,dx &= \int\frac{-dz}{2z^{\frac{3}{2}}}=-\frac{1}{2}\int z^{-\frac{3}{2}}\,dz\\ &= -\frac{1}{2}(-2)z^{-\frac{1}{2}}+C_{1}\\ &= \frac{1}{\sqrt{z}}+C_{1}\\ &= \frac{1}{\sqrt{a^{2}-x^{2}}}+C_{1}. \end{aligned}So
and
Because
\begin{aligned} \int\frac{1}{\sqrt{a^{2}-x^{2}}}\,dx &= \frac{1}{a}\int\frac{1}{\sqrt{1-\left(\dfrac{x}{a}\right)^{2}}}\,dx\\ &= \frac{1}{a}\int\frac{\overbrace{a\,dt}^{dx}}{\sqrt{1-t^{2}}} &&{\small\left(t=\frac{x}{a},\ dt=\frac{1}{a}\,dx\right)}\\ &= \arcsin t+K\\ &= \arcsin\frac{x}{a}+K, \end{aligned}we get
where .
Tabular Integration by Parts
Consider an integral of the form
where can be differentiated repeatedly until its derivative becomes zero and is a function that can be integrated repeatedly without difficulty. Such an integral can be evaluated by integration by parts. However, we may need to repeat integration by parts several times, which can be cumbersome. To organize the calculations and to expedite this process, we make a two-column table. In one column we write and its derivatives, and in one column we write and its integrals, then we multiply these and add them together in a fashion that is illustrated in the following examples.
The Tabular Method. List and its successive derivatives in the left column, and and its successive integrals in the right column. Then multiply each entry of the left column by the entry one row below it in the right column, and attach alternating signs starting with . Stop when the left column reaches . In the diagrams below, each diagonal arrow marks one such product and carries its sign.
Evaluate .
Solution
Let and .
Each arrow gives one product: multiply the entry at its tail by the entry at its head, and attach the sign written on the arrow. Adding these products,
\begin{aligned} \int x^{2}\sin x\,dx &= (+)\,x^{2}(-\cos x)+(-)\,2x(-\sin x)+(+)\,2(\cos x)+C\\ &= -x^{2}\cos x+2x\sin x+2\cos x+C. \end{aligned}In the end, don't forget to add as the constant of integration.
Evaluate .
Solution
Let and . Since is its own integral, the right column never changes.
Reading off the four arrows in order,
Evaluate .
Solution
Let and , because the higher derivatives of become zero and we can easily integrate as many times as we wish.
Therefore,
\begin{aligned} \int x^{3}\sqrt{1+x}\,dx &= \frac{2}{3}x^{3}(1+x)^{3/2}-\frac{4}{5}x^{2}(1+x)^{5/2}\\ &\qquad+\frac{16}{35}x(1+x)^{7/2}-\frac{32}{315}(1+x)^{9/2}+C. \end{aligned}For instance, the second term comes from , since .
Solving for an Unknown Integral
Sometimes to evaluate an integral, we need to integrate by parts twice and then solve for the unknown integral.
Evaluate .
Solution
Let
then
Integration by parts produces
\int\overbrace{\sin x}^{u}\overbrace{e^{x}\,dx}^{dv}=\overbrace{\sin x\,e^{x}}^{uv}-\int\overbrace{e^{x}}^{v}\overbrace{\cos x\:dx}^{du}.\tag{i}The last integral is similar to the original integral, except it has instead of . To find this integral, we need to integrate by parts with
So
and
\int\overbrace{\cos x}^{U}\overbrace{e^{x}\,dx}^{dV}=\overbrace{\cos x\:e^{x}}^{UV}-\int\overbrace{e^{x}}^{V}\overbrace{(-\sin x)\,dx}^{dU}.\tag{ii}Substituting (ii) in (i) yields
Here the original integral appears on the left and the right hand sides.
Here we add the constant of integration to cover all the possible integral functions (or antiderivatives). Finally
with .
Notice that we could start with and :
then
so that
\int e^{x}\sin x\,dx=-e^{x}\cos x-\int(-\cos x)e^{x}\,dx.\tag{i}The last integral is like the original integral, except it has instead of . To find this integral, we need to integrate by parts with
Therefore,
and
\int\cos x\,e^{x}\,dx=e^{x}\sin x-\int\sin x\,e^{x}\,dx.\tag{ii}Substituting (ii) in (i), we get
Here the original integral appears on the left and the right hand sides.
Finally
with . The important point is that both choices work, provided you stay consistent: if you differentiate on the first pass, you must differentiate on the second. Switching roles halfway returns you to the trivial identity .
- Sometimes, we need to combine integration by parts and integration by substitution, and then solve for the unknown function.
Evaluate .
Solution
This may be divided into two factors
Here can be easily differentiated, and can be easily integrated. So
and
Because , we have
\begin{aligned} \int\sec^{3}x\,dx &= \sec x\,\tan x-\int(\sec^{2}x-1)\sec x\,dx\\ &= \sec x\,\tan x-\int\sec^{3}x\,dx+\int\sec x\,dx, \end{aligned}or
We previously showed that
Therefore,
Find .
Solution
We can evaluate this integral using the method of integration by parts:
\begin{aligned} u &= \ln(\tan x) &&dv= \sin x \, dx \\ du &= \frac{\sec^2 x}{\tan x} \, dx = \frac{1}{\sin x \cos x} \, dx && v= -\cos x \end{aligned}Finding in more detail
To derive from , we apply the chain rule followed by basic trigonometric simplification:
Canceling one from the numerator and denominator gives
Applying the integration by parts formula yields
\begin{aligned} \int \sin x \ln(\tan x) \, dx &= -\cos x \ln(\tan x) - \int (-\cos x) \left( \frac{1}{\sin x \cos x} \right) \, dx \\ &= -\cos x \ln(\tan x) + \int \frac{1}{\sin x} \, dx \\ &= -\cos x \ln(\tan x) + \int \csc x \, dx. \end{aligned}Using the integral of evaluated in the previous section, , we obtain
Exercises
Each of the following can be done with the basic formulas, the substitution rule, the trigonometric integrals of the previous section, and integration by parts. No other technique is needed.
Evaluate .
Solution
By LIATE, Algebraic precedes Exponential, so let and . Then and , so
\begin{aligned} \int x e^{x}\,dx &= xe^{x}-\int e^{x}\,dx\\ &= xe^{x}-e^{x}+C\\ &= e^{x}(x-1)+C. \end{aligned}Evaluate .
Solution
Let and . Then and :
\begin{aligned} \int x\cos x\,dx &= x\sin x-\int\sin x\,dx\\ &= x\sin x+\cos x+C. \end{aligned}Evaluate using the tabular method.
Solution
Let and . Each integration of brings out a factor of .
Therefore
\begin{aligned} \int x^{2}e^{-x}\,dx &= x^{2}(-e^{-x})-2x\left(e^{-x}\right)+2\left(-e^{-x}\right)+C\\ &= -e^{-x}\left(x^{2}+2x+2\right)+C. \end{aligned}Evaluate .
Solution
By LIATE, let and . Then and :
\begin{aligned} \int x^{2}\ln x\,dx &= \frac{x^{3}}{3}\ln x-\int\frac{x^{3}}{3}\cdot\frac{dx}{x}\\ &= \frac{x^{3}}{3}\ln x-\frac{1}{3}\int x^{2}\,dx\\ &= \frac{x^{3}}{3}\ln x-\frac{x^{3}}{9}+C. \end{aligned}Evaluate .
Solution
Let and . Then and :
\begin{aligned} \int(\ln x)^{2}\,dx &= x(\ln x)^{2}-\int x\cdot\frac{2\ln x}{x}\,dx\\ &= x(\ln x)^{2}-2\int\ln x\,dx. \end{aligned}We already know , so
Evaluate .
Solution
Let and . Then and :
\begin{aligned} \int\frac{\ln x}{x^{2}}\,dx &= -\frac{\ln x}{x}+\int\frac{1}{x}\cdot\frac{dx}{x}\\ &= -\frac{\ln x}{x}+\int x^{-2}\,dx\\ &= -\frac{\ln x}{x}-\frac{1}{x}+C. \end{aligned}Evaluate .
Solution
Let and . Then and :
Write , so
\begin{aligned} \int\frac{x^{2}}{x^{2}+1}\,dx &= \int dx-\int\frac{dx}{x^{2}+1}\\ &= x-\arctan x+C. \end{aligned}Therefore
Evaluate .
Solution
Let and . Then and :
With and , the last integral is
Therefore
Evaluate .
Solution
Let and . Then and :
\begin{aligned} \int x\csc^{2}x\,dx &= -x\cot x+\int\cot x\,dx\\ &= -x\cot x+\ln|\sin x|+C, \end{aligned}using the formula from the previous section.
Evaluate .
Solution
Let and , so and :
Integrate by parts again, this time with and :
Substituting,
so
Evaluate .
Solution
Let and , so and . Write . Then
Apply parts again to the new integral with and , so and :
Substituting back,
\begin{aligned} I &= \frac{1}{2}e^{2x}\sin 3x-\frac{3}{2}\left(\frac{1}{2}e^{2x}\cos 3x+\frac{3}{2}I\right)\\ &= \frac{1}{2}e^{2x}\sin 3x-\frac{3}{4}e^{2x}\cos 3x-\frac{9}{4}I. \end{aligned}Collecting the terms gives , so
Evaluate using the tabular method.
Solution
Let and . Each integration of brings out a factor of from the chain rule.
Therefore
\begin{aligned} \int x^{2}\cos 2x\,dx &= \frac{x^{2}}{2}\sin 2x-2x\left(-\frac{1}{4}\cos 2x\right)+2\left(-\frac{1}{8}\sin 2x\right)+C\\ &= \frac{x^{2}}{2}\sin 2x+\frac{x}{2}\cos 2x-\frac{1}{4}\sin 2x+C. \end{aligned}Evaluate using the tabular method.
Solution
Let and .
Therefore
\begin{aligned} \int x^{2}\sqrt{1+x}\,dx &= \frac{2}{3}x^{2}(1+x)^{3/2}-2x\cdot\frac{4}{15}(1+x)^{5/2}\\ &\qquad+2\cdot\frac{8}{105}(1+x)^{7/2}+C\\ &= \frac{2}{3}x^{2}(1+x)^{3/2}-\frac{8}{15}x(1+x)^{5/2}\\ &\qquad+\frac{16}{105}(1+x)^{7/2}+C. \end{aligned}Evaluate .
Solution
First substitute, then integrate by parts. Let , so and :
From the first exercise of this set, . Therefore
\begin{aligned} \int e^{\sqrt{x}}\,dx &= 2e^{t}(t-1)+C\\ &= 2e^{\sqrt{x}}\left(\sqrt{x}-1\right)+C. \end{aligned}Evaluate .
Solution
Write . Let and , so and :
Apply parts again with , , so and :
Substituting,
so
The same computation, read from the second line, gives
Evaluate .
Solution
By LIATE, let and . Rather than taking , we exploit the freedom in the constant and take
which makes the numerator of divisible by . With ,
Since , we have , so
We evaluated by parts earlier in this section. With ,
Therefore
\begin{aligned} \int x\arcsin x\,dx &= \frac{x^{2}-1}{2}\arcsin x+\frac{x\sqrt{1-x^{2}}}{4}+\frac{\arcsin x}{4}+C\\ &= \left(\frac{x^{2}}{2}-\frac{1}{4}\right)\arcsin x+\frac{x\sqrt{1-x^{2}}}{4}+C. \end{aligned}Evaluate .
Solution
Let and . Then and , since :
\begin{aligned} \int x\sinh x\,dx &= x\cosh x-\int\cosh x\,dx\\ &= x\cosh x-\sinh x+C. \end{aligned}Evaluate .
Solution
Substitute first. Let , so and . Then
Now use the tabular method with and :
So , and therefore
Evaluate .
Solution
Let and , so and :
\begin{aligned} \int x^{3}\ln x\,dx &= \frac{x^{4}}{4}\ln x-\frac{1}{4}\int x^{3}\,dx\\ &= \frac{x^{4}}{4}\ln x-\frac{x^{4}}{16}+C. \end{aligned}Evaluate directly, and check your answer by differentiation.
Solution
Write . Take and , so and :
Applying parts once more to with , gives . Therefore
Check. Differentiating the result by the product rule,
\begin{aligned} \frac{d}{dx}&\left\{\frac{x}{2}\left[\sin(\ln x)-\cos(\ln x)\right]\right\}\\ &= \frac{1}{2}\left[\sin(\ln x)-\cos(\ln x)\right]+\frac{x}{2}\left[\frac{\cos(\ln x)}{x}+\frac{\sin(\ln x)}{x}\right]\\ &= \frac{\sin(\ln x)-\cos(\ln x)+\cos(\ln x)+\sin(\ln x)}{2}\\ &= \sin(\ln x), \end{aligned}which is the original integrand.
Evaluate and compare it with the example solved above.
Solution
Since , this is the same integral written differently. Taking and gives and , so
\begin{aligned} \int x\sec^{2}x\,dx &= x\tan x-\int\tan x\,dx\\ &= x\tan x-\ln|\sec x|+C\\ &= x\tan x+\ln|\cos x|+C, \end{aligned}which matches the earlier result, since .