A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Partial Derivatives: Definition and Computation

College Depth 73 in the knowledge graph ☐ I know this ☆ Set as goal
5,887topics build on this
324prerequisites beneath it
See this on the map →
Derivative as Slope of Tangent LineFunctions of Several Variables+3 more→→Adversarial Examples and RobustnessAmpère-Maxwell Law and Displacement Current+97 more
partial-derivatives partial-notation computation

Core Idea

The partial derivative ∂f/∂x is the ordinary derivative with respect to x while holding all other variables constant. Partial derivatives measure instantaneous rates of change along coordinate axes and are computed using single-variable differentiation rules.

Explainer

When you first learned derivatives in single-variable calculus, you always had a function of just one variable — something like f(x) = x³ or g(x) = sin(x). The derivative told you the instantaneous rate of change as x varied. But in multivariable settings, a function like f(x, y) = x²y + 3y² takes two inputs and produces one output. There is no single "slope" anymore — the function can change differently depending on which direction you move. Partial derivatives solve this by asking: what is the rate of change if I move *only* in the x-direction, holding y completely fixed?

The computation rule is elegant: to find ∂f/∂x, treat every variable except x as if it were a constant, then differentiate using all the ordinary single-variable rules you already know. For f(x, y) = x²y + 3y², treating y as a constant coefficient gives ∂f/∂x = 2xy. Treating x as a constant when differentiating with respect to y gives ∂f/∂y = x² + 6y. Each partial derivative is just an ordinary derivative in disguise.

Geometrically, you can think of f(x, y) as defining a surface in three dimensions. If you stand on that surface at the point (x₀, y₀) and walk in the direction parallel to the x-axis, the slope of the surface under your feet is exactly ∂f/∂x at that point. Walk in the y-direction instead, and the slope is ∂f/∂y. Partial derivatives are the tool that lets you measure surface steepness along any coordinate axis.

The most common confusion is mixing up partial derivatives with total derivatives. If y happens to depend on x (say, y = x²), then the total derivative df/dx must account for how y changes too, via the chain rule. The partial derivative ∂f/∂x deliberately ignores that dependence — it freezes y and asks only about direct x-dependence. This distinction matters whenever you are working on a curve or surface defined by a constraint, which you will encounter in Lagrange multipliers and related techniques.

Partial derivatives are the building blocks for almost everything in multivariable calculus. The gradient vector stacks partial derivatives together to point in the direction of steepest ascent. Directional derivatives use them to measure rates of change in any direction. The chain rule in multiple variables chains partial derivatives together. Master the mechanical computation first — it is just single-variable differentiation with extra variables treated as constants — and the geometric intuition will follow naturally from working examples.

Practice Questions 3 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Piecewise Functions → One-Sided Limits → Continuity Definition → Limits and Continuity in Multiple Variables → Functions of Several Variables → Continuity in Multiple Variables → Partial Derivatives: Definition and Computation

Longest path: 74 steps · 324 total prerequisite topics

Prerequisites (5)

Leads To (99)

Adversarial Examples and Robustnesssoft Ampère-Maxwell Law and Displacement Currenthard Backpropagation Algorithmsoft Black-Scholes Options Pricing Modelsoft Boltzmann Transport Equationhard Boundary Layer Theorysoft Cauchy-Riemann Equationshard Chain Rule for Multivariable Functionshard Classification of Boundary Value Problemshard Comparative Staticssoft Conservation Laws in Electromagnetismhard Conservative Vector Fields and Potential Functionshard Consumer Duality: Expenditure and Indirect Utility Functionssoft Consumption Smoothing and Permanent Income Hypothesissoft Convolutional Neural Networkssoft Cost Minimization and Conditional Factor Demandsoft Critical Points and Local Extremahard Critical Points of Multivariable Functionshard Curl and Divergencehard Difference-in-Differences Estimationsoft Differentiability in Multiple Variableshard Differentiability in Multivariable Functionshard Diffusion and Fick's Lawssoft Diffusion in Solidssoft Diffusion-Controlled Reaction Kineticssoft Displacement Current and Maxwell's Equationshard Electric Field and Coulomb's Lawhard Electric Flux and Gauss's Lawsoft Electric Potential and Potential Energyhard Entropy Calculations from Property Tables and Equationssoft Euler Equation and Intertemporal Consumption Choicesoft Euler Equation and Intertemporal Substitutionsoft Exact Differential Equationssoft Exact and Inexact Differentialssoft Exterior Derivativehard Faraday's Law of Electromagnetic Inductionhard Fluid Kinematics: Describing Flowsoft Fracture Mechanics: Brittle and Ductile Failuresoft Gauge Transformations and Gauge Invariancehard Gradient Descent and Optimizationhard Hamiltonian Mechanics (Introduction)hard Higher-Order Partial Derivativeshard Higher-Order Partial Derivativeshard Higher-Order Partial Derivatives and Mixed Partialshard Indifference Curvessoft Interpreting Partial Derivatives as Rates of Changehard Introduction to Sobolev Spaceshard Jacobians and Change of Variableshard Joule-Thomson Coefficient and Throttlingsoft LSTM and Gated Recurrent Unitssoft Lagrangian Mechanics (Introduction)hard Laplace's Equation and Boundary Value Problemshard Linear Regression for Social Sciencehard Linearization of Nonlinear Systemshard Logistic Regression for Classificationsoft Loss Functions and Objective Functionssoft Magnetic Field and the Lorentz Forcesoft Maximum Likelihood Estimationsoft Maxwell's Equations in Differential Formhard Maxwell's Equations in Differential Formhard Maxwell's Equations in Integral Formhard Mediation and Indirect Effects Analysissoft Mediation and Indirect Effects Analysissoft Moderation, Interaction, and Conditional Effectssoft Multipole Expansion and Far-Field Radiationsoft Multipole Expansion for Static Fieldshard Neural Network Fundamentalssoft Optimization Algorithms: SGD, Adam, RMSpropsoft Option Greeks and Sensitivity Analysissoft Option Greeks: Delta, Gamma, Vega, and Thetasoft Parametric Surfaceshard Policy Gradient Methodshard Potential Flow Theoryhard Producer Duality: Cost and Profit Functionssoft Production Function and Returns to Scalesoft Recurrent Neural Networkssoft Regularization Techniquessoft Schrödinger Equation: Time-Dependent Formhard Separation of Variables for Boundary Value Problemshard Smooth Manifoldshard Solving the Schrödinger Equation for Hydrogen Atomsoft Stochastic Gradient Descent and Variantssoft Tangent Planes and Linear Approximationhard Tangent Vectors and Tangent Spaceshard Tensor Calculus in General Relativityhard The Born-Oppenheimer Approximationsoft The Continuity Equation (Conservation of Mass)soft The Gradient Vectorhard The Heat Equation and Diffusion Problemshard The Navier-Stokes Equationshard The Navier-Stokes Equationshard The One-Dimensional Wave Equationhard The Schrödinger Equationsoft The Slutsky Equationhard The Slutsky Equationhard The Wave Equation and Vibrating Stringshard Total Differential and Linear Approximationhard Uncertainty Propagationsoft Vector Potential and Curl Relationshipshard