How to add a slider in Desmos
To add a slider in Desmos, use a letter you haven’t defined in an equation, like y = ax + b. Desmos offers to “add slider” for a and b. Click it, then drag to see the graph change.
Step by step
- 1Type an equation with a new letter:
y = a x + b. - 2Click “add slider”, or “all” to create all of them at once.
- 3Drag the slider, and watch the graph respond.
- 4Or make one directly by typing
a = 1on a line, then clicking “add slider”.
Changing the range and step
Click the number at either end of the slider to type a new minimum or maximum. The step is set in the same place. A step of 1 keeps the slider on whole numbers, which is useful for the number of terms in a series, or the petals of a rose curve.
Animating a slider
Press the play button at the left of the slider. It sweeps through the range, redrawing the graph as it goes. You can also change its speed, and whether it loops or runs once, in the slider’s settings. This is a good way to see what each number in an equation does.
Things to try with a slider
y = a(x - h)^2 + k: see how vertex form moves a parabola.y = a sin(b x + c) + d: see amplitude, period and shifts, as in the guide to trig graphs.r = cos(k θ): count the petals on a rose curve.
Frequently asked questions
How do I make a slider in Desmos?
Why does the “add slider” button not appear?
How do I make a slider move on its own?
Keep going
What a, h and k do.
What each change does to a graph.
Use sliders in animations.
Type y = mx + b, then add a restriction for a segment.
Type cbrt for ∛, and how to type other symbols.
Make a list, then type stdev(L), mean(L) or median(L).
The same equations work here, with algebra, steps and exports built in. It is free, with no account.