Sliders

Overview

Any time you have free variables in an expression, the calculator will offer to let you define them with sliders. You will see the option to add sliders appear in the expression bar once you finish typing in your equation. 

You can also use the same variables in several expressions to plot curves that will change together. 

In this example, the value of c defines two parallel lines that move up and down together.

In this example, the two lines stay perpendicular to each other for any value of m.

To adjust the limits and interval of your slider, click either of the values at the ends of the slider bar. Input your values and click "set to complete the adjustment.

 

 

More Resources

Have more questions? Submit a request

31 Comments

  • 10
    Avatar
    Wojciech Gościcki

    It would be great if the slider's limits could be set by another variable (for example: from 0 to n, or from a to b step c).

  • 7
    Avatar
    Team Desmos

    The ability to add variables to slider limits is on our list - stay tuned :)

  • 5
    Avatar
    xtravisage

    Is there any way to just make a variable increase indefinitely?

  • 3
    Avatar
    Gillian Parkes

    Is there a way to play a few different sliders all at exactly the same time so they move together?

  • 3
    Avatar
    skylord a52

    Is it possible to make the slider go only a certain direction? (ie go right until it hits 10, change to -10, keep going right)

  • 3
    Avatar
    Flame M.

    It would be nice if there was a way to define an exact time for how long a slider will take to go from it's lower to upper limit.  

  • 2
    Avatar
    Sgsmathck

    It would be nice (for example with trig functions) to be able to make sliders have their limits and intervals defined in terms of pi, without having to copy/paste those values in.

  • 2
    Avatar
    Nick Z

    Any update on using variables as limits? I saw you responded back in 2016, but nothing's happening yet. Desmos is a great tool, keep up the good work. I enjoy using it for schoolwork and for fun. 

  • 1
    Avatar
    349137230

    Would it be possible to have the limits of a slider set by another variable? Say P is the orbital period and t is the time since periapsis, have a slider that sets 0>t>P. This would make certain points seem to have a continuous motion when the slider resets. Thanks.

  • 0
    Avatar
    Pecooper 2021

    Eric Roch already said it - if there was a button that replaces all variables with the current slider number and deletes the slider.

  • 0
    Avatar
    Thomas Collier

    Is there a way to restrict students from editing the limits/step of the sliders?

  • 0
    Avatar
    Edwin Szeto

    How many sliders can we add in 1 graph? it seems to max out at 6?

  • 0
    Avatar
    Alec Timmerman

    Thanks

  • 0
    Avatar
    Alec Timmerman

    It would be nice is the function displayed changes as the sliders changed, and then displayed the actual function of whatever sliders it landed on. 

     

    For example f(x) =a(x-h)^2+k .     would show up as 2(x-3)^2+5 when a = 2 h=3 and k=5 instead of just always showing the generic function. Any way to do this?

     

     

  • 0
    Avatar
    Michael Fenton

    Flame: I'll pass your comment along to the team. In the meantime, this might help: At 1x speed, the slider takes 4 seconds to run through one cycle. Speed up or slow down to adjust accordingly. (Although, admittedly, this won't allow you to hit certain slider durations.)

  • 0
    Avatar
    701878

    Hey could you guys hurry up and make a slider that can be set to whatever speed desired? Thanks guys great tool

  • 0
    Avatar
    Michael Fenton

    Alec, while it's not possible to do that in the expression list, you can add a dynamic graph label to the coordinate plane. Here's one example: https://www.desmos.com/calculator/s7jnensymg

  • 0
    Avatar
    Seth Thomason

    701878 If in every place the variable determined by the slider occurs, you run it through the speed function you want, and run the endpoints of the slider through the inverse function, it should work the same

  • 0
    Avatar
    Flame M.

    Alex: Hey I though I'd save the Desmos team some time on this one being that I'm on this mailing list. For one, you can easily hide the functions by putting them in a folder which you can make by hitting add item. As for editing values in full screen you can crate movable points and use these to create on-graph sliders. Here is a link to a sample graph that demo's all of these. https://www.desmos.com/calculator/tk8bstp7rz

    The letter A is just for effect, but it does make it look nicer

  • 0
    Avatar
    deafdumnblind

    Changing the slider bounds and step rarely works

  • 0
    Avatar
    Eric Roch

    It would also be cool if sliders had a "Submit" button (the word on the buttons not important) that would replace all instances of that slider variable with its current value. This would be very useful for projects where sliders are used to tweak equations (i.e. to match a picture) when you want to save the values in the equation(s). Another option would be to put a button on equations that use sliders to accept the values on an equation-by-equation basis rather than by slider.

  • 0
    Avatar
    Seth Thomason

    Dylan, you should see an arrow loop looking thing, click that once to get it to do that

  • 0
    Avatar
    Tom Kenyon

    I like that the play button moves the sliders forward and backward.   And, I like that you can click the --> <--- button to change it to ---> --->  (above one another) so that the slider only plays forward.   But, I make a lot of physics models.  My most common slider is for time.   I wish there was a way for it to simply play once, and not repeat.  (Is there?)

  • 0
    Avatar
    Bryan Dickinson

    Hi all,

    It would be cool if you could restrict your sliders to fractions, meaning if I have y = mx + b, my slider would show m = 1/2 rather than 0.5. This could make for some more effective exploration activities around equations. This isn't already an option is it?

  • 0
    Avatar
    Michael Fenton

    Hi Bryan. That's not currently possible, but I'll pass your request along to the rest of the team. Thanks for sharing!

  • 0
    Avatar
    Pgarcia

    I would really appreciate a backwards only option for sliders. It would me much more effective for demonstrating limits. 

  • 0
    Avatar
    Michael Fenton

    Edwin: I'm not aware of a limit to the number of sliders in a graph. Here's an example that includes 20: https://www.desmos.com/calculator/usioakujsa

    Can you share a link to a graph you're working on where the max appears to be six?

  • 0
    Avatar
    Dylan Karzen

    I figured out how to make sliders reset to the initial value. If you put them into a folder, then they will reset once the get to the maximum value!

  • 0
    Avatar
    701878

    Would it be possible for you to allow for sliders to have a speed that can be set to a variable, and also, have sliders be able to have limits set by variables? 

  • 0
    Avatar
    Alex Malone

    Hi. It would be really useful for teaching to be able to make sliders visible, without showing all of the functions. It would be nice to be able to alter parameters while keeping the graphs in fullscreen.

    Sometimes the functional forms can be needlessly confusing for students, sometimes you want some mystery about what's going on, and sometimes they just take up too much valuable screen

Please sign in to leave a comment.
Powered by Zendesk