How to find the area under a curve

The area under y = f(x) from x = a to x = b is the definite integral of f from a to b, the limit of sums of ever-thinner rectangles. It equals F(b) − F(a), where F is an antiderivative of f. For y = x² from 0 to 2, F(x) = x³/3, so the area is 8/3 ≈ 2.67. The integral counts area below the x-axis as negative.

Area=∫abf(x) dx=F(b)−F(a)\text{Area} = \int_a^b f(x)\,dx = F(b) - F(a)

The area under f from a to b is the integral of f(x) dx from a to b, which equals F(b) minus F(a), where F is any function whose derivative is f.

Updated

Four small graphs of the parabola y = x squared from x = 0 to x = 2. The first three fill the region under the curve with amber rectangles: 4 rectangles totaling 1.75, 16 rectangles totaling about 2.42, and 64 rectangles totaling about 2.60, each set fitting the curve more closely. The fourth shades the whole region green, labelled exact area 8/3, about 2.67.
The area under y=x2y = x^2 from 00 to 22, filled with 44, 1616 and 6464 rectangles. Their totals, 1.751.75, about 2.422.42 and about 2.602.60, climb toward the exact area 83≈2.67\frac{8}{3} \approx 2.67, which is the definite integral ∫02x2 dx\int_0^2 x^2\,dx.

Concept map

8 ideas, in the order to learn them. Click one and Zidna draws and narrates an animated lesson on it.

Area Under a Curve

How to find the exact area under a curve: estimate it with rectangles, make the estimate exact with the definite integral, then compute it with one subtraction using an antiderivative and the fundamental theorem of calculus. Area below the x-axis and the distance a moving object travels show what an integral counts.

1

Riemann Sums

An estimate of the area under a curve made by splitting it into thin rectangles and adding up their areas.Generate lesson
2

Antiderivatives

A function whose derivative is the given function: x³/3 is an antiderivative of x², because the derivative of x³/3 is x².Generate lesson
3

Left, Right and Midpoint Sums

Riemann sums that read each rectangle's height at the left end, the right end or the middle of its strip.Builds on Riemann SumsGenerate lesson
4

The Definite Integral

The exact area under a curve from x = a to x = b: the limit of its Riemann sums as the rectangles get infinitely thin.Builds on Riemann SumsGenerate lesson
5

The Trapezoidal Rule

An estimate of the area under a curve made with trapezoids, whose slanted tops join the curve's heights at the two ends of each strip.Builds on Left, Right and Midpoint SumsGenerate lesson
6

The Fundamental Theorem of Calculus

The theorem that the area under f from a to b equals F(b) − F(a), where F is any antiderivative of f.Builds on The Definite Integral, AntiderivativesGenerate lesson
7

Net Signed Area

What a definite integral measures when a curve dips below the x-axis: the area above the axis minus the area below it.Builds on The Definite IntegralGenerate lesson
8

Area Under a Velocity Graph

The area under an object's velocity-time graph: its displacement, or, counting area below the axis as positive, the distance it travels.Builds on The Fundamental Theorem of Calculus, Net Signed AreaGenerate lesson

Key ideas

  1. 01

    The area under a curve is the area of the region between the graph of ff and the xx-axis from x=ax = a to x=bx = b, written as the definite integral ∫abf(x) dx\int_a^b f(x)\,dx.

  2. 02

    A Riemann sum estimates the area with rectangles: split [a,b][a, b] into nn strips of width Δx=b−an\Delta x = \frac{b - a}{n}, give each strip a height from ff, and add the areas.

  3. 03

    Thinner rectangles give closer estimates. The definite integral is the exact area: the limit of the Riemann sums as the number of rectangles goes to infinity.

  4. 04

    The fundamental theorem of calculus finds the exact area in one step: if F′(x)=f(x)F'(x) = f(x), then ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a).

  5. 05

    A definite integral counts area below the xx-axis as negative. For the total area between a curve and the axis, split at the crossings and add the absolute values.

What is the area under a curve?

The area under a curve is the area of the region between the graph of y=f(x)y = f(x) and the xx-axis, from the vertical line x=ax = a to the vertical line x=bx = b. It is written as a definite integral, ∫abf(x) dx\int_a^b f(x)\,dx, and read "the integral of f(x)f(x) from aa to bb".

Area=∫abf(x) dx\text{Area} = \int_a^b f(x)\,dx

