Area Between Curves

Finding area enclosed by two functions

📐 Area Between Curves

The Setup

How do we find the area between two curves?

Example: Find the area between f(x)=x2f(x) = x^2 and g(x)=xg(x) = x from x=0x = 0 to x=1x = 1.

💡 Key Idea: Area between curves = (Upper curve) - (Lower curve), integrated over the interval!

Area=ab[f(x)g(x)]dx\text{Area} = \int_a^b [f(x) - g(x)]\,dx

where f(x)g(x)f(x) \geq g(x) on [a,b][a, b]


The Formula (Vertical Slices)

When integrating with respect to x

A=ab[topbottom]dxA = \int_a^b [\text{top} - \text{bottom}]\,dx

Steps:

  1. Sketch the curves
  2. Identify which is on top
  3. Find intersection points (if needed for limits)
  4. Integrate (top - bottom)

Example 1: Basic Area Between Curves

Find the area between y=x2y = x^2 and y=xy = x from x=0x = 0 to x=1x = 1.

Step 1: Sketch the curves

y=xy = x is a line through the origin y=x2y = x^2 is a parabola

On [0,1][0, 1], the line is above the parabola.


Step 2: Set up integral

Top curve: y=xy = x Bottom curve: y=x2y = x^2

A=01(xx2)dxA = \int_0^1 (x - x^2)\,dx


Step 3: Integrate

=01(xx2)dx= \int_0^1 (x - x^2)\,dx

=[x22x33]01= \left[\frac{x^2}{2} - \frac{x^3}{3}\right]_0^1

=(1213)(00)= \left(\frac{1}{2} - \frac{1}{3}\right) - (0 - 0)

=3626=16= \frac{3}{6} - \frac{2}{6} = \frac{1}{6}

Answer: 16\frac{1}{6} square units


Finding Intersection Points

Often, the limits of integration are intersection points of the curves.

To find intersections: Set the functions equal and solve!

f(x)=g(x)f(x) = g(x)


Example 2: Finding Intersections First

Find the area between y=x2y = x^2 and y=2x+3y = 2x + 3.

Step 1: Find intersection points

Set x2=2x+3x^2 = 2x + 3:

x2=2x+3x^2 = 2x + 3 x22x3=0x^2 - 2x - 3 = 0 (x3)(x+1)=0(x - 3)(x + 1) = 0

So x=1x = -1 or x=3x = 3


Step 2: Determine which is on top

Test a point between x=1x = -1 and x=3x = 3, say x=0x = 0:

At x=0x = 0:

  • Line: y=2(0)+3=3y = 2(0) + 3 = 3
  • Parabola: y=02=0y = 0^2 = 0

The line is above the parabola!


Step 3: Set up and evaluate integral

A=13[(2x+3)x2]dxA = \int_{-1}^3 [(2x + 3) - x^2]\,dx

=13(2x+3x2)dx= \int_{-1}^3 (2x + 3 - x^2)\,dx

=[x2+3xx33]13= \left[x^2 + 3x - \frac{x^3}{3}\right]_{-1}^3


At x=3x = 3: 32+3(3)333=9+99=93^2 + 3(3) - \frac{3^3}{3} = 9 + 9 - 9 = 9

At x=1x = -1: (1)2+3(1)(1)33=13+13=53(-1)^2 + 3(-1) - \frac{(-1)^3}{3} = 1 - 3 + \frac{1}{3} = -\frac{5}{3}


Step 4: Subtract

A=9(53)=9+53=273+53=323A = 9 - \left(-\frac{5}{3}\right) = 9 + \frac{5}{3} = \frac{27}{3} + \frac{5}{3} = \frac{32}{3}

Answer: 323\frac{32}{3} square units


When Curves Switch Position

Sometimes the "top" curve changes!

Strategy: Split the integral at the switching point.

A=ac[f(x)g(x)]dx+cb[g(x)f(x)]dxA = \int_a^c [f(x) - g(x)]\,dx + \int_c^b [g(x) - f(x)]\,dx

where cc is where the curves cross


Example 3: Curves That Cross

Find the area between y=sinxy = \sin x and y=cosxy = \cos x from x=0x = 0 to x=π2x = \frac{\pi}{2}.

Step 1: Find where they intersect

Set sinx=cosx\sin x = \cos x:

tanx=1\tan x = 1 x=π4x = \frac{\pi}{4} (in the given interval)


Step 2: Determine top/bottom on each piece

On [0,π4][0, \frac{\pi}{4}]: cosx>sinx\cos x > \sin x (cosine on top)

On [π4,π2][\frac{\pi}{4}, \frac{\pi}{2}]: sinx>cosx\sin x > \cos x (sine on top)


Step 3: Set up two integrals

A=0π/4(cosxsinx)dx+π/4π/2(sinxcosx)dxA = \int_0^{\pi/4} (\cos x - \sin x)\,dx + \int_{\pi/4}^{\pi/2} (\sin x - \cos x)\,dx


Step 4: Integrate each piece

First integral: 0π/4(cosxsinx)dx=[sinx+cosx]0π/4\int_0^{\pi/4} (\cos x - \sin x)\,dx = [\sin x + \cos x]_0^{\pi/4}

=(22+22)(0+1)= \left(\frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2}\right) - (0 + 1)

=21= \sqrt{2} - 1


Second integral: π/4π/2(sinxcosx)dx=[cosxsinx]π/4π/2\int_{\pi/4}^{\pi/2} (\sin x - \cos x)\,dx = [-\cos x - \sin x]_{\pi/4}^{\pi/2}

=(01)(2222)= (0 - 1) - \left(-\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2}\right)

=1(2)=21= -1 - (-\sqrt{2}) = \sqrt{2} - 1


Step 5: Add the areas

A=(21)+(21)=222=2(21)A = (\sqrt{2} - 1) + (\sqrt{2} - 1) = 2\sqrt{2} - 2 = 2(\sqrt{2} - 1)

Answer: 2(21)2(\sqrt{2} - 1) square units


Horizontal Slices (Integrating with respect to y)

Sometimes it's easier to integrate with respect to yy!

A=cd[rightleft]dyA = \int_c^d [\text{right} - \text{left}]\,dy

When to use:

  • Functions given as x=f(y)x = f(y)
  • Simpler to express in terms of yy
  • Horizontal rectangles make more sense

Example 4: Horizontal Integration

Find the area between x=y2x = y^2 and x=y+2x = y + 2 from y=1y = -1 to y=2y = 2.

Step 1: Identify right and left

Test a point, say y=0y = 0:

  • Parabola: x=02=0x = 0^2 = 0
  • Line: x=0+2=2x = 0 + 2 = 2

Line is to the right!


Step 2: Set up integral

A=12[(y+2)y2]dyA = \int_{-1}^2 [(y + 2) - y^2]\,dy


Step 3: Integrate

=12(y+2y2)dy= \int_{-1}^2 (y + 2 - y^2)\,dy

=[y22+2yy33]12= \left[\frac{y^2}{2} + 2y - \frac{y^3}{3}\right]_{-1}^2


At y=2y = 2: 42+483=2+483=683=103\frac{4}{2} + 4 - \frac{8}{3} = 2 + 4 - \frac{8}{3} = 6 - \frac{8}{3} = \frac{10}{3}

At y=1y = -1: 122+13=36126+26=76\frac{1}{2} - 2 + \frac{1}{3} = \frac{3}{6} - \frac{12}{6} + \frac{2}{6} = -\frac{7}{6}


Step 4: Subtract

A=103(76)=206+76=276=92A = \frac{10}{3} - \left(-\frac{7}{6}\right) = \frac{20}{6} + \frac{7}{6} = \frac{27}{6} = \frac{9}{2}

Answer: 92\frac{9}{2} square units


Choosing Between dx and dy

Use dxdx (vertical slices) when:

  • Functions are y=f(x)y = f(x)
  • Vertical lines cross each curve once
  • Natural to think "top minus bottom"

Use dydy (horizontal slices) when:

  • Functions are x=f(y)x = f(y)
  • Horizontal lines cross each curve once
  • Would need multiple pieces with dxdx

⚠️ Common Mistakes

Mistake 1: Wrong Order

WRONG: Bottom - Top

RIGHT: Top - Bottom (or Right - Left for dy)

Always subtract the lower/left function!


Mistake 2: Forgetting Absolute Value

If you get a negative area, you either:

  • Subtracted in wrong order, OR
  • Need to split where curves cross

Area should be positive!


Mistake 3: Wrong Limits

Check: Are your limits the actual intersection points?

Set f(x)=g(x)f(x) = g(x) and solve to find where curves meet!


Mistake 4: Not Splitting When Needed

If curves cross in the middle of the interval, you must split the integral at that point!


Area Between Multiple Curves

For three curves where f(x)g(x)h(x)f(x) \geq g(x) \geq h(x):

Area between f and h: ab[f(x)h(x)]dx\int_a^b [f(x) - h(x)]\,dx

Area between f and g only: ab[f(x)g(x)]dx\int_a^b [f(x) - g(x)]\,dx

Area between g and h only: ab[g(x)h(x)]dx\int_a^b [g(x) - h(x)]\,dx


Summary of Steps

  1. Sketch the curves
  2. Find intersection points (set functions equal)
  3. Determine which is on top (or right)
  4. Check if curves switch position
  5. Set up integral: ab[topbottom]dx\int_a^b [\text{top} - \text{bottom}]\,dx
  6. Evaluate using FTC
  7. Check: Is the answer positive?

📝 Practice Strategy

  1. Always sketch - visual helps identify top/bottom
  2. Find intersections by setting functions equal
  3. Test a point to determine which is on top
  4. Watch for crossings - split the integral if needed
  5. Choose dx or dy based on which is simpler
  6. Top minus bottom (or right minus left)
  7. Check your answer - area should be positive!

📚 Practice Problems

1Problem 1medium

Question:

Find the area of the region bounded by y=x2y = x^2 and y=2xy = 2x.

💡 Show Solution

Solution:

Step 1: Find intersection points.

x2=2xx^2 = 2x x22x=0x^2 - 2x = 0 x(x2)=0x(x - 2) = 0

Intersection points: x=0x = 0 and x=2x = 2

Step 2: Determine which function is on top.

At x=1x = 1: y=12=1y = 1^2 = 1 (parabola) and y=2(1)=2y = 2(1) = 2 (line)

The line is above the parabola on [0,2][0, 2].

Step 3: Set up and evaluate integral.

Area =02[topbottom]dx= \int_0^2 [\text{top} - \text{bottom}] \, dx

=02(2xx2)dx= \int_0^2 (2x - x^2) \, dx

=[x2x33]02= \left[x^2 - \frac{x^3}{3}\right]_0^2

=(483)0= \left(4 - \frac{8}{3}\right) - 0

=1283=43= \frac{12 - 8}{3} = \frac{4}{3} square units

2Problem 2medium

Question:

Find the area enclosed by y=x24y = x^2 - 4 and y=0y = 0 (the x-axis).

💡 Show Solution

Step 1: Find intersection points

Set x24=0x^2 - 4 = 0:

x2=4x^2 = 4 x=±2x = \pm 2

So the parabola crosses the x-axis at x=2x = -2 and x=2x = 2.


Step 2: Determine which is on top

Between x=2x = -2 and x=2x = 2, the parabola y=x24y = x^2 - 4 is below the x-axis (negative values).

Top: y=0y = 0 Bottom: y=x24y = x^2 - 4


Step 3: Set up integral

A=22[0(x24)]dxA = \int_{-2}^2 [0 - (x^2 - 4)]\,dx

=22(4x2)dx= \int_{-2}^2 (4 - x^2)\,dx


Step 4: Integrate

=[4xx33]22= \left[4x - \frac{x^3}{3}\right]_{-2}^2


At x=2x = 2: 4(2)83=883=1634(2) - \frac{8}{3} = 8 - \frac{8}{3} = \frac{16}{3}

At x=2x = -2: 4(2)83=8+83=1634(-2) - \frac{-8}{3} = -8 + \frac{8}{3} = -\frac{16}{3}


Step 5: Subtract

A=163(163)=163+163=323A = \frac{16}{3} - \left(-\frac{16}{3}\right) = \frac{16}{3} + \frac{16}{3} = \frac{32}{3}

Answer: 323\frac{32}{3} square units

3Problem 3medium

Question:

Find the area of the region bounded by y=x2y = x^2 and y=2xy = 2x.

💡 Show Solution

Solution:

Step 1: Find intersection points.

x2=2xx^2 = 2x x22x=0x^2 - 2x = 0 x(x2)=0x(x - 2) = 0

Intersection points: x=0x = 0 and x=2x = 2

Step 2: Determine which function is on top.

At x=1x = 1: y=12=1y = 1^2 = 1 (parabola) and y=2(1)=2y = 2(1) = 2 (line)

The line is above the parabola on [0,2][0, 2].

Step 3: Set up and evaluate integral.

Area =02[topbottom]dx= \int_0^2 [\text{top} - \text{bottom}] \, dx

=02(2xx2)dx= \int_0^2 (2x - x^2) \, dx

=[x2x33]02= \left[x^2 - \frac{x^3}{3}\right]_0^2

=(483)0= \left(4 - \frac{8}{3}\right) - 0

=1283=43= \frac{12 - 8}{3} = \frac{4}{3} square units

4Problem 4hard

Question:

Find the area between y=sinxy = \sin x and y=cosxy = \cos x from x=0x = 0 to x=π/2x = \pi/2.

💡 Show Solution

Solution:

Step 1: Find where the curves intersect in [0,π/2][0, \pi/2].

sinx=cosx\sin x = \cos x tanx=1\tan x = 1 x=π/4x = \pi/4

Step 2: Determine which is on top.

On [0,π/4][0, \pi/4]: cosx>sinx\cos x > \sin x (test x=0x = 0: cos0=1>0=sin0\cos 0 = 1 > 0 = \sin 0) On [π/4,π/2][\pi/4, \pi/2]: sinx>cosx\sin x > \cos x (test x=π/2x = \pi/2: sin(π/2)=1>0=cos(π/2)\sin(\pi/2) = 1 > 0 = \cos(\pi/2))

Step 3: Split into two integrals.

Area =0π/4(cosxsinx)dx+π/4π/2(sinxcosx)dx= \int_0^{\pi/4} (\cos x - \sin x) \, dx + \int_{\pi/4}^{\pi/2} (\sin x - \cos x) \, dx

First integral:

0π/4(cosxsinx)dx=[sinx+cosx]0π/4\int_0^{\pi/4} (\cos x - \sin x) \, dx = [\sin x + \cos x]_0^{\pi/4}

=(22+22)(0+1)=21= \left(\frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2}\right) - (0 + 1) = \sqrt{2} - 1

Second integral:

π/4π/2(sinxcosx)dx=[cosxsinx]π/4π/2\int_{\pi/4}^{\pi/2} (\sin x - \cos x) \, dx = [-\cos x - \sin x]_{\pi/4}^{\pi/2}

=(01)(2222)=1+2= (0 - 1) - \left(-\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2}\right) = -1 + \sqrt{2}

Total area: (21)+(21)=222=2(21)(\sqrt{2} - 1) + (\sqrt{2} - 1) = 2\sqrt{2} - 2 = 2(\sqrt{2} - 1) square units

5Problem 5hard

Question:

Find the area between y=sinxy = \sin x and y=cosxy = \cos x from x=0x = 0 to x=π/2x = \pi/2.

💡 Show Solution

Solution:

Step 1: Find where the curves intersect in [0,π/2][0, \pi/2].

sinx=cosx\sin x = \cos x tanx=1\tan x = 1 x=π/4x = \pi/4

Step 2: Determine which is on top.

On [0,π/4][0, \pi/4]: cosx>sinx\cos x > \sin x (test x=0x = 0: cos0=1>0=sin0\cos 0 = 1 > 0 = \sin 0) On [π/4,π/2][\pi/4, \pi/2]: sinx>cosx\sin x > \cos x (test x=π/2x = \pi/2: sin(π/2)=1>0=cos(π/2)\sin(\pi/2) = 1 > 0 = \cos(\pi/2))

Step 3: Split into two integrals.

Area =0π/4(cosxsinx)dx+π/4π/2(sinxcosx)dx= \int_0^{\pi/4} (\cos x - \sin x) \, dx + \int_{\pi/4}^{\pi/2} (\sin x - \cos x) \, dx

First integral:

0π/4(cosxsinx)dx=[sinx+cosx]0π/4\int_0^{\pi/4} (\cos x - \sin x) \, dx = [\sin x + \cos x]_0^{\pi/4}

=(22+22)(0+1)=21= \left(\frac{\sqrt{2}}{2} + \frac{\sqrt{2}}{2}\right) - (0 + 1) = \sqrt{2} - 1

Second integral:

π/4π/2(sinxcosx)dx=[cosxsinx]π/4π/2\int_{\pi/4}^{\pi/2} (\sin x - \cos x) \, dx = [-\cos x - \sin x]_{\pi/4}^{\pi/2}

=(01)(2222)=1+2= (0 - 1) - \left(-\frac{\sqrt{2}}{2} - \frac{\sqrt{2}}{2}\right) = -1 + \sqrt{2}

Total area: (21)+(21)=222=2(21)(\sqrt{2} - 1) + (\sqrt{2} - 1) = 2\sqrt{2} - 2 = 2(\sqrt{2} - 1) square units

6Problem 6medium

Question:

Find the area between y=exy = e^x and y=exy = e^{-x} from x=0x = 0 to x=1x = 1.

💡 Show Solution

Step 1: Determine which is on top

At x=0x = 0: both equal 1 (they meet!)

At x=0.5x = 0.5:

  • e0.51.65e^{0.5} \approx 1.65
  • e0.50.61e^{-0.5} \approx 0.61

So exe^x is on top.


Step 2: Set up integral

A=01(exex)dxA = \int_0^1 (e^x - e^{-x})\,dx


Step 3: Integrate

=[ex(ex)]01= [e^x - (-e^{-x})]_0^1

=[ex+ex]01= [e^x + e^{-x}]_0^1


Step 4: Evaluate

At x=1x = 1: e1+e1=e+1ee^1 + e^{-1} = e + \frac{1}{e}

At x=0x = 0: e0+e0=1+1=2e^0 + e^0 = 1 + 1 = 2


Step 5: Subtract

A=(e+1e)2=e+1e2A = \left(e + \frac{1}{e}\right) - 2 = e + \frac{1}{e} - 2

Answer: e+1e2e + \frac{1}{e} - 2 square units (or e+e12e + e^{-1} - 2)

7Problem 7hard

Question:

Find the area of the region bounded by y=xy = x and y=x3y = x^3.

💡 Show Solution

Step 1: Find intersection points

Set x=x3x = x^3:

x3x=0x^3 - x = 0 x(x21)=0x(x^2 - 1) = 0 x(x1)(x+1)=0x(x-1)(x+1) = 0

So x=1,0,1x = -1, 0, 1


Step 2: Determine top/bottom on each interval

On [1,0][-1, 0]: Test x=0.5x = -0.5:

  • Line: y=0.5y = -0.5
  • Cubic: y=(0.5)3=0.125y = (-0.5)^3 = -0.125

Cubic is above line (less negative).

On [0,1][0, 1]: Test x=0.5x = 0.5:

  • Line: y=0.5y = 0.5
  • Cubic: y=0.125y = 0.125

Line is above cubic.


Step 3: Set up two integrals

A=10(x3x)dx+01(xx3)dxA = \int_{-1}^0 (x^3 - x)\,dx + \int_0^1 (x - x^3)\,dx


Step 4: Integrate first piece

10(x3x)dx=[x44x22]10\int_{-1}^0 (x^3 - x)\,dx = \left[\frac{x^4}{4} - \frac{x^2}{2}\right]_{-1}^0

=(00)(1412)= (0 - 0) - \left(\frac{1}{4} - \frac{1}{2}\right)

=0(14)=14= 0 - \left(-\frac{1}{4}\right) = \frac{1}{4}


Step 5: Integrate second piece

01(xx3)dx=[x22x44]01\int_0^1 (x - x^3)\,dx = \left[\frac{x^2}{2} - \frac{x^4}{4}\right]_0^1

=(1214)(00)= \left(\frac{1}{2} - \frac{1}{4}\right) - (0 - 0)

=14= \frac{1}{4}


Step 6: Add the areas

A=14+14=12A = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}

Answer: 12\frac{1}{2} square unit

Note: By symmetry, both pieces have the same area!