Math Lab
Home/Class XII/Ch 8/Area under a curve

Area under a curve

The definite integral abf(x)dx\int_a^b f(x)\,dx gives the signed area between y=f(x)y = f(x) and the xx-axis on [a,b][a, b]. To find a true geometric area you must control the sign , splitting the interval where ff changes sign and integrating f|f| where needed.

Setup with f0f \ge 0

If f(x)0f(x) \ge 0 on [a,b][a, b] and ff is continuous, the region {(x,y):axb, 0yf(x)}\{(x, y) : a \le x \le b,\ 0 \le y \le f(x)\} has area A=abf(x)dx.A = \int_a^b f(x)\,dx. This is the geometric interpretation of the integral. Each vertical "slice" at xx has width dxdx and height f(x)f(x), contributing area f(x)dxf(x)\,dx. Summing (integrating) gives the whole.

When ff goes below the axis

If f(x)0f(x) \le 0 on [a,b][a, b], the integral gives a negative number whose absolute value is the area. The region in question lies below the xx-axis.

If ff takes both signs on [a,b][a, b], find the zeros of ff inside the interval and split: A=abf(x)dx=ac1f+c1c2f+.A = \int_a^b |f(x)|\,dx = \int_a^{c_1} |f| + \int_{c_1}^{c_2} |f| + \cdots. On each sub-interval ff has constant sign, so f|f| is either ff or f-f , easy to integrate.

Area to the left/right of the yy-axis

If your curve is given as x=g(y)x = g(y) on [c,d][c, d] with g0g \ge 0, the area between the curve and the yy-axis is A=cdg(y)dy.A = \int_c^d g(y)\,dy. Same idea, slices horizontal instead of vertical.

Worked examples

Example 1. Find the area under y=x2y = x^2 from x=0x = 0 to x=3x = 3.

f(x)=x20f(x) = x^2 \ge 0, so A=03x2dx=[x33]03=9A = \int_0^3 x^2\,dx = \left[\dfrac{x^3}{3}\right]_0^3 = 9.

Example 2. Find the area between y=sinxy = \sin x and the xx-axis on [0,2π][0, 2\pi].

sinx\sin x changes sign at π\pi. Split: A=0πsinxdx+π2π(sinx)dx=2+2=4.A = \int_0^\pi \sin x\,dx + \int_\pi^{2\pi} (-\sin x)\,dx = 2 + 2 = 4.

Example 3. Find the area between y=x3y = x^3 and the xx-axis from x=2x = -2 to x=2x = 2.

x3x^3 is odd; the signed integral is zero. But the area requires x3|x^3|. By symmetry, A=202x3dx=2164=8A = 2\int_0^2 x^3\,dx = 2 \cdot \dfrac{16}{4} = 8.

Example 4. Find the area between y=lnxy = \ln x, the xx-axis, and the line x=ex = e.

The curve y=lnxy = \ln x is zero at x=1x = 1 and positive on [1,e][1, e]. Below x=1x = 1 it dips negative. The standard interpretation: area from x=1x = 1 to x=ex = e: A=1elnxdx=[xlnxx]1e=(ee)(01)=1.A = \int_1^e \ln x\,dx = [x\ln x - x]_1^e = (e - e) - (0 - 1) = 1.

Example 5. Area enclosed by y2=xy^2 = x and the line x=4x = 4.

Solve simultaneously: y2=4y^2 = 4 gives y=±2y = \pm 2. Region is symmetric about the xx-axis. Using horizontal slices: at height yy, the region extends from x=y2x = y^2 to x=4x = 4, with width 4y24 - y^2. A=22(4y2)dy=202(4y2)dy=2[4yy33]02=2163=323.A = \int_{-2}^2 (4 - y^2)\,dy = 2\int_0^2(4 - y^2)\,dy = 2\left[4y - \dfrac{y^3}{3}\right]_0^2 = 2 \cdot \dfrac{16}{3} = \dfrac{32}{3}.

Example 6. Find the area bounded by y=4x2y = 4 - x^2 and the xx-axis.

Zeros at x=±2x = \pm 2, with y0y \ge 0 between them. By symmetry: A=202(4x2)dx=2(88/3)=323A = 2\int_0^2 (4 - x^2)\,dx = 2 \cdot (8 - 8/3) = \dfrac{32}{3}.

Try it yourself

  1. Area under y=2x+1y = 2x + 1 from x=0x = 0 to x=4x = 4.
  2. Area under y=exy = e^x from x=0x = 0 to x=1x = 1.
  3. Area between y=cosxy = \cos x and the xx-axis on [0,π][0, \pi].
  4. Area enclosed by y=x24y = x^2 - 4 and the xx-axis.
  5. Area under y=xy = \sqrt{x} from x=0x = 0 to x=9x = 9.
  6. Area between y=x2y = x^2 and the xx-axis from x=1x = -1 to x=2x = 2.
  7. Area enclosed by y=9x2y = 9 - x^2 and the xx-axis.
  8. Area enclosed by y=sin2xy = \sin 2x and the xx-axis on [0,π][0, \pi].
  9. Area enclosed by y2=4xy^2 = 4x between x=0x = 0 and x=1x = 1 (in the upper half).
  10. Area enclosed by the curve x=y21x = y^2 - 1 and the yy-axis.
  11. Area between y=xy = |x|, the xx-axis, and x=±3x = \pm 3.
  12. Area between y=1/xy = 1/x, the xx-axis, x=1x = 1, x=ex = e.
  13. Area enclosed by y=exy = e^{-x}, the xx-axis, and the lines x=0x = 0, x=1x = 1.
  14. Area between y=tanxy = \tan x and the xx-axis on [0,π/4][0, \pi/4].

Pitfalls and tricks

  • Sketch first. Without a picture you cannot identify the region or its limits.
  • Mind signs. Geometric area uses f|f|; the bare integral gives signed area.
  • Find zeros of ff in the interval and split there if ff changes sign.
  • Use symmetry. If the region is symmetric about the xx-axis or yy-axis, compute half and double.
  • Choose slice direction. Vertical (dxdx) works when the region is "long horizontally"; horizontal (dydy) when "tall vertically."

Practice quiz

Quick check on this topic.

Quiz
Quick check : Area under a curve
6 questions · pick the best answer
Q1

04xdx=\int_0^4 \sqrt x \,dx=

Q2

Area under y=exy = e^x from 00 to 11 is

Q3

Area between y=x3y = x^3 and xx-axis from 1-1 to 11 (geometric) is

Q4

Area between y=cosxy = \cos x and the xx-axis on [0,π][0, \pi] is

Q5

Area under y=1/xy = 1/x from 11 to ee is

Q6

Area under y=4x2y = 4 - x^2 from 2-2 to 22 is