Skip to content
    Calculus

    Product Rule for Derivatives (Easy Guide)

    If the derivative of x² is 2x and the derivative of x³ is 3x², is the derivative of x² × x³ just 2x × 3x²? No, and that wrong guess is one of the most common calculus errors. This guide shows you the product rule, why it works, and how to use it in five quick steps.

    Math Solver Academic Editorial Board5 min read

    Key takeaways

    • Product rule: (f × g)′ = f′ × g + f × g′.
    • Say it as: derivative of the first times the second, plus the first times the derivative of the second.
    • The #1 mistake is multiplying the two derivatives: (fg)′ is not f′g′.
    • The order of the two terms doesn’t matter, because you add them.
    In this guide
    1. 01What is the product rule?
    2. 02Why does the product rule matter?
    3. 03The formula
    4. 04How to use the product rule 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 the product rule?

    A derivative tells you how fast something is changing. When a quantity is made by multiplying two changing things, both parts add to the change.

    Think of a rectangle whose width and height are both growing. The area grows because the width gets longer and because the height gets taller. The product rule adds those two effects: “first changes while second stays” plus “first stays while second changes”.

    Why does the product rule matter?

    Many real formulas are products: revenue = price × quantity, power = voltage × current, and physics formulas like t × e^(−t). When both parts change, you need the product rule to get the rate right.

    Multiplying the derivatives can be badly wrong. For x² × x³ at x = 2, the true slope is 80, but f′ × g′ gives only 48.

    The formula

    d/dx [ f × g ] = f′ × g + f × g′
    SymbolWhat it meansExample (x² × x³)
    fThe first functionx²
    gThe second functionx³
    f′Derivative of the first2x
    g′Derivative of the second3x²
    f′g + fg′The product rule result2x⁴ + 3x⁴ = 5x⁴

    This calculator uses f(x) = xᵃ and g(x) = xᵇ and gives the slope at your chosen x. Because xᵃ × xᵇ = xᵃ⁺ᵇ, you can check it with the power rule: the answer always equals (a + b)xᵃ⁺ᵇ⁻¹.

    How to use the product rule step by step

    1. 1Name the two parts. Call them f and g.
    2. 2Differentiate each one. Find f′ and g′ separately.
    3. 3Multiply f′ by g. Keep g exactly as it is.
    4. 4Multiply f by g′. Keep f exactly as it is.
    5. 5Add and simplify. The answer is the sum of steps 3 and 4.

    Now try it yourself. Enter the two powers and a value of x in the calculator below to see both terms added together.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Calculus
    University

    Product Rule (Derivative)

    Differentiate a product of two power functions: f(x) = xᵃ and g(x) = xᵇ at a given x.

    d/dx[f·g] = f'·g + f·g'

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

    💡 Example

    Reference
    Inputs:a=2, b=3, x=1
    Result:5
    Open the full Product Rule (Derivative) calculator

    Common mistakes to avoid

    • Dropping one of the two terms. There are always two parts added together.
    • Confusing it with the quotient rule. For division, the rule has a minus sign and a squared bottom. See the quotient rule calculator.
    • Forgetting the chain rule inside. In x² × sin(3x), the derivative of sin(3x) is 3cos(3x). See the chain rule calculator.

    Tips and tricks

    • Three functions: differentiate one at a time and keep the others: (fgh)′ = f′gh + fg′h + fgh′.
    • Factor at the end. d/dx [x eˣ] = eˣ + x eˣ = eˣ(1 + x). Factored answers are easier to use.
    • Backwards: run the product rule in reverse and you get integration by parts.

    Where you'll use it in real life

    • Business: revenue = price × number sold, when both change over time.
    • Electronics: power = voltage × current in a changing circuit.
    • Physics: motion formulas like t × e^(−t) for a damped spring.
    • Geometry: the rate a rectangle’s area grows when both sides grow.

    Quick summary

    To differentiate f × g, find f′g + fg′: derivative of the first times the second, plus the first times the derivative of the second. Never just multiply the two derivatives. Use the calculator above to check xᵃ × xᵇ at any point, with every step shown.

    Worked example

    Your homework asks you to differentiate x² × x³ with the product rule and find the slope at x = 2, then check it against the power rule on x⁵. Here f = x² (a = 2) and g = x³ (b = 3).

    1. 01f(x) = x^2, g(x) = x^3
    2. 02f'(x) = 2x^1, g'(x) = 3x^2
    3. 03Product Rule: d/dx[f·g] = f'·g + f·g'
    4. 04= 2x^1 · x^3 + x^2 · 3x^2
    5. 05= 2x^4 + 3x^4 = 5x^4
    6. 06At x = 2: f'(2) = 4, g(2) = 8
    7. 07f(2) = 4, g'(2) = 12
    8. 08= 4 × 8 + 4 × 12 = 80

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    What is the product rule formula?

    If y = f × g, then y′ = f′g + fg′. Differentiate one part at a time, keep the other, and add the two results.

    Does the order matter in the product rule?

    No. Because you add the two terms, f′g + fg′ is the same as fg′ + f′g. Order only matters in the quotient rule.

    How do I use the product rule with three functions?

    Differentiate one function at a time and keep the others: (fgh)′ = f′gh + fg′h + fgh′.

    What is the derivative of x times e^x?

    f = x and g = eˣ, so f′ = 1 and g′ = eˣ. The derivative is eˣ + x eˣ, which is eˣ(1 + x).

    #Calculus#University#Product Rule (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