Calculate Leibniz rule product derivatives, solve one missing value, or find the nth derivative from f(x₀), g(x₀), and derivatives at x₀.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Product derivative from valuesFinds (fg)′ at a point from the values of the two functions and their derivativesRequires f(x₀), g(x₀), f′(x₀) and g′(x₀)
Missing f′Solves the product rule for f′(x₀)Requires (fg)′(x₀), f(x₀), g(x₀) and g′(x₀)
Missing g′Solves the product rule for g′(x₀)Requires (fg)′(x₀), f(x₀), g(x₀) and f′(x₀)
Missing fSolves the product rule for f(x₀)Requires (fg)′(x₀), g(x₀), f′(x₀) and g′(x₀)
Missing gSolves the product rule for g(x₀)Requires (fg)′(x₀), f(x₀), f′(x₀) and g′(x₀)
First derivative from expressionsEvaluates f, g, f′, g′ and (fg)′ at a point from two typed expressionsRequires the variable (x, t or y), the evaluation point and the expressions for f and g
Nth derivative from derivative listsFinds the nth derivative of a product at a point with the general Leibniz ruleRequires the order n from 1 to 10 and the derivatives of f and of g from order 0 to n, as comma-separated lists

Every value belongs to the same point x₀. The calculator returns numbers at that point and never a symbolic derivative.

Leibniz Rule Formulas

(fg)′ = f′ × g + f × g′ [1]
(fg)′Derivative of the product of f and g
f, gValues of the two functions at the point x₀
f′, g′Values of their first derivatives at x₀

Product derivative from values

The product rule above applies directly. With f = 2, g = 4, f′ = 3 and g′ = 5, the derivative of the product is 3 × 4 + 2 × 5 = 22.

Missing f′

f′ = ((fg)′ − f × g′) ÷ g

With (fg)′ = 22, f = 2, g = 4 and g′ = 5, f′ = (22 − 10) ÷ 4 = 3. No single answer exists when g = 0.

Missing g′

g′ = ((fg)′ − f′ × g) ÷ f

With (fg)′ = 22, f = 2, g = 4 and f′ = 3, g′ = (22 − 12) ÷ 2 = 5. No single answer exists when f = 0.

Missing f

f = ((fg)′ − f′ × g) ÷ g′

With (fg)′ = 22, g = 4, f′ = 3 and g′ = 5, f = (22 − 12) ÷ 5 = 2. No single answer exists when g′ = 0.

Missing g

g = ((fg)′ − f × g′) ÷ f′

With (fg)′ = 22, f = 2, f′ = 3 and g′ = 5, g = (22 − 10) ÷ 3 = 4. No single answer exists when f′ = 0.

First derivative from expressions

The calculator works out the value and the first derivative of each expression at the chosen point, then applies the product rule. For f = x^2 and g = sin(x) at x = 1, it finds f = 1, f′ = 2, g = 0.84147 and g′ = 0.54030, so (fg)′ = 2 × 0.84147 + 1 × 0.54030 = 2.22324.

Expressions need explicit operators, such as 3*x and x^2, and trigonometric functions take radians. The constants pi and e are recognised, along with exponential, logarithm, root, trigonometric, inverse trigonometric and hyperbolic functions. A point where an expression is undefined or has no single derivative, such as abs(x) at 0, is rejected.

Nth derivative from derivative lists

(fg)(n) = Σ C(n,k) ×
f(k) × g(n−k) [1]

This is Leibniz’s formula for the nth derivative of a product. The sum runs over k from 0 to n, C(n,k) is the binomial coefficient, f(k) is the kth derivative of f and order 0 is the function itself. Each list holds n + 1 numbers, starting with the function value.

For the second derivative of x² × eˣ at x = 1, the f list is 1, 2, 2 and the g list is 2.718281828, 2.718281828, 2.718281828. The terms are 1 × 1 × e, 2 × 2 × e and 1 × 2 × e, which add up to 7e ≈ 19.02797.

Limits of This Estimate

  • Results are numbers at one point. The calculator does not simplify expressions or return a formula for the derivative.
  • The product rule holds only where both functions are differentiable at the point, and the nth-derivative formula only where both have derivatives up to order n.
  • Arithmetic is done in floating point, so the last digits of a result can differ slightly from an exact answer.

Sources

  1. NIST Digital Library of Mathematical Functions, §1.4(iii) Derivatives, Equations 1.4.6 and 1.4.12: product rule and Leibniz’s formula for the nth derivative of a product