Concept stop · What is it?

Functions

In the Chinese book: 函数

A function maps numbers to numbers; to move its graph, move every point.

📖 §1.2 of 《函数与函数方程》

Before this stop, visit:Mappings (Concept)

Hands first, words secondFirst move only “Shift right ” and watch the point and its image . With , which way does the graph go? Then press “Mirror in y-axis”. Where does jump to?

Loading figure…

Try this

  1. Move only . With the formula contains , yet the graph moves to the right. Why does a minus sign mean “right”? Look at the coordinates of and .
  2. Press “Mirror in y-axis”. What has been replaced by in the formula? Then press “Mirror in x-axis”. What appears in front of the whole function value?
  3. Switch to and to and compare the two dashed graphs: one folds up and down, the other copies left and right. Which one is always an even function?
  4. Switch on the level line and drag from bottom to top. When does the “number of solutions” change?

A mapping from to is called a function when and are non-empty sets of numbers. We write , . is the domain, and the set of values is the range. A function is determined by two things: its domain and its rule of correspondence.

Draw every pair as a point in the plane: together these points form the graph of the function. So “transforming a graph” just means moving each point on its own:

Here and are or . Checking takes one line: substitute on the right; then , so .

Predict first

How can the graph of be obtained from the graph of by a shift?

Choose an answer first; then you can see the result.

Why: move it one point at a time

Example: from y = √x to y = 1 − √(2 − x)

Step 1 / 5
Loading figure…
  1. Follow one point

    Take the point on . After each transformation, look where it has been moved to.

Let the graph count the solutions

The number of real solutions of is the number of points where the level line meets the graph . For a function with an absolute value, fold the graph first and the answer is right in front of you.

Example: how many real solutions does |x² − 2x − 3| = c have?

Step 1 / 4
Loading figure…
  1. First draw |f(x)|

    , with zeros and . Fold the part below the -axis () up: a little “hill” appears in the middle, with its top at .

Practice

Exercise 1Basic

Shift the graph of right by units and then up by units. Write down the function of the new graph (expanding it to the form is fine too).

Exercise 2Basic

Reflect the graph of in the -axis, then shift it right by units. Call the resulting function . Find .

Exercise 3Advanced

How many real solutions does have?

Exercise 4Challenge

. If the equation in has exactly real solutions, find .

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Seeing $+1$ and shifting right

The wrong step: The graph of is the graph of shifted unit to the right.
What went wrong? Think first, then open

Diagnosis The point of the new graph at has the same height as the point of the old graph at . So what the old graph looked like at now appears at : everything has moved to the left.

The right step: is shifted right by (left if ). , so : shift left by .

“Write it as f(x − h), then read off h”

Exhibit

Treating $|f(x)|$ and $f(|x|)$ as the same thing

The wrong step: ; the graph of is the graph of with the part below the -axis folded up.
What went wrong? Think first, then open

Diagnosis That is : the absolute value sits on the function value, so it acts up and down. In the absolute value sits on the variable: and give the same value, so it is an even function. Keep the part to the right of the -axis and replace the left part by the mirror image of the right.

The right step: : fold the bottom up, nothing moves sideways. : copy the right onto the left, nothing moves up or down. Toggle between the two buttons on the workbench to compare.

“The absolute value acts on whatever it wraps”