# Getting Started: Inequalities and Restrictions

## Inequalities

Use inequalities to automatically shade above or below lines and curves. Combine implicit relations and inequalities to share the interior of a circle, or the concave part of a hyperbola. Add extra life to your Desmos math art with a bit of inequality-based shading. Get started with the video on the right, then dive deeper with the resources and challenges below.

With inequalities, you can add colored shading to your Desmos graph. Use strict inequalities ($$\lt and \gt$$) for dotted lines and non-strict inequalities ($$\le and \ge$$) for a solid line.

For more intricate graphs, you can also use inequalities with restrictions to shade selected parts of the graph.

### Graphing Challenges

Stretch your skills with graphing challenges.

## Domain and Range Restrictions

Use curly braces at the end of an expression to add a domain or range restriction in seconds. From piecewise functions and implicit relations, to including sliders within your restrictions, Desmos makes it easy to control what you see in the coordinate plane. Get started with the video on the right, then dive deeper with the resources and challenges below.

To limit the domain or range (x or y values of a graph), you can add the restriction to the end of your equation in curly brackets {}. In the example graph above the line y=2x is restricted for x values between 1 and 3.

You can also use restrictions on the range of a function and any defined parameter.

It's also possible to add multiple restrictions to the same expression line regardless of what parameter is being restricted.

### Interactive Tour

Master the basics with a quick, step-by-step walkthrough.

### Graphing Challenges

Stretch your skills with graphing challenges.