Discord

INAIO Guide Stage 1 3Functions and Graphs

3.1 Function notation and transforms

Read a function as an input-output rule, evaluate it carefully, and recognise how simple changes move its graph.

A function is a rule that gives one output for each allowed input. Function notation lets you state that rule once and ask many questions about it. A graph shows all of those input-output pairs at once. This language is used throughout later modules, from population models to classifier scores.

This is foundational algebra with an intermediate visual step. If substitution into a formula is familiar, start with OpenStax's function-notation lesson. Its graph-transformation lesson helps when it is hard to tell whether a change acts on the input or the output.

A basic idea: one input, one output

If f(x)=2x+3f(x)=2x+3, then f(4)=2(4)+3=11f(4)=2(4)+3=11. The expression f(4)f(4) asks for the output when the input is 44; it does not mean ff multiplied by 44. A function's domain is the set of inputs it allows. For g(x)=x−1g(x)=\sqrt{x-1} over the real numbers, the domain is x≥1x\ge1, because a negative number under a square root has no real value.

A graph places each allowed pair (x,f(x))(x,f(x)) on coordinate axes. A vertical line should meet the graph of a function at most once: one input cannot have two different outputs.

A quick tour of transformations

Start with a known graph y=f(x)y=f(x). The following rules describe a new graph:

New rule Change to the graph, for positive h,k,ah,k,a
f(x)+kf(x)+k Move up kk
f(x−h)f(x-h) Move right hh
af(x)a f(x) Multiply every height by aa
−f(x)-f(x) Reflect across the horizontal axis
f(−x)f(-x) Reflect across the vertical axis

The horizontal shift can feel backwards: f(x−2)f(x-2) moves a graph right by 22, because the new input x=2x=2 supplies the old input 00. If you combine changes, substitute carefully. For example, 2f(x−2)+12f(x-2)+1 moves the original graph right 22, doubles its heights, and then moves it up 11.

For a simple picture, take f(x)=∣x∣f(x)=|x|. The new rule g(x)=∣x−2∣+1g(x)=|x-2|+1 moves its V-shaped graph right 22 and up 11.

Two V-shaped graphs. The blue graph y equals absolute value of x has its corner at the origin. The orange graph y equals absolute value of x minus 2, plus 1 has its corner at (2,1), two units right and one unit up.Two V-shaped graphs. The blue graph y equals absolute value of x has its corner at the origin. The orange graph y equals absolute value of x minus 2, plus 1 has its corner at (2,1), two units right and one unit up.
Inside the function, subtracting 2 shifts right. Outside it, adding 1 shifts up.

Application 1: reading a cost rule

A print shop charges a setup cost of 2020 units and 33 units per item. Let C(n)=20+3nC(n)=20+3n, where nn is a nonnegative whole number. What is the cost of 77 items, and how many items cost 5050 units?

  1. Evaluate the rule. C(7)=20+3(7)=41C(7)=20+3(7)=41 units.
  2. Solve for the input. Set 20+3n=5020+3n=50, so 3n=303n=30 and n=10n=10.
  3. Check the domain. Both 77 and 1010 are allowed whole-number counts. A formula can produce C(−2)=14C(-2)=14, but negative items are outside this problem's domain.

The function notation keeps the setup cost and per-item cost in one reusable rule.

Application 2: identify a moved graph

The graph of y=∣x∣y=|x| has its corner at (0,0)(0,0). A new V-shaped graph has its corner at (2,1)(2,1) and the same steepness. What is its formula, and what does it output at x=5x=5?

  1. Move the corner horizontally. Right by 22 gives ∣x−2∣|x-2|.
  2. Move it vertically. Up by 11 gives g(x)=∣x−2∣+1g(x)=|x-2|+1.
  3. Evaluate and check. g(5)=∣5−2∣+1=4g(5)=|5-2|+1=4. The point (5,4)(5,4) is three units right and three units above the new corner, matching the original V's steepness.

Identifying a graph is easier when you first locate an anchor point such as a corner, vertex, or intercept.

Resources

SourceTitleWhy read it
OpenStaxFunctions and function notationStart with domains, outputs, and evaluating rules.
OpenStaxTransformation of functionsSee shifts, reflections, and stretches on graphs.

Finished this module? Mark it done.

Comments

Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.

Loading comments