Product Rule Calculator

Enter f(x) and g(x) in one line easily. Get derivative, steps, and sample table instantly. Download a report, share data, and verify values today.

Calculator

Use a simple name like x or t.
Comma, space, or semicolon separated.
0–12 digits for the table and exports.
Examples: x^3, exp(x), ln(x), sin(x), sqrt(x).
Use operators: + - * / ^ and parentheses ( ).
Reset

Supported functions

sin(x), cos(x), tan(x), exp(x), ln(x), log(x), sqrt(x), abs(x). Use ^ for powers and * for multiplication.

Formula used

h(x) = f(x) · g(x)
h'(x) = f'(x) · g(x) + f(x) · g'(x)

This tool differentiates f and g symbolically, then combines them using the product rule.

How to use this calculator

Example data table

f(x) g(x) x Expected (f·g)'
x^2 sin(x) 1 2x·sin(x) + x^2·cos(x)
exp(x) x^3 0 exp(x)·x^3 + exp(x)·3x^2
ln(x) sqrt(x) 4 (1/x)·sqrt(x) + ln(x)·(1/(2sqrt(x)))

These examples match the product rule structure used above.

FAQs

1) What is the product rule?

It is a differentiation rule for a product of two functions. If h(x)=f(x)g(x), then h′(x)=f′(x)g(x)+f(x)g′(x). It prevents common mistakes from multiplying derivatives directly.

2) Which expressions can I enter?

You can use +, −, *, /, ^, parentheses, and common functions like sin, cos, exp, ln, log, sqrt, and abs. Write multiplication explicitly with * to avoid ambiguity.

3) Why do I get NaN in the table?

NaN usually appears when an expression is undefined at a chosen x value. Examples include ln(x) for x≤0, division by zero, or sqrt(x) for x<0. Try different evaluation points.

4) Does it show steps?

Yes. Enable “Show step-by-step explanation” to display the product-rule structure and how the derivatives are combined. The tool also prints f′(x), g′(x), and the final expanded form.

5) Can it handle powers like (x+1)^(3x)?

General power forms are rewritten using exp(v·ln(u)) before differentiating, which supports many cases. If the base becomes nonpositive at your evaluation points, ln(u) may be undefined and NaN can appear.

6) What is the difference between ln and log?

ln(x) is the natural logarithm (base e). log(x) here represents base-10 logarithm. Both require x>0 for real-valued results. Choose the one that matches your math context.

7) How do exports work?

After a successful calculation, use the Download buttons. CSV exports the evaluation table for spreadsheets. PDF exports a clean text report with inputs, derivatives, the final expression, and the same table.

8) How can I verify the derivative?

Pick several evaluation points and compare the table output with a manual check. You can also change precision to see rounding effects. If values look unstable, try points away from discontinuities or steep regions.

Related Calculators

absolute value inequality calculatorabsolute convergence calculatorquotient rule calculatorriemann sum calculatorpartial derivative calculatormean value theorem calculatorjacobian determinant calculatorchain rule calculatortaylor series calculatorconvergence test calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.