Integral of x^n dx
The solution
Detail solution
-
The integral of xn is n+1xn+1 when n=−1:
∫xndx={n+1xn+1log(x)forn=−1otherwise
-
Add the constant of integration:
{n+1xn+1log(x)forn=−1otherwise+constant
The answer is:
{n+1xn+1log(x)forn=−1otherwise+constant
The answer (Indefinite)
[src]
/ // 1 + n \
| ||x |
| n ||------ for n != -1|
| x dx = C + |<1 + n |
| || |
/ ||log(x) otherwise |
\\ /
∫xndx=C+{n+1xn+1log(x)forn=−1otherwise
/ 1 + n
| 1 0
|----- - ------ for And(n > -oo, n < oo, n != -1)
<1 + n 1 + n
|
| oo otherwise
\
{−n+10n+1+n+11∞forn>−∞∧n<∞∧n=−1otherwise
=
/ 1 + n
| 1 0
|----- - ------ for And(n > -oo, n < oo, n != -1)
<1 + n 1 + n
|
| oo otherwise
\
{−n+10n+1+n+11∞forn>−∞∧n<∞∧n=−1otherwise
Piecewise((1/(1 + n) - 0^(1 + n)/(1 + n), (n > -oo)∧(n < oo)∧(Ne(n, -1))), (oo, True))
Use the examples entering the upper and lower limits of integration.