Advanced optionsFunction · order 1
Answer
✓ Rule checkedDomain: all real numbers.
Step-by-step solution
The important moves first, without every constant calculation getting in the way.
- 1
Power rule
Bring the exponent down, reduce it by one, then multiply by the inner derivative.
- 2
Product rule
Use (uv)' = u'v + uv'.
- 3
Sum rule
Differentiate each term independently and preserve its sign.
- 4
Difference rule
Differentiate each term independently and preserve its sign.
Show complete rule trace (13 operations)
- 1. Identity rulex → 1
- 2. Power rulex^3 → 3 * x^2
- 3. Constant rule2 → 0
- 4. Identity rulex → 1
- 5. Power rulex^2 → 2 * x
- 6. Product rule2 * x^2 → 4 * x
- 7. Sum rulex^3 + 2 * x^2 → 3 * x^2 + 4 * x
- 8. Constant rule5 → 0
- 9. Identity rulex → 1
- 10. Product rule5 * x → 5
- 11. Difference rulex^3 + 2 * x^2 - 5 * x → 3 * x^2 + 4 * x - 5
- 12. Constant rule1 → 0
- 13. Sum rulex^3 + 2 * x^2 - 5 * x + 1 → 3 * x^2 + 4 * x - 5
Function and derivative chart
Compare the original function with its derivative on the same coordinate plane.
- f(0)
- 1
- f′(0)
- -5
- Behavior
- Decreasing
- Tangent line
- y − 1 = -5(x − 0)
- Normal line
- y − 1 = 0.2(x − 0)
- increasing on (-6, -2.1196)
- decreasing on (-2.1196, 0.7863)
- increasing on (0.7863, 6)
8 finite sample points compared · maximum relative error 0.00e+0
Purple circles mark detected stationary points; orange diamonds mark detected concavity changes. Numerical classifications apply to the displayed range and do not replace a proof near discontinuities.
Try it yourself
Differentiate with respect to x:
What Is a Derivative?
A derivative measures a function’s instantaneous rate of change. Geometrically, f′(a) is the slope of the tangent line to y = f(x) at x = a when that derivative exists.
The quotient measures average change over a short interval. Its limit, if it exists, is the instantaneous rate of change.
Derivative
The limit of the difference quotient, when that limit exists.
Chain rule
The rule for differentiating a composite function: (f(g(x)))′ = f′(g(x))g′(x).
Partial derivative
A derivative with respect to one variable while the other independent variables are held constant.
Implicit derivative
A derivative found from a relation F(x,y)=0 without first solving explicitly for y.
Derivative Rules and When to Use Them
| Rule | Formula | Use it for |
|---|---|---|
| Power | d(xⁿ)/dx = nxⁿ⁻¹ | Constant real powers on valid real domains |
| Product | (uv)′ = u′v + uv′ | Two multiplied functions |
| Quotient | (u/v)′ = (u′v − uv′)/v² | A ratio where v ≠ 0 |
| Chain | (f(g(x)))′ = f′(g(x))g′(x) | Nested or composite functions |
| Implicit | dy/dx = −Fₓ/Fᵧ | A relation F(x,y) = 0 with Fᵧ ≠ 0 |
How to Use the Derivative Calculator
Enter the function
Enter a function or choose an example.
Choose the operation
Choose the differentiation variable and derivative order.
Read the result
Differentiate and read the exact symbolic result.
Verify the meaning
Review every applied rule, domain condition, graph, and optional point analysis.
Polynomial, Chain, Product, and Variable-Power Examples
Differentiate x³ + 2x² − 5x + 1.
3x² + 2·2x − 5 + 03x² + 4x − 5Each polynomial term is differentiated independently using the power and constant rules.
Differentiate sin(x²).
cos(x²)·(2x)2x cos(x²)The outer sine rule and inner power rule combine through the chain rule.
Differentiate x ln(x).
1·ln(x) + x·(1/x)ln(x) + 1, x > 0The product rule is used, and the logarithm’s original domain is preserved.
Differentiate xˣ.
xˣ(ln(x) + x/x)xˣ(ln(x) + 1), x > 0Because both base and exponent vary, logarithmic differentiation is used in the real-valued setting.
Domain, Corners, Holes, and Discontinuities
A simplified derivative can look valid at a point that the original function excluded. Always carry the original domain forward. A two-sided derivative also fails at jumps, corners, cusps, and many vertical tangents.
- |x| is not differentiable at x = 0.
- sqrt(x) has a real domain x ≥ 0, but its derivative is undefined at x = 0.
- A cancelled denominator factor can leave a removable hole.
- tan(x) and sec(x) are undefined where cos(x) = 0.
- Implicit differentiation requires the coefficient of dy/dx to be nonzero before solving locally for y as a function of x.
Symbolic vs. Numerical Differentiation
Symbolic differentiation produces an exact expression; numerical differentiation estimates a slope from nearby values and is more sensitive to step size and rounding.
Symbolic
Produces a formula and a rule trace. It is preferred when the function is known in a supported exact form.
Numerical
Approximates one or more slopes from sampled values. It is useful for measured data, but needs error and step-size analysis.
Graphical
Shows how slopes behave and can reveal likely zeros or discontinuities, but the picture alone is not a proof.
Common Differentiation Mistakes
- Forgetting the inner derivative in the chain rule.
- Writing (uv)′ as u′v′ instead of u′v + uv′.
- Applying the quotient rule with the numerator terms reversed.
- Dropping the original domain after cancelling a common factor.
- Treating a sharp corner, vertical tangent, or discontinuity as an ordinary finite derivative.
- Using the simple power rule when both the base and exponent depend on the variable.
Derivative Calculator FAQ
What functions can this derivative calculator handle?
It supports polynomials, rational expressions, powers, roots, exponential and logarithmic functions, common trigonometric and inverse-trigonometric functions, products, quotients, compositions, partial derivatives, and first-order implicit differentiation.
Does it show real differentiation steps?
Yes. The rule trace is generated while the expression tree is differentiated. It is not a canned explanation selected after the answer.
Can it find higher derivatives?
Yes. Choose an order from 1 through 5. Each pass differentiates the result of the previous pass.
Can it calculate a tangent line?
Yes. Enter a valid x-value in the optional point field. The calculator evaluates both f(x) and f′(x) to form tangent and normal equations.
Why are domain restrictions shown?
A derivative formula is only meaningful where the original function and the required derivative operations are defined. Restrictions also prevent cancelled factors from hiding holes.
How does implicit differentiation work?
The equation is rewritten as F(x,y)=0 and the calculator uses dy/dx = −Fx/Fy, provided Fy is not zero at the point being considered.
Is the graph a proof of the derivative?
No. It is a visual check generated from the same parsed expressions. The symbolic rule trace is the mathematical derivation.