Fundamental Theorem of Calculus

Compute the exact value of a definite integral using the antiderivative—connect area under a curve to the accumulation of change.

abf(x)dx=F(b)F(a)\int_a^b f(x)\,dx = F(b) - F(a)

Solve a problem with Fundamental Theorem of Calculus

Type the problem. The solver will use Fundamental Theorem of Calculus where Fundamental Theorem of Calculus is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Fundamental Theorem of Calculus takes
ff
FF
aa
bb
xx
Fundamental Theorem of Calculus
SymbolMeaning
ffThe original function being integrated; represents a rate of change or the height of a curve at each point. If you apply the Fundamental Theorem formula directly to ff instead of its antiderivative, your answer will be wrong.
FFThe antiderivative of ff, also called a primitive; a function whose derivative equals ff. If you forget to find FF before applying the Fundamental Theorem, you have no way to compute the definite integral.
aaThe lower limit of integration, the starting point where accumulation begins. If you accidentally swap aa with bb, your final answer will have the opposite sign.
bbThe upper limit of integration, the ending point where accumulation stops. If you accidentally swap bb with aa, your final answer will change sign.
xxThe variable of integration, the independent variable that ff depends on. If you treat xx as a constant rather than a variable, you cannot perform the integration.

When to use it

Use the Fundamental Theorem when you need to evaluate a definite integral and you can find an antiderivative of the integrand.

Level

Usually taught in: Calculus I · Appears on: AP Calculus

Worked examples

1. Evaluate a simple integral with small integer bounds

Problem

Evaluate 132xdx\int_1^3 2x \, dx.
  1. F(x)=x2F(x) = x^2

    Find the antiderivative of 2x2x using the power rule: since the derivative of x2x^2 is 2x2x, we have F(x)=x2F(x) = x^2.

  2. [x2]13[x^2]_1^3

    Apply the Fundamental Theorem by setting up the bracket notation showing the antiderivative and bounds.

  3. =3212= 3^2 - 1^2

    Substitute the upper bound and lower bound: compute F(3)F(1)F(3) - F(1).

  4. =91=8= 9 - 1 = 8

    Evaluate the arithmetic: 32=93^2 = 9 and 12=11^2 = 1, then subtract to get the final answer.

Answer: 88

This problem demonstrates the core Fundamental Theorem procedure: find the antiderivative, set up brackets with the bounds, substitute the bounds, and subtract. The positive answer reflects that the function 2x2x is positive throughout this interval.

2. Integrate a polynomial with a negative bound and fractional simplification

Problem

Evaluate 12(x23x)dx\int_{-1}^2 (x^2 - 3x) \, dx.
  1. F(x)=x333x22F(x) = \frac{x^3}{3} - \frac{3x^2}{2}

    Integrate term by term using the power rule: x2dx=x33\int x^2 \, dx = \frac{x^3}{3} and 3xdx=3x22\int 3x \, dx = \frac{3x^2}{2}.

  2. [x333x22]12\left[\frac{x^3}{3} - \frac{3x^2}{2}\right]_{-1}^2

    Set up the Fundamental Theorem bracket notation with bounds 1-1 and 22.

  3. F(2)=2333(2)22=836=103F(2) = \frac{2^3}{3} - \frac{3(2)^2}{2} = \frac{8}{3} - 6 = -\frac{10}{3}

    Evaluate at the upper bound x=2x = 2: compute 836=83183=103\frac{8}{3} - 6 = \frac{8}{3} - \frac{18}{3} = -\frac{10}{3} using a common denominator.

  4. F(1)=(1)333(1)22=1332=116F(-1) = \frac{(-1)^3}{3} - \frac{3(-1)^2}{2} = -\frac{1}{3} - \frac{3}{2} = -\frac{11}{6}

    Evaluate at the lower bound x=1x = -1: convert 1332-\frac{1}{3} - \frac{3}{2} to a common denominator to get 116-\frac{11}{6}.

  5. F(2)F(1)=103(116)=206+116=96=32F(2) - F(-1) = -\frac{10}{3} - \left(-\frac{11}{6}\right) = -\frac{20}{6} + \frac{11}{6} = -\frac{9}{6} = -\frac{3}{2}

    Subtract: convert to sixths, compute 206+116=96-\frac{20}{6} + \frac{11}{6} = -\frac{9}{6}, then simplify to 32-\frac{3}{2}.

Answer: 32-\frac{3}{2}

This problem requires careful handling of negative bounds and fraction arithmetic. The negative answer is correct and tells us that on balance, the region where x23xx^2 - 3x is negative (below the x-axis) has greater area than where it is positive. Tracking common denominators throughout is essential.

3. Apply the Fundamental Theorem to a real-world rate problem: phone data consumption

Problem

A phone company charges a monthly base fee of $35\$35 plus $2\$2 per gigabyte of data used. On day xx of a 30-day billing cycle, the rate of data consumption is r(x)=0.1xr(x) = 0.1x gigabytes per day. How much will the data charges be for the month (not counting the base fee)?
  1. Total data=0300.1xdx\text{Total data} = \int_0^{30} 0.1x \, dx

    To find total data consumption over the month, integrate the daily consumption rate from day 0 to day 30.

  2. F(x)=0.05x2F(x) = 0.05x^2

    Find the antiderivative using the power rule: 0.1xdx=0.1x22=0.05x2\int 0.1x \, dx = 0.1 \cdot \frac{x^2}{2} = 0.05x^2.

  3. [0.05x2]030=0.05(30)20.05(0)2[0.05x^2]_0^{30} = 0.05(30)^2 - 0.05(0)^2

    Apply the Fundamental Theorem: evaluate the antiderivative at day 30 and day 0.

  4. =0.05(900)0=45 GB= 0.05(900) - 0 = 45 \text{ GB}

    Compute: 0.05×900=450.05 \times 900 = 45 gigabytes total accumulated over the 30-day period.

  5. Data cost=45×2=90 dollars\text{Data cost} = 45 \times 2 = 90 \text{ dollars}

    Multiply total gigabytes by the per-gigabyte cost: 45 GB×$2/GB=$9045 \text{ GB} \times \$2/\text{GB} = \$90.

