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).
Result
You entered
Show the work
Partial fractions
The denominator is factored. Each linear factor gets a constant over it (one term for every power), and each irreducible quadratic factor gets a linear numerator over it.
Using
Solve for the coefficients
Multiply through by the denominator and compare coefficients of like powers of x (a linear system).
Integrate each term
Each term has a basic antiderivative: a logarithm for a first power, a power for a higher power, and a logarithm plus an arctangent for a quadratic.
Using
Result
An antiderivative is only defined up to a constant, so the constant of integration is added.