Skip to content

Multivariable Calculus Practice (Interactive)

Intuition

Calculus in higher dimensions: Multivariable calculus extends single-variable calculus to functions of several variables — surfaces instead of curves, volumes instead of areas. It is the mathematics of fields (temperature, gravity, electromagnetic) that vary across space.

Why it matters: Machine learning optimises functions of millions of variables (gradients), physics describes fields in 3D space (divergence, curl), and economics models multi-factor systems. Multivariable calculus is the mathematical language of all these.

The key insight: The gradient points in the direction of steepest ascent — this is why gradient descent (following the negative gradient) finds minima, which is the foundation of neural network training.

University Mathematics — Multivariable Calculus Practice

10 auto-graded practice problems at medium to hard difficulty. Select an answer, submit, and review the explanation.


Partial Derivatives and Chain Rule


Multiple Integrals


Vector Calculus

Common Mistakes

Forgetting the Jacobian determinant when changing variables in integrals: When converting from Cartesian to polar, spherical, or other coordinate systems, you must multiply by the Jacobian determinant (e.g., rr for polar coordinates). The integral f(x,y)dxdy\iint f(x,y)\,dx\,dy becomes f(rcosθ,rsinθ)rdrdθ\iint f(r\cos\theta, r\sin\theta)\,r\,dr\,d\theta, not just f(rcosθ,rsinθ)drdθ\iint f(r\cos\theta, r\sin\theta)\,dr\,d\theta.

Confusing the gradient with the directional derivative: The gradient f\nabla f is a vector, while the directional derivative Duf=fuD_{\mathbf{u}} f = \nabla f \cdot \mathbf{u} is a scalar. The gradient points in the direction of steepest ascent and its magnitude is the maximum directional derivative. Do not confuse f\nabla f with DufD_{\mathbf{u}} f — they are different objects.

Misapplying Lagrange multipliers by forgetting the constraint: The method finds extrema of ff subject to g=cg = c by solving f=λg\nabla f = \lambda \nabla g together with g=cg = c. A common error is solving f=0\nabla f = 0 (unconstrained critical points) instead of including the constraint equation. Always verify your solutions satisfy g(x,y)=cg(x,y) = c.

Cross-References

  • Site Home: Main landing page for Mathematics notes.
  • Linear Algebra: Vector spaces, matrices, and linear transformations.
  • Real Analysis: Rigorous treatment of real numbers and calculus.
  • Practice: Practice problems for revision.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.

Advanced Content

This section provides detailed coverage of advanced concepts, including full derivations, proofs, and extended examples.

Derivations and Proofs

Complete mathematical derivations and proofs are provided where appropriate. Each step is explained to ensure understanding of the underlying reasoning.

Extended Examples

Advanced examples demonstrate the application of concepts to complex problems. These examples go beyond standard exam questions to develop deeper understanding.

Research Connections

This material connects to current research and advanced applications in the field. Understanding these connections provides context for the study material.

Prerequisites

Ensure you have mastered the prerequisite material before attempting this advanced content.