Domain and Range as Shadows

Category: Functions   Level: 201

f(x) = (x - 1)2 - 3 on [-1, 3]: domain [-1, 3], range [-3, 1]

Shine a light straight down on a graph and its shadow on the x-axis is the domain. Shine a light from the side and its shadow on the y-axis is the range.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Draw the graph

This graph starts at x = −1 and stops at x = 3. The solid dots say both ends belong to the graph.

f(x) = (x - 1)2 - 3, -1 ≤ x ≤ 3

Step 1: Draw the graph

Step 2: Shadow on the x-axis

Shine a light straight down. The graph throws a shadow on the x-axis from −1 to 3. That shadow is the domain: every x the graph uses.

domain: -1 ≤ x ≤ 3

Step 2: Shadow on the x-axis

Step 3: Shadow on the y-axis

Now shine the light from the side. The shadow on the y-axis runs from the lowest point, −3, up to 1. The bottom comes from the turning point, not an end.

range: -3 ≤ y ≤ 1

Step 3: Shadow on the y-axis

Step 4: Write both shadows

Square brackets mean the ends count, because the dots are solid. Each shadow is one interval. Both ends of the graph sit at height 1, and neither one sets the bottom.

domain [-1, 3], range [-3, 1]

Step 4: Write both shadows

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render domain-range --out /tmp/domain-range

Source: svgmath/diagrams/function_basics.py