Derivative steps

Type a function such as x² sin x, (x + 1)/(x − 1), sin(x²) or xˣ and see its derivative with every step: which rule is used at each part (power, product, quotient, chain, eˣ, ln, trig, inverse trig, logarithmic differentiation), worked from the inside out, then f and f′ drawn together with the tangent at any point.

Keep it one tap away for everyday use.

Bookmark Derivative steps?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Type f(x)
  2. Rules
  3. f′(x)
  4. Graph
Nothing is uploadedWorks offline once open

Type a function

Level

Use ^ for powers, brackets after sin, cos, tan, ln, sqrt, asin, acos, atan, and e^(…) for eˣ. 2x and x sin(x) mean multiply.

The answer

Step by step (inside out)

    See f and f′ together

    Black: f(x). Orange: f′(x). Dashed blue: the tangent at x = a. Where f′ crosses 0, f has a flat tangent.

    Try this

    • Tap x² sin x: the product rule needs the derivative of each factor first, and the steps show both.
    • Tap (x + 1)/(x − 1): the quotient rule. Notice the answer is never 0, so the graph never has a flat tangent.
    • Tap sin(x²) and then type sin(x)^2. Same pieces, different order, different derivative.
    • Tap xˣ: neither the power rule nor the eˣ rule fits, so the page takes logs first.
    • Slide a to where the orange curve crosses 0 and look at the dashed tangent on the black curve.

    Check yourself

    Fresh numbers every time. Type a number or a fraction such as 3/4; nothing is saved or sent.

      What it does

      Type a function of x and this page differentiates it the way you would on paper. It splits the function into parts, names the rule it uses for each part (sum rule, power rule, product rule, quotient rule, chain rule and the standard derivatives of eˣ, ln x, sin, cos, tan and the inverse trig functions), writes the working with the pieces filled in, and puts them together into one simplified answer. Underneath, f(x) and f′(x) are drawn on the same axes, with the tangent at a point you choose.

      The steps run from the inside out: the small derivatives come first, and the last step is the whole function. That is the order in which you can check each line, because every line only uses derivatives already found above it.

      It follows limits and derivatives in Class 11 maths (the sum, product and quotient rules, and the derivatives of xⁿ, sin x and cos x) and continuity and differentiability in Class 12 maths (the chain rule, eˣ, ln x, inverse trig and logarithmic differentiation). If the chain rule feels like magic, the chain rule gears page shows it as linked gears; derivative slope shows what a derivative means as a slope, and maxima and minima puts the answer to work.

      How to use it

      1. Pick the Level. Class 11 shows examples that use the Class 11 rules; Class 12 adds the chain rule, eˣ, ln, inverse trig and xˣ. Any function you type works at either level.
      2. Type f(x) or tap an example. Use ^ for powers, brackets after function names (sin(x), ln(x^2 + 1), sqrt(x), atan(x)), e^(3x) for e to the power 3x, and |x - 2| for absolute value. 2x and x sin(x) mean multiply.
      3. Read the answer and the steps. Each step shows the rule in bold and then the working.
      4. Slide a to move the point on the graph. The facts show f(a), the slope f′(a) and the tangent line there.

      The rules it uses

      • Sum rule: the derivative of a sum is the sum of the derivatives.
      • Constant multiple: d/dx [c·g] = c·g′.
      • Power rule: d/dx xⁿ = n xⁿ⁻¹, for any constant n (so √x and 1/x are covered too).
      • Product rule: d/dx [u·v] = u′v + uv′.
      • Quotient rule: d/dx [u/v] = (v·u′ − u·v′)/v².
      • Chain rule: d/dx f(g(x)) = f′(g(x))·g′(x). A power of a bracket, such as (2x + 1)⁵, uses it as n uⁿ⁻¹ · u′.
      • Logarithmic differentiation for a variable power such as xˣ: take ln of both sides first.

      Worked example

      Type x^2 sin(x). The page finds d/dx[x²] = 2x by the power rule and d/dx[sin x] = cos x, then uses the product rule with u = x² and v = sin x: f′(x) = 2x sin x + x² cos x. At a = 1, f′(1) = 2 sin 1 + cos 1 ≈ 1.6829 + 0.5403 = 2.2232, so the curve is rising there and the tangent is y = 2.223x − 1.382.

      Now tap (x + 1)/(x − 1). With u = x + 1 and v = x − 1, both u′ and v′ are 1, so f′ = [(x − 1) − (x + 1)]/(x − 1)² = −2/(x − 1)². It is negative everywhere it exists: the graph falls on both sides of x = 1.

      FAQ

      Why does my answer look different? There are many correct ways to write a derivative. The page simplifies, but 2x sin x + x² cos x and x(2 sin x + x cos x) are the same thing. Check by putting a number in both.

      What is sec²? sec x = 1/cos x, so the page writes sec²(2x) in the step and 1/cos²(2x) in the answer.

      Why does |x| give x/|x|? That is +1 for positive x and −1 for negative x; at x = 0 there is no derivative.

      Is this page part of NCERT? No. fibub is independent. It follows the topics of the Class 11 and 12 maths syllabus and uses none of the textbook’s text or exercises.

      Where the numbers come from

      • Standard differentiation rules (sum, constant multiple, power, product, quotient, chain, the derivatives of eˣ, aˣ, ln x, the trig and inverse trig functions, and logarithmic differentiation). Written for fibub; no textbook text, figures or exercises are used.
      • Checked against sympy 1.14: the derivatives of 25 school functions at x = 0.3, 0.7 and 0.9, and against fibub's own symbolic algebra engine at eight more points.

      Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

      Last updated 2026-11-09.

      Change log for Derivative steps

      1. Add #1467 Derivative calculator with steps Details on GitHub

      Every change to fibub

      Related tools

      Symbolic algebra #T370 Type an expression and simplify, expand or factor it, differentiate it, integrate it (with definite integrals), or substitute values. Exact fractions, answers you can copy as SymPy or LaTeX, and an honest 'could not integrate' when it is out of reach. Checked against sympy. Derivative slope #L84 Drag two points on a curve and shrink the gap h: the secant line turns into the tangent and its slope settles on f′(x). See the slope graph f′(x) drawn under f(x), a table of slopes from both sides, first-principles working for xⁿ and sin x, corners where there is no derivative, and fresh practice questions. Maxima and minima #L87 See a function, its slope f′ and its bending f″ stacked one above the other, with every turning point found and tested by the first and second derivative tests, the absolute maximum and minimum on an interval, and three optimisation stories (open box, fence by a river, closed can) with the working. Chain rule gears #L303 Build a function out of two or three links, such as sin(3x) or (sin 2x)², and turn the x gear. Each gear turns by its own rate, and dy/dx is the product of the rates, with the formula, live numbers, a small-nudge check, the graph with its tangent and fresh practice questions. e and ln #L305 Slide the base of y = aˣ and watch slope ÷ height stay the same at every point; find the one base, e = 2.718…, where the slope equals the height. Meet the same e in compound interest and in 1 + 1 + 1/2! + …, and see ln x as the mirror of eˣ with slope 1/x. Related rates #L306 Play three classic related-rates stories (a ladder sliding down a wall, a balloon being blown up, a cone-shaped tank filling with water), change the sizes and speeds, and see the link equation differentiated with respect to time with your numbers filled in, plus a graph of the unknown rate as time goes on. Definite integral properties #L307 See each property of definite integrals as a picture with the numbers worked out: swapping the limits flips the sign, splitting at any c adds up, f(a + b − x) is the same area flipped, ∫₀²ᵏ in two halves, even functions double and odd functions cancel, and the area function A(x) whose slope is f(x). Integration technique coach #L308 Type a school integral and the coach says which method fits and why: power rule, standard form, substitution, integration by parts with ILATE, partial fractions, or parts twice for eˣ sin x. Then it writes the steps, checks the answer by differentiating it back, and draws f with its antiderivative.