Skip to content
    Calculus

    What Is a Partial Derivative? Simple Guide

    If you make a box a little wider but keep its height the same, how much extra space do you get? When a formula depends on two things at once, a partial derivative answers exactly that. This guide shows you how to find one using rules you already know.

    Math Solver Academic Editorial Board5 min read

    Key takeaways

    • A partial derivative changes one variable and holds all the others fixed.
    • To find ∂f/∂x, treat y like an ordinary number, then differentiate as usual.
    • For f(x, y) = x²y, ∂f/∂x = 2xy and ∂f/∂y = x².
    • The #1 mistake is differentiating the variable that should be frozen.
    In this guide
    1. 01What is a partial derivative?
    2. 02Why do partial derivatives matter?
    3. 03The formula
    4. 04How to find a partial derivative step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is a partial derivative?

    An ordinary derivative measures the slope of a curve y = f(x), where there is only one input. But many real formulas depend on two or more inputs. The volume of a box with a square base depends on the base side x and the height y: V = x²y.

    A partial derivative asks: if I change only x and keep y fixed, how fast does the answer change? That is written ∂f/∂x. The curly ∂ reminds you that the other variables are being held still.

    Why do partial derivatives matter?

    Real life rarely has only one input. Profit depends on price and on how many items you sell. The temperature in a room depends on where you stand and on the time. To make good decisions, you often need to know the effect of changing one thing at a time.

    Every time a machine learning model “learns”, it calculates partial derivatives, one for each adjustable number in the model, and nudges each number in the direction that lowers its error.

    The formula

    This calculator works with the function f(x, y) = x²y:

    ∂(x²y)/∂x = 2xy
    SymbolWhat it meansExample
    f(x, y) = x²yA quantity that depends on both x and ybox volume
    ∂/∂xDifferentiate with respect to x, treating y as a fixed number∂f/∂x
    xThe value of x at your point3
    yThe value of y at your point (held constant)4
    2xyThe partial derivative the calculator evaluates2 × 3 × 4 = 24

    Because y is frozen, x²y behaves just like 5x² would. The power rule turns x² into 2x, and y simply rides along.

    How to find a partial derivative step by step

    1. 1Choose your variable. Decide which letter you are changing. Here it is x.
    2. 2Freeze the others. Pretend y is a fixed number, like 4.
    3. 3Differentiate as normal. Use the usual rules on x only. x²y becomes 2x × y = 2xy.
    4. 4Put in your point. Replace x and y with their values to get a number.

    Now try it yourself. Enter any x and y in the calculator below to get ∂(x²y)/∂x with every step.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Calculus
    University

    Partial Derivative

    Calculate partial derivative ∂(x²y)/∂x = 2xy

    ∂f/∂x = lim[h→0] (f(x+h,y) - f(x,y))/h

    f'(x) slope
    Tangent Line dy/dx
    120
    120

    💡 Example

    Reference
    Inputs:x=3, y=4
    Result:24
    Open the full Partial Derivative calculator

    Common mistakes to avoid

    • Dropping a term that contains x. In f = x²y + y³, only y³ disappears when you differentiate with respect to x. The answer is 2xy.
    • Mixing up ∂f/∂x and ∂f/∂y. They are usually different. For x²y they are 2xy and x². This calculator only finds ∂f/∂x.
    • Forgetting that a frozen term can vanish. In f = 3x + 5y², the 5y² is a constant when you work with x, so ∂f/∂x = 3.

    Tips and tricks

    • Swap roles for ∂f/∂y. Freeze x instead: ∂(x²y)/∂y = x², because the derivative of y is 1.
    • Build the gradient. Put all the partial derivatives into one list and you get the gradient vector, which points uphill.
    • Any direction. For the slope in a direction that is not along an axis, use the directional derivative calculator.

    Where you'll use it in real life

    • Economics: how profit changes with price while advertising stays the same.
    • Physics: how heat spreads through metal, or how a wave moves.
    • Machine learning: training a model by adjusting one weight at a time.
    • Engineering: how the volume of a tank changes if you widen it but keep the height.

    Quick summary

    A partial derivative measures how a formula changes when you move one variable and hold the rest still. Freeze the other letters, differentiate with the usual rules, then put in your point. For x²y, the calculator above gives ∂f/∂x = 2xy at any point you choose, with every step shown.

    Worked example

    A box has a square base with side x = 3 cm and height y = 4 cm, so its volume is V = x²y. If you stretch only the base side and keep the height at 4 cm, how fast does the volume grow (in cm³ per cm)?

    1. 01∂(x²y)/∂x = 2xy
    2. 02At (3,4): 2(3)(4)
    3. 03= 24

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    What does the symbol ∂ mean?

    ∂ is read “partial” or “del”. It tells you the function has more than one variable and you are changing only one of them.

    What is the partial derivative of x²y with respect to y?

    It is x². Now x is treated as a constant, so x²y behaves like a number times y, and the derivative of y is 1.

    Is a partial derivative different from a normal derivative?

    The rules are the same. The only difference is that you treat every variable except one as a fixed number while you differentiate.

    #Calculus#University#Partial Derivative
    Updated

    Keep reading

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX