Area between curves
About this app
Find intersections automatically and calculate the area between two curves, integrating the upper minus the lower function on each segment.
The idea
The area between two graphs over [a, b] is ∫ₐᵇ (f(x) − g(x)) dx as long as f stays on top: upper minus lower function. If the graphs cross inside the interval, top and bottom swap roles and the integral counts those pieces as negative. For the geometric area you therefore split at the intersection points and add absolute values, which is ∫ₐᵇ |f(x) − g(x)| dx. Example: the area between x² and x on [0, 1] is 1/6.
What the app shows
The region between f and g is shaded, coloured by whether f or g is on top. Intersection points are marked. The app shows the integral ∫ₐᵇ (f − g) dx next to the geometric area and reports whether the interval consists of one or several pieces. The button “From intersection to intersection” places [a, b] between two neighbouring intersections.
Things to try
Four pairs are available: parabola and line (x² and x), two parabolas (2 − x² and x²), sine and cosine, and x³ with x. Drag a or b across an intersection and watch the integral and the geometric area separate. For x³ and x there are three intersections, so the upper function switches twice.
Frequently asked questions
- How do you find the area between two curves?
- First solve f(x) = g(x) to get the intersection points. Between neighbouring intersections, integrate upper minus lower function and add the results. If you are unsure which is on top, take the absolute value of each piece.
- What happens if the curves cross inside the interval?
- Then f is on top in some pieces and g in others. The integral of f − g counts the pieces with g on top as negative, so parts can cancel. For the area, integrate the pieces separately and add their absolute values.
- What is the area between y = x² and y = x?
- The graphs meet at x = 0 and x = 1, and x lies on top in between. The area is ∫₀¹ (x − x²) dx = 1/2 − 1/3 = 1/6.
- Which curve pairs does the app include?
- A parabola and a line, two parabolas, sine and cosine, and a cubic with a line. You can move the bounds freely or jump to the interval between two intersections with one click.
Subject: Analysis (one-dimensional)
More from Analysis (one-dimensional)
- Derivative as a sequence of secants
- Bounded growth
- Units of an integral: rate times time
- Exponential growth and decay
- Optimisation: the largest rectangle
- Area function is an antiderivative
- Sequential continuity
- Rational functions and asymptotes
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps