How Do You Solve Integrals Using Integration By Parts?

Slimsta
Messages
189
Reaction score
0

Homework Statement


1.$\int x^ne^xdx$
2.$\int \sin ^nxdx$


Homework Equations


$ \displaystyle \Large \int fg dx = fg - \int gf' dx$


The Attempt at a Solution


1. f=xn
g'=ex
g=ex
f'=nxn-1

then just plug it in the formula? i tried but i don't get the right answer..

2. i have no idea how to even start..
the antiderivative of sinnx is [(sinx)n+1]/(n+1) ?
 
Physics news on Phys.org
No, the anti-derivative of sinn(x) is NOT sinn+1(x)/(n+1)!

Integrating \int x^n e^x dx is very easy- but tedious. Let u= xn, dv= ex dx. Then du= n xn-1 dx and v= ex.

\int x^n e^x dx= x^ne^x- n\int x^{n-1}e^x dx
That is the same as you started with but the exponent on x is one less. Repeat n-1 more times until the exponent is 0!

As for (2), how you do that depends on whether n is even or odd. If n is odd, it is easy. If n= 2m+1, then the integral is
\int sin^{2m+1}(x) dx= \int (sin^2(x))^m sin(x)dx= \int (1- cos^2(x))^msin(x) dx
and letting u= cos(x) reduces it to
-\int (1- u^2)^m du

If n is even, use the trig identity sin^2(x)= (1/2)(1- cos(2x)) repeatedly until you have reduced to power 1.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top