Can regular integrals be solved with integration by parts?

396 Views Asked by At

Can integration by parts be used to integrate functions such as $f(x) = x^3$ or $f(x) = \frac 1x$?

I know that there are simple formulas that can be used to integrate functions of those forms already, but could we use integration by parts?

I tried integrating $f(x) = x^3$ with integration by parts, where $u = x^3$ and $dv = dx$. But it ended up being an infinite loop of integrals, although, I may have done something wrong.

The reason I bring this up is because I saw an example where the integral of $\ln(x)$ was solved to get $x\ln(x) - x$ by using integration by parts where $u = \ln(x)$ and $dv = dx$. So shouldn't we be able to apply this technique to other integrals where $dv = dx$?

2

There are 2 best solutions below

0
On BEST ANSWER

In every case,

$$\int f(x)\,dx=xf(x)-\int xf'(x)\,dx$$

and this is useful when $xf'(x)$ is easier to integrate than $f(x)$.


In the case of powers of $x$, you indeed seem to circle in rounds because the integrand keeps being the same, but you work around the circularity with

$$\int x^r\,dx=x\,x^r-r\int x\,x^{r-1}\,dx$$ and $$\int x^r\,dx+r\int x^r\,dx=(1+r)\int x^r\,dx=x^{r+1}.$$

Notice that this doesn't work for $r=-1$, which is precisely the case where the logarithm enters into play. (In some sense $x^0\equiv \log x$.)

6
On

To integrate $x^3$ by parts with $dv=dx$: $$ I=\int x^3\,dx=\int 1\cdot x^3\,dx=x\cdot x^3-\int x\cdot 3x^2\,dx=x^4-3I+C $$ and solve for $I$ $$ 4I=x^4+C\quad\Leftrightarrow\quad I=\frac{x^4}{4}+\text{constant}. $$