The area under the graph of f from x = a to x = b is the integral from a to b of f of x, d x.

The parts of the definite integral of f(x) from a to b
SymbolNameWhat it means
∫\intIntegral signA stretched S, for sum: the integral adds up thin strips
aa and bbLower and upper limitsWhere the region starts and stops on the xx-axis
f(x)f(x)IntegrandThe height of the curve above each xx
dxdxDifferentialThe width of each thin strip, along the xx-axis

When the region is a familiar shape, geometry already gives the area, and the integral agrees with it. A region with a curved top, like the one under y=x2y = x^2, has no geometry formula. Calculus finds it by filling the region with thin rectangles.

Areas under a curve that geometry can find, and one it can't
Curve and intervalShape of the regionArea
y=3y = 3 from 00 to 44Rectangle, 4 wide and 3 tall1212
y=xy = x from 00 to 44Triangle, base 4 and height 488
y=x+1y = x + 1 from 00 to 22Trapezoid with parallel sides 1 and 344
y=4−x2y = \sqrt{4 - x^2} from −2-2 to 22Half of a circle of radius 22π≈6.282\pi \approx 6.28
y=x2y = x^2 from 00 to 22Curved top: no formula83≈2.67\frac{8}{3} \approx 2.67, by integration

How do you find the area under a curve with rectangles?

To find the area under a curve with rectangles, split the interval [a,b][a, b] into thin strips, turn each strip into a rectangle whose height is the function's value at one point in the strip, and add up the rectangles' areas. That total is a Riemann sum, and it estimates the area under the curve.

  1. 1Choose the number of rectangles nn and find the width of each: Δx=b−an\Delta x = \frac{b - a}{n}.
  2. 2Mark the strip edges x0=ax_0 = a, x1=a+Δxx_1 = a + \Delta x, x2=a+2Δxx_2 = a + 2\Delta x, up to xn=bx_n = b.
  3. 3In each strip pick one point, its left end, its right end or its midpoint, and find the height ff there.
  4. 4Multiply each height by Δx\Delta x and add. The total estimates the area.
∑i=1nf(xi∗) Δx=f(x1∗) Δx+⋯+f(xn∗) Δx\sum_{i=1}^{n} f(x_i^*)\,\Delta x = f(x_1^*)\,\Delta x + \cdots + f(x_n^*)\,\Delta x

A Riemann sum adds, over all n strips, the height of f at the point chosen in each strip times the strip width delta x.

For y=x2y = x^2 from 00 to 22 with n=4n = 4 rectangles, Δx=2−04=0.5\Delta x = \frac{2 - 0}{4} = 0.5 and the strip edges are 00, 0.50.5, 11, 1.51.5 and 22. The three usual choices of height give three estimates.

Riemann sums for y = x² from 0 to 2 with 4 rectangles of width 0.5
SumHeights usedEstimate
Leftf(0)=0f(0) = 0, f(0.5)=0.25f(0.5) = 0.25, f(1)=1f(1) = 1, f(1.5)=2.25f(1.5) = 2.250.5×3.5=1.750.5 \times 3.5 = 1.75
Rightf(0.5)=0.25f(0.5) = 0.25, f(1)=1f(1) = 1, f(1.5)=2.25f(1.5) = 2.25, f(2)=4f(2) = 40.5×7.5=3.750.5 \times 7.5 = 3.75
Midpointf(0.25)=0.0625f(0.25) = 0.0625, f(0.75)=0.5625f(0.75) = 0.5625, f(1.25)=1.5625f(1.25) = 1.5625, f(1.75)=3.0625f(1.75) = 3.06250.5×5.25=2.6250.5 \times 5.25 = 2.625
Three stacked graphs of y = x squared from 0 to 2, each with four amber rectangles of width 0.5. In the top graph the rectangles take their heights from the left end of each strip and sit under the curve, total 1.75. In the middle graph they take the right ends and poke above the curve, total 3.75. In the bottom graph they take the midpoints, crossing the curve at the middle of each top, total 2.625.
Four rectangles under y=x2y = x^2 from 00 to 22, with heights read at the left ends, the right ends and the midpoints of the strips. The left sum, 1.751.75, sits under the curve; the right sum, 3.753.75, rises above it; the midpoint sum, 2.6252.625, is within 0.0420.042 of the exact area 83\frac{8}{3}.

Each term in a Riemann sum is an area, height times width. More, thinner rectangles hug the curve more closely, so the estimate gets better as nn grows.

