Integral Calculator
Type a function of x to integrate it and see how each step is chosen.
Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).
Try
Result
You entered
Show the work
Constant multiple rule
The constant factor can be moved outside the integral.
Using
u-substitution
Choose , the inner function. Its derivative is already in the integrand, so everything else becomes a function of alone.
Using
Rewrite in u
Replace by and by .
Constant multiple rule
The constant factor can be moved outside the integral.
Using
Integral of cosine
This is one of the basic integrals, so the answer is read straight from the table.
Using
Substitute back
Replace by .
Result
An antiderivative is only defined up to a constant, so the constant of integration is added.