asymptote
ShopSeason 1BlogSign in
Play
BlogHow to playFormulasFor teachersCreatorsJoin a class gameBadges and levelsLeaderboardsDailyCurvePracticeShopGift a PassTip jarFounderPricing
/
You approach it and never arrive.

Asymptote is a free online calculus game: a calculus practice game for derivatives, limits and integrals, with typed answers and a live mode for class. Newest guide: Area Under a Curve: Definite Integrals & Practice Problems.

Guides with practice problems: Chain rule · U-substitution · Implicit differentiation · Integration by parts · Product rule · Quotient rule · Power rule · L'Hôpital's rule · Related rates · All guides →
SupportTermsPrivacyRefundsInstagramXPressMade with ♥ by the_calculusguy© Boolean Productions 2026

Blog · Calculus guides · 8 November 2026 · 4 min read

By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.

Area Under a Curve: Definite Integrals & Practice Problems

An illustration of Area under a curve

The area under a curve y=f(x) from x=a to x=b is the definite integral ∫ab​f(x)dx, as long as the curve stays above the x-axis. Find an antiderivative F, then compute F(b)−F(a). If the curve dips below the axis, split the interval where it crosses and add up the sizes of the pieces.

On this page

  • Formula
  • When to use it
  • Steps
  • Worked examples
  • Practice problems
  • Common mistakes
  • FAQ

The formula

Area=∫ab​f(x)dx=F(b)−F(a)(f≥0, F′=f)

Infinitely many infinitely thin rectangles, added up, and then the Fundamental Theorem lets you skip every single one of them.

When to use it

Use it whenever a question asks for the area between a graph and the x-axis, or for a total built up from a rate: distance from a velocity, water from a flow rate, money from a rate of income. A definite integral is area with a sign attached. Parts above the axis count as positive, and parts below count as negative. So when a question says "area", first check whether the curve goes below the axis between a and b. If it does not, the integral is the area. If it does, the integral is not the area, and the difference can be large.

How to do it, step by step

  1. Find where the curve crosses the axis. Solve f(x)=0 and keep the roots between a and b. They split the interval into pieces where f has one sign.
  2. Find an antiderivative. Reverse the derivative rules: ∫xndx=n+1xn+1​, ∫sinxdx=−cosx, and so on. No +C is needed for a definite integral, because it cancels.
  3. Evaluate F(b)−F(a) on each piece. Top limit first, then subtract the bottom one. Brackets around F(a) save a lot of sign errors.
  4. Add the sizes of the pieces. Take the absolute value of any piece that came out negative, then add. With no crossings there is only one piece and you are done.

Worked examples

Example 1: A parabola above the axis

Easy

Find the area under y=3x2 from x=0 to x=2.

∫02​3x2dx

3x2 is never negative, so the integral is the area. An antiderivative of 3x2 is x3.

∫02​3x2dx=[x3]02​=23−03=8

A quick sanity check: the curve reaches 12 at x=2, so the whole region fits inside a 2 by 12 rectangle of area 24. An answer of 8, a third of that, is believable. An answer of 30 would not be.

Answer

Area=8

Example 2: One arch of sine

Medium

Find the area under one arch of y=sinx, from x=0 to x=π.

∫0π​sinxdx

Sine is positive between 0 and π, so again the integral is the area. The antiderivative of sinx is −cosx, and that minus sign is the thing to watch.

∫0π​sinxdx=[−cosx]0π​=(−cosπ)−(−cos0)=1−(−1)=2

A curved shape with an area of exactly 2, which feels like it should not be allowed.

Answer

Area=2

Example 3: A curve that dips below the axis

Harder

Find the total area between y=x2−4 and the x-axis from x=0 to x=4.

First the crossings: x2−4=0 at x=±2, and x=2 is inside [0,4]. The curve is below the axis on [0,2] and above it on [2,4], so

Area=∫04​∣x2−4∣dx=∫02​(4−x2)dx+∫24​(x2−4)dx