Answer: 90 dollars90 \text{ dollars}

The Fundamental Theorem transforms a rate function (data per day) into a total (data for the month), which we then use for billing. Since the rate increases throughout the month, integration correctly captures how usage accelerates over time. This shows why FTC is indispensable in applied settings where rates must be accumulated into totals.

Common mistakes

Where Fundamental Theorem of Calculus usually goes wrong
Answer came out wrong
Writing 132xdx=2(3)2(1)=62=4\int_1^3 2x \, dx = 2(3) - 2(1) = 6 - 2 = 4.
First find the antiderivative: F(x)=x2F(x) = x^2, then apply the theorem correctly: [x2]13=3212=91=8[x^2]_1^3 = 3^2 - 1^2 = 9 - 1 = 8.
When computing 053x2dx\int_0^5 3x^2 \, dx, writing [x3]05[x^3]_0^5 and stopping there without evaluating the bounds.
Finish the calculation: [x3]05=5303=1250=125[x^3]_0^5 = 5^3 - 0^3 = 125 - 0 = 125.
When evaluating 24xdx\int_2^4 x \, dx, computing [x22]24=222422=28=6\left[\frac{x^2}{2}\right]_2^4 = \frac{2^2}{2} - \frac{4^2}{2} = 2 - 8 = -6.
Compute in the correct order: [x22]24=422222=82=6\left[\frac{x^2}{2}\right]_2^4 = \frac{4^2}{2} - \frac{2^2}{2} = 8 - 2 = 6 (a positive answer).
The mistakeWhy it is wrongThe fix
Writing 132xdx=2(3)2(1)=62=4\int_1^3 2x \, dx = 2(3) - 2(1) = 6 - 2 = 4.You applied the Fundamental Theorem formula to the original function f(x)=2xf(x) = 2x instead of to its antiderivative F(x)=x2F(x) = x^2.First find the antiderivative: F(x)=x2F(x) = x^2, then apply the theorem correctly: [x2]13=3212=91=8[x^2]_1^3 = 3^2 - 1^2 = 9 - 1 = 8.
When computing 053x2dx\int_0^5 3x^2 \, dx, writing [x3]05[x^3]_0^5 and stopping there without evaluating the bounds.You found the correct antiderivative but failed to complete the Fundamental Theorem procedure by substituting and subtracting at the bounds.Finish the calculation: [x3]05=5303=1250=125[x^3]_0^5 = 5^3 - 0^3 = 125 - 0 = 125.
When evaluating 24xdx\int_2^4 x \, dx, computing [x22]24=222422=28=6\left[\frac{x^2}{2}\right]_2^4 = \frac{2^2}{2} - \frac{4^2}{2} = 2 - 8 = -6.You subtracted in reverse order; the Fundamental Theorem requires upper bound minus lower bound, not the other way around.Compute in the correct order: [x22]24=422222=82=6\left[\frac{x^2}{2}\right]_2^4 = \frac{4^2}{2} - \frac{2^2}{2} = 8 - 2 = 6 (a positive answer).

Tips and when to use something else

  • Always find the antiderivative F(x)F(x) first before applying the Fundamental Theorem—never confuse the original function ff with its antiderivative.
  • Remember the order: it is always F(b)F(a)F(b) - F(a) (upper bound minus lower bound), or your final answer will have the wrong sign.
  • When integrating a sum or difference of terms, integrate each term separately using the power rule and other standard antiderivative formulas, then combine them before applying the bounds.
  • If you cannot find an antiderivative by hand or the function is discontinuous on your interval, use numerical methods (Riemann sums or the Trapezoidal Rule) instead of the Fundamental Theorem.

Frequently asked questions

What is the difference between an indefinite integral and the Fundamental Theorem?
An indefinite integral, f(x)dx=F(x)+C\int f(x) \, dx = F(x) + C, finds a general family of antiderivatives. The Fundamental Theorem uses a specific antiderivative and two bounds to compute a definite integral (a single number): abf(x)dx=F(b)F(a)\int_a^b f(x) \, dx = F(b) - F(a). In other words, you use indefinite integrals as a tool within the Fundamental Theorem to find the antiderivative you need.
Why do I sometimes get a negative answer, and is that correct?
A negative result means the function dips below the x-axis, so the signed area below the axis outweighs the signed area above. This is the correct behavior of the definite integral: it measures signed area. If your arithmetic is correct, a negative answer is a valid and meaningful result.
Can the Fundamental Theorem always be used to evaluate a definite integral?
The Fundamental Theorem applies when ff is continuous on [a,b][a, b] and you can find a closed-form antiderivative. Most basic functions (polynomials, exponentials, logarithms, trigonometric functions) have antiderivatives. However, some functions like sin(x)x\frac{\sin(x)}{x} do not have a simple closed-form antiderivative, so you must use numerical approximation instead.
What should I do if I cannot find an antiderivative?
Check whether the integrand matches a standard antiderivative formula or can be rewritten to match one. If it involves a product or composition, try techniques like uu-substitution or integration by parts. If an antiderivative still eludes you, approximate the definite integral using a numerical method such as Riemann sums or the Trapezoidal Rule.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18