Do left or right Riemann sums overestimate?

Whether a left or right Riemann sum overestimates depends on whether the function rises or falls. On an increasing function, a left Riemann sum underestimates the area and a right Riemann sum overestimates it, because each left rectangle takes the lowest height in its strip and each right rectangle the highest. On a decreasing function it is the other way around.

Whether a Riemann sum is too high or too low
Function on [a, b]Left sumRight sum
IncreasingUnderestimateOverestimate
DecreasingOverestimateUnderestimate
Rises and fallsCan be eitherCan be either

The trapezoidal rule replaces each rectangle with a trapezoid whose slanted top joins the curve's heights at the two ends of the strip. Its estimate is the average of the left and right sums: for y=x2y = x^2 on [0,2][0, 2] with 4 strips, 1.75+3.752=2.75\frac{1.75 + 3.75}{2} = 2.75.

Tn=Δx2(f(x0)+2f(x1)+⋯+2f(xn−1)+f(xn))T_n = \frac{\Delta x}{2}\big(f(x_0) + 2f(x_1) + \cdots + 2f(x_{n-1}) + f(x_n)\big)

The trapezoidal rule is delta x over 2 times the sum of the first height, twice every inside height, and the last height.

The midpoint and trapezoid estimates miss in opposite directions, and which way depends on how the curve bends, its concavity.

Midpoint and trapezoid estimates and the bend of the curve
Curve on [a, b]Midpoint sumTrapezoidal rule
Bends upward (concave up), like y=x2y = x^2Underestimate: 2.6252.625Overestimate: 2.752.75
Bends downward (concave down), like y=xy = \sqrt{x}OverestimateUnderestimate

For a function that only rises or only falls on [a,b][a, b], the exact value of ∫abf(x) dx\int_a^b f(x)\,dx always lies between its left and right Riemann sums.

Is the integral the area under the curve?

Yes, where the curve is above the xx-axis: the definite integral ∫abf(x) dx\int_a^b f(x)\,dx is the exact area under the curve from aa to bb. It is defined as the limit of the Riemann sums as the number of rectangles goes to infinity and their width shrinks to 00.

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi∗) Δx\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i^*)\,\Delta x

The integral of f from a to b is the limit, as the number of rectangles n goes to infinity, of the Riemann sum of f times delta x.

Riemann sums for y = x² from 0 to 2 as the rectangles get thinner
Rectangles nLeft sumMidpoint sumRight sum
441.751.752.6252.6253.753.75
10102.282.282.662.663.083.08
1001002.62682.62682.66662.66662.70682.7068
100010002.6626682.6626682.6666662.6666662.6706682.670668
n→∞n \to \infty83\frac{8}{3}83\frac{8}{3}83\frac{8}{3}

The left sums climb and the right sums fall toward the same number, 83=2.6666…\frac{8}{3} = 2.6666\ldots, so ∫02x2 dx=83\int_0^2 x^2\,dx = \frac{8}{3}. For a continuous function the choice of point in each strip doesn't matter: left, right and midpoint sums all reach the same limit.

The notation keeps the shape of the Riemann sum. The ∑\sum became ∫\int, a stretched S for sum; the height f(xi∗)f(x_i^*) became f(x)f(x); and the width Δx\Delta x became dxdx, a strip so thin its width has shrunk toward 00.

The definite integral equals the area only where the curve is above the xx-axis. Where the curve dips below it, the integral counts that area as negative.

How do you find the area under a curve using integration?

To find the area under a curve using integration, find an antiderivative FF of ff, a function whose derivative is ff, and subtract its values at the two ends: the area is F(b)−F(a)F(b) - F(a). This shortcut is the fundamental theorem of calculus, and it replaces the limit of Riemann sums with two substitutions and a subtraction.

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x)\,dx = \Big[F(x)\Big]_a^b = F(b) - F(a)

The integral of f from a to b equals F of x evaluated from a to b: F of b minus F of a, where the derivative of F is f.

  1. 1Write the area as a definite integral, ∫abf(x) dx\int_a^b f(x)\,dx. Check that f(x)≥0f(x) \ge 0 on [a,b][a, b]; if the curve crosses the xx-axis, split the integral at each crossing.
  2. 2Find an antiderivative F(x)F(x). For a power of xx, raise the exponent by one and divide by the new exponent.
  3. 3Work out F(b)F(b) at the upper limit and F(a)F(a) at the lower limit.
  4. 4Subtract: the area is F(b)−F(a)F(b) - F(a), in square units.

