SOLUTION
Step-by-step solution
- 1First, differentiate with respect to x, holding the other variables constant.
- 2Next, differentiate with respect to y, holding the other variables constant.
The variables are differentiated in the order you entered. Expressions are differentiated symbolically; other variables are held constant at each step.
What is a partial derivative?
A partial derivative measures how a function of several independent variables changes as one variable changes while the other variables are held fixed. Repeating or combining partial differentiations produces higher-order and mixed partial derivatives.
For a partial derivative with respect to x, regard y and any other independent variables as constants. Apply the requested variable sequence one derivative at a time; the expression after each step becomes the input to the next step.
The calculator accepts supported real-valued algebraic and elementary-function expressions in lowercase variables. It differentiates in the order entered. Equality of mixed partials requires suitable smoothness conditions and is not assumed for every function or point.
How to use the partial derivative calculator
- Enter a function such as x^2*y + 3*y^2. Use * for multiplication and parentheses to group terms.
- Enter the differentiation sequence, for example x for ∂/∂x, x^2 for two successive x derivatives, or x^2,y for two x derivatives followed by one y derivative.
- Differentiate once with respect to each listed variable in order, holding all other variables constant at each step.
- Review each intermediate expression and the final partial derivative.
Worked examples
Problem: Find ∂³f/(∂x²∂y) for f(x,y) = x²y³.
Working: Differentiate twice with respect to x: x²y³ → 2xy³ → 2y³. Then differentiate with respect to y.
Result: ∂³f/(∂x²∂y) = 6y².
Each x differentiation treats y as constant; the final y differentiation acts on 2y³.
Find ∂²f/(∂y∂x) for f(x,y) = x²y + 3y².
First ∂f/∂x = 2xy. Then differentiate 2xy with respect to y.
∂²f/(∂y∂x) = 2x. The y-only term vanishes during the first x derivative because it is constant with respect to x.
Find ∂²f/(∂y∂x) for f(x,y) = sin(xy).
First ∂f/∂x = y cos(xy). Differentiate this result with respect to y using the product and chain rules.
∂²f/(∂y∂x) = cos(xy) − xy sin(xy). The mixed derivative includes one term from differentiating y and another from differentiating cos(xy).
Rules and important conditions
- Hold the other variables fixed: When differentiating by x, any y-only factor behaves as a constant coefficient. For example, ∂(x²y)/∂x = 2xy.
- Differentiate in sequence: A mixed derivative applies one partial derivative to the result of the previous one. For x^2,y, differentiate twice by x and then once by y.
- Use the chain rule for composites: For sin(xy), differentiating by x gives y cos(xy), because y is constant and ∂(xy)/∂x = y.
- Mixed partial order has conditions: If the relevant second partial derivatives are continuous near a point, Clairaut's theorem says the two second-order mixed partials are equal there. Without those conditions, do not assume equality.
- A variable absent from the expression has partial derivative zero with respect to that variable.
- Some functions are not differentiable at every point; symbolic formulas may have restricted domains.
- The order parser accepts comma-separated variables with optional powers from 1 through 5, with up to eight total differentiations per calculation.
- This tool performs symbolic differentiation; it does not evaluate the derivative at a point or test continuity hypotheses for equality of mixed partials.
Common mistakes
- Treating the other variables as zero instead of constants.
- Dropping a factor that depends on a variable being held constant; for example, ∂(x²y)/∂x is 2xy, not 2x.
- Reversing the written sequence without stating the convention being used.
- Assuming mixed partials are equal at a point without checking the smoothness conditions.
Partial derivative calculator FAQ
How do I enter a first partial derivative?
Enter the function and use a single variable in the order field. For example, enter x^2*y and x to calculate ∂f/∂x.
How do I enter a mixed partial derivative?
List the derivative variables in sequence, separated by commas. For ∂²f/(∂y∂x), enter x,y: first differentiate by x, then by y.
What does x^2,y mean?
It means differentiate twice with respect to x, then once with respect to y. The total derivative order is three.
Are mixed partial derivatives always equal?
No. They are equal when appropriate hypotheses hold, commonly when the relevant second partial derivatives are continuous in a neighborhood of the point. The calculator follows the sequence you enter and does not infer those conditions.
Which functions are supported?
The symbolic engine supports arithmetic, powers, parentheses, and common functions including sin, cos, tan, exp, ln, log, and sqrt, subject to their real domains.
Mathematical reference
- OpenStax, Rice University: Calculus Volume 3 — Partial Derivatives — Partial derivatives, higher-order partial derivatives, and mixed partial derivative notation.
Related calculus tools
- Derivative Calculator
- Higher Order Derivative Calculator
- Parametric Derivative Calculator
- Chain Rule Calculator
- Derivative at a Point Calculator
Explore the guide to derivative calculators and differentiation tools