Graphable Expressions

This is a list of all the graphable expressions in Desmos, along with instructions on how to graph them, examples, and other comments.

Regular Expressions
You can write an expression with any two variables, so just as $$y=2x+5$$works - so does $$a=2b+5$$. You can also create functions such as $$f(x)=2x^2+4x$$and $$t(x)=4x^3+19x+3$$.

x in terms of y
You can make expressions such as $$x=\sqrt{1-y^2}$$.

Points, Point Lists and Movable Points
To plot points, just use the format (x,y). To plot point lists write several points, separating each with commas. To create a movable point follow one of these formats: (a,b), (x,b), (a,y), where a and b are variables and x and y are consonants. To read more about movable points, visit the Variables and Sliders page.

List Expressions
When you type in $$y=2x+[1,2,3,4,5]$$, you're creating five different graphs: $$y=2x+1$$, $$y=2x+2$$, etc.

Inequalities
When making strict inequalities, using $$<$$or $$>$$, the lines will be dashed. When making non-strict inequalities, using $$\leq$$or $$\geq$$, the lines will not be dashed. You can make all sorts of inequalities from simple linear inequalities like $$2x+4<y$$, to quadratic inequalities like $$2x^3+4x+1 {\leq} y$$, to implicit inequalities such as $$y^2+x^2<25$$.

Polar
To graph a polar expression, make the subject $$r$$and express it in terms of $$\theta$$, which can be inserted in your equation by typing 'theta'. A classic example is classic polar flower, formed by the equation $$r=sin(5\theta)$$. You might also want to switch the grid layout of the Graphing Calculator to suit the polar expressions. To switch between the cartesian and polar grid, go to settings of the graph - represented by the wrench button on the top right - and click the polar grid icon as resented in Fig. 1.

Piecewise
To graph a piecewise function, you need to input the format of {condition: value, default}, here's what this means. The condition is the area of the graph you want to be different, the value is the equation/value you want that area to change to, the default is just the rest of the graph. Confused? Let's go through an example. You want a graph of $$y=2x$$, except from -2 to 2 x-coordinates you want $$x^2$$, here's how you write it: $$\{-2<x<2: x^2, 2x\}$$.

You can even make multiple pieces in one piece wise function using this format: {condition1: value1, condition2, value2, ..., default}, for example: $$\{-1<x<1: 3x, 3<x<4: x^2, x \}$$, which is shown in Fig. 2.

Domain and Range Restrictions
Add restrictions at the end of your expression with {}. For example: $$y=2x+3\{-3<x<6\}$$, or, $$y=sin(x)\{-0.5<y<0.5\}$$, shown in Fig. 3.

Parametric and Implicit
You can write implicit equations such as $$y^2+x^2=25$$. And you can write parametric similar to the way you can write points, for example $$(sin(2t), cos(3t))$$. You have to use the letter t.

Regressions
To create a regression you need two sets, in the form of two lists or in the form of a table. You then use ~ to make a regression. For example, if you have two sets $$y_1$$and $$x_1$$, you can create a regression: $$y_1\sim mx_1+c$$for a linear regression, or $$y_1 \sim ax_1^2+bx_1+c$$for a quadratic regression, you can make any type you want!