For y=x2y = x^2 from 00 to 22: an antiderivative is F(x)=x33F(x) = \frac{x^3}{3}, so the area is 233−033=83\frac{2^3}{3} - \frac{0^3}{3} = \frac{8}{3}, the number the Riemann sums were closing in on.

Antiderivatives for finding areas, with a worked area for each
Function f(x)Antiderivative F(x)Example
kk, a constantkxkx∫143 dx=12−3=9\int_1^4 3\,dx = 12 - 3 = 9
xnx^n, for n≠−1n \ne -1xn+1n+1\frac{x^{n+1}}{n+1}∫01x3 dx=14−0=14\int_0^1 x^3\,dx = \frac{1}{4} - 0 = \frac{1}{4}
x=x1/2\sqrt{x} = x^{1/2}23x3/2\frac{2}{3}x^{3/2}∫01x dx=23−0=23\int_0^1 \sqrt{x}\,dx = \frac{2}{3} - 0 = \frac{2}{3}
1x\frac{1}{x}ln⁡∣x∣\ln |x|∫1e1x dx=1−0=1\int_1^e \frac{1}{x}\,dx = 1 - 0 = 1
exe^xexe^x∫01ex dx=e−1≈1.718\int_0^1 e^x\,dx = e - 1 \approx 1.718
sin⁡x\sin x−cos⁡x-\cos x∫0πsin⁡x dx=1−(−1)=2\int_0^\pi \sin x\,dx = 1 - (-1) = 2
cos⁡x\cos xsin⁡x\sin x∫0π/2cos⁡x dx=1−0=1\int_0^{\pi/2} \cos x\,dx = 1 - 0 = 1

Any antiderivative gives the same area. With x33+7\frac{x^3}{3} + 7 the area under y=x2y = x^2 from 00 to 22 is (83+7)−(0+7)=83\left(\frac{8}{3} + 7\right) - (0 + 7) = \frac{8}{3}: the constant cancels, which is why a definite integral needs no + C+\,C.

Why is the area under a curve the antiderivative?

The area under a curve comes from an antiderivative because the area grows at a rate equal to the curve's height. Let A(x)A(x) be the area under ff from a fixed point aa up to xx. Move xx a little to the right, to x+hx + h, and the area gains a thin strip about f(x)f(x) tall and hh wide, so A(x+h)−A(x)≈f(x)⋅hA(x + h) - A(x) \approx f(x) \cdot h.

A rising curve y = f(t) above a horizontal t-axis. The region under the curve from t = a to t = x is shaded blue and labelled A(x). Next to it, a thin amber strip from x to x + h reaches up to the curve; its left edge is labelled f(x), its width h, and a note says the area gains about f(x) times h.
The area function A(x)A(x), shaded blue, is the area under ff from aa to xx. Moving xx to x+hx + h adds the amber strip, whose area is about f(x)⋅hf(x) \cdot h. So AA grows at the rate f(x)f(x), and A′(x)=f(x)A'(x) = f(x).

Divide by hh: A(x+h)−A(x)h≈f(x)\frac{A(x + h) - A(x)}{h} \approx f(x). When ff is continuous, as h→0h \to 0 the strip becomes a perfect rectangle and the approximation becomes exact, so A′(x)=f(x)A'(x) = f(x). The area function is an antiderivative of ff. This is the first part of the fundamental theorem of calculus.

ddx∫axf(t) dt=f(x)\frac{d}{dx}\int_a^x f(t)\,dt = f(x)

The derivative, with respect to x, of the area under f from a to x is f of x, the height of the curve at x.

The second part follows from it. Every antiderivative FF of ff differs from AA by a constant, and A(a)=0A(a) = 0, since a region with no width has no area. So A(x)=F(x)−F(a)A(x) = F(x) - F(a), and the area from aa to bb is A(b)=F(b)−F(a)A(b) = F(b) - F(a).

The two parts of the fundamental theorem of calculus
PartStatementWhat it says
Firstddx∫axf(t) dt=f(x)\frac{d}{dx}\int_a^x f(t)\,dt = f(x)The rate at which the area grows is the height of the curve
Second∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)Any antiderivative turns an area into a subtraction

Integration and differentiation undo each other: the slope of the area function at xx is the height of the curve at xx.

Can the area under a curve be negative?

