# Domain and Range of a Function by Flattening to the Axis

- Author:
- Irina Boyadzhiev

- Topic:
- Functions

This applet can be used to introduce the concept of Domain and Range of a function by flattening the graph of the function over the coordinate axes.

- Click on a button to select one of the three functions.
- Drag the "domain" slider. The graph of the function is flattened to the x-axis. The trace that is left on the x-axis is the domain of the function.
- Drag the "range" slider. The graph of the function is flattened to the y-axis. The trace left on the y-axis is the range of the function.