AI-Powered Calculus Solver

Solve Derivatives Step by Step

Screenshot any derivative — polynomial, product, or chain-rule composition — and get the rule it used and every step in seconds.

Try for free
4.4/5 from 35 Chrome Web Store reviews · 2,000+ users
  • Works on any screenshot — textbook, PDF, or worksheet
  • Full step-by-step solutions, not just the final answer
  • Free to start — no account needed
school-portal.com/homework-worksheet.pdf
Photo Math Solver Solved
f(x)=3x42xf(x) = 3x^4 - 2x
  1. 1Apply the power rule to each term: ddx3x4=12x3\frac{d}{dx}\,3x^4 = 12x^3 and ddx(2x)=2\frac{d}{dx}(-2x) = -2.
  2. 2Combine: f(x)=12x32f′(x) = 12x^3 - 2.
01Definition

What is a derivative?

A derivative measures how fast a function changes at a single instant — the slope of the curve at exactly one point. If f(x)f(x) gives a car’s position over time, its derivative f(x)f′(x) gives the speedometer reading at each moment.

Formally, the derivative is the limit of the average rate of change over a shrinking interval: f(x)=limh0f(x+h)f(x)hf′(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}. In practice you almost never compute that limit directly — a small set of differentiation rules turns the process into reliable mechanics.

You will see two notations used interchangeably: Lagrange’s f(x)f′(x) and Leibniz’s dydx\frac{dy}{dx}. They mean the same thing; the Leibniz form is handy when it matters which variable you are differentiating with respect to.

Where you'll actually use this

  • Physics: velocity is the derivative of position, and acceleration is the derivative of velocity.
  • Optimization: setting f(x)=0f′(x) = 0 finds maximum profit, minimum cost, or the best dimensions for a design.
  • Economics: marginal cost and marginal revenue are derivatives of the total cost and revenue functions.
  • Machine learning: training a model is running derivatives (gradients) millions of times.
Tangent line
The straight line that touches a curve at one point and has slope f(x)f′(x) there.
Differentiable
A function is differentiable at a point if its derivative exists there — no corners, jumps, or vertical tangents.
Second derivative
The derivative of the derivative, written f(x)f''(x) — it measures how the rate of change itself changes (concavity).
Rate of change
How much one quantity changes per unit change of another; the derivative is the instantaneous version.
02Formulas

The formulas you need

Keep these on hand — every method below builds on them.

Power rule
ddxxn=nxn1\frac{d}{dx}\,x^n = n\,x^{n-1}

The workhorse — also covers roots and fractions once you rewrite them as powers.

Product rule
(fg)=fg+fg(fg)′ = f′g + fg′

For a product of two functions. Note: NOT f′g′.

Quotient rule
(fg) ⁣=fgfgg2\left(\frac{f}{g}\right)^{\!\prime} = \frac{f′g - fg′}{g^2}

Numerator order matters — f′g comes first, then minus fg′.

Chain rule
ddxf(g(x))=f(g(x))g(x)\frac{d}{dx}\,f(g(x)) = f′(g(x)) \cdot g′(x)

For nested functions: differentiate the outside, multiply by the derivative of the inside.

03Methods

How to solve derivatives

Pick the method that fits the problem in front of you.

When to use it: For polynomials and any function you can rewrite as powers of xx — including roots (x=x1/2\sqrt{x} = x^{1/2}) and reciprocals (1x2=x2\frac{1}{x^2} = x^{-2}).
  1. 1Rewrite roots and fractions as powers: x=x1/2\sqrt{x} = x^{1/2}, 1x3=x3\frac{1}{x^3} = x^{-3}.
  2. 2Differentiate each term separately: bring the exponent down, then subtract 1 from it.
  3. 3Constants multiplying a term stay put: ddx3x4=34x3=12x3\frac{d}{dx}\,3x^4 = 3 \cdot 4x^3 = 12x^3.
  4. 4The derivative of a lone constant is 00.
  5. 5Recombine the terms and simplify.
04Worked examples

Derivatives, solved step by step

From easy to hard — pick a problem to see its full solution.

f(x)=3x42xf(x) = 3x^4 - 2x
  1. 1Apply the power rule to each term: ddx3x4=12x3\frac{d}{dx}\,3x^4 = 12x^3 and ddx(2x)=2\frac{d}{dx}(-2x) = -2.
  2. 2Combine: f(x)=12x32f′(x) = 12x^3 - 2.

Try it on your own derivatives homework

Photo Math Solver reads a derivative problem straight from a screenshot — a textbook page, a lecture slide, an online homework portal — and returns the full solution: which rule applies, every intermediate step, and the simplified result. No retyping nested parentheses, and no guessing whether you need the chain rule.

05Practice

Now you try

Work each one on paper first, then check your answer.

Problem 1
ddx(5x34x2+7)\frac{d}{dx}\left(5x^3 - 4x^2 + 7\right)
Problem 2
ddx(2x+1)3\frac{d}{dx}\,(2x + 1)^3
Problem 3
ddxsin(2x)\frac{d}{dx}\,\sin(2x)
Problem 4
ddxxex\frac{d}{dx}\,x e^x

Stuck on your derivatives homework? Screenshot it

Stuck on a derivative in your textbook or homework portal? Instead of retyping the function by hand, screenshot it with Photo Math Solver directly from the page — it works the same whether the problem is a simple power function or a nested composition needing the chain rule.

06Common mistakes

Where points get lost

Each of these shows up on real graded work — and each has a simple fix.

Applying the power rule to a composition and dropping the inner derivative.(3x+1)5(3x+1)^5 looks just like x5x^5, so the temptation is to write 5(3x+1)45(3x+1)^4 and stop.Ask "is there anything inside other than plain xx?" If yes, chain rule: multiply by the inner derivative — here 3\cdot\,3, giving 15(3x+1)415(3x+1)^4.
Believing (fg)=fg(fg)′ = f′g′.It mirrors how limits and sums behave, so it feels like it should be true for products too.Products need the full product rule fg+fgf′g + fg′. Quick sanity check: ddx(xx)=2x\frac{d}{dx}(x \cdot x) = 2x, but fgf′g′ would give 11.
Flipping the numerator order in the quotient rule.The formula is asymmetric — fgfgg2\frac{f′g - fg′}{g^2} — and swapping the two terms silently flips the sign of the answer.Memorize it with a rhythm ("low d-high minus high d-low") and write ff, gg, ff′, gg′ down explicitly before assembling.
Differentiating 1x2\frac{1}{x^2} or x\sqrt{x} without rewriting them as powers.Fractions and radicals hide the exponent, so sign and magnitude errors creep in when people improvise.Always rewrite first: 1x2=x2\frac{1}{x^2} = x^{-2} differentiates to 2x3-2x^{-3}; x=x1/2\sqrt{x} = x^{1/2} differentiates to 12x1/2\frac{1}{2}x^{-1/2}.

Photo Math Solver shows every intermediate step, so slips like these are easy to catch before they cost you marks.

07FAQ

Frequently asked questions

Related topics

Ready to Solve Math Problems in Seconds?

No credit card required. Works in your browser. Free trial available. Learn math faster and smarter today!