An area is never negative, but a definite integral can be. Where a curve lies below the xx-axis, f(x)f(x) is negative, so every rectangle there adds a negative amount, and the integral counts that area as negative. A definite integral gives the net signed area: the area above the axis minus the area below it.

The parabola y = x squared minus 1, crossing the x-axis at x = 1. Between x = 0 and x = 1 the region between the curve and the axis lies below the axis, shaded purple and labelled −2/3. Between x = 1 and x = 2 the region lies above the axis, shaded blue and labelled +4/3.
y=x2−1y = x^2 - 1 from 00 to 22 is below the xx-axis until x=1x = 1 and above it after. The integral counts the purple part as −23-\frac{2}{3} and the blue part as +43+\frac{4}{3}, so ∫02(x2−1) dx=23\int_0^2 (x^2 - 1)\,dx = \frac{2}{3}, while the total area is 22.

With the antiderivative F(x)=x33−xF(x) = \frac{x^3}{3} - x: ∫01(x2−1) dx=F(1)−F(0)=−23\int_0^1 (x^2 - 1)\,dx = F(1) - F(0) = -\frac{2}{3} and ∫12(x2−1) dx=F(2)−F(1)=23−(−23)=43\int_1^2 (x^2 - 1)\,dx = F(2) - F(1) = \frac{2}{3} - \left(-\frac{2}{3}\right) = \frac{4}{3}.

Net signed area and total area for y = x² − 1 from 0 to 2
QuantityCalculationValue
Net signed area∫02(x2−1) dx=−23+43\int_0^2 (x^2 - 1)\,dx = -\frac{2}{3} + \frac{4}{3}23\frac{2}{3}
Total area∣−23∣+43\left|-\frac{2}{3}\right| + \frac{4}{3}22

To find the total area between a curve and the xx-axis:

  1. 1Solve f(x)=0f(x) = 0 to find where the curve crosses the xx-axis between aa and bb.
  2. 2Split [a,b][a, b] at those crossings and integrate ff over each piece.
  3. 3Take the absolute value of each piece's integral and add them.

The net signed area is what the definite integral gives; the total area is how much region there is. A question asking for the area between a curve and the xx-axis wants the total.

What does the area under a curve represent?

The area under a curve represents a total: it adds up the quantity on the yy-axis across the xx-axis, so its units are yy-units times xx-units. Under a velocity–time graph, meters per second times seconds gives meters, so the area is the displacement, how far the object ends up from where it started.

A car driving at a steady 2020 m/s for 66 s has a flat velocity graph, and the area under it is a rectangle: 20×6=12020 \times 6 = 120 m, the distance the car covers. When the velocity changes, the integral of the velocity gives the same kind of total.

What the area under common graphs means
GraphArea under itUnits
Velocity against timeDisplacement, the change in positionm/s × s = m
Acceleration against timeChange in velocitym/s² × s = m/s
Flow rate against timeVolume that has flowedL/min × min = L
Force against distanceWork doneN × m = J
Power against timeEnergy usedkW × h = kWh
Probability density against valueProbabilityNo units; the whole area is 1

This runs the derivative backward: the derivative of position is velocity, and the area under velocity gives back the change in position. Under a normal distribution curve, the area between two values is the probability of a result landing between them.

Worked examples

Left, right and trapezoid estimates from a table

A runner's velocity is measured every 2 seconds. At t=0,2,4,6,8t = 0, 2, 4, 6, 8 s it is 0,4,6,7,7.50, 4, 6, 7, 7.5 m/s. Estimate the distance covered from t=0t = 0 to t=8t = 8 s with a left Riemann sum, a right Riemann sum and the trapezoidal rule.

A velocity–time graph with points at (0, 0), (2, 4), (4, 6), (6, 7) and (8, 7.5), joined by green line segments. Amber rectangles 2 seconds wide stand under the points, each as tall as the point at its left end. Purple dashed lines mark the taller tops of the right-endpoint rectangles. A legend reads left sum: 34 m, trapezoids: 41.5 m, right sum: 49 m.
The five measured velocities as points. The amber left rectangles total 3434 m and sit under the data; the purple dashed tops of the right rectangles total 4949 m and sit over it; the green trapezoid tops join the points and total 41.541.5 m.
  1. 1There are 4 strips, each Δt=2\Delta t = 2 s wide. With 5 measurements, a left sum uses the first 4 velocities and a right sum the last 4.
  2. 2Left sum: 2(0+4+6+7)=2×17=342(0 + 4 + 6 + 7) = 2 \times 17 = 34 m.
  3. 3Right sum: 2(4+6+7+7.5)=2×24.5=492(4 + 6 + 7 + 7.5) = 2 \times 24.5 = 49 m.
  4. 4Trapezoidal rule: 22(0+2(4)+2(6)+2(7)+7.5)=41.5\frac{2}{2}\big(0 + 2(4) + 2(6) + 2(7) + 7.5\big) = 41.5 m, the average of 3434 and 4949.
  5. 5If the velocity rises the whole time, as the measurements suggest, the left sum is too low and the right sum too high, so the true distance is between 3434 m and 4949 m.

