Find an antiderivative or a definite integral. Choose the integration variable and supply bounds when needed.
Integral Solver
Maths solverUse a photo, screenshot, or scanned question.
Supported images · up to 20 MB
JPG, PNG, WebP, GIF, AVIF, BMP, ICO, SVG, HEIC/HEIF, and TIFF. Animated and multipage files use the first image. If a file cannot be opened, export it as JPG or PNG.
Write maths as it looks on paper. Use fractions, roots, powers, and the keys below. Select the main expression or a smaller maths field before using the keys. Optional boxes may be left blank; the solver will ask if essential information is missing. Tap a placeholder or use the box arrows below the keyboard to move between index, limits, and expression fields.
Write an equation or describe a word problem. Include any units and what you need to find.
AI-assisted worked solutions. Check the result against your original question. Please leave out personal information.
Step by Step Calculation
Follow each part of the solution below.
Integrate a function with the right question in mind
An integral can describe a family of antiderivatives or an accumulated quantity across an interval. The distinction determines the inputs this solver asks for. Choose Indefinite to find a function whose derivative is the integrand. Choose Definite to accumulate signed values between a lower and an upper bound. The variable selector tells the solver which symbol is changing during integration.
Enter the integrand itself in Math Input. Fraction and root keys help keep grouping clear: \(1/(x+1)\) and \(1/x+1\) are different functions. For a definite integral, the two extra maths fields accept numbers or exact expressions such as \(\pi\). Select a bound field before using the keypad if you want to insert a fraction or mathematical symbol there.
Build an antiderivative one term at a time
Take \(6x^2-4x+5\). Integration distributes across this sum. For a power \(x^n\) with \(n\ne-1\), increase the exponent by one and divide by the new exponent. Constant multipliers stay attached to their terms.
The constant \(C\) matters because differentiating any constant gives zero. Without an initial condition, every member of this family is a valid antiderivative. You can check the result directly: the derivatives of the three polynomial terms are \(6x^2\), \(-4x\), and five, respectively.
Use the bounds in their stated order
For a continuous integrand on the interval, an antiderivative \(F\) gives the definite integral through \(F(b)-F(a)\). The upper-bound value comes first. For example, integrating \(2x+3\) from one to four gives:
There is no additional \(C\) in the final definite value because the same constant cancels in the subtraction. Reversing the bounds reverses the sign: the integral from four to one is \(-24\). A negative result can therefore be correct even when the displayed formula is positive over the interval.
Recognise the logarithm exception
The power rule cannot be applied with exponent \(-1\), because it would ask you to divide by zero. The reciprocal function instead has a logarithmic antiderivative:
The absolute value allows the formula to describe real antiderivatives on intervals lying on either side of zero. It does not make the function defined at zero, and it does not permit a definite integral to cross zero without examining convergence.
Check breaks before substituting endpoints
A singularity inside an interval changes the problem. The ordinary improper integral of \(1/x\) from \(-1\) to one does not converge: the two sides must be evaluated as separate limits, and neither is finite. Obtaining zero by subtracting endpoint logarithms would silently replace the original question with a different calculation.
Signed accumulation is also different from total geometric area. Over \([-1,1]\), the integral of \(x\) is zero because positive and negative contributions cancel. The area between the graph and the horizontal axis is one square unit, found by integrating \(|x|\). State which quantity you need when the wording of a problem is ambiguous.
When the answer is not an elementary formula
Some familiar-looking functions, including \(e^{-x^2}\), have no elementary antiderivative. A correct solution may use a named special function or, for a definite integral, a clearly identified numerical approximation. A decimal should not be presented as an exact symbolic identity. Check the method, units, interval, and requested precision before using such a result.
For practice, integrate \(3x^2\) indefinitely, then integrate the same function from zero to two. The first result is \(x^3+C\); the second is eight. Differentiation checks the first answer, while endpoint substitution checks the second. Use the Limit Solver when an endpoint requires a limiting argument, or the Graphing Calculator to inspect the function’s shape.