Solve · Check · Learn

Derivative Calculator with Steps

Type a function, paste LaTeX, or snap a photo — get the derivative with every rule applied.

Try:

Derivative Calculator with Steps: Free Differential Calculus Solver

Math AI Solver provides an instant derivative calculator with steps that breaks down any single-variable or multivariable function into a clear, line-by-line proof.

Complete intermediate proofs

View explicit applications of the Power, Product, Quotient, and Chain Rules.

Dual mathematical notation

Solutions in both Leibniz notation dydx\frac{dy}{dx} and Lagrange notation f′(x)f'(x).

Flexible input methods

Type equations, paste LaTeX, or upload a photo of handwritten notes.

100% free & unrestricted

Step-by-step differentiation for high school AP Calculus and college Calculus I–III.

How to Find the Derivative of a Function Step-by-Step

A derivative calculator with steps is an online calculus tool that computes the rate of change of a mathematical function while displaying each intermediate differentiation rule applied. By entering a function, users receive the exact derivative along with line-by-line applications of the power, product, quotient, or chain rules.

1

Function anatomy

  • Rewrite radicals
  • Rewrite fractions
  • Identify domain
2

Rule selection

  • Identify outermost operator
  • Decompose chain
3

Step-by-step proof

  • Apply core rules
  • Simplify algebra
  • Evaluate slope at point x=ax = a

Input your function f(x)f(x)

Enter your equation into the tool above. Type any polynomial, trigonometric, exponential, logarithmic, or radical expression.

Teacher's tip — simplify before differentiating

  • Radicals: x23→x2/3\sqrt[3]{x^2} \to x^{2/3}, x→x1/2\sqrt{x} \to x^{1/2}
  • Fractions: 5x4→5x−4\frac{5}{x^4} \to 5x^{-4}
  • Constant denominators: x3+42→12x3+2\frac{x^3 + 4}{2} \to \frac{1}{2}x^3 + 2

Identify outer and inner operations

The solver inspects the expression's operator hierarchy from the outside in:

  • Sum/Difference: terms joined by + or −, differentiate term by term.
  • Product: two variable expressions multiplied — Product Rule.
  • Quotient: variable expressions form a fraction — Quotient Rule.
  • Composite: inside a power, root, trig function, or log — Chain Rule.

Review the line-by-line proof

The engine outputs a structured proof showing every algebraic step and rule applied, so you can verify your manual homework line by line.

  • Shows raw intermediate steps alongside fully factored final answers.
  • Works as a derivative calculator at a point, computing f′(a)f'(a) for the exact slope of tangent lines.

Derivative Rules in Calculus

The derivative measures the instantaneous rate of change of a continuous function — defined formally as the limit of the difference quotient:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}

Every shortcut taught in calculus is derived directly from this limit definition.

Power rule

ddx[xn]=nxn−1\frac{d}{dx}[x^n] = n x^{n-1}

Product rule

ddx[uv]=u′v+uv′\frac{d}{dx}[uv] = u'v + uv'

Quotient rule

ddx[uv]=u′v−uv′v2\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{u'v - uv'}{v^2}

Chain rule

ddx[f(g(x))]=f′(g(x))⋅g′(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)

The Power Rule

For any real power n, bring the exponent to the front and subtract 1 from the power.

  • Positive integer: ddx[x5]=5x4\frac{d}{dx}[x^5] = 5x^4
  • Negative power: ddx[x−3]=−3x−4=−3x4\frac{d}{dx}[x^{-3}] = -3x^{-4} = -\frac{3}{x^4}
  • Fractional power: ddx[x1/2]=12x−1/2=12x\frac{d}{dx}[x^{1/2}] = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}

Product, Quotient & Chain Rules

When variable functions are multiplied or divided, you cannot differentiate the individual terms independently.

For a composite function, differentiate the outer function ff, leaving the inner expression g(x)g(x) unchanged, then multiply by the derivative of the inner function g′(x)g'(x). The Quotient Rule requires v(x)≠0v(x) \neq 0.

Exponential, logarithmic & implicit

  • Exponentials: ddx[ex]=ex\frac{d}{dx}[e^x] = e^x and ddx[ax]=axln⁡(a)\frac{d}{dx}[a^x] = a^x \ln(a)
  • Logarithms: ddx[ln⁡(x)]=1x\frac{d}{dx}[\ln(x)] = \frac{1}{x} and ddx[log⁡a(x)]=1xln⁡(a)\frac{d}{dx}[\log_a(x)] = \frac{1}{x \ln(a)}
  • Logarithmic differentiation: for powers like y=xxy = x^x, take logarithms of both sides before differentiating.
  • Implicit differentiation: treat yy as a function of xx, multiply by dydx\frac{dy}{dx} whenever differentiating a yy-term, then isolate dydx\frac{dy}{dx}.

Trig functions & inverses

  • ddx[sin⁡(x)]=cos⁡(x)\frac{d}{dx}[\sin(x)] = \cos(x)
  • ddx[cos⁡(x)]=−sin⁡(x)\frac{d}{dx}[\cos(x)] = -\sin(x)
  • ddx[tan⁡(x)]=sec⁡2(x)\frac{d}{dx}[\tan(x)] = \sec^2(x)
  • ddx[arcsin⁡(x)]=11−x2\frac{d}{dx}[\arcsin(x)] = \frac{1}{\sqrt{1-x^2}}
  • ddx[arctan⁡(x)]=11+x2\frac{d}{dx}[\arctan(x)] = \frac{1}{1+x^2}

Need a printable reference? Browse the formula reference.

