01 / 20

Common Setup
Pitfalls

Learn to recognize and avoid the most frequent errors when setting up multivariable integrals, coordinate transforms, and region descriptions in Calculus 3.

Calculus 3

What Are Setup Pitfalls?

In multivariable calculus, the hardest part of most problems is not the integration itself: it is correctly describing the region of integration, choosing the right coordinate system, and writing the correct bounds. A "setup pitfall" is any systematic error made during this phase.

The Three Danger Zones

Bounds
Writing limits of integration in the wrong order, mixing up variable dependencies, or using constants where functions belong.
Coordinates
Forgetting the Jacobian, applying the wrong coordinate transform, or mixing Cartesian bounds into polar integrals.
Geometry
Misreading the region's shape, confusing intersection curves, or sketching the projection onto the wrong plane.

Why Setup Matters Most

Correct Setup \(y = 0\) \(x = 2\) \(y = x\) Wrong Bounds Integrates over wrong region

Core Rule: Order of Integration

For a double integral over region \( R \), the inner bounds depend on the outer variable, and the outer bounds must be constants:

Core Rule: The Jacobian

When converting from Cartesian to another coordinate system, you must include the Jacobian determinant. The most common transforms:

Polar
\( dA = r\,dr\,d\theta \)
Jacobian factor: \( r \)
Cylindrical
\( dV = r\,dz\,dr\,d\theta \)
Jacobian factor: \( r \)
Spherical
\( dV = \rho^2 \sin\phi\,d\rho\,d\phi\,d\theta \)
Jacobian: \( \rho^2\sin\phi \)

\(dy\,dx\) vs \(dx\,dy\)

The same region \( R \) can be described two ways. Switching the order of integration changes which variable has function bounds:

\( dy\,dx \) (Type I) \( dx\,dy \) (Type II)
Outer variable \( x \) with constant limits \( y \) with constant limits
Inner variable \( y = g_1(x) \) to \( g_2(x) \) \( x = h_1(y) \) to \( h_2(y) \)
Slice direction Vertical slices Horizontal slices
Best when Region bounded by \( y = f(x) \) Region bounded by \( x = f(y) \)

Visualizing the Swap

Type I: vertical slices \(x\) \(y\) \(y = x\) \(0 < x < 2\) Type II: horizontal slices \(x\) \(y\) \(x = y\) \(0 < y < 2\)

Setup Checklist

1
Sketch the region. Draw the boundary curves and shade the region \( R \). Label intersections.
2
Choose coordinates. Does the region have circular symmetry? Use polar or cylindrical. Spherical symmetry? Use spherical.
3
Pick the integration order. Decide which variable is outer (constant bounds) and which is inner (function bounds).
4
Write the bounds explicitly. Outer bounds must be constants. Inner bounds: functions of the outer variable only.
5
Include the Jacobian. If you changed coordinates, multiply by the correct factor: \( r \), \( r \), or \( \rho^2\sin\phi \).
6
Sanity check. Does the inner variable range make sense when the outer variable is at its endpoints?

Example 1: Triangular Region

Evaluate \(\displaystyle \int\!\!\int_R xy\,dA\) where \( R \) is the triangle with vertices \((0,0)\), \((1,0)\), and \((1,1)\).

\(x\) \(y\) (0,0) (1,0) (1,1) \(y = x\) 1 1

Example 2: Polar Conversion

Evaluate \(\displaystyle \int\!\!\int_R e^{-(x^2+y^2)}\,dA\) where \( R \) is the disk \( x^2 + y^2 \le 4 \).

\(x\) \(y\) \(r = 2\) 2 2

Example 3: Reversing the Order

Reverse the order of integration for:
\(\displaystyle \int_0^1\!\int_x^1 e^{y^2}\,dy\,dx\)

Spherical Coordinate Pitfalls

Spherical coordinates \((\rho, \phi, \theta)\) have two common convention traps:

\(\phi\) vs \(\theta\)
Physics uses \(\theta\) for the polar angle (from the \(z\)-axis). Math uses \(\phi\). Know your textbook's convention.
\(\phi\) Range
The polar angle runs from \(0\) to \(\pi\), not \(0\) to \(2\pi\). Using \(2\pi\) double-counts the sphere.

Common Mistakes

✕ Missing Jacobian
Writing \( dr\,d\theta \) instead of \( r\,dr\,d\theta \) in polar, or forgetting \( \rho^2\sin\phi \) in spherical.
✕ Variable in Outer Bounds
Outer limits must be constants. If you see \(\int_0^y ...\,dx\) on the outside, the setup is wrong.
✕ Wrong Projection Plane
For triple integrals, projecting onto the \(xy\)-plane when the region is easier to describe in \(xz\) or \(yz\).
✕ Swapped Bounds
Writing \(\int_x^0\) instead of \(\int_0^x\). The lower bound must be \(\le\) the upper bound throughout the region.

Coordinate Comparison

Polar / Cylindrical Spherical
Best for Circular cross-sections, cylinders, cones Spheres, cones from origin
Jacobian \( r \) \( \rho^2 \sin\phi \)
\(\theta\) range \( [0, 2\pi] \) for full circle \( [0, 2\pi] \) for full rotation
Polar angle range N/A \( \phi \in [0, \pi] \) (full sphere)
Biggest pitfall Forgetting \( r \) Wrong \(\phi\) range

Question 1 of 5

When converting the integral \(\displaystyle\int\!\!\int_R f(x,y)\,dA\) to polar coordinates, the area element \(dA\) becomes:

Question 2 of 5

Which integral correctly describes \(\displaystyle\int\!\!\int_R f\,dA\) over the region bounded by \( y = 0 \), \( y = \sqrt{x} \), and \( x = 4 \)?

Question 3 of 5

To reverse the order of \(\displaystyle\int_0^1\!\int_0^{x^2} f\,dy\,dx\), the equivalent integral is:

Question 4 of 5

In spherical coordinates, to integrate over the upper hemisphere of a sphere of radius \( R \), the polar angle \(\phi\) should range from:

Question 5 of 5

A student writes \(\displaystyle\int_0^y\!\int_0^1 f(x,y)\,dy\,dx\). What is the error?