1 / | | n - 1 | 2*x | -------- dx | (n - 1)! | / 0
Integral((2*x^(n - 1))/factorial(n - 1), (x, 0, 1))
The integral of a constant times a function is the constant times the integral of the function:
The integral of a constant times a function is the constant times the integral of the function:
The integral of is when :
So, the result is:
So, the result is:
Now simplify:
Add the constant of integration:
The answer is:
// n \
|| x |
|| -- for n - 1 != -1|
/ 2*|< n |
| || |
| n - 1 ||log(x) otherwise |
| 2*x \\ /
| -------- dx = C + ----------------------------
| (n - 1)! (n - 1)!
|
/
/ n | 2 2*0 |----------- - ----------- for And(n > -oo, n < oo, n != 0) |n*(-1 + n)! n*(-1 + n)! < | / 1 \ | oo*sign|---------| otherwise | \(-1 + n)!/ \
=
/ n | 2 2*0 |----------- - ----------- for And(n > -oo, n < oo, n != 0) |n*(-1 + n)! n*(-1 + n)! < | / 1 \ | oo*sign|---------| otherwise | \(-1 + n)!/ \
Piecewise((2/(n*factorial(-1 + n)) - 2*0^n/(n*factorial(-1 + n)), (n > -oo)∧(n < oo)∧(Ne(n, 0))), (oo*sign(1/factorial(-1 + n)), True))
Use the examples entering the upper and lower limits of integration.