Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Derivatives
  4. /Partial Derivative Calculator

Partial Derivative Calculator

Last updated: March 28, 2026

Calculator

Results

f(x,y)

19

∂f/∂x = 2ax + by + d

2

∂f/∂y = bx + 2cy + e

18

∂²f/∂x² = 2a

6

∂²f/∂y² = 2c

10

∂²f/∂x∂y = b

-2

Gradient Magnitude |∇f|

18.11077

Hessian Determinant

56

Hessian Classification

—

Results

f(x,y)

19

∂f/∂x = 2ax + by + d

2

∂f/∂y = bx + 2cy + e

18

∂²f/∂x² = 2a

6

∂²f/∂y² = 2c

10

∂²f/∂x∂y = b

-2

Gradient Magnitude |∇f|

18.11077

Hessian Determinant

56

Hessian Classification

—

The Partial Derivative Calculator computes the partial derivatives of a two-variable quadratic function $$f(x,y) = ax^2 + bxy + cy^2 + dx + ey + f$$ at any specified point. It calculates both first-order partial derivatives ($$\partial f/\partial x$$ and $$\partial f/\partial y$$), all three second-order partial derivatives, the gradient magnitude, and the Hessian determinant with classification. This is a fundamental tool for multivariable calculus, optimization, and surface analysis.

Partial derivatives extend the concept of a derivative to functions of multiple variables. Unlike ordinary differentiation, where you differentiate with respect to the only independent variable, partial differentiation holds all variables constant except the one you are differentiating with respect to. The notation $$\frac{\partial f}{\partial x}$$ means "differentiate f treating y as a constant," and $$\frac{\partial f}{\partial y}$$ means "differentiate f treating x as a constant."

The theory of partial derivatives was developed in the 18th century by Leonhard Euler, Alexis Clairaut, and Joseph-Louis Lagrange. Clairaut's theorem, a key result, states that for functions with continuous second partial derivatives, the mixed partials are equal: $$\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x}$$. This symmetry is confirmed by the calculator — both mixed partials equal $$b$$.

For the quadratic function $$f(x,y) = ax^2 + bxy + cy^2 + dx + ey + f$$, the partial derivatives are exact and elegant:

$$\frac{\partial f}{\partial x} = 2ax + by + d, \qquad \frac{\partial f}{\partial y} = bx + 2cy + e$$

The gradient vector $$\nabla f = \left(\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}\right)$$ points in the direction of steepest ascent of the surface. Its magnitude tells you how rapidly the function is changing. The gradient is zero at critical points, where the surface has a local maximum, local minimum, or saddle point.

The Hessian matrix of second partial derivatives determines the nature of critical points. For our quadratic, the Hessian is constant: $$H = \begin{pmatrix} 2a & b \\ b & 2c \end{pmatrix}$$. Its determinant $$D = 4ac - b^2$$ classifies the surface: $$D > 0$$ with $$a > 0$$ gives a local minimum (elliptic paraboloid opening up), $$D > 0$$ with $$a < 0$$ gives a local maximum (opening down), $$D < 0$$ gives a saddle point (hyperbolic paraboloid), and $$D = 0$$ is degenerate.

Applications of partial derivatives span every quantitative field. In thermodynamics, partial derivatives relate pressure, volume, and temperature changes. In machine learning, gradient descent uses partial derivatives to optimize model parameters. In economics, partial derivatives compute marginal productivity of labor and capital. In fluid dynamics, partial derivatives appear in the Navier-Stokes equations. Enter your function coefficients and evaluation point below.

Visual Analysis

How It Works

The calculator differentiates the quadratic $$f(x,y) = ax^2 + bxy + cy^2 + dx + ey + f$$ with respect to each variable.

First-order partial derivatives:

$$\frac{\partial f}{\partial x} = 2ax + by + d$$

$$\frac{\partial f}{\partial y} = bx + 2cy + e$$

Second-order partial derivatives:

$$\frac{\partial^2 f}{\partial x^2} = 2a, \quad \frac{\partial^2 f}{\partial y^2} = 2c, \quad \frac{\partial^2 f}{\partial x \partial y} = b$$

Gradient magnitude:

$$|\nabla f| = \sqrt{\left(\frac{\partial f}{\partial x}\right)^2 + \left(\frac{\partial f}{\partial y}\right)^2}$$

Hessian determinant:

$$D = \frac{\partial^2 f}{\partial x^2} \cdot \frac{\partial^2 f}{\partial y^2} - \left(\frac{\partial^2 f}{\partial x \partial y}\right)^2 = 4ac - b^2$$

