CALCULUS SOLVER WORKSPACE

SOLVE · LEARN · VERIFY

Product Rule Calculator

Enter two functions to differentiate their product. Follow the product rule step by step, check the derivative, and practice with your own answer.

Use x, ^ for powers and explicit functions like sin(x).
Multiplication: 3x or 3*x. Use parentheses for groups.

✓ Runs locally in your browser · No AI API or account needed · The calculator uses a symbolic rule engine and checks derivatives numerically at valid sample points.

CALCULUS LEARNING GUIDE

What is the product rule in calculus?

The product rule is a differentiation formula for the product of two functions of the same variable. If y = f(x) · g(x), then the derivative is y′ = f′(x)g(x) + f(x)g′(x). Differentiate the first function while leaving the second unchanged, then add the first function multiplied by the derivative of the second.

The rule is useful for expressions such as x²sin(x), (x + 1)eˣ, and products of two polynomials. It also combines with the chain rule when a function contains another function inside it.

How to use this product rule calculator

  1. Enter the first factor as f(x), such as x^2 + 3x.
  2. Enter the second factor as g(x), such as x^3 - 2.
  3. Press Solve step by step to calculate the derivative.
  4. Review f′(x), g′(x), and the two terms of the product rule.
  5. Copy or print the solution. Optionally enter your own derivative in the answer checker.

Worked example: polynomial multiplied by a trigonometric function

Suppose y = x²sin(x). Set f(x) = x² and g(x) = sin(x). The derivatives are f′(x) = 2x and g′(x) = cos(x). Substitute them into the formula:

y′ = (2x)sin(x) + x²cos(x)

A common mistake is to multiply the derivatives together, writing 2xcos(x). That is not the product rule: it leaves out two important terms.

Another example: an exponential product

For y = (x + 1)eˣ, use f(x) = x + 1 and g(x) = eˣ. Since f′(x) = 1 and g′(x) = eˣ, the result is eˣ + (x + 1)eˣ = (x + 2)eˣ. Both the expanded and factored forms represent the same derivative.

Supported expressions and limitations

Supported inputs include polynomials, powers, parentheses, multiplication, division, and the functions sin(x), cos(x), tan(x), exp(x), ln(x), log(x) (base 10), and sqrt(x). Nested expressions such as sin(x^2) use the chain rule as needed. Type 2*x or 2x for multiplication. Use ^ for exponentiation.

For clarity, this tool displays a correct symbolic product-rule expression, which may not always be fully expanded or factored into its shortest possible form. It does not solve integrals, partial derivatives, multivariable gradients, piecewise functions, absolute values, inverse trig functions, or equations that require additional assumptions about their domain. Results are checked numerically only where both expressions are defined; always use the mathematical domain of your original function when interpreting an answer.

Common product rule mistakes to avoid

Frequently asked questions

What is the product rule formula?

If y = f(x)g(x), then y′ = f′(x)g(x) + f(x)g′(x).

Can I use this calculator for trigonometric functions?

Yes. For example, sin(x), cos(x) and tan(x) can be combined with polynomials or other supported functions.

Does the calculator support the chain rule?

Yes, inside supported expressions such as sin(x²), exp(2x), and sqrt(x + 1). It combines chain and product rules automatically.

Does my result need to match the exact formatting?

No. Algebraically equivalent forms may look different. The answer checker compares sample values and explains that numerical agreement is not a formal proof.

Is this product rule calculator free?

Yes. It runs in the browser without sign-up or an AI API request. Your expressions are not sent to NextGad for calculation.