Mister Exam

Other calculators

Integral of nx^(n-1) dx

Limits of integration:

from to
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
  1            
  /            
 |             
 |     n - 1   
 |  n*x      dx
 |             
/              
0              
01nxn1dx\int\limits_{0}^{1} n x^{n - 1}\, dx
Integral(n*x^(n - 1), (x, 0, 1))
Detail solution
  1. The integral of a constant times a function is the constant times the integral of the function:

    nxn1dx=nxn1dx\int n x^{n - 1}\, dx = n \int x^{n - 1}\, dx

    1. The integral of xnx^{n} is xn+1n+1\frac{x^{n + 1}}{n + 1} when n1n \neq -1:

      xn1dx={xnnforn11log(x)otherwise\int x^{n - 1}\, dx = \begin{cases} \frac{x^{n}}{n} & \text{for}\: n - 1 \neq -1 \\\log{\left(x \right)} & \text{otherwise} \end{cases}

    So, the result is: n({xnnforn11log(x)otherwise)n \left(\begin{cases} \frac{x^{n}}{n} & \text{for}\: n - 1 \neq -1 \\\log{\left(x \right)} & \text{otherwise} \end{cases}\right)

  2. Now simplify:

    {xnforn0nlog(x)otherwise\begin{cases} x^{n} & \text{for}\: n \neq 0 \\n \log{\left(x \right)} & \text{otherwise} \end{cases}

  3. Add the constant of integration:

    {xnforn0nlog(x)otherwise+constant\begin{cases} x^{n} & \text{for}\: n \neq 0 \\n \log{\left(x \right)} & \text{otherwise} \end{cases}+ \mathrm{constant}


The answer is:

{xnforn0nlog(x)otherwise+constant\begin{cases} x^{n} & \text{for}\: n \neq 0 \\n \log{\left(x \right)} & \text{otherwise} \end{cases}+ \mathrm{constant}

The answer (Indefinite) [src]
  /                    //   n                   \
 |                     ||  x                    |
 |    n - 1            ||  --    for n - 1 != -1|
 | n*x      dx = C + n*|<  n                    |
 |                     ||                       |
/                      ||log(x)     otherwise   |
                       \\                       /
nxn1dx=C+n({xnnforn11log(x)otherwise)\int n x^{n - 1}\, dx = C + n \left(\begin{cases} \frac{x^{n}}{n} & \text{for}\: n - 1 \neq -1 \\\log{\left(x \right)} & \text{otherwise} \end{cases}\right)
The answer [src]
/       n                                    
|  1 - 0     for And(n > -oo, n < oo, n != 0)
<                                            
|oo*sign(n)             otherwise            
\                                            
{10nforn>n<n0sign(n)otherwise\begin{cases} 1 - 0^{n} & \text{for}\: n > -\infty \wedge n < \infty \wedge n \neq 0 \\\infty \operatorname{sign}{\left(n \right)} & \text{otherwise} \end{cases}
=
=
/       n                                    
|  1 - 0     for And(n > -oo, n < oo, n != 0)
<                                            
|oo*sign(n)             otherwise            
\                                            
{10nforn>n<n0sign(n)otherwise\begin{cases} 1 - 0^{n} & \text{for}\: n > -\infty \wedge n < \infty \wedge n \neq 0 \\\infty \operatorname{sign}{\left(n \right)} & \text{otherwise} \end{cases}
Piecewise((1 - 0^n, (n > -oo)∧(n < oo)∧(Ne(n, 0))), (oo*sign(n), True))

    Use the examples entering the upper and lower limits of integration.