Intuition What this page is for
The parent note taught you how to set up a Type I or Type II integral. This page hunts down every kind of region and integrand you might meet — every awkward boundary, every degenerate shape, every trap where naming the curves "in order" backfires. If you work all of these, no exam region should surprise you.
Before we start, remember the two engines from the parent note :
∬ D f d A = ∫ a b ∫ g 1 ( x ) g 2 ( x ) f d y d x ( Type I, vertical strips )
∬ D f d A = ∫ c d ∫ h 1 ( y ) h 2 ( y ) f d x d y ( Type II, horizontal strips )
Everything below is just these two, applied to harder-and-harder regions.
Every double integral over a general region falls into one of these case classes . The table lists what makes each one special, and which worked example below handles it.
#
Case class
What makes it tricky
Example
A
Region needs both boundaries as functions of x
top and bottom are curves
Ex 1
B
Boundaries cross / swap — must find intersection
which curve is "top" flips
Ex 2
C
Region not Type I as a whole — must split
one description won't cover it
Ex 3
D
Only Type II works (Type I would need pieces)
left/right boundary is a single curve, top/bottom is not
Ex 4
E
Forced order-swap (no antiderivative the naïve way)
∫ e y 2 -style dead ends
Ex 5
F
Degenerate / zero-area limiting case
region collapses to a line
Ex 6
G
Sign of the integrand — negative f , signed volume
answer can be negative
Ex 7
H
Word problem (mass / average value)
translate physics → limits
Ex 8
I
Exam twist — region defined by inequalities only
you must draw it yourself
Ex 9
We now clear the whole table.
Worked example Ex 1 — under a parabola cap
Compute ∬ D ( x + y ) d A where D lies between y = x 2 (bottom) and y = 2 − x 2 (top).
Forecast: the two parabolas make a lens shape. Guess: is the answer positive? (Both curves live in the region y > 0 near the middle, and x + y is mostly positive there — so yes.)
Figure s01 below draws the lens: the coral curve is the bottom y = x 2 , the lavender curve is the top y = 2 − x 2 , the mint fill is D , and the dashed vertical lines are the strips we sweep. Notice the corners at x = ± 1 where the two curves meet.
Find where the strips start and stop (the x -limits). Set the curves equal: x 2 = 2 − x 2 ⇒ 2 x 2 = 2 ⇒ x = ± 1 .
Why this step? Vertical strips only exist where a bottom curve sits below a top curve; outside [ − 1 , 1 ] the "cap" curve is below the parabola, so there is no region. In the figure these are exactly where the coral and lavender curves cross.
Identify top vs bottom. At x = 0 : bottom = 0 , top = 2 . So g 1 ( x ) = x 2 , g 2 ( x ) = 2 − x 2 .
Why? Always test a sample point — never trust the order the curves were named in. The middle dashed strip in the figure confirms lavender sits above coral.
Set up Type I:
∫ − 1 1 ∫ x 2 2 − x 2 ( x + y ) d y d x .
Inner integral. ∫ x 2 2 − x 2 ( x + y ) d y = [ x y + 2 y 2 ] x 2 2 − x 2 .
Top value: x ( 2 − x 2 ) + 2 ( 2 − x 2 ) 2 . Bottom value: x ⋅ x 2 + 2 x 4 .
Why this step? We integrate the inner variable y first, treating x as a constant.
Simplifying gives − 2 x 3 + 2 x − 2 x 2 + 2 .
Outer integral. ∫ − 1 1 ( − 2 x 3 + 2 x − 2 x 2 + 2 ) d x . The odd terms − 2 x 3 and 2 x integrate to 0 over the symmetric interval [ − 1 , 1 ] .
Why? Odd functions cancel over a symmetric interval — a huge time-saver worth spotting.
Left with ∫ − 1 1 ( − 2 x 2 + 2 ) d x = [ − 3 2 x 3 + 2 x ] − 1 1 = 3 8 .
Verify: answer = 3 8 ≈ 2.667 , positive as forecast. Area of the lens is ∫ − 1 1 ( 2 − 2 x 2 ) d x = 3 8 ; the average of x + y over D is then 8/3 8/3 = 1 , a plausible mid-region value. ✓
Worked example Ex 2 — a line cutting a parabola
Compute ∬ D 1 d A (the area ) of the region bounded by y = x 2 and y = x + 2 .
Forecast: a line slicing across a parabola makes one closed region. Guess the area is a few units.
Figure s02 below shows the coral parabola y = x 2 (bottom), the lavender line y = x + 2 (top), the mint region between them, and the two slate dots at the crossings ( − 1 , 1 ) and ( 2 , 4 ) — the left/right ends of the strips.
Intersections: x 2 = x + 2 ⇒ x 2 − x − 2 = 0 ⇒ ( x − 2 ) ( x + 1 ) = 0 ⇒ x = − 1 , 2 .
Why? These are the left/right ends of every vertical strip (the two dots in the figure).
Top vs bottom: at x = 0 , line = 2 , parabola = 0 . So the line is on top : g 2 = x + 2 , g 1 = x 2 .
Why? If you (wrongly) put the parabola on top you'd integrate high-to-low and get a negative area — see the mistake about top/bottom.
Set up & inner: ∫ − 1 2 ∫ x 2 x + 2 1 d y d x = ∫ − 1 2 [ ( x + 2 ) − x 2 ] d x .
Outer: ∫ − 1 2 ( x + 2 − x 2 ) d x = [ 2 x 2 + 2 x − 3 x 3 ] − 1 2 = 3 10 − ( − 6 7 ) = 2 9 .
Verify: this is exactly the Area between two curves formula ∫ ( g 2 − g 1 ) , giving 2 9 = 4.5 square units — reasonable for a strip about 3 wide and up to ~2 tall. ✓
Worked example Ex 3 — a triangle that isn't a single Type I strip
Compute ∬ D x d A where D is the triangle with vertices ( 0 , 0 ) , ( 2 , 0 ) , ( 1 , 2 ) .
Forecast: the top boundary changes formula at x = 1 (the peak). So a single Type I inner limit can't describe it — we must split at x = 1 .
Figure s03 below shows the mint triangle, its lavender left edge y = 2 x , its coral right edge y = − 2 x + 4 , and the dashed line x = 1 where the top boundary switches formula. The three slate dots are the vertices.
Get the edge equations. Left edge ( 0 , 0 ) → ( 1 , 2 ) : y = 2 x . Right edge ( 1 , 2 ) → ( 2 , 0 ) : y = − 2 x + 4 . Bottom: y = 0 .
Why? Each straight edge is a linear function; the top of a vertical strip is y = 2 x for x < 1 but y = − 2 x + 4 for x > 1 (the two coloured edges in the figure).
Split at x = 1 :
∫ 0 1 ∫ 0 2 x x d y d x + ∫ 1 2 ∫ 0 − 2 x + 4 x d y d x .
Why this step? Because g 2 ( x ) has two formulas , the outer integral must be broken at the dashed line x = 1 .
Left piece: ∫ 0 1 x ⋅ 2 x d x = ∫ 0 1 2 x 2 d x = 3 2 .
Right piece: ∫ 1 2 x ( − 2 x + 4 ) d x = ∫ 1 2 ( − 2 x 2 + 4 x ) d x = [ − 3 2 x 3 + 2 x 2 ] 1 2 = ( − 3 16 + 8 ) − ( − 3 2 + 2 ) = 3 8 − 3 4 = 3 4 .
Add: 3 2 + 3 4 = 2 .
Verify: as a Type II integral (single description!): left edge x = y /2 , right edge x = ( 4 − y ) /2 , y ∈ [ 0 , 2 ] :
∫ 0 2 ∫ y /2 ( 4 − y ) /2 x d x d y = 2 too. ✓ (Type II needed no split — sometimes one order is far cleaner.)
Worked example Ex 4 — a sideways parabola
Compute ∬ D y d A where D is bounded by x = y 2 (left) and x = y + 2 (right).
Forecast: these curves open sideways , so horizontal strips (Type II) sweep them naturally.
Figure s04 below shows the coral sideways parabola x = y 2 (left boundary), the lavender line x = y + 2 (right boundary), the mint region, and the dashed horizontal strips running left-to-right — exactly the Type II strips.
Intersections in y : y 2 = y + 2 ⇒ y 2 − y − 2 = 0 ⇒ ( y − 2 ) ( y + 1 ) = 0 ⇒ y = − 1 , 2 .
Why? These are the bottom/top of every horizontal strip.
Left vs right: at y = 0 , left = 0 (x = y 2 ), right = 2 (x = y + 2 ). So h 1 = y 2 , h 2 = y + 2 .
Why? Horizontal strip runs from the smaller x to the larger x — the dashed strips in the figure start on the coral curve and end on the lavender line.
Set up Type II & do the inner d x integral.
∫ − 1 2 ∫ y 2 y + 2 y d x d y .
Inner: ∫ y 2 y + 2 y d x = y ⋅ [ x ] y 2 y + 2 = y [ ( y + 2 ) − y 2 ] .
Why does the inner integral pull y out like that? We are integrating with respect to x , so y is a constant for the inner step. The antiderivative of the constant y is y ⋅ x ; evaluating from x = y 2 to x = y + 2 gives y times the strip width ( y + 2 ) − y 2 . That is why ∫ y 2 y + 2 y d x = y [ ( y + 2 ) − y 2 ] .
Why Type II and not Type I? As a Type I integral you'd split into two pieces (the left boundary is the parabola for some x and the line for others). Type II handles it in one shot.
Outer: expand y [ ( y + 2 ) − y 2 ] = y 2 + 2 y − y 3 , then
∫ − 1 2 ( y 2 + 2 y − y 3 ) d y = [ 3 y 3 + y 2 − 4 y 4 ] − 1 2 .
At y = 2 : 3 8 + 4 − 4 = 3 8 . At y = − 1 : − 3 1 + 1 − 4 1 = 12 5 . Difference: 3 8 − 12 5 = 12 32 − 12 5 = 12 27 = 4 9 .
Verify: 4 9 = 2.25 . A numeric double sum over a fine grid confirms it (see VERIFY). ✓
Worked example Ex 5 — the classic dead-end integrand
Evaluate ∫ 0 1 ∫ y 1 1 + x 3 1 d x d y . The inner ∫ 1 + x 3 d x is ugly (partial fractions with logs and arctans) — swap the order first.
Forecast: after swapping, the inner integral in y should give a friendly factor of x 2 .
Figure s05 below shows the region: the coral curve y = x 2 (which is x = y read the other way), the lavender line x = 1 , and the mint region beneath — the strips will become vertical after the swap.
Read the given region as inequalities. The limits say 0 ≤ y ≤ 1 and, for each such y , y ≤ x ≤ 1 .
Why? We list the two constraints exactly as the integral wrote them, before touching them.
Re-solve the inequalities for y given x . From y ≤ x (both sides ≥ 0 ) square to get y ≤ x 2 . Combined with y ≥ 0 , the vertical strip at a fixed x runs 0 ≤ y ≤ x 2 .
Why? To make x the outer variable we need each strip's y -range as functions of x .
Derive the new outer x -range explicitly. For a vertical strip to be non-empty we need 0 ≤ x 2 , always true, and the strips must stay inside the original box. The original box had x ∈ [ y , 1 ] with y ∈ [ 0 , 1 ] ; the smallest x that ever occurs is at y = 0 , giving x = 0 = 0 , and the largest is x = 1 . Hence 0 ≤ x ≤ 1 .
Why this step? The outer limits must be constants covering every strip. Reading them off the box corners (leftmost point x = 0 at the bottom, rightmost x = 1 ) gives [ 0 , 1 ] with no guessing.
New integral & inner: ∫ 0 1 ∫ 0 x 2 1 + x 3 1 d y d x = ∫ 0 1 1 + x 3 x 2 d x .
Why swap? Doing y inner makes 1 + x 3 1 a constant in y , so the inner integral just multiplies it by the strip height x 2 .
Substitute u = 1 + x 3 , d u = 3 x 2 d x : ∫ 0 1 1 + x 3 x 2 d x = 3 1 ln ( 1 + x 3 ) 0 1 = 3 1 ln 2 .
Why this substitution? The numerator x 2 is (up to a constant) the derivative of the denominator — the tell-tale sign for a ln result.
Verify: 3 1 ln 2 ≈ 0.231 . A direct numeric double integral of the original order agrees (see VERIFY). This is the same idea as Changing the order of integration . ✓
Worked example Ex 6 — when the region collapses
Consider I ( t ) = ∫ 0 t ∫ 0 x 1 d y d x (area of a triangle of side t ). What happens as t → 0 ?
Forecast: as t → 0 the triangle shrinks to a point — area should go to 0 , and fast (like t 2 ).
Compute for general t : inner ∫ 0 x 1 d y = x ; outer ∫ 0 t x d x = 2 t 2 .
Why? We keep t symbolic so we can watch the limit.
Degenerate limit: lim t → 0 2 t 2 = 0 . The region { 0 ≤ x ≤ t , 0 ≤ y ≤ x } collapses to the single point ( 0 , 0 ) — zero area , integral = 0 .
Why care? If an exam gives limits that coincide (e.g. g 1 ( x ) = g 2 ( x ) ), the inner integral is ∫ a a = 0 before you do any work. Spotting this saves effort and avoids nonsense.
Another degenerate check: if instead the "top" equals the "bottom" everywhere, say ∫ 0 1 ∫ x x f d y d x , the inner integral is ∫ x x f d y = 0 , so I = 0 for any f .
Why? Integrating over an interval of zero length gives 0 — the strip has no height.
Verify: I ( 1 ) = 2 1 (the unit triangle area from the parent note's Ex 1 region), and I ( t ) / t 2 = 2 1 constant, confirming the t 2 scaling. ✓
Worked example Ex 7 — the answer is negative
Compute ∬ D ( x − 1 ) d A over the unit square D = { 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1 } .
Forecast: on the square x − 1 ≤ 0 everywhere (it's 0 only on the edge x = 1 ). So the "surface" z = x − 1 sits below the floor — the signed volume must be negative .
Set up (it's a rectangle , constant limits):
∫ 0 1 ∫ 0 1 ( x − 1 ) d y d x .
Inner (over y , integrand constant in y ): ∫ 0 1 ( x − 1 ) d y = ( x − 1 ) ⋅ 1 = x − 1 .
Why? x − 1 doesn't depend on y , so integrating over a unit y -interval just multiplies by 1 .
Outer: ∫ 0 1 ( x − 1 ) d x = [ 2 x 2 − x ] 0 1 = 2 1 − 1 = − 2 1 .
Verify: negative, as forecast. The average height of x − 1 over x ∈ [ 0 , 1 ] is 2 ( − 1 ) + 0 = − 2 1 ; over unit area the signed volume equals that average, − 2 1 . ✓ Double integrals can be negative — never "fix" a negative answer to positive.
Worked example Ex 8 — mass of a triangular plate
A thin plate occupies the triangle D with vertices ( 0 , 0 ) , ( 1 , 0 ) , ( 0 , 1 ) . Its density is ρ ( x , y ) = x + y (kg per unit area). Find its mass m = ∬ D ρ d A .
Forecast: density averages roughly 3 1 –2 1 over this small triangle of area 2 1 , so expect m around 3 1 .
Figure s06 below shows the mint triangle, its lavender hypotenuse x + y = 1 , the dashed vertical strips, and the three slate vertices — the density grows as you move away from the origin.
Describe D as Type I. The hypotenuse is x + y = 1 ⇒ y = 1 − x . For x ∈ [ 0 , 1 ] , y runs 0 to 1 − x .
Why? Bottom is the x -axis, top is the slanted edge.
Set up: m = ∫ 0 1 ∫ 0 1 − x ( x + y ) d y d x .
Inner: ∫ 0 1 − x ( x + y ) d y = [ x y + 2 y 2 ] 0 1 − x = x ( 1 − x ) + 2 ( 1 − x ) 2 = 2 1 − 2 x 2 .
Why this step? Standard inner integration in y ; then simplify.
Outer: ∫ 0 1 ( 2 1 − 2 x 2 ) d x = 2 1 − 6 1 = 3 1 kg.
Verify: m = 3 1 kg, matching the forecast. Units check: density (kg/area) × area = kg — consistent. This is exactly the mass integral used in Centre of mass and moments . ✓
Worked example Ex 9 — you must draw it yourself
Evaluate ∬ D 2 y d A where D = {( x , y ) : x ≥ 0 , y ≥ 0 , x + y ≤ 1 , y ≤ x } .
Forecast: four inequalities carve out a small polygon. Sketch first — that's the whole difficulty.
Figure s07 below shows the coral line y = x , the lavender line x + y = 1 , the mint triangle they bound with the axes, and the dashed line x = 2 1 (the apex) where the top boundary switches.
Interpret each inequality. x ≥ 0 , y ≥ 0 : first quadrant. x + y ≤ 1 : below the line y = 1 − x . y ≤ x : below the line y = x .
Why? Each inequality is a half-plane; D is their intersection (the mint region in the figure).
Find the corners. y = x meets x + y = 1 at ( 2 1 , 2 1 ) . The line y = x passes through ( 0 , 0 ) , and x + y = 1 meets the x -axis at ( 1 , 0 ) . So the region is the triangle ( 0 , 0 ) , ( 1 , 0 ) , ( 2 1 , 2 1 ) .
Why? The corners tell you the x -range and where the top boundary switches.
Set up Type I with a split at x = 2 1 . For 0 ≤ x ≤ 2 1 the top is y = x ; for 2 1 ≤ x ≤ 1 the top is y = 1 − x . Bottom is y = 0 throughout. So
∬ D 2 y d A = ∫ 0 1/2 ∫ 0 x 2 y d y d x + ∫ 1/2 1 ∫ 0 1 − x 2 y d y d x .
Why split? The top boundary changes formula at the apex x = 2 1 (the dashed line in the figure) — one inner limit cannot cover both sides.
Piece 1. Inner: ∫ 0 x 2 y d y = [ y 2 ] 0 x = x 2 . Outer: ∫ 0 1/2 x 2 d x = [ 3 x 3 ] 0 1/2 = 24 1 .
Why? The inner antiderivative of 2 y is y 2 ; the top limit y = x makes the strip contribution x 2 .
Piece 2. Inner: ∫ 0 1 − x 2 y d y = [ y 2 ] 0 1 − x = ( 1 − x ) 2 . Outer: ∫ 1/2 1 ( 1 − x ) 2 d x = [ − 3 ( 1 − x ) 3 ] 1/2 1 = 0 − ( − 3 ( 1/2 ) 3 ) = 24 1 .
Add: 24 1 + 24 1 = 12 1 .
Verify: 12 1 ≈ 0.0833 . A fine numeric grid over the polygon confirms it (see VERIFY). ✓
Recall Self-test across the matrix
Which cell needs you to split the outer integral? ::: Cells C and I — whenever the top (or side) boundary changes formula.
Can a double integral be negative? ::: Yes (Cell G) — it is a signed volume; never force it positive.
What is the fastest sign of a needed order-swap? ::: The inner integrand has no elementary antiderivative in the given variable (Cell E).
If g 1 ( x ) = g 2 ( x ) on the whole outer range, what is the integral? ::: Zero — a strip of zero height (Cell F).
Mnemonic The scenario reflex
Draw → Corners → Sample point → Choose order → Split if the boundary changes formula.
Do these five in order and every region in the matrix falls out.