How to do derivatives in Desmos
Updated November 2026 · Sarkari Tools math team
Desmos computes derivatives for you. Define a function such as f(x) = x³ − 3x, then type f′(x) (with an apostrophe) or d/dx f(x). Desmos graphs the derivative, and f′(2) gives the slope at x = 2.
f(x)=x^3-3xf'(x)y=f'(a)(x-a)+f(a)Step by step
- Define the function:
f(x)=x^3-3x. - On a new line type
f'(x)to graph the derivative. Typingd/dx f(x)works too. - To get a number, type
f'(2). Desmos shows 9. - For a tangent line at x = a, type
y=f'(a)(x-a)+f(a)and add a slider for a. - For the second derivative, type
f''(x).
Try it live
This graph is drawn by our free graphing calculator, which uses the same style of typing. Edit any line and the graph updates.
Common mistakes and tips
- Name the function first. f′(x) only works after f(x) is defined.
- The roots of f′(x) are the turning points of f(x), which makes a good check.
- Desmos gives a graph and values, not a written formula for the derivative.
Frequently asked questions
Can Desmos show the derivative formula?
No. It graphs and evaluates the derivative but doesn’t write it out. Differentiate by hand and graph both to check.
How do I find where the derivative is zero?
Graph f′(x) and click where it crosses the x-axis. Those x values are the turning points of f.
Does Desmos do integrals?
Yes, with ∫ from the keypad (type int), for example ∫ from 0 to 2 of x² dx.
No Desmos? Use our free online graphing calculator
Our free online graphing calculator works in any browser with no sign-up, and it shows step-by-step working where it can.
More Desmos guides
- How to graph a circle on Desmos
- How to graph piecewise functions on Desmos
- How to graph polar coordinates on Desmos
- How to graph parametric equations on Desmos
- How to make a table on Desmos
- How to do regression on Desmos
- How to add a slider in Desmos
- How to connect points on Desmos
- How to restrict the domain (limit a function) in Desmos
- How to do limits in Desmos
- How to do a cube root on Desmos
- How to make a heart in Desmos
- How to find slope on Desmos
- How to convert a decimal to a fraction on Desmos
- How to use Desmos on the SAT
- How to make a box plot on Desmos
- How to do a subscript in Desmos
- How to put a function in Desmos
- How to graph inequalities on Desmos
- How to find the intersection of two graphs on Desmos
Desmos is a trademark of Desmos Studio PBC. Sarkari Tools is independent and not affiliated with or endorsed by Desmos. Our guides describe how to use the Desmos calculator; our own calculators are separate tools.