$\displaystyle\int x^n\,dx$ (where $n \ne -1$) equals:
- $x^n \log x + C$
- $\dfrac{x^{n-1}}{n-1} + C$
- $\dfrac{x^{n+1}}{n+1} + C$
- $n x^{n-1} + C$
Show answer and solution
Correct answer: C. $\dfrac{x^{n+1}}{n+1} + C$
$\dfrac{d}{dx}\left(\dfrac{x^{n+1}}{n+1}\right) = x^n$ for $n \ne -1$
so by anti-differentiation $\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C$.
The exception $n = -1$ is handled separately as $\int \dfrac{1}{x}\,dx = \log|x| + C$.