Classification: If $$D > 0$$ and $$2a > 0$$, the Hessian is positive definite (local minimum). If $$D > 0$$ and $$2a < 0$$, negative definite (local maximum). If $$D < 0$$, indefinite (saddle point). If $$D = 0$$, degenerate.

Understanding Your Results

f(x,y) is the function value at the given point — the height of the surface above the xy-plane.

∂f/∂x is the rate of change of f in the x-direction (holding y constant). It tells you how the surface slopes in the x-direction at that point.

∂f/∂y is the rate of change of f in the y-direction (holding x constant).

Second partial derivatives (∂²f/∂x², ∂²f/∂y², ∂²f/∂x∂y) describe the curvature of the surface. For this quadratic, they are constants that characterize the shape everywhere.

Gradient Magnitude measures the steepness of the surface. A larger magnitude means the function is changing more rapidly. At a critical point, the gradient magnitude is zero.

Hessian Determinant classifies the surface shape. Positive definite means a bowl (minimum). Negative definite means an inverted bowl (maximum). Indefinite means a saddle, where the surface curves up in one direction and down in another.

Worked Examples

Elliptic Paraboloid: f(x,y) = 3x² − 2xy + 5y² at (1,2)

Inputs

a3
b-2
c5
d0
e0
f0
xVal1
yVal2

Results

fVal19
dfDx2
dfDy18
d2fDx26
d2fDy210
d2fDxDy-2
gradMag18.1108
hessianDet56
criticalTypePositive definite — Local minimum

∂f/∂x = 6(1) + (−2)(2) = 2. ∂f/∂y = (−2)(1) + 10(2) = 18. Hessian det = (6)(10) − (−2)² = 56 > 0, and ∂²f/∂x² = 6 > 0, so the surface is an elliptic paraboloid with a minimum at the origin.

Saddle Surface: f(x,y) = x² − 4xy + y² at (2,1)

Inputs

a1
b-4
c1
d0
e0
f0
xVal2
yVal1

Results

fVal-3
dfDx0
dfDy-6
d2fDx22
d2fDy22
d2fDxDy-4
gradMag6
hessianDet-12
criticalTypeIndefinite — Saddle point

Hessian det = (2)(2) − (−4)² = 4 − 16 = −12 < 0, confirming a saddle point. The surface curves upward in some directions and downward in others.

Frequently Asked Questions

An ordinary derivative applies to functions of one variable — it measures the total rate of change. A partial derivative applies to functions of two or more variables — it measures the rate of change with respect to one variable while holding all others constant. For a function of one variable, the partial and ordinary derivatives are identical.

The gradient $$\nabla f = (\partial f/\partial x, \partial f/\partial y)$$ is a vector that points in the direction of steepest ascent of the surface at any point. Its magnitude indicates how steep that ascent is. The gradient is fundamental to optimization algorithms like gradient descent, where you move in the direction opposite to the gradient to minimize a function.

The Hessian is the matrix of all second partial derivatives. For a function of two variables, it is a 2×2 matrix. Its determinant determines whether a critical point is a maximum, minimum, or saddle point — this is the second partial derivative test for multivariable functions. The eigenvalues of the Hessian give the principal curvatures of the surface.

Because our function is a quadratic (degree 2), the second partial derivatives are all constants (independent of x and y). This means the Hessian is the same everywhere, and the surface has uniform curvature. For higher-degree functions, the Hessian would vary from point to point.

A saddle point is a critical point where the surface curves upward in one direction and downward in another, like a mountain pass or a horse saddle. At a saddle point, the gradient is zero but the point is neither a maximum nor a minimum. The Hessian determinant is negative at saddle points.

Clairaut's theorem states that if the mixed partial derivatives are continuous, then $$\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x}$$. For polynomials, this always holds. This symmetry means the order of differentiation doesn't matter, which simplifies computation of the Hessian matrix.

Sources & Methodology

Marsden, J.E. & Tromba, A.J., Vector Calculus, 6th ed., W.H. Freeman, 2011. Stewart, J., Multivariable Calculus, 9th ed., Cengage, 2020. Apostol, T., Calculus, Vol. 2, 2nd ed., Wiley, 1969. Weisstein, E.W., "Partial Derivative" and "Hessian Matrix," MathWorld — A Wolfram Web Resource.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Derivative Calculator

Derivatives

First Derivative Calculator

Derivatives

Second Derivative Calculator

Derivatives

Implicit Derivative Calculator

Derivatives

Gradient Calculator

Derivatives

Tangent Line Calculator

Derivatives