Unit 2, lesson 10

Coordinates, Functions and Graphs

How a function rule, a table of values and a graph describe the same input and output pairs, how to evaluate f at a number or an expression, and how to work back from an output to its inputs.

  • Theory part 19
  • Practice part 20
  • Functions and Lines

Theory, part 19

Practice, part 20

Press a button on a vending machine and one item drops out. Press the same button tomorrow and you get the same item. A function behaves like that machine, one input in and one output out, every time. The SAT shows functions as rules, as tables and as graphs, and many questions come down to moving a single input and output pair from one of these pictures to another.

See also Functions as Input-Output Relationships and Reading Graphs and Plotting Points in Foundations for Calculus and Function Notation and Evaluation in Precalculus.

Key terms

Ordered pairs and coordinates

Definition An ordered pair (a,b)(a, b) is a pair of numbers in which the order matters, so (a,b)=(c,d)(a, b) = (c, d) exactly when a=ca = c and b=db = d. The coordinate plane has a horizontal xx-axis and a vertical yy-axis that cross at the origin (0,0)(0, 0). The pair (a,b)(a, b) names the point reached by moving ∣a∣\lvert a \rvert units to the right if a>0a > 0 or to the left if a<0a < 0, and then ∣b∣\lvert b \rvert units up if b>0b > 0 or down if b<0b < 0. The number aa is the xx-coordinate of the point and bb is its yy-coordinate.

In plain words The first number says how far across, the second says how far up or down. Swap them and you usually get a different point.

Example The point (3,−2)(3, -2) is 33 units right of the origin and 22 units down. The point (−2,3)(-2, 3) is 22 units left and 33 units up, in a different part of the plane. Its xx-coordinate is −2-2 and its yy-coordinate is 33.

Function, input and output

Definition A function ff with domain DD assigns to each input xx in DD exactly one output, written f(x)f(x). Two different inputs may share an output, but a single input can never have two different outputs. When a function is given by a rule in xx, the input is the value substituted for xx and the output is the value the rule produces.

In plain words Each allowed input gets one answer, always the same one.

Example The pairs (1,4)(1, 4), (2,4)(2, 4) and (3,9)(3, 9) describe a function. The inputs 11 and 22 share the output 44, and that is allowed. The pairs (1,4)(1, 4) and (1,5)(1, 5) cannot both belong to a function, because the input 11 would have two outputs.

Function notation

Definition For a function ff and an input aa in its domain, f(a)f(a) is the output of ff at aa. The parentheses here do not mean multiplication. The symbol f(3)f(3) is a single number, the value of ff at 33, not ff times 33. To evaluate f(a)f(a) from a rule, replace every xx in the rule by aa, written in parentheses.

In plain words Read f(3)f(3) as “f of 3”, the output you get when 33 goes in.

Example Let f(x)=x2−3x+1f(x) = x^2 - 3x + 1. Then

f(−2)=(−2)2−3(−2)+1=4+6+1=11.\begin{aligned} f(-2) &= (-2)^2 - 3(-2) + 1 \\[0.4em] &= 4 + 6 + 1 = 11. \end{aligned}

The parentheses around −2-2 matter. Without them you might compute −22=−4-2^2 = -4 and get the wrong output.

Table of values

Definition A table of values lists inputs together with their outputs, and each row is an ordered pair (x,f(x))(x, f(x)). A table gives information only about the inputs it lists. To find an output between or beyond the rows you need the rule or a statement such as “the function is linear”.

In plain words A table is a short list of input and output pairs. Each row is a point you could plot.

Example The table belongs to a linear function gg.

xx00112233
g(x)g(x)558811111414

The output grows by 33 each time the input grows by 11, and g(0)=5g(0) = 5, so the rule is g(x)=3x+5g(x) = 3x + 5. It matches every row, for instance g(2)=6+5=11g(2) = 6 + 5 = 11. Because gg is linear, the rule also gives g(10)=35g(10) = 35, an output the table never shows.

Graph of a function

Definition The graph of a function ff is the set of all points (x,f(x))(x, f(x)) with xx in the domain of ff. A point (a,b)(a, b) lies on the graph exactly when aa is in the domain and f(a)=bf(a) = b. Because each input has one output, a vertical line meets the graph of a function at most once. Before reading values from a graph, check the axis labels and how many units each grid square stands for.

In plain words Each point on the graph is one input and output pair. Its xx-coordinate is the input and its yy-coordinate is the output.

Example If the graph of hh passes through (4,7)(4, 7), then h(4)=7h(4) = 7. Now suppose the grid lines are 22 units apart on both axes, and a point of the graph sits 33 grid lines right of the origin and 55 grid lines up. That point is (6,10)(6, 10), not (3,5)(3, 5), so h(6)=10h(6) = 10.

