Integrals step by step, from the antiderivative to the definite integral

Antiderivatives, substitution, integration by parts and definite integrals in short lessons, with every question solved line by line.

Free and without ads.

See a worked solution

Quadratic equation

x2−5x+6=0x^2 - 5x + 6 = 0
  1. Δ=(−5)2−4⋅1⋅6\displaystyle \Delta = (-5)^2 - 4 \cdot 1 \cdot 6
  2. Δ=25−24=1\displaystyle \Delta = 25 - 24 = 1
  3. x=5±12\displaystyle x = \frac{5 \pm 1}{2}

Answer x1=2,  x2=3x_1 = 2,\; x_2 = 3

Percentage

15%⋅24015\% \cdot 240
  1. 10%⋅240=24\displaystyle 10\% \cdot 240 = 24
  2. 5%⋅240=12\displaystyle 5\% \cdot 240 = 12
  3. 24+12\displaystyle 24 + 12

Answer 3636

Fractions

23+14\frac{2}{3} + \frac{1}{4}
  1. lcm⁡(3,4)=12\displaystyle \operatorname{lcm}(3, 4) = 12
  2. 812+312\displaystyle \frac{8}{12} + \frac{3}{12}
  3. 8+312\displaystyle \frac{8 + 3}{12}

Answer 1112\frac{11}{12}

Rule of three

x12=4520\frac{x}{12} = \frac{45}{20}
  1. 20x=12⋅45\displaystyle 20x = 12 \cdot 45
  2. 20x=540\displaystyle 20x = 540
  3. x=54020\displaystyle x = \frac{540}{20}

Answer x=27x = 27

Logarithm

log⁡248−log⁡23\log_2 48 - \log_2 3
  1. log⁡2483\displaystyle \log_2 \frac{48}{3}
  2. log⁡216\displaystyle \log_2 16
  3. 16=24\displaystyle 16 = 2^4

Answer 44

What you get

Worked examples

A direct antiderivative, a substitution, a definite integral and an integration by parts.

Power rule

∫(6x2−4x+3) dx\int (6x^2 - 4x + 3)\,dx
  1. ∫xn dx=xn+1n+1+C\displaystyle \int x^n\,dx = \frac{x^{n+1}}{n+1} + C

    It holds for n ≠ −1; you integrate term by term.

  2. 6⋅x33−4⋅x22+3x+C\displaystyle 6\cdot\frac{x^3}{3} - 4\cdot\frac{x^2}{2} + 3x + C

    The exponent goes up by 1 and divides the term; the constant 3 becomes 3x.

Answer 2x3−2x2+3x+C2x^3 - 2x^2 + 3x + C

Substitution

∫2xcos⁡(x2) dx\int 2x\cos(x^2)\,dx
  1. u=x2,du=2x dx\displaystyle u = x^2,\quad du = 2x\,dx

    The derivative of the inner function, 2x, already appears as a factor: that is the signal to substitute.

  2. ∫cos⁡u du=sin⁡u+C\displaystyle \int \cos u\,du = \sin u + C

    After the change, what is left is an immediate antiderivative.

Answer sin⁡(x2)+C\sin(x^2) + C

Definite integral

∫02(x2+1) dx\int_0^2 (x^2 + 1)\,dx
  1. [x33+x]02\displaystyle \left[\frac{x^3}{3} + x\right]_0^2

    By the Fundamental Theorem of Calculus, an antiderivative evaluated at the limits is enough.

  2. (83+2)−(0+0)\displaystyle \left(\frac{8}{3} + 2\right) - (0 + 0)

    You plug in the upper limit and subtract the value at the lower one.

Answer 143\frac{14}{3}

Integration by parts

∫x ex dx\int x\,e^x\,dx
  1. ∫u dv=uv−∫v du\displaystyle \int u\,dv = uv - \int v\,du

    You choose u = x, which gets simpler when differentiated, and dv = eˣ dx.

  2. x ex−∫ex dx\displaystyle x\,e^x - \int e^x\,dx

    du = dx and v = eˣ.

Answer ex(x−1)+Ce^x(x - 1) + C

Frequently asked questions about integrals

What is the difference between an indefinite and a definite integral?

The indefinite integral is the family of antiderivatives of a function, which is why it carries the constant C. The definite integral is a number: the antiderivative evaluated at the upper limit minus the one evaluated at the lower limit, which measures the signed area under the graph.

Why does the indefinite integral have + C?

Because functions that differ by a constant have the same derivative. Without the C, the answer would lose infinitely many valid antiderivatives.

How do I know when to use substitution or integration by parts?

Use substitution when a composite function appears together with the derivative of its inner part. Use integration by parts when the integrand is a product of different types, such as a polynomial times an exponential, and differentiating one of the factors simplifies it.

Does Math Mental solve any integral I type in?

It is not a calculator. These are lessons with questions solved step by step, so you learn the technique and can solve on your own in the exam.

Is it free?

Yes. The lessons are free and without ads.

Do the first lesson