Real functions and their graphs

Ask the tutor about Real functions and their graphsOpen the graphing workbench

Where does the graph of a real function sit, once every real input has been given one real output — and when does swapping the letters still leave one output for each new input?

The pairs sit on one line

Take the assignment . The extra assumption is that the pairs form a straight line. Slope and intercept already name that line on Lines in the plane. Here the line is only the picture of the pairs.

Drag x. The point stays on y=2x+1, the line through (0, 1) and (1, 3). The five fixed points are the rows x = 0, 1, 2, 3, 4.

The rows give . Those five points, and the point that moves when you drag, lie on the line through and . The graph is that set of points.

Call the assignment , and call the number it picks at the value , so . The domain is the set of every that receives a value. The range is the set of those values. The graph is the set of pairs . A table and a graph fix the same assignment. On this line the domain and the range are every real number.

A larger input forces a larger value

On this line a larger input gives a larger value. Whenever ,

This comparison is (0.27). The function is then strictly increasing.

Replace in turn by

and the function is nondecreasing, decreasing, or nonincreasing.

A flat step keeps the weak comparison

The next board freezes a flat step at height for , then follows .

Drag either mark. Both stay at height 1 while the input stays below 1, so the strict rise fails on that step and the weak comparison still holds.

On that step two inputs share a value, so does not force . The weak comparison still holds, and the function is nondecreasing. Turn the strict comparison around and a falling graph is decreasing. Allow a flat step on the way down and it is nonincreasing.

Three further graphs are fixed by the picture alone.

The left half is the mirror of the right half. A positive height meets the curve twice.

An even graph is a mirror of itself across the vertical axis. The curve above is on the whole line, so one positive height meets it twice.

A half-turn about the origin lays the curve back on itself.

An odd graph falls back onto itself after a half-turn about the origin.

The same bend returns after a fixed step along the horizontal axis.

A periodic graph repeats the same bend after a fixed step along the horizontal axis.

Cut the domain, then swap the letters

The even graph is why a swap can fail. On the whole line, meets at two places, so the swapped letters do not assign one to that .

Keep the extra cut :

This is (0.28). For every there is exactly one solution . That solution is the nonnegative square root, written . Swapping the letters gives

This is (0.29). Reflecting the graph of (0.28) across the diagonal produces the graph of (0.29).

Drag the input. It stays at least 0. The point on the square and the point on the square root sit opposite across the diagonal.

Any continuous increasing function inverts by the same reflection. Reading a power backwards is a logarithm. The same reflection produces and .

The graph is the set of pairs. Increase and decrease are comparisons of those pairs. An inverse is the diagonal reflection after each value has been given a single preimage.

Spot a mistake in this page?