Domain

Definition The domain of a function is the set of its allowed inputs. Unless a question says otherwise, the SAT takes the domain of a rule to be all real numbers for which the rule gives a real output. That excludes inputs that make a denominator zero and inputs that make the expression under a square root negative. In a real situation the context can restrict the domain further.

In plain words The domain is every number you are allowed to put in. Watch for division by zero, square roots of negatives, and limits set by the story.

Example For f(x)=x−2f(x) = \sqrt{x - 2} the domain is all x≥2x \ge 2, since x−2x - 2 must not be negative. For g(x)=5x+4g(x) = \frac{5}{x + 4} it is every real number except −4-4. A pool filled for 1010 minutes with V(t)=300+20tV(t) = 300 + 20t liters has domain 0≤t≤100 \le t \le 10, even though the formula itself works for any tt. Inside that domain an output has a meaning in the story. The value V(4)=380V(4) = 380 says the pool holds 380380 liters after 44 minutes of filling.

Input expressions

Definition When the input is an expression, such as in f(x+c)f(x + c) or f(2x)f(2x), replace every xx in the rule by the whole expression in parentheses. In general f(x+c)f(x + c) is not the same as f(x)+cf(x) + c. The first changes the input before ff acts, the second changes the output after.

In plain words Whatever sits inside the parentheses is the input, even if it is a whole expression. Put all of it where xx was.

Example Let f(x)=3x−4f(x) = 3x - 4. Then

f(x+2)=3(x+2)−4=3x+2,f(x + 2) = 3(x + 2) - 4 = 3x + 2,

while f(x)+2=3x−2f(x) + 2 = 3x - 2. At x=1x = 1 the first is f(3)=5f(3) = 5 and the second is f(1)+2=1f(1) + 2 = 1. With a table the idea is the same. If a table shows f(5)=11f(5) = 11, then f(x+2)f(x + 2) at x=3x = 3 is f(5)f(5), which is 1111.

Working back from an output

Definition To find the inputs that give an output bb, solve the equation f(x)=bf(x) = b for all xx in the domain. On a graph these inputs are the xx-coordinates of the points where the horizontal line y=by = b meets the graph. There may be exactly one such input, more than one, or none.

In plain words You know what came out and want to know what went in. Set the rule equal to the output and solve, or look along the horizontal line at that height.

Example For f(x)=3x−4f(x) = 3x - 4, the equation f(x)=11f(x) = 11 gives 3x=153x = 15, so x=5x = 5. For p(x)=x2p(x) = x^2, the equation p(x)=9p(x) = 9 has two solutions, x=3x = 3 and x=−3x = -3, and p(x)=−1p(x) = -1 has none. In the Desmos graphing calculator, graph y=x2y = x^2 and y=9y = 9 and click each point where they meet. The coordinates shown are (−3,9)(-3, 9) and (3,9)(3, 9), and the inputs are their xx-coordinates.

Check yourself

  1. The function ff is defined by f(x)=x2−2xf(x) = x^2 - 2x. What is the value of f(−3)f(-3)? (A) −15-15 (B) −3-3 (C) 33 (D) 1515
Show the answer

The correct choice is (D). Substituting with parentheses gives f(−3)=(−3)2−2(−3)=9+6=15f(-3) = (-3)^2 - 2(-3) = 9 + 6 = 15. Choice (C) comes from writing 9−69 - 6 and losing the sign of −2⋅(−3)-2 \cdot (-3). Choice (B) comes from computing −32-3^2 as −9-9, and (A) makes both mistakes.

  1. The function hh is defined by h(x)=2x−5h(x) = 2x - 5. If h(a+3)=17h(a + 3) = 17, what is the value of aa?
Show the answer

The value is 88. The input is a+3a + 3, so h(a+3)=2(a+3)−5=2a+1h(a + 3) = 2(a + 3) - 5 = 2a + 1. Setting 2a+1=172a + 1 = 17 gives a=8a = 8. Check that h(11)=22−5=17h(11) = 22 - 5 = 17.

  1. The table shows some values of the linear function ff. Which equation defines ff? (A) f(x)=2x+4f(x) = 2x + 4 (B) f(x)=−2x+4f(x) = -2x + 4 (C) f(x)=−2x−4f(x) = -2x - 4 (D) f(x)=4x−2f(x) = 4x - 2
xx−1-1002255
f(x)f(x)664400−6-6
Show the answer

The correct choice is (B). The row for x=0x = 0 shows f(0)=4f(0) = 4, which rules out (C) and (D). Choice (A) gives f(−1)=2f(-1) = 2, not 66. Choice (B) matches every row, for example f(5)=−10+4=−6f(5) = -10 + 4 = -6.

How this lesson connects