Make learning comfortable
Multivariable Calculus / LEVEL 1 · DIFFICULTY 4/5
Multivariable Calculus
Read the prerequisite, study a worked example and justify each step in these selected university topics.
Choose a node to explore its lesson.
STAGE UMV 1.1 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Partial Derivatives & Directional Change
Useful preparation: Derivatives, Chain Rule & Implicit Change
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
Partial derivatives measure changes along coordinate slices. For a differentiable function, the gradient combines these rates into a local linear model for every direction. Directional change is its projection onto a unit direction.
- Partial derivative
- The instantaneous rate when one input varies and the others remain fixed; subscripts identify the varying coordinate.
- Gradient
- The vector of first partial derivatives. For a differentiable scalar function it encodes the linear part of all small input changes.
- Directional derivative
- The rate of change per unit distance in a specified direction. A unit vector sets direction without introducing an extra speed factor.
Conditions before calculation
- The gradient dot-product formula requires differentiability at the point. Continuous first partial derivatives in a neighborhood are a sufficient condition.
- Normalize a nonzero direction vector before asking for change per unit distance; its unnormalized version instead includes its magnitude as a speed factor.
- The gradient identifies a unique steepest-ascent direction only when it is nonzero. Orthogonality to a regular level curve also assumes a nonzero gradient.
Why the method works
1. Differentiate coordinate slices
Vary one input while treating the others as constants. Assemble these coordinate derivatives into a vector at the specified point.
2. Use the local linear model
Differentiability provides one linear approximation for every small displacement, with error negligible relative to displacement length. Merely existing coordinate partials are insufficient.
3. Read geometry from the dot product
The projection is largest along a nonzero gradient and vanishes perpendicular to it. Zero first-order change does not imply constancy along a straight path.
Worked examples
EXAMPLE 1
Find the directional derivative at the given point toward the vector.
Compute the coordinate rates before substituting the point. Polynomial smoothness justifies the gradient formula.
The direction vector is not a unit vector. Divide by its length to separate direction from speed.
Take the projection. Compare it with the gradient magnitude, the largest possible rate at this point.
Conclusion: The requested rate is 12.8 per unit distance, below the steepest possible rate.
EXAMPLE 2
Can a direction with zero directional derivative still change the function value?
At the specified point, compute the gradient and choose a perpendicular unit direction.
The dot product vanishes, so the initial first-order rate along the straight path is zero.
Substitute the entire path into the function. Linear terms cancel, but the quadratic change remains for every nonzero step.
Conclusion: The value decreases for every nonzero step, despite a zero initial directional derivative.
Pitfalls & counterexamples
Tempting claim: Existing partial derivatives guarantee differentiability.
Correction: Coordinate slices alone do not control all approaches to a point.
Test the claim: Away from the origin, divide the coordinate product by the sum of coordinate squares; assign zero at the origin. Both origin partials vanish, but diagonal values equal one half, contradicting continuity.
Check your understanding
What happens to the gradient dot product if a direction vector is doubled without normalization?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
It doubles.
The dot product is linear in the vector; the result now measures change along a path moving twice as fast.
Connect this idea
Gradients supply tangent planes, optimization conditions, and conservative vector fields. The local linear model generalizes to Jacobian matrices for vector-valued functions.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
Let . Find .
Let . Find the y-component of its gradient at (1,2).
A gradient at a point is (2, 4). Find the directional derivative in the unit direction .
A surface has , and . What does its tangent-plane approximation predict at (0.1,0.2)?
A height surface is . Find .
A field has potential . Find the y-component of its gradient at (1,2).
A temperature gradient at a point is (3, 6). Find the directional derivative in the unit direction .
A local response surface has , and . What does its tangent-plane approximation predict at (0.1,0.2)?
STAGE UMV 1.2 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Hessians & Multivariable Extrema
Useful preparation: Partial Derivatives & Directional Change
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
At a smooth interior unconstrained optimum, every first-order directional change vanishes. The Hessian distinguishes second-order shapes. Constraints permit only feasible directions, so a constrained optimum can have a nonzero ordinary gradient.
- Stationary point and saddle
- A stationary point has zero gradient. A saddle is a stationary point with arbitrarily nearby larger and smaller function values, preventing either type of local extremum.
- Hessian
- The matrix of second partial derivatives. For a twice continuously differentiable function it is symmetric and describes the quadratic part of local change.
- Lagrange multiplier
- A scalar relating objective and constraint gradients at a regular constrained stationary point; the constraint must also hold.
Conditions before calculation
- The Hessian test requires continuous second partials near an interior stationary point. A zero determinant makes it inconclusive.
- A continuous function on a nonempty compact feasible set attains its absolute extrema; interior tests alone do not check the boundary.
- For one smooth equality constraint, the standard Lagrange necessary condition requires a nonzero constraint gradient. Inspect singular constraint points separately.
Why the method works
1. Find first-order candidates
Every directional rate must vanish at an interior differentiable extremum. Solve all first-partial equations simultaneously.
2. Classify the quadratic shape
For two variables, at a stationary point, a positive Hessian determinant gives a definite quadratic form, classified by the first diagonal entry. A negative determinant gives opposite directional signs and a saddle.
3. Restrict to feasible motion
At a regular constrained extremum, both gradients are normal to the constraint tangent and hence parallel. Solve this condition together with the constraint.
Worked examples
EXAMPLE 1
Locate the quadratic's stationary point, classify it, and determine whether the result is global.
Set both coordinate derivatives to zero and solve the linear system.
The Hessian has positive determinant and positive first diagonal entry, giving a strict local minimum.
Complete squares to compare with every point in the plane. Both squared terms are nonnegative and vanish together only at the candidate.
Conclusion: The point with coordinates 2 and 0 is the unique global minimum; there is no global maximum.
EXAMPLE 2
Find the largest and smallest coordinate products on the circle.
The circle is compact and its constraint gradient never vanishes on it, so extrema exist and satisfy the regular multiplier equations.
Multiply the first component equation by y and the second by x. This avoids dividing by a possibly zero coordinate and forces equal squares.
Compare all four feasible candidates. Equal signs yield the largest product; opposite signs yield the smallest.
Conclusion: The absolute maximum is 1 and the absolute minimum is negative 1, each attained at two points.
Pitfalls & counterexamples
Tempting claim: Zero gradient guarantees a local minimum.
Correction: It eliminates first-order change but leaves higher-order shape unresolved.
Test the claim: The difference of the squared coordinates has zero gradient at the origin, yet increases along the horizontal axis and decreases along the vertical axis.
Check your understanding
If the Hessian determinant is zero at a stationary point, does that prove a saddle?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
No.
The test is inconclusive: the sum of fourth powers has a strict minimum at the origin, while the difference of fourth powers has a saddle there.
Connect this idea
The Hessian extends the one-variable second-derivative test. Constraint gradients explain why optimization algorithms project proposed changes onto feasible directions.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
For , find the Hessian determinant at (0,0).
For , classify the origin: 1 minimum, 2 maximum, 3 saddle.
Minimize subject to . Find the minimizing x.
For , what is the minimum value?
A quadratic cost is , find the Hessian determinant at (0,0).
A surface is , classify the origin: 1 minimum, 2 maximum, 3 saddle.
Two allocations minimize subject to . Find the minimizing x.
A cost surface is , what is the minimum value?
STAGE UMV 1.3 · 8 PRACTICE PROBLEMS · 4 NEW-CONTEXT APPLICATIONS
Multiple, Line & Surface Integrals
Useful preparation: Hessians & Multivariable Extrema
Open this topic in the university library →
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
Integration needs a quantity and a geometric measure: area for a sheet, arc length for a wire, and surface area for a surface. Vector fields additionally introduce directional work and flux.
- Multiple integral
- Accumulation using area or volume. Iterated integration accumulates one coordinate at a time, with bounds describing the region.
- Scalar and vector line integrals
- Scalar line integrals weight arc length; work integrals project vector fields onto directed displacement.
- Surface integral and flux
- Scalar surface integrals weight area; flux first projects a vector field onto an oriented unit normal.
Conditions before calculation
- Continuity on the bounded elementary regions here permits iterated integration. Changing order requires new bounds describing the same region.
- Coordinate changes require the absolute Jacobian determinant and a valid one-to-one description apart from boundary overlaps. Here polar coordinates use , so the area factor is r; a signed-radius parameterization requires and a check for repeated coverage.
- Use piecewise smooth curves and regular surfaces. Reversing orientation negates work and flux, but preserves scalar integrals.
Why the method works
1. Describe the domain before integrating
Changing slice widths require variable inner bounds. Polar angle increments produce longer arcs farther from the origin, giving the radial area factor.
2. Convert a curve to a parameter interval
Speed converts parameter width into length. Work instead uses the velocity vector itself, preserving direction.
3. Convert a surface patch to parameter area
Parameter tangents span a small parallelogram. Their cross-product magnitude scales area, while its direction chooses the flux normal.
Worked examples
EXAMPLE 1
Find the mass of a triangular sheet with the displayed density.
Vertical slices run from the horizontal axis to the sloping edge. The density is nonnegative throughout this triangle.
Integrate with respect to y while holding x fixed. The upper bound depends on x, reflecting the tapering region.
Simplify and perform the outer integral. The triangle's area is 2, so the resulting average density provides a consistency check.
Conclusion: Mass is eight thirds; average density lies within the density range from zero to two.
EXAMPLE 2
Compare accumulation on a sloping wire and tilted surface, explaining why parameter size alone is insufficient.
The wire parameter runs from zero to one, but the spatial displacement is longer. Compute its speed before integrating.
The surface is a tilted unit parameter square. Its two tangent vectors determine the actual area multiplier.
Use the cross-product magnitude for scalar area. For upward flux of a unit vertical field, use the oriented cross product instead.
Conclusion: Wire length, surface area, and vertical flux respectively equal square root of 5, square root of 2, and 1.
Pitfalls & counterexamples
Tempting claim: The parameter differential alone is always the geometric measure.
Correction: Parameter intervals and patches must be scaled into actual length or area; the needed factor depends on the geometry.
Test the claim: The wire parameter interval has length one, but the physical wire has length square root of 5.
Check your understanding
What changes when the chosen surface normal is reversed?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
Flux changes sign; a scalar surface-area integral does not.
Flux contains the signed normal direction, while scalar accumulation uses a nonnegative area magnitude.
Connect this idea
These measures support mass, work, and transport models. Green's, Stokes', and the divergence theorems later relate certain interior accumulations to boundary accumulations under their respective hypotheses.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.
Preview the eight practice prompts
Evaluate from to from to 2 of x dx dy.
Integrate the constant density 3 over , , . Find the triple integral.
Find the line integral along , from to . Find .
A surface patch has area 3, upward unit normal (0,0,1), and constant field . Find the upward flux.
A rectangular lamina has mass given by from to from to 3 of x dx dy.
A box has density 3 over , , . Find the triple integral.
A force field is along , from to . Find .
A horizontal sensor patch has area 4, upward unit normal (0,0,1), and constant field . Find the upward flux.

