HexMathv1.0.4

Integral calculator with steps

This integral calculator finds indefinite integrals with the constant + C and definite integrals with numeric limits. Type the integral or scan it from a photo. HexMath returns the result and shows the method at each step, such as substitution, integration by parts or a standard form, with the limits evaluated at the end.

Loading math input...

What this page covers

  • Indefinite integrals of elementary functions, written with the constant + C.
  • Definite integrals with numeric limits, evaluated at the end.
  • Substitution, integration by parts, and standard forms for powers, exponentials, logarithms and trigonometric functions.
  • Not covered here: improper integrals with infinite limits, double and triple integrals, and numerical approximation of integrals with no closed form. You can still type one and see what the solver says.

How to enter the problem

  • Type ∫ from the math keyboard, or type "integral of" followed by the function and dx. Put limits on the integral sign for a definite integral.
  • Scan it. Fit the one integral in the frame.
  • Choose a photo. Several problems in one photo are solved as a list.
  • Then tap Solve.

Worked example

Evaluate ∫₀¹ ((2x)/(x² + 1)) dx.

Problem

Evaluate ∫012xx2+1 dx\displaystyle \int_0^1 \frac{2x}{x^2 + 1}\,dx.

Answer

Verified

The answer is

ln⁡2\ln 2

Explanation

  1. Look for a substitution
    The derivative of the denominator x2+1x^2 + 1 is 2x2x, which is exactly the numerator. Set u=x2+1u = x^2 + 1, so du=2x dxdu = 2x\,dx.
  2. Change the limits
    x=0x = 0 gives u=1u = 1; x=1x = 1 gives u=2u = 2.
  3. Rewrite the integral
    ∫121u du\int_1^2 \frac{1}{u}\,du.
  4. Integrate
    [ln⁡∣u∣]12=ln⁡2−ln⁡1\left[\ln|u|\right]_1^2 = \ln 2 - \ln 1
  5. Simplify
    ln⁡1=0\ln 1 = 0, so the value is ln⁡2≈0.693\ln 2 \approx 0.693.

Common mistakes

  • Leaving out + C+\,C on an indefinite integral.
  • Forgetting the 12\tfrac{1}{2} when integrating e2xe^{2x}: the antiderivative is 12e2x\tfrac{1}{2}e^{2x}, not e2xe^{2x}.
  • Choosing u=e2xu = e^{2x} and dv=x dxdv = x\,dx, which makes the remaining integral harder rather than simpler.
  • In a definite integral with substitution, keeping the old limits after changing the variable. Either change the limits with the substitution or substitute back before evaluating.

Checks, assumptions and limits

  • Check by differentiating. The derivative of e2x4(2x−1)\frac{e^{2x}}{4}(2x - 1) is xe2xx e^{2x}, the original integrand. If it is not, a step is wrong.
  • For a definite integral, check the number with a rough estimate: for the example in the solver above, the integrand is between 0 and 1 on [0,1][0, 1], so ln⁡2≈0.69\ln 2 \approx 0.69 is plausible.
  • The integrand must be defined on the whole interval. On this page's examples it is; a denominator that reaches zero inside the limits makes the integral improper, which is outside this page.
  • HexMath can make mistakes. Double check important steps.

Frequently asked questions

Yes. Write limits on the integral sign for a definite integral and you get a number; leave them off and you get an antiderivative with + C.

Yes. Each step has a short title, such as the substitution chosen or the parts used, followed by the working.

Yes. Use the camera on one problem, or choose a photo. Several problems in one photo are solved as a list.

Yes — 3 math questions a day with a free account, no card. Unlimited with Pro.

Ready to solve your next math problem?

Create a free account for 3 math questions a day in your browser. No card.

Get HexMath on your phone

The same solver and camera scan on iPhone and Android.

Last updated: · HexMath