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

20 Comments

  • 2
    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)

  • 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.

  • 4
    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).

  • 2
    Avatar
    Team Desmos

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

  • 4
    Avatar
    xtravisage

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

  • 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
    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.  

  • 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
    Edwin Szeto

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

  • 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
    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
    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

  • 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
    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
    Seth Thomason

    It would be cool to have more options for the desmos slider speed, as I sometimes want it to go up slower than x0.05. I also would like if it went up indefinitely.

  • 0
    Avatar
    Thomas Collier

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

  • 1
    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. 

  • 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
    Seth Thomason

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

Please sign in to leave a comment.
Powered by Zendesk