Use F(x)=3x3​−4x for both, flipping the sign on the first piece:

∫02​(4−x2)dx=−[F(2)−F(0)]=−(38​−8)=316​
∫24​(x2−4)dx=F(4)−F(2)=(364​−16)−(38​−8)=332​

Add them: 316​+332​=16. For comparison, the plain integral ∫04​(x2−4)dx is 332​−316​=316​, because the part below the axis cancels some of the part above. Same curve, same limits, answers three times apart.

Answer

Area=16

Area under a curve practice problems

Three to try, easy to harder. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.

Problem 1

Easy

Find the area under y=4x3 from x=0 to x=2:

∫02​4x3dx

Stuck? Show the answer

Answer

16

How to start

4x3 is never negative on [0,2], so the integral is the area. An antiderivative of 4x3 is x4.

Problem 2

Medium

Find the area under y=e2x from x=0 to x=1:

∫01​e2xdx

Stuck? Show the answer

Answer

2e2−1​

How to start

e2x is always positive. Its antiderivative is 21​e2x: the 21​ undoes the 2 the chain rule would bring down.

Problem 3

Harder

Find the total area between y=sinx and the x-axis from x=0 to x=2π:

Area=∫02π​∣sin(x)∣dx

Stuck? Show the answer

Answer

4

How to start

Sine is above the axis on [0,π] and below it on [π,2π]. Integrate each piece separately and add their sizes; the plain integral would give 0.

Want more? Asymptote has 608 more area under a curve problems, free, with no account.

Common mistakes

  • Integrating straight through a crossing. If the curve goes below the axis, ∫ab​f(x)dx is the net signed area, not the area. Find the roots first.
  • Subtracting the wrong way round. It is F(b)−F(a), top limit minus bottom. Backwards gives the right number with the wrong sign, which is the most annoying kind of wrong.
  • Dropping a minus sign from F(a). F(a) often has several terms. Put it in brackets before you subtract it.
  • Swapping the sine and cosine antiderivatives. ∫sinxdx=−cosx and ∫cosxdx=sinx. When in doubt, differentiate your answer and see if you get back where you started.

Practice it now

Five minutes, no account

Sprint has definite integrals from its early problems: a single power from 0 first, then polynomials, sines, cosines and exponentials between small limits. They are signed integrals, so a negative answer can be right; there are no absolute-value area problems as such.

Play a SprintSee it on the formula sheet

FAQ

Is the area under a curve the same as the integral?
Only when the curve stays on or above the x-axis. Otherwise the integral counts the parts below as negative, and the area is the integral of ∣f(x)∣.
Can the area under a curve be negative?
Area cannot. A definite integral can, when more of the curve sits below the axis than above it.
How do you find the area between two curves?
Integrate the top curve minus the bottom curve between the points where they cross. See area between curves.
Do you need +C in a definite integral?
No. Any constant would appear in both F(b) and F(a), and cancel when you subtract.
How do you find the area under a curve without integration?
Approximate it with rectangles: a Riemann sum with left, right or midpoint heights. More rectangles give a better estimate, and the limit of those sums as the rectangles get thinner is exactly the definite integral.
Where can I find area under a curve practice problems?
Right on this page: the practice problems section has three area under a curve problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 608 more area under a curve problems after that, free and with no account: try a five-minute Sprint.

Keep going

  • Fundamental Theorem of Calculus: Examples & Practice Problems

    The Fundamental Theorem of Calculus: ∫f from a to b = F(b) − F(a), and d/dx of an integral is the integrand. 3 worked examples and practice problems.

  • Riemann Sums: Left, Right, Midpoint & Practice Problems

    A Riemann sum adds f(x)·Δx over n strips. Left, right and midpoint step by step, over or underestimate, 3 worked examples and practice problems.

  • Area Between Curves: Formula, 3 Examples & Practice Problems

    The area between two curves is ∫(top − bottom) dx between where they meet. Curves that cross, 3 step-by-step examples and practice problems with answers.