Math Lab
Home/Class XII/Ch 8/Area between two curves

Area between two curves

When two curves y=f(x)y = f(x) and y=g(x)y = g(x) intersect, they enclose a bounded region. The area of that region is the integral of the vertical gap between them, fgf - g, over the interval where they bound the region.

Setup

If f(x)g(x)f(x) \ge g(x) on [a,b][a, b], the area between them is A=ab[f(x)g(x)]dx.A = \int_a^b [f(x) - g(x)]\,dx.

This formula works regardless of whether ff and gg are positive or negative , the key quantity is the difference, which is non-negative.

Two cases to keep separate:

  • Curves intersect at x=ax = a and x=bx = b. The limits are determined by the curves themselves; you solve f(x)=g(x)f(x) = g(x) to find aa and bb.
  • Curves are bounded by extra vertical lines x=ax = a and x=bx = b. The limits come from those lines.

When the top curve switches

If fgf \ge g on part of the interval and gfg \ge f on another part, you must split at the crossover. On each piece, the integrand is the appropriate non-negative difference. A=ac[fg]dx+cb[gf]dxif f=g at x=c.A = \int_a^c [f - g]\,dx + \int_c^b [g - f]\,dx \quad \text{if } f = g \text{ at } x = c.

In one stroke this is A=abf(x)g(x)dxA = \int_a^b |f(x) - g(x)|\,dx.

Using horizontal slices

When curves are easier to describe as x=u(y)x = u(y) and x=v(y)x = v(y) (e.g. parabolas opening sideways), use horizontal slices: A=cd[u(y)v(y)]dywith u(y)v(y) (right of left).A = \int_c^d [u(y) - v(y)]\,dy \quad \text{with } u(y) \ge v(y) \text{ (right of left)}.

Strategy

  1. Sketch both curves.
  2. Find intersections by solving f(x)=g(x)f(x) = g(x) , these often become the limits.
  3. Identify top and bottom on each sub-interval.
  4. Set up the integral of (top - bottom).
  5. Evaluate.

Worked examples

Example 1. Area enclosed by y=x2y = x^2 and y=xy = x.

Intersections: x2=xx(x1)=0x^2 = x \Rightarrow x(x - 1) = 0, so x=0,1x = 0, 1. On [0,1][0, 1], xx2x \ge x^2 (try x=1/2x = 1/2: 1/2>1/41/2 > 1/4). Area =01(xx2)dx=1213=16= \int_0^1 (x - x^2)\,dx = \dfrac{1}{2} - \dfrac{1}{3} = \dfrac{1}{6}.

Example 2. Area enclosed by y=x2y = x^2 and y=2xy = 2x.

Intersections: x2=2xx=0,2x^2 = 2x \Rightarrow x = 0, 2. On [0,2][0, 2], 2xx22x \ge x^2. Area =02(2xx2)dx=[x2x33]02=483=43= \int_0^2 (2x - x^2)\,dx = \left[x^2 - \dfrac{x^3}{3}\right]_0^2 = 4 - \dfrac{8}{3} = \dfrac{4}{3}.

Example 3. Area enclosed by y2=xy^2 = x and y=x2y = x - 2.

The parabola opens to the right; the line is straight. Use horizontal slices. Intersections in yy-coords: y2=y+2y2y2=0(y2)(y+1)=0y=1,2y^2 = y + 2 \Rightarrow y^2 - y - 2 = 0 \Rightarrow (y-2)(y+1) = 0 \Rightarrow y = -1, 2. At height y[1,2]y \in [-1, 2], the line is at x=y+2x = y + 2 (right) and the parabola at x=y2x = y^2 (left). Area =12[(y+2)y2]dy=[y22+2yy33]12=(2+48/3)(1/22+1/3)=103(7/6)=276=92= \int_{-1}^2 [(y + 2) - y^2]\,dy = \left[\dfrac{y^2}{2} + 2y - \dfrac{y^3}{3}\right]_{-1}^2 = (2 + 4 - 8/3) - (1/2 - 2 + 1/3) = \dfrac{10}{3} - (-7/6) = \dfrac{27}{6} = \dfrac{9}{2}.

Example 4. Area enclosed by y=sinxy = \sin x and y=cosxy = \cos x on [0,π/2][0, \pi/2].

