Area between a curve and an axis
Finding areas is the classic application of integrals. The definite integral already measures area under a curve, with one catch: it counts area below the x-axis as negative. So the work in this lesson is mostly about setting up the right integral, not about integrating.
Area between \(y = f(x)\), the x-axis and the lines \(x = a\), \(x = b\), when \(f(x) \ge 0\) on \([a, b]\):
\[A = \int_a^b y\,dx = \int_a^b f(x)\,dx\]
Area between \(x = g(y)\), the y-axis and the lines \(y = c\), \(y = d\), when \(g(y) \ge 0\) on \([c, d]\):
\[A = \int_c^d x\,dy = \int_c^d g(y)\,dy\]
Think of the first formula as adding up thin vertical strips, each of height \(y\) and width \(dx\). The second adds up thin horizontal strips, each of length \(x\) and height \(dy\). Use horizontal strips when the region is bounded by the y-axis, or when the curve is easier to write as \(x\) in terms of \(y\).
The same set-up turns up outside geometry. In business maths, consumer and producer surplus are areas between a demand or supply curve and a price line.
Regions below the x-axis
Where \(f(x) < 0\), the integral comes out negative. An area is never negative, so take the absolute value of that piece. If the curve crosses the axis inside \([a, b]\), the pieces above and below cancel, and one integral across the whole interval gives the wrong answer.
- Find the roots of \(f(x) = 0\) that lie between \(a\) and \(b\).
- Split the interval at those roots.
- Integrate on each piece separately.
- Add the absolute values.
Area between two curves
If \(y = f(x)\) is above \(y = g(x)\) for \(a \le x \le b\), the area between them is
\[A = \int_a^b \big[f(x) - g(x)\big]\,dx = \int_a^b (\text{upper} - \text{lower})\,dx\]
This works even when part of the region is below the x-axis, because the difference \(f - g\) is still positive. Usually the question does not give \(a\) and \(b\). They are the \(x\)-coordinates where the curves meet, so find the intersections first by solving \(f(x) = g(x)\).
Take \(y = x^2\) and \(y = x + 2\). Setting \(x^2 = x + 2\) gives \(x^2 - x - 2 = 0\), so \(x = -1\) or \(x = 2\). At \(x = 0\) the line gives \(2\) and the parabola gives \(0\), so the line is on top.
\[A = \int_{-1}^{2} (x + 2 - x^2)\,dx = \Big[\frac{x^2}{2} + 2x - \frac{x^3}{3}\Big]_{-1}^{2} = \frac{10}{3} - \left(-\frac{7}{6}\right) = \frac{9}{2}\]
Standard areas: circle, ellipse, parabola
These come up again and again. Each uses symmetry: find the area in one quadrant (or above the x-axis) and multiply.
| Region | Set-up | Area |
|---|---|---|
| Circle \(x^2 + y^2 = a^2\) | \(4\int_0^a \sqrt{a^2 - x^2}\,dx\) | \(\pi a^2\) |
| Ellipse \(\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1\) | \(4\cdot\dfrac{b}{a}\int_0^a \sqrt{a^2 - x^2}\,dx\) | \(\pi ab\) |
| Parabola \(y^2 = 4ax\) and its latus rectum \(x = a\) | \(2\int_0^a 2\sqrt{ax}\,dx\) | \(\dfrac{8a^2}{3}\) |
| Parabola \(y^2 = 4ax\) and the line \(y = mx\), \(m > 0\) | \(\int_0^{4a/m^2} \big(2\sqrt{ax} - mx\big)\,dx\) | \(\dfrac{8a^2}{3m^3}\) |
The circle and ellipse both rest on one integral:
\[\int_0^a \sqrt{a^2 - x^2}\,dx = \Big[\frac{x}{2}\sqrt{a^2 - x^2} + \frac{a^2}{2}\sin^{-1}\frac{x}{a}\Big]_0^a = \frac{\pi a^2}{4}\]
For the ellipse, solve for \(y\) in the first quadrant: \(y = \dfrac{b}{a}\sqrt{a^2 - x^2}\). Then \(4\cdot\dfrac{b}{a}\cdot\dfrac{\pi a^2}{4} = \pi ab\). When \(a = b\) the ellipse is a circle and this becomes \(\pi a^2\), as it should.
For the parabola with its latus rectum, the upper half is \(y = 2\sqrt{a}\,\sqrt{x}\), and \(\int_0^a 2\sqrt{a}\,x^{1/2}\,dx = 2\sqrt{a}\cdot\dfrac{2}{3}a^{3/2} = \dfrac{4a^2}{3}\). Double it for the lower half.
The sketch-first method
- Sketch the curves. A rough sketch is enough. Mark where they cut the axes.
- Find every intersection point by solving the equations together.
- Shade the region the question describes, and decide on vertical strips (\(dx\)) or horizontal strips (\(dy\)).
- Read off upper and lower (or right and left) curves, and the limits. If the upper curve changes part-way, split the region.
- Use symmetry where you can, then integrate.
- Check the size. Compare with a rectangle or triangle drawn round the region.
Most wrong answers in this chapter come from skipping the sketch. You can't pick the upper curve or see a hidden root without one.
Solved examples
Example 1: Under a parabola
EasyFind the area bounded by \(y = x^2\), the x-axis and the lines \(x = 0\) and \(x = 3\).
- \(y = x^2 \ge 0\), so the area is the integral.
- \(\int_0^3 x^2\,dx = \Big[\dfrac{x^3}{3}\Big]_0^3 = 9\).
Answer\(9\) square units
Example 2: Using the y-axis
EasyFind the area bounded by \(y = x^2\), the y-axis and the lines \(y = 1\) and \(y = 4\), in the first quadrant.
- The region sits against the y-axis, so use horizontal strips. In the first quadrant \(x = \sqrt{y}\).
- \(\int_1^4 \sqrt{y}\,dy = \Big[\dfrac{2}{3}y^{3/2}\Big]_1^4 = \dfrac{2}{3}(8 - 1)\).
Answer\(\dfrac{14}{3}\) square units
Example 3: A circle
MediumFind the area of the circle \(x^2 + y^2 = 16\) by integration.
- In the first quadrant \(y = \sqrt{16 - x^2}\) for \(0 \le x \le 4\).
- \(\int_0^4 \sqrt{16 - x^2}\,dx = \Big[\dfrac{x}{2}\sqrt{16 - x^2} + 8\sin^{-1}\dfrac{x}{4}\Big]_0^4 = 8\cdot\dfrac{\pi}{2} = 4\pi\).
- Four equal quadrants: \(4 \times 4\pi\).
Answer\(16\pi\) square units
Example 4: An ellipse
MediumFind the area of the ellipse \(\dfrac{x^2}{9} + \dfrac{y^2}{4} = 1\).
- First quadrant: \(y = \dfrac{2}{3}\sqrt{9 - x^2}\), \(0 \le x \le 3\).
- \(\int_0^3 \sqrt{9 - x^2}\,dx = \dfrac{9\pi}{4}\), so one quadrant has area \(\dfrac{2}{3}\cdot\dfrac{9\pi}{4} = \dfrac{3\pi}{2}\).
- Multiply by 4. This matches \(\pi ab = \pi\cdot 3\cdot 2\).
Answer\(6\pi\) square units
Example 5: A curve that crosses the axis
MediumFind the area between \(y = x^2 - 3x + 2\) and the x-axis from \(x = 0\) to \(x = 3\).
- Roots: \((x - 1)(x - 2) = 0\), so \(x = 1, 2\). The curve is below the axis between them.
- With \(F(x) = \dfrac{x^3}{3} - \dfrac{3x^2}{2} + 2x\): \(\int_0^1 = F(1) - F(0) = \dfrac{5}{6}\).
- \(\int_1^2 = F(2) - F(1) = \dfrac{2}{3} - \dfrac{5}{6} = -\dfrac{1}{6}\).
- \(\int_2^3 = F(3) - F(2) = \dfrac{3}{2} - \dfrac{2}{3} = \dfrac{5}{6}\).
- Area \(= \dfrac{5}{6} + \dfrac{1}{6} + \dfrac{5}{6}\). (A single integral from 0 to 3 would give \(\dfrac{3}{2}\), which is wrong.)
Answer\(\dfrac{11}{6}\) square units
Example 6: A parabola and a line
MediumFind the area enclosed by \(y = x^2\) and \(y = x + 2\).
- Intersections: \(x^2 = x + 2\) gives \(x = -1\) and \(x = 2\), at the points \((-1, 1)\) and \((2, 4)\).
- The line is on top between them (section 03 and the diagram).
- \(\int_{-1}^{2} (x + 2 - x^2)\,dx = \dfrac{10}{3} + \dfrac{7}{6}\).
Answer\(\dfrac{9}{2}\) square units
Example 7: Two parabolas
Exam levelFind the area enclosed by the parabolas \(y^2 = 4x\) and \(x^2 = 4y\).
- Intersections: from \(x^2 = 4y\), \(y = \dfrac{x^2}{4}\). Then \(\dfrac{x^4}{16} = 4x\), so \(x(x^3 - 64) = 0\), giving \(x = 0\) and \(x = 4\). The points are \((0, 0)\) and \((4, 4)\).
- Between them \(y = 2\sqrt{x}\) is on top (at \(x = 1\): \(2\) against \(\dfrac{1}{4}\)).
- \(\int_0^4 \left(2\sqrt{x} - \dfrac{x^2}{4}\right)dx = \Big[\dfrac{4}{3}x^{3/2} - \dfrac{x^3}{12}\Big]_0^4 = \dfrac{32}{3} - \dfrac{16}{3}\).
Answer\(\dfrac{16}{3}\) square units
Example 8: A circle cut by a line
Exam levelFind the area of the smaller region cut off from the circle \(x^2 + y^2 = 4\) by the line \(x + y = 2\).
- Intersections: put \(y = 2 - x\) into the circle: \(2x^2 - 4x = 0\), so \(x = 0\) or \(x = 2\). The points are \((0, 2)\) and \((2, 0)\).
- The smaller region lies between the arc \(y = \sqrt{4 - x^2}\) (upper) and the line \(y = 2 - x\) (lower), for \(0 \le x \le 2\).
- \(\int_0^2 \sqrt{4 - x^2}\,dx = \pi\) (a quarter of the circle) and \(\int_0^2 (2 - x)\,dx = 2\) (a triangle).
- Area \(= \pi - 2\).
Answer\(\pi - 2\) square units
Before you integrate, guess the answer from the sketch. In Example 8 the region is a thin sliver, much less than the triangle of area 2, so an answer like \(\pi - 2 \approx 1.14\) is believable and \(\pi + 2\) is not. Thirty seconds of guessing saves a lot of wrong answers.
Common mistakes
1. Integrating straight across a root
The area between \(y = \sin x\) and the x-axis from \(0\) to \(2\pi\) is not \(\int_0^{2\pi}\sin x\,dx = 0\). Split at \(\pi\): \(2 + |-2| = 4\) square units.
2. Lower minus upper
For \(y = x\) and \(y = x^2\) on \([0, 1]\), \(\int_0^1 (x^2 - x)\,dx = -\dfrac{1}{6}\). A negative area means you subtracted the wrong way. The line is on top, so the area is \(\int_0^1 (x - x^2)\,dx = \dfrac{1}{6}\).
3. Forgetting the symmetry factor
\(\int_0^a \sqrt{a^2 - x^2}\,dx = \dfrac{\pi a^2}{4}\) is only the quarter of the circle in the first quadrant. The whole circle is four times that, \(\pi a^2\). Say in your answer which part the integral covers.
Practice questions
Try each one on paper before you open the answer.
Q1Find the area bounded by \(y = x^3\), the x-axis and the lines \(x = 0\), \(x = 2\).
\(\int_0^2 x^3\,dx = \Big[\dfrac{x^4}{4}\Big]_0^2 = 4\) square units.
Q2Find the area between \(y = \cos x\) and the x-axis from \(x = 0\) to \(x = \pi\).
\(\cos x\) changes sign at \(\dfrac{\pi}{2}\). \(\int_0^{\pi/2}\cos x\,dx = 1\) and \(\int_{\pi/2}^{\pi}\cos x\,dx = -1\).
Area \(= 1 + 1 = 2\) square units.
Q3Find the area of the ellipse \(\dfrac{x^2}{25} + \dfrac{y^2}{16} = 1\).
\(\pi ab = \pi\cdot 5\cdot 4 = 20\pi\) square units.
Q4Find the area enclosed by \(y = x^2\) and \(y = x\).
They meet at \(x = 0\) and \(x = 1\), and the line is on top.
\(\int_0^1 (x - x^2)\,dx = \dfrac{1}{2} - \dfrac{1}{3} = \dfrac{1}{6}\) square units.
Q5Find the area bounded by the parabola \(y^2 = 8x\) and its latus rectum.
Here \(4a = 8\), so \(a = 2\) and the latus rectum is \(x = 2\).
\(\dfrac{8a^2}{3} = \dfrac{32}{3}\) square units. Directly: \(2\int_0^2 \sqrt{8x}\,dx = \dfrac{32}{3}\).
Q6Find the area bounded by \(y = x^3\), the y-axis and the line \(y = 8\).
Horizontal strips: \(x = y^{1/3}\) for \(0 \le y \le 8\).
\(\int_0^8 y^{1/3}\,dy = \Big[\dfrac{3}{4}y^{4/3}\Big]_0^8 = \dfrac{3}{4}\cdot 16 = 12\) square units.
Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.
Frequently asked questions
What is the formula for the area under a curve?
For \(y = f(x) \ge 0\) between \(x = a\) and \(x = b\), the area is \(\int_a^b f(x)\,dx\). If part of the curve is below the x-axis, split at the roots and add the absolute values of the pieces.
How do you find the area between two curves?
Solve the two equations together to find where they meet. Between those \(x\)-values, integrate (upper curve minus lower curve). A sketch tells you which curve is upper.
Why did my area come out negative?
Either the region is below the x-axis, or you subtracted lower minus upper. The integral is a signed area; the area itself is the absolute value, worked out piece by piece.
What is the area of an ellipse by integration?
For \(\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1\) it is \(4\cdot\dfrac{b}{a}\int_0^a\sqrt{a^2 - x^2}\,dx = \pi ab\). The same integral gives \(\pi a^2\) for a circle.