Partial Derivatives: Definition and Computation

College Depth 58 in the knowledge graph I know this Set as goal
Unlocks 5740 downstream topics
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

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesLiteral EquationsSlope-Intercept FormPoint-Slope FormWriting Linear EquationsParallel and Perpendicular Line SlopesGraphing Linear EquationsPiecewise FunctionsOne-Sided LimitsContinuity DefinitionLimit Definition of the DerivativeDerivative as Slope of Tangent LinePartial Derivatives: Definition and Computation

Longest path: 59 steps · 247 total prerequisite topics

Prerequisites (2)

Leads To (100)

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 Lawhard 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 Optimizationsoft 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 Forcehard 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 Option Greeks: Delta, Gamma, Vega, and Thetahard 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