Answer: Left sum 3434 m, right sum 4949 m, trapezoidal rule 41.541.5 m. The best estimate of the distance is about 41.541.5 m.

The area under y = x² from 0 to 2, both ways

Find the exact area under y=x2y = x^2 from x=0x = 0 to x=2x = 2, first as the limit of right Riemann sums, then with the fundamental theorem of calculus.

  1. 1Width and points: Δx=2−0n=2n\Delta x = \frac{2 - 0}{n} = \frac{2}{n}, and the right endpoints are xi=2inx_i = \frac{2i}{n} for i=1,2,…,ni = 1, 2, \ldots, n.
  2. 2Heights: f(xi)=(2in)2=4i2n2f(x_i) = \left(\frac{2i}{n}\right)^2 = \frac{4i^2}{n^2}.
  3. 3Riemann sum: Rn=∑i=1n4i2n2⋅2n=8n3∑i=1ni2R_n = \sum_{i=1}^{n} \frac{4i^2}{n^2} \cdot \frac{2}{n} = \frac{8}{n^3} \sum_{i=1}^{n} i^2.
  4. 4Use ∑i=1ni2=n(n+1)(2n+1)6\sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6}: Rn=8n3⋅n(n+1)(2n+1)6=4(n+1)(2n+1)3n2R_n = \frac{8}{n^3} \cdot \frac{n(n+1)(2n+1)}{6} = \frac{4(n+1)(2n+1)}{3n^2}. Check with n=4n = 4: 4⋅5⋅948=3.75\frac{4 \cdot 5 \cdot 9}{48} = 3.75, the right sum found with 4 rectangles.
  5. 5Take the limit: Rn=43(1+1n)(2+1n)→43⋅1⋅2=83R_n = \frac{4}{3}\left(1 + \frac{1}{n}\right)\left(2 + \frac{1}{n}\right) \to \frac{4}{3} \cdot 1 \cdot 2 = \frac{8}{3} as n→∞n \to \infty.
  6. 6With the fundamental theorem: an antiderivative of x2x^2 is x33\frac{x^3}{3}, so ∫02x2 dx=233−033=83\int_0^2 x^2\,dx = \frac{2^3}{3} - \frac{0^3}{3} = \frac{8}{3}.

Answer: The area is 83≈2.67\frac{8}{3} \approx 2.67 square units both ways. The fundamental theorem gets there in one line.

The area under a square root curve

Find the area under y=xy = \sqrt{x} from x=1x = 1 to x=4x = 4.

  1. 1Check the sign: x≥0\sqrt{x} \ge 0 on [1,4][1, 4], so the integral ∫14x dx\int_1^4 \sqrt{x}\,dx is the area.
  2. 2Rewrite as a power: x=x1/2\sqrt{x} = x^{1/2}.
  3. 3Antiderivative: raise the exponent to 32\frac{3}{2} and divide by 32\frac{3}{2}, giving F(x)=23x3/2F(x) = \frac{2}{3}x^{3/2}.
  4. 4Evaluate: F(4)=23⋅43/2=23⋅8=163F(4) = \frac{2}{3} \cdot 4^{3/2} = \frac{2}{3} \cdot 8 = \frac{16}{3}, and F(1)=23⋅1=23F(1) = \frac{2}{3} \cdot 1 = \frac{2}{3}.
  5. 5Subtract: 163−23=143\frac{16}{3} - \frac{2}{3} = \frac{14}{3}.

Answer: 143≈4.67\frac{14}{3} \approx 4.67 square units.

Displacement and distance from a velocity curve

A particle moves along a line with velocity v(t)=t2−4t+3v(t) = t^2 - 4t + 3 m/s. Find its displacement and the total distance it travels from t=0t = 0 to t=4t = 4 s.