These cross at x=π/4x = \pi/4. On [0,π/4][0, \pi/4], cosxsinx\cos x \ge \sin x; on [π/4,π/2][\pi/4, \pi/2], sinxcosx\sin x \ge \cos x. A=0π/4(cosxsinx)dx+π/4π/2(sinxcosx)dx.A = \int_0^{\pi/4}(\cos x - \sin x)\,dx + \int_{\pi/4}^{\pi/2}(\sin x - \cos x)\,dx. First: [sinx+cosx]0π/4=21[\sin x + \cos x]_0^{\pi/4} = \sqrt{2} - 1. Second: [cosxsinx]π/4π/2=(01)(2222)=1+2=21[-\cos x - \sin x]_{\pi/4}^{\pi/2} = (-0 - 1) - (-\dfrac{\sqrt 2}{2} - \dfrac{\sqrt 2}{2}) = -1 + \sqrt 2 = \sqrt 2 - 1. Total: 2(21)2(\sqrt 2 - 1).

Example 5. Area enclosed by y=xy = x and y=x3y = x^3.

Intersections: x3=xx(x21)=0x=0,±1x^3 = x \Rightarrow x(x^2 - 1) = 0 \Rightarrow x = 0, \pm 1. The region splits into two: one in [1,0][-1, 0] where x3xx^3 \ge x (check x=0.5x = -0.5: 0.125>0.5-0.125 > -0.5), one in [0,1][0, 1] where xx3x \ge x^3. By symmetry of xx3|x - x^3| (odd-odd inside absolute value), the two pieces are equal: each =01(xx3)dx=1214=14= \int_0^1 (x - x^3)\,dx = \dfrac{1}{2} - \dfrac{1}{4} = \dfrac{1}{4}. Total: 12\dfrac{1}{2}.

Example 6. Area enclosed by y=x2y = x^2 and y=4x2y = 4 - x^2.

Intersections: x2=4x2x2=2x=±2x^2 = 4 - x^2 \Rightarrow x^2 = 2 \Rightarrow x = \pm \sqrt 2. On [2,2][-\sqrt 2, \sqrt 2], 4x2x24 - x^2 \ge x^2. By symmetry: A=202(42x2)dx=2[422223]=2[42423]=2823=1623A = 2\int_0^{\sqrt 2} (4 - 2x^2)\,dx = 2[4\sqrt 2 - \dfrac{2 \cdot 2\sqrt 2}{3}] = 2[4\sqrt 2 - \dfrac{4\sqrt 2}{3}] = 2 \cdot \dfrac{8\sqrt 2}{3} = \dfrac{16\sqrt 2}{3}.

Try it yourself

  1. Area enclosed by y=x2y = x^2 and y=4y = 4.
  2. Area enclosed by y=x2y = x^2 and y=x+2y = x + 2.
  3. Area enclosed by y2=4xy^2 = 4x and x2=4yx^2 = 4y.
  4. Area enclosed by y=x24y = x^2 - 4 and y=4x2y = 4 - x^2.
  5. Area enclosed by y=xy = \sqrt{x} and y=x2y = x^2.
  6. Area enclosed by x=y22x = y^2 - 2 and x=yx = y.
  7. Area enclosed by y=xy = x, y=x2y = x^2, and x=2x = 2.
  8. Area enclosed by y=exy = e^x, y=exy = e^{-x}, and x=1x = 1.
  9. Area enclosed by y=2xx2y = 2x - x^2 and y=x2y = x^2.
  10. Area enclosed by y=x2y = x^2 and y=2x2y = 2 - x^2.
  11. Area enclosed by y=lnxy = \ln x and y=x1y = x - 1 on [1,e][1, e].
  12. Area between y=sinxy = \sin x and y=sin2xy = \sin 2x on [0,π][0, \pi].
  13. Area enclosed by y2=xy^2 = x and y=x2y = x^2.
  14. Area enclosed by y=x|y| = x and x2+y2=8x^2 + y^2 = 8 in the right half plane.

Pitfalls and tricks

  • Always identify which curve is on top on each sub-interval , a sign error here ruins the answer.
  • Solve for intersection points first; the limits often come from those.
  • Don't mix slice directions within one integral. Pick vertical or horizontal slices and stick with it.
  • Symmetry simplifies dramatically. If the region is symmetric about an axis, compute half.
  • For parabolas y2=4axy^2 = 4ax and similar, horizontal slices (dydy) usually give cleaner limits.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Area between two curves
6 questions · pick the best answer
Q1

Area enclosed by y=x2y = x^2 and y=2xy = 2x is

Q2

Curves intersect at x=1x = -1 and x=3x = 3. To find enclosed area you integrate over

Q3

For ab[fg]dx\int_a^b [f - g]\,dx to give positive area on [a,b][a,b], you need

Q4

Area enclosed by y=xy = \sqrt x and y=x2y = x^2 is

Q5

Curves y=sinxy = \sin x and y=cosxy = \cos x on [0,π/2][0, \pi/2] enclose area

Q6

If f(x)=g(x)f(x) = g(x) has roots α<β\alpha < \beta on [a,b][a, b], the area between them is