Specialty Calculus Solvers: Second Derivatives, Partials & Limits

Calculus homework frequently extends beyond standard first-order single-variable differentiation. Math AI Solver supports advanced calculus curricula too.

Second derivative calculator with steps

Computes higher-order derivatives (f′′(x)f''(x) or d2ydx2\frac{d^2y}{dx^2}) to determine the concavity, inflection points, and acceleration of a curve.

Partial derivative calculator with steps

In multivariable calculus (Calculus III), holds other variables constant while differentiating with respect to xx, yy, or zz (∂f∂x\frac{\partial f}{\partial x}).

Limit definition of derivative

Evaluates difference quotients algebraically using lim⁡h→0\lim_{h \to 0}, walking through the exact factoring and cancellation steps required on introductory exams.

Derivative of integral calculator

Applies the Fundamental Theorem of Calculus (ddx∫axf(t) dt=f(x)\frac{d}{dx}\int_a^x f(t)\,dt = f(x)) directly to definite and variable-limit integrals.

Graph vs. algebraic tool: graphing platforms like Desmos show the derivative visually by plotting tangent slopes; Math AI Solver pairs that intuition with the line-by-line algebraic proofs students must write on paper.

Worked Step-by-Step Differentiation Examples

Find the derivative of f(x)=x2sin⁡(x)f(x) = x^2\sin(x) using Lagrange notation f′(x)f'(x), and calculate the slope of the tangent line at x=πx = \pi.
Identify the parts: u=x2⇒u′=2xu = x^2 \Rightarrow u' = 2x and v=sin⁡(x)⇒v′=cos⁡(x)v = \sin(x) \Rightarrow v' = \cos(x).Apply u′v+uv′u'v + uv': f′(x)=(2x)sin⁡(x)+(x2)cos⁡(x)f'(x) = (2x)\sin(x) + (x^2)\cos(x)Evaluate at x=πx = \pi, using sin⁡(π)=0\sin(\pi) = 0 and cos⁡(π)=−1\cos(\pi) = -1: f′(π)=2π(0)+π2(−1)=−π2≈−9.87f'(\pi) = 2\pi(0) + \pi^2(-1) = -\pi^2 \approx -9.87
Find dydx\frac{dy}{dx} for y=ln⁡(3x2+1)y = \ln(3x^2 + 1) using Leibniz notation.
Outer function f(u)=ln⁡(u)f(u) = \ln(u), inner function u=g(x)=3x2+1u = g(x) = 3x^2 + 1.Differentiate the outer function: dfdu=1u=13x2+1\frac{df}{du} = \frac{1}{u} = \frac{1}{3x^2 + 1}Differentiate the inner function: dudx=6x\frac{du}{dx} = 6xMultiply: dydx=13x2+1⋅6x=6x3x2+1\frac{dy}{dx} = \frac{1}{3x^2 + 1} \cdot 6x = \frac{6x}{3x^2 + 1}

Common Mistakes to Avoid on Exams

  1. 1

    Confusing Power Rule and Exponential Rule

    ddx[x2]=2x\frac{d}{dx}[x^2] = 2x, but ddx[2x]=2xln⁡(2)\frac{d}{dx}[2^x] = 2^x \ln(2). Never bring down a constant exponent when the variable is in the power!
  2. 2

    Forgetting the inner derivative in Chain Rule

    ddx[sin⁡(5x)]≠cos⁡(5x)\frac{d}{dx}[\sin(5x)] \neq \cos(5x). You must multiply by ddx[5x]=5\frac{d}{dx}[5x] = 5 to get 5cos⁡(5x)5\cos(5x).
  3. 3

    Flipping the Quotient Rule numerator

    The numerator is u′v−uv′u'v - uv'. Writing uv′−u′vuv' - u'v reverses the sign of your final derivative.
  4. 4

    Overusing Quotient Rule on constant denominators

    For x2+35\frac{x^2 + 3}{5}, write it as 15(x2+3)\frac{1}{5}(x^2 + 3) and use the constant multiple rule to get 2x5\frac{2x}{5}. Using the Quotient Rule wastes time and risks algebra errors.

Frequently Asked Questions

Math AI Solver is a free derivative calculator online for calculus students. Unlike legacy platforms such as Symbolab or Wolfram|Alpha that place intermediate steps behind paid paywalls, Math AI Solver displays line-by-line intermediate steps, exact rule citations, and full proofs completely free.

A definition of derivative calculator with steps applies the difference quotient limit f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0}\frac{f(x+h) - f(x)}{h}. Substitute (x+h)(x+h) into the function, expand all terms algebraically, factor out hh from the numerator to cancel the hh in the denominator, and evaluate the limit as h→0h \to 0.

Yes. Enter any equation containing both xx and yy, and the solver will differentiate both sides with respect to xx, apply the chain rule to yy-terms, and isolate dydx\frac{dy}{dx}.

On standard graphing calculators (like the TI-84), you can only calculate numerical derivatives at a specific point using commands like nDeriv(. To generate symbolic algebraic derivatives f′(x)f'(x) with full step-by-step proofs, use an online solver like Math AI Solver.

Identify the outer function ff and inner expression gg. Differentiate ff first while leaving gg unchanged inside, then multiply the entire expression by the derivative of gg.

Leibniz notation dydx\frac{dy}{dx} expresses the derivative as a ratio of infinitesimals, making it ideal for the Chain Rule, implicit differentiation, and differential equations. Lagrange notation f′(x)f'(x) uses prime marks to denote derivatives as functional operators. Math AI Solver can output both formats.