The parabola v(t) = t squared minus 4t plus 3 from t = 0 to t = 4, crossing the t-axis at t = 1 and t = 3. The region between the curve and the axis is shaded blue and labelled +4/3 from 0 to 1, purple and labelled −4/3 below the axis from 1 to 3, and blue and labelled +4/3 from 3 to 4.
The velocity is positive until t=1t = 1, negative from t=1t = 1 to t=3t = 3, and positive again after. The three areas are +43+\frac{4}{3}, −43-\frac{4}{3} and +43+\frac{4}{3}: their sum, 43\frac{4}{3} m, is the displacement, and the sum of their sizes, 44 m, is the distance.
  1. 1Find where the velocity is 00: t2−4t+3=(t−1)(t−3)=0t^2 - 4t + 3 = (t - 1)(t - 3) = 0 at t=1t = 1 and t=3t = 3. The particle moves forward, then backward, then forward again.
  2. 2Antiderivative: V(t)=t33−2t2+3tV(t) = \frac{t^3}{3} - 2t^2 + 3t, with V(0)=0V(0) = 0, V(1)=43V(1) = \frac{4}{3}, V(3)=0V(3) = 0 and V(4)=43V(4) = \frac{4}{3}.
  3. 3Integrate each piece: ∫01v dt=43\int_0^1 v\,dt = \frac{4}{3}, ∫13v dt=0−43=−43\int_1^3 v\,dt = 0 - \frac{4}{3} = -\frac{4}{3} and ∫34v dt=43−0=43\int_3^4 v\,dt = \frac{4}{3} - 0 = \frac{4}{3}.
  4. 4Displacement is the net signed area: ∫04v dt=V(4)−V(0)=43\int_0^4 v\,dt = V(4) - V(0) = \frac{4}{3} m.
  5. 5Distance is the total area: 43+43+43=4\frac{4}{3} + \frac{4}{3} + \frac{4}{3} = 4 m.

Answer: The displacement is 43≈1.33\frac{4}{3} \approx 1.33 m forward, and the particle travels 44 m in all.

Check yourself

  1. 1.4 rectangles of equal width cover the interval from x = 1 to x = 9. How wide is each?Show answer

    2, since (9 − 1) ÷ 4 = 2.

  2. 2.Estimate the area under y = x² from 0 to 2 with a right Riemann sum of 2 rectangles.Show answer

    5. Each rectangle is 1 wide, with heights f(1) = 1 and f(2) = 4, so 1 × 1 + 4 × 1 = 5.

  3. 3.f is increasing on [a, b]. Does a left Riemann sum overestimate or underestimate the area under it?Show answer

    Underestimate. Each left rectangle takes the lowest height in its strip, so it sits under the curve.

  4. 4.What is the area under y = 3 from x = 1 to x = 5?Show answer

    12. The region is a rectangle 4 wide and 3 tall.

  5. 5.Find the integral of x² from 0 to 3.Show answer

    9. An antiderivative is x³/3, and 27/3 − 0 = 9.

  6. 6.Find the area under y = 2x from x = 0 to x = 4.Show answer

    16. An antiderivative is x², and 16 − 0 = 16. The region is also a triangle with base 4 and height 8.

  7. 7.Find the integral of √x from 0 to 4.Show answer

    16/3 ≈ 5.33. Write √x as x^(1/2); an antiderivative is (2/3)x^(3/2), and (2/3) × 8 = 16/3.

  8. 8.F is an antiderivative of f, with F(1) = 4 and F(3) = 10. What is the integral of f from 1 to 3?Show answer

    6, since F(3) − F(1) = 10 − 4 = 6.

  9. 9.The integral of f from 0 to 2 is 5, and from 2 to 5 it is −3. What is the integral of f from 0 to 5?Show answer

    2. Integrals over neighboring intervals add: 5 + (−3) = 2.

  10. 10.What is the integral of x³ from −1 to 1?Show answer

    0. The area below the x-axis from −1 to 0 cancels the equal area above it from 0 to 1.

  11. 11.A car drives at a steady 15 m/s for 8 seconds. What is the area under its velocity graph, and what does it mean?Show answer

    120 m: the 8-by-15 rectangle under the graph is the distance the car travels.

