Integration · Class 12 · Lesson 08

Area under the curve: sketch first, then integrate.

Short answer

The area between \(y = f(x)\), the x-axis and the lines \(x = a\), \(x = b\) is \(\int_a^b f(x)\,dx\) when \(f(x) \ge 0\). Between two curves, integrate (upper minus lower) between their meeting points:

\[A = \int_a^b \big[f(x) - g(x)\big]\,dx\]

For example, \(y = x\) and \(y = x^2\) meet at \(x = 0\) and \(x = 1\), so the area between them is \(\int_0^1 (x - x^2)\,dx = \dfrac{1}{6}\).

Class 12HSC & CBSEDiploma
01

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.

The two basic formulas

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.

02

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.

  1. Find the roots of \(f(x) = 0\) that lie between \(a\) and \(b\).
  2. Split the interval at those roots.
  3. Integrate on each piece separately.
  4. Add the absolute values.
The curve y = sin x from 0 to 2 pi, with the hump above the axis shaded orange and the hump below shaded green x y O π 2π +2 −2 y = sin x
\(\int_0^{\pi}\sin x\,dx = 2\) and \(\int_{\pi}^{2\pi}\sin x\,dx = -2\), so \(\int_0^{2\pi}\sin x\,dx = 0\). The area between the curve and the axis is \(2 + |-2| = 4\) square units.
03

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}\]

The parabola y = x squared and the line y = x + 2, with the region between them shaded from x = -1 to x = 2 x y −1 2 O (2, 4) y = x² y = x + 2 area = 9/2
The line \(y = x + 2\) is above the parabola \(y = x^2\) between their meeting points \(x = -1\) and \(x = 2\). The shaded area is \(\int_{-1}^{2}\big[(x + 2) - x^2\big]\,dx = \dfrac{9}{2}\).
04

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.

RegionSet-upArea
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.

05

The sketch-first method

  1. Sketch the curves. A rough sketch is enough. Mark where they cut the axes.
  2. Find every intersection point by solving the equations together.
  3. Shade the region the question describes, and decide on vertical strips (\(dx\)) or horizontal strips (\(dy\)).
  4. Read off upper and lower (or right and left) curves, and the limits. If the upper curve changes part-way, split the region.
  5. Use symmetry where you can, then integrate.
  6. 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.

06

Solved examples

Example 1: Under a parabola

Easy

Find the area bounded by \(y = x^2\), the x-axis and the lines \(x = 0\) and \(x = 3\).

  1. \(y = x^2 \ge 0\), so the area is the integral.
  2. \(\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

Easy

Find the area bounded by \(y = x^2\), the y-axis and the lines \(y = 1\) and \(y = 4\), in the first quadrant.

  1. The region sits against the y-axis, so use horizontal strips. In the first quadrant \(x = \sqrt{y}\).
  2. \(\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

Medium

Find the area of the circle \(x^2 + y^2 = 16\) by integration.

  1. In the first quadrant \(y = \sqrt{16 - x^2}\) for \(0 \le x \le 4\).
  2. \(\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\).
  3. Four equal quadrants: \(4 \times 4\pi\).

Answer\(16\pi\) square units

Example 4: An ellipse

Medium

Find the area of the ellipse \(\dfrac{x^2}{9} + \dfrac{y^2}{4} = 1\).

  1. First quadrant: \(y = \dfrac{2}{3}\sqrt{9 - x^2}\), \(0 \le x \le 3\).
  2. \(\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}\).
  3. 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

Medium

Find the area between \(y = x^2 - 3x + 2\) and the x-axis from \(x = 0\) to \(x = 3\).

  1. Roots: \((x - 1)(x - 2) = 0\), so \(x = 1, 2\). The curve is below the axis between them.
  2. With \(F(x) = \dfrac{x^3}{3} - \dfrac{3x^2}{2} + 2x\): \(\int_0^1 = F(1) - F(0) = \dfrac{5}{6}\).
  3. \(\int_1^2 = F(2) - F(1) = \dfrac{2}{3} - \dfrac{5}{6} = -\dfrac{1}{6}\).
  4. \(\int_2^3 = F(3) - F(2) = \dfrac{3}{2} - \dfrac{2}{3} = \dfrac{5}{6}\).
  5. 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

Medium

Find the area enclosed by \(y = x^2\) and \(y = x + 2\).

  1. Intersections: \(x^2 = x + 2\) gives \(x = -1\) and \(x = 2\), at the points \((-1, 1)\) and \((2, 4)\).
  2. The line is on top between them (section 03 and the diagram).
  3. \(\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 level

Find the area enclosed by the parabolas \(y^2 = 4x\) and \(x^2 = 4y\).

  1. 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)\).
  2. Between them \(y = 2\sqrt{x}\) is on top (at \(x = 1\): \(2\) against \(\dfrac{1}{4}\)).
  3. \(\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 level

Find the area of the smaller region cut off from the circle \(x^2 + y^2 = 4\) by the line \(x + y = 2\).

  1. 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)\).
  2. 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\).
  3. \(\int_0^2 \sqrt{4 - x^2}\,dx = \pi\) (a quarter of the circle) and \(\int_0^2 (2 - x)\,dx = 2\) (a triangle).
  4. Area \(= \pi - 2\).

Answer\(\pi - 2\) square units

Vipul Sir's tip

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.

07

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.

08

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.

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

09

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.

Related lessons

← All integration lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Class 11 & 12 Maths

Integration gets easier once you can spot the method.

Concept-first classes in small batches in Goregaon and Vile Parle, or online, for HSC, CBSE and ICSE students. Your first class is free.

WhatsApp↗