Product rule
When two functions are multiplied, use (f·g)′ = f′·g + f·g′. Here f = sin(x) and g = eˣ.
Find first and higher-order derivatives with a step-by-step solution. Type a function, check how it is read, and see the answer, the rules used, and a graph.
Checked: the result was verified numerically against your function.
d/dx [xⁿ] = n·xⁿ⁻¹, with n = .
The graph appears here once there is a valid function.
A derivative tells you how fast a function is changing. If you drive for an hour and cover 30 miles, your average speed is 30 miles per hour, but the derivative of your position tells you your exact speed at any single moment. Geometrically, the derivative of f at a point is the slope of the tangent line to the graph there. It is defined by the limit f′(x) = lim (f(x + h) − f(x)) / h as h approaches 0. This free derivative calculator finds first and higher-order derivatives, shows the rule used at each step, checks its own answer, and graphs the function.
x^3 + 2x. The keys under the box insert common symbols and functions.2 or pi/2, to get the slope there.These results come straight from the calculator, so you can compare them with your own work.
| Function | Derivative |
|---|---|
When two functions are multiplied, use (f·g)′ = f′·g + f·g′. Here f = sin(x) and g = eˣ.
For a fraction, use (f/g)′ = (f′·g − f·g′) / g². Here f = 3x + 9 and g = 2 − x, and the result simplifies a lot.
For a function inside another, multiply the outer derivative by the inner one. Here the outer function is ln(u) and the inner one is u = x² + 1.
Differentiate again to get the second derivative. Differentiating x⁴ twice gives 12x².
When both the base and the exponent contain x, use d/dx [uᵛ] = uᵛ·(v′·ln(u) + v·u′/u).
To find the slope of the graph at one point, differentiate first and then substitute the value of x. For f(x) = 3 − 4x² at x = 5, the derivative is −8x, so the slope there is −8 · 5 = −40. A negative slope means the function is decreasing at that point.
The calculator works with one variable, x, and handles these kinds of functions:
It does not do partial derivatives or implicit differentiation yet. Where a function has a corner, a break, or a vertical tangent, the calculator says that the derivative is not defined there instead of giving a number.
1/(2x) is not the same as 1/2x.log(x) means the natural logarithm, the same as ln(x).A derivative measures how fast a function changes. The derivative of f(x) at a point is the slope of the tangent line to the graph at that point. It is defined as the limit of (f(x + h) − f(x)) / h as h approaches 0.
Use the differentiation rules: the power rule for terms like x³, the sum and constant multiple rules for expressions with several terms, the product and quotient rules when functions are multiplied or divided, and the chain rule when one function is inside another. This calculator applies these rules for you and lists each one in the step-by-step solution.
The second derivative is the derivative of the derivative. It shows how the slope itself is changing. Where it is positive, the graph curves upward, and where it is negative, the graph curves downward. In motion problems, the first derivative of position is velocity and the second is acceleration.
Use x as the variable and type the function the way you would on a calculator: x^2 for x squared, 2x or 2*x for 2 times x, sqrt(x) for a square root, e^x for e to the power x, and ln(x) for the natural logarithm. The usual functions work, such as sin(x), cos(x), tan(x), and atan(x). Use brackets for fractions, for example 1/(2x). The preview under the input shows how your entry is read.
Enter a value in the optional "Evaluate at x" field. The calculator finds the derivative first and then substitutes the point, giving you the slope of the graph there. For a first derivative it also draws the tangent line through that point. You can use numbers or expressions such as pi/2.
A derivative does not exist where the function has a break, a sharp corner, or a vertical tangent. For example, the absolute value function |x| has a corner at x = 0, and 1/x is undefined at x = 0. At those points the calculator reports that there is no derivative instead of giving a number.
Yes. Each rule that is used is listed in order, with the expression it was applied to and the result. The calculator also checks every answer by comparing it with a numerical derivative of your function.
Not yet. This calculator works with functions of a single variable, x, and finds ordinary derivatives up to the fifth order. Partial derivatives and implicit differentiation need a different input format and are not included.