Common mistakes

  • Adding the heights in a Riemann sum and forgetting the width: for 4 right rectangles under y=x2y = x^2 on [0,2][0, 2], answering 0.25+1+2.25+4=7.50.25 + 1 + 2.25 + 4 = 7.5.Multiply by Δx=0.5\Delta x = 0.5: 7.5×0.5=3.757.5 \times 0.5 = 3.75. Each term of a Riemann sum is a rectangle's area, height times width.
  • Using all n+1n + 1 values in a table for a left or right Riemann sum.With nn strips, a left sum uses the first nn heights and leaves out the last; a right sum uses the last nn and leaves out the first.
  • Subtracting in the wrong order, F(a)−F(b)F(a) - F(b), and getting the area with the wrong sign.Upper limit minus lower limit: ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a). For ∫132x dx\int_1^3 2x\,dx, that is 32−12=83^2 - 1^2 = 8, not −8-8.
  • Forgetting F(a)F(a) when the lower limit isn't 00: writing ∫14x dx=23⋅43/2=163\int_1^4 \sqrt{x}\,dx = \frac{2}{3} \cdot 4^{3/2} = \frac{16}{3}.Always subtract the antiderivative at the lower limit: 163−23=143\frac{16}{3} - \frac{2}{3} = \frac{14}{3}.
  • Integrating straight across a curve that dips below the xx-axis and calling the result the area: ∫02(x2−1) dx=23\int_0^2 (x^2 - 1)\,dx = \frac{2}{3}.Split at the crossing x=1x = 1 and add the absolute values: ∣−23∣+43=2\left|-\frac{2}{3}\right| + \frac{4}{3} = 2. The integral gives net signed area, and area itself is never negative.
  • Finding an antiderivative the way you find a derivative: writing the antiderivative of x2x^2 as 2x2x, or as x3x^3.Raise the exponent by one, then divide by the new exponent: x33\frac{x^3}{3}. Check by differentiating: the derivative of x33\frac{x^3}{3} is x2x^2.

Questions students ask

What is the area under a curve called?

It is called the definite integral of the function between the two x-values, written ∫ from a to b of f(x) dx, and finding it is called integration. In statistics, medicine and machine learning the same idea is often shortened to AUC, for area under the curve.

Is the derivative the area under a curve?

No. The derivative is the slope of a curve at a point, and the integral is the area under it. The two are inverse operations: by the fundamental theorem of calculus, the derivative of the area function of f is f itself.

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

A definite integral has limits, a and b, and its value is a number: the net signed area under the curve between them. An indefinite integral has no limits, and its value is a family of functions, every antiderivative F(x) + C. For example, the indefinite integral of x² is x³/3 + C, while the definite integral of x² from 0 to 2 is 8/3.

Why don't you add + C to a definite integral?

Because it cancels. With the antiderivative F(x) + C, the definite integral is (F(b) + C) − (F(a) + C) = F(b) − F(a), so every value of C gives the same answer. That is why the simplest antiderivative, with C = 0, is the one used.

What does dx mean in an integral?

dx stands for the width of an infinitely thin strip along the x-axis: the limit of the Δx in a Riemann sum. It also names the variable of integration, telling you the function is integrated with respect to x. Each piece f(x) dx is a strip's height times its width, and the integral adds them all up.

How do you find the area under a curve without integration?

If the region is made of familiar shapes, such as rectangles, triangles, trapezoids or parts of circles, add their areas with geometry. Otherwise, estimate it with a Riemann sum or the trapezoidal rule using many thin strips, which also works when all you have is a table of measured values. On graph paper, you can count the squares under the curve and multiply by the area of one square.

How do you find the area under a curve on a calculator?

On a TI-84, choose fnInt( from the MATH menu and enter the function, the variable and the two limits, or graph the function and choose ∫f(x)dx from the CALC menu. In Desmos, type int to get an integral sign, then fill in the limits and the function. A calculator returns the definite integral, so parts of the curve below the x-axis still count as negative.

How do you find the area under a curve in Excel?

Excel has no integral function, so add up trapezoids from your data. Put the x-values in column A and the y-values in column B, starting in row 2. In C3 enter =(A3-A2)*(B2+B3)/2, the area of the trapezoid between rows 2 and 3, fill it down to the last row, and add column C with SUM. More closely spaced x-values give a closer estimate.

Is the area under a curve always 1?

No. The area is always 1 only under a probability density curve, such as the normal curve, because the whole area there is the probability of every possible outcome together. For any other function the area depends on the curve and the interval: under y = x² from 0 to 2 it is 8/3.

Sources