Signed area
About this app
Compare signed integrals with total geometric area. Regions above and below the axis contribute differently, and zeros divide the interval.
The idea
The definite integral ∫ₐᵇ f(x) dx is a signed area: regions above the x-axis count positive, regions below count negative. The geometric area is ∫ₐᵇ |f(x)| dx, the sum of absolute values. At every root where f changes sign you split the interval; the integral is then (+) − (−) and the total area is (+) + (−). A classic example: sin x on [0, 2π] has integral 0, but its total area is 4.
What the app shows
Regions above and below the axis are shaded in different colours. A toggle switches between “Integral (signed)” and “Area (absolute values)”. Optionally the app marks the roots and splits the interval there. The panel lists the integral, ∫|f|, the area above and the area below, and “Build” grows the shaded region from the left.
Things to try
Four functions are available: sin x, x(x − 1)(x − 3), x³ and x² − 2. Drag a and b with the sliders or directly on the canvas. For x³ on a symmetric interval the parts cancel exactly and the integral is 0. Then move one bound and watch the integral and the area drift apart as soon as the interval contains a root.
Frequently asked questions
- Why can a definite integral be negative?
- Where the graph lies below the x-axis the function values are negative, so the Riemann sum terms f(xᵢ)·Δx are negative too. The integral counts these regions with a minus sign. If there is more area below the axis than above, the integral is negative overall.
- How do you find the area when a function crosses the x-axis?
- Find the roots inside the interval, integrate piece by piece from root to root, and add the absolute values of the pieces. This equals ∫ₐᵇ |f(x)| dx. Without splitting, positive and negative parts partly cancel.
- Why is the integral of sin x from 0 to 2π zero?
- On [0, π] the sine lies above the axis and encloses area 2; on [π, 2π] it lies below as a mirror image with area 2. The integral gives 2 − 2 = 0, while the total area is 2 + 2 = 4.
- What does the signed area app show?
- For four functions it shows the integral and the total area side by side, colours regions above and below the axis differently, and can split the interval at the roots. The bounds a and b can be moved freely.
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 between curves
- Area function is an antiderivative
- Sequential continuity
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps