The definite integral ∫abf(x)dx gives the signed area between y=f(x) and the x-axis on [a,b]. To find a true geometric area you must control the sign , splitting the interval where f changes sign and integrating ∣f∣ where needed.
Setup with f≥0
If f(x)≥0 on [a,b] and f is continuous, the region {(x,y):a≤x≤b,0≤y≤f(x)} has area
A=∫abf(x)dx.
This is the geometric interpretation of the integral. Each vertical "slice" at x has width dx and height f(x), contributing area f(x)dx. Summing (integrating) gives the whole.
When f goes below the axis
If f(x)≤0 on [a,b], the integral gives a negative number whose absolute value is the area. The region in question lies below the x-axis.
If f takes both signs on [a,b], find the zeros of f inside the interval and split:
A=∫ab∣f(x)∣dx=∫ac1∣f∣+∫c1c2∣f∣+⋯.
On each sub-interval f has constant sign, so ∣f∣ is either f or −f , easy to integrate.
Area to the left/right of the y-axis
If your curve is given as x=g(y) on [c,d] with g≥0, the area between the curve and the y-axis is
A=∫cdg(y)dy.
Same idea, slices horizontal instead of vertical.
Worked examples
Example 1. Find the area under y=x2 from x=0 to x=3.
f(x)=x2≥0, so A=∫03x2dx=[3x3]03=9.
Example 2. Find the area between y=sinx and the x-axis on [0,2π].
sinx changes sign at π. Split:
A=∫0πsinxdx+∫π2π(−sinx)dx=2+2=4.
Example 3. Find the area between y=x3 and the x-axis from x=−2 to x=2.
x3 is odd; the signed integral is zero. But the area requires ∣x3∣. By symmetry, A=2∫02x3dx=2⋅416=8.
Example 4. Find the area between y=lnx, the x-axis, and the line x=e.
The curve y=lnx is zero at x=1 and positive on [1,e]. Below x=1 it dips negative. The standard interpretation: area from x=1 to x=e:
A=∫1elnxdx=[xlnx−x]1e=(e−e)−(0−1)=1.
Example 5. Area enclosed by y2=x and the line x=4.
Solve simultaneously: y2=4 gives y=±2. Region is symmetric about the x-axis. Using horizontal slices: at height y, the region extends from x=y2 to x=4, with width 4−y2.
A=∫−22(4−y2)dy=2∫02(4−y2)dy=2[4y−3y3]02=2⋅316=332.
Example 6. Find the area bounded by y=4−x2 and the x-axis.
Zeros at x=±2, with y≥0 between them. By symmetry: A=2∫02(4−x2)dx=2⋅(8−8/3)=332.
Try it yourself
Area under y=2x+1 from x=0 to x=4.
Area under y=ex from x=0 to x=1.
Area between y=cosx and the x-axis on [0,π].
Area enclosed by y=x2−4 and the x-axis.
Area under y=x from x=0 to x=9.
Area between y=x2 and the x-axis from x=−1 to x=2.
Area enclosed by y=9−x2 and the x-axis.
Area enclosed by y=sin2x and the x-axis on [0,π].
Area enclosed by y2=4x between x=0 and x=1 (in the upper half).
Area enclosed by the curve x=y2−1 and the y-axis.
Area between y=∣x∣, the x-axis, and x=±3.
Area between y=1/x, the x-axis, x=1, x=e.
Area enclosed by y=e−x, the x-axis, and the lines x=0, x=1.
Area between y=tanx and the x-axis on [0,π/4].
Pitfalls and tricks
Sketch first. Without a picture you cannot identify the region or its limits.
Mind signs. Geometric area uses ∣f∣; the bare integral gives signed area.
Find zeros of f in the interval and split there if f changes sign.
Use symmetry. If the region is symmetric about the x-axis or y-axis, compute half and double.
Choose slice direction. Vertical (dx) works when the region is "long horizontally"; horizontal (dy) 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=
Q2
Area under y=ex from 0 to 1 is
Q3
Area between y=x3 and x-axis from −1 to 1 (geometric) is