Skip to main content

Function Notation on the SAT: f(x), Graphs and Tables

Values, inputs, graphs, tables, f(g(x)) and Desmos

By JasonPublished 14 min read

A student drops a plain wooden cube into a small wooden machine, and a purple cube rolls out of its chute.

f(x) is read "f of x." What is inside the parentheses is the input, and the whole of f(x) is the output. So f(3)=7 means that when 3 goes in, 7 comes out, and it also means the point (3,7) is on the graph of y=f(x). SAT function questions give you a function as an equation, a table or a graph, and ask for an output, an input, or what happens when something else goes into the parentheses. This guide takes each question type in turn, with a worked example, the Desmos method where it helps, and a practice question. You can practice every type in the free Functions topic training and try each Desmos method in the calculator.

What f(x) means: input and output

Take f(x)=2x−3. "f of 4" means 4 goes where x was:

f(4)=2(4)−3=5

The input is 4 and the output is 5. The same fact can be written three ways:

  • as a value: f(4)=5
  • as a row of a table: x=4, f(x)=5
  • as a point on the graph of y=f(x): (4,5)

You can also go backward. If f(x)=9, the output is 9, so 2x−3=9, which gives 2x=12 and x=6.

Common mistake

f(x) is not f times x. The f is the function's name, and the parentheses hold its input.

Practice question · Functions

Show the Detailed Explanation

Write the rule with an empty pair of parentheses where x was, f( )=3( )−5, and put 4 in: f(4)=3(4)−5=12−5=7.

Find a function's value

The question gives the rule and a number for the variable, and asks for the output. Work in four steps:

  1. Copy the rule.
  2. Rewrite it with empty parentheses where the variable was.
  3. Put the number in the parentheses.
  4. Use the order of operations.

For f(x)=7−2x, find f(−4):

f(−4)=7−2(−4)=7+8=15

For h(x)=x2−6x, find h(−2):

h(−2)=(−2)2−6(−2)=4+12=16

For p(x)=64x, find p(3). The 3 goes under the fraction bar, next to the 4:

p(3)=64(3)=612=12

In a word problem, the variable in the parentheses tells you what goes in. If P(n)=12n−150 is the profit, in dollars, from selling n shirts, the profit from 40 shirts is P(40)=12(40)−150=330 dollars.

Common mistake

Keep the negative input in parentheses. The product 2(−4) is −8, so 7−2(−4)=7−(−8)=15, not 7−8=−1. When you square a negative input, (−2)2=4, while −22=−(22)=−4.

Find the value in Desmos

Even for an easy question, Desmos can do the arithmetic and keep track of every negative sign:

  1. On line 1, type the function exactly as the question gives it: f(x)=7-2x.
  2. On line 2, type the function at the number: f(-4).
  3. Read the value under line 2: 15.

The same two lines work for other function names, such as h(-2) for the second example (16), or P(40) for the profit question (330).

Practice question · Functions

Show the Detailed Explanation

f(−3)=4(−3)−5=−12−5=−17. In Desmos, type f(x)=4x-5 on line 1 and f(-3) on line 2, and Desmos shows −17.

Find the input for a given output

Now the question gives the output and asks for the input: "For what value of x does g(x)=27?" The number after the equals sign is the output. It does not go in the parentheses. Set the rule equal to it and solve.

For g(x)=5x−8 and g(x)=27:

5x−8=27⇒5x=35⇒x=7

Check: g(7)=5(7)−8=27.

Common mistake

Don't put the output in for x. g(27)=5(27)−8=127 answers a different question: it is the output when the input is 27.

A squared variable can give two inputs. For f(x)=x2+1 and f(a)=10: a2+1=10, so a2=9, and a=3 or a=−3.

Solve it in Desmos

Define the function, then use a tilde (∼) to ask for the input. Desmos refuses plain x here, so use x1 (type x_1) in its place. Later in this guide, when the unknown is c, the question's own variable works directly.

Under line 2, Desmos shows x1=7. A regression shows only one solution, which is enough here because a linear equation like this has only one.

When there could be more than one answer, graph instead. Type f(x)=x^2+1 (the definition draws its own graph), then y=10, zoom out if an intersection sits at the edge of the screen, and click each intersection: (−3,10) and (3,10). The regression would have shown only one of them.

Practice question · Functions

Show the Detailed Explanation

The output is 55, so set the rule equal to it: 6x+7=55, so 6x=48 and x=8. The choice 337 is g(55), the result of putting the output in for x.

f(a) = b is the point (a, b)

The graph of y=f(x) is every point (input, output). So a statement in function notation is a point, and a point is a statement in function notation:

  • f(4)=−7 means the point (4,−7) is on the graph. The input comes first.
  • The y-intercept is the point where x=0. If 0 is an allowed input, it is (0,f(0)).
  • An x-intercept is a point where the output is 0, so solve f(x)=0.

If g(x)=2x3−5x+8 and the point (0,k) is on the graph of y=g(x), then k=g(0)=2(0)3−5(0)+8=8. In Desmos, define g and type g(0), which shows 8.

If f(x)=5x−20 and the point (c,0) is on the graph, then 5c−20=0, so c=4. In Desmos, type f(x)=5x-20 and click where the line meets the x-axis to see (4,0).

It works the other way too. If the graph of y=h(x) passes through (3,0) and (0,−6), then h(3)=0 and h(0)=−6.

Practice question · Functions

Show the Detailed Explanation

g(−2)=9 says the input −2 gives the output 9, so the point is (−2,9). The choice (9,−2) puts the output first.

Read a function from a graph

When the function is only a picture, there is no rule to type, so read the graph:

  • f(a): find a on the x-axis, go straight up or down to the graph, then across to the y-axis.
  • f(x)=b: draw a horizontal line at height b and read the x-value of every point where it meets the graph.
  • The maximum: find the highest point. "The maximum value of f" is its y-value. "The value of x at which f is at its maximum" is its x-value.
  • How many solutions f(x)=k has: count how many times the horizontal line y=k meets the graph.
  • Two graphs: at each x, read both values.

Suppose the graph of f is made of line segments joining (−3,−1), (−1,3), (2,0) and (4,2). The button below draws it, with the line y=1. Then f(4)=2 and f(0)=2. The line y=1 meets the graph three times, so f(x)=1 at x=−2, x=1 and x=3. The highest point is (−1,3): the maximum value is 3, and it happens at x=−1.

For "how many solutions," take g(x)=x3−3x, whose graph has a high point at (−1,2) and a low point at (1,−2). For g(x)=k to have three solutions, the line y=k must pass between the low point and the high point, so k is between −2 and 2. At k=2 or k=−2 the line touches a turning point and meets the graph only twice.

If the question gives the equation, you can watch this happen in Desmos. Type g(x)=x^3-3x, then k=1, then y=k, zoom in, and drag the k slider to count the intersections at each height.

Common mistake

Read what is asked. If the question asks for the x-value at the maximum, the height of the highest point is a trap answer.

Practice question · Functions

Show the Detailed Explanation

The highest point of the graph is (1,4). The question asks for the value of x, so the answer is 1. The choice 4 is the maximum value of f(x), not the x-value where it happens.

Read a function from a table, and f(g(x))

In a table, the x column holds the inputs. Find the row, then read across.

xf(x)g(x)
162
235
381
423
574
  • f(3)=8.
  • g(x)=5 when x=2: find 5 in the g(x) column and read back to x.
  • For which x in the table does f(x)+g(x)=3x? Test each input. The sums are 8, 8, 9, 5, 11, and 3x is 3, 6, 9, 12, 15. Only x=3 works.

In a composite function such as f(g(x)), the output of g becomes the input of f. To find f(g(4)), work from the inside out: start with g(4), and its output is the next input.

f(g(4))=f(3)=8g(f(4))=g(2)=5

The order matters: the two answers are different. The same idea works with rules. If f(x)=2x+1 and g(x)=x2, then f(g(3))=f(9)=19, and in Desmos you can define both and type f(g(3)).

Practice question · Functions

Show the Detailed Explanation

Subtract row by row. The values of p(x)−q(x) are 2−(−1)=3, 5−(−2)=7, 7−1=6, 9−5=4 and 11−5=6. Only at x=4 is the difference equal to x.

Find a missing constant first

Sometimes the rule has an unknown constant, and the question gives one value of the function. A known value is a point: put its input in for x and its output on the other side, solve for the constant, then rewrite the rule.

f(x)=5x+k, and f(2)=4. What is f(−3)?

4=5(2)+k⇒k=−6

So f(x)=5x−6, and f(−3)=5(−3)−6=−21.

In Desmos, start from the question's equation with the known point put in, and use a tilde. 4~5(2)+k shows k=−6. Then define the finished function and type f(-3), which shows −21.

Common mistake

Finding the constant is only halfway. If the question asks for another value of the function, rewrite the rule with the constant in it and evaluate.

Practice question · Functions

Show the Detailed Explanation

Put the known value in: 2=23(9)+c, so 2=6+c and c=−4. Then g(−3)=23(−3)−4=−2−4=−6. In Desmos, 2~(2/3)(9)+c gives c=−4.

Functions built from other functions

When one rule is written with another, such as g(x)=10−f(x), the other function's whole expression goes in, inside parentheses. For a single value, it is quicker to find the inner value first.

f(x)=2x+7 and g(x)=10−f(x). What is g(4)? First f(4)=2(4)+7=15, so g(4)=10−15=−5. As a rule:

g(x)=10−(2x+7)=3−2x

and 3−2(4)=−5 agrees.

Sums and differences work the same way. If p(x)=3x−8, q(x)=x+6 and r(x)=p(x)−q(x), then r(x)=(3x−8)−(x+6)=2x−14. Its x-intercept is where 2x−14=0, at (7,0).

Common mistake

Keep the parentheses. 10−2x+7 subtracts only the 2x. The minus sign must reach every term of f(x).

Desmos accepts one function inside another's definition, so type the rules exactly as the question gives them:

Practice question · Functions

Show the Detailed Explanation

Find the inside value first: f(3)=3(3)+2=11. Then g(3)=2−f(3)=2−11=−9.

A function inside an equation

Some questions put f(c) inside an equation with c, such as 3c=f(c)+5. Replace f(c) with the rule, c in place of x, and solve the ordinary equation.

f(x)=2x−9 and 3c=f(c)+5:

3c=2c−9+5⇒3c=2c−4⇒c=−4

Check: 3(−4)=−12 and f(−4)+5=−17+5=−12.

In Desmos, define f, then type 3c~f(c)+5 with the question's own variable. It shows c=−4. A regression shows only one solution, which is enough here because a linear equation like this has only one.

With an absolute value there can be two answers, so graph each side instead. For g(x)=|2x−6| and g(x)=x, type g(x)=|2x-6| and y=x, and click both intersections: (2,2) and (6,6). By hand, the bars become two cases: x=2x−6 gives x=6, and x=−(2x−6) gives x=2. Both check.

Practice question · Functions

Show the Detailed Explanation

g(b)=3b−6, so the equation is 4b=3b−6+4, which gives 4b=3b−2 and b=−2. In Desmos, define g and type 4b~g(b)+4.

Plug in an expression such as x + 3

The input can be a whole expression. The method does not change: put empty parentheses where x was, drop the whole expression in, then distribute.

f(x)=5x−2⇒f(x−4)=5(x−4)−2=5x−20−2=5x−22

h(x)=x2+1⇒h(2x)=(2x)2+1=4x2+1

Common mistake

Without the parentheses, f(x−4) turns into 5x−4−2, and h(2x) turns into 2x2+1. The 5 multiplies all of x−4, and the square applies to the 2 as well as the x.

With answer choices, Desmos can test them. The right choice will draw exactly on top of y=f(x−4). Type f(x)=5x-2, then y=f(x-4) as the target, and click the colored circle beside line 1 to hide f's own line. Then type each choice. Below, y=5x−6 draws beside the target, and y=5x−22 lands on top of it.

Practice question · Functions

Show the Detailed Explanation

Put the whole expression in the parentheses: h(y+3)=4(y+3)=4y+12. The choice 4y+3 multiplies only the y by 4.

When the rule is given for f(x + 3) or f(4x)

Sometimes the rule is stated for a changed input, such as g(x+3)=2x+5. The x in that rule is not the number you are asked about. To find g(7):

  1. Set the input equal to the number you want: x+3=7.
  2. Solve: x=4.
  3. Put that x into the right side: 2(4)+5=13.

So g(7)=13. Putting 7 straight into the right side gives 2(7)+5=19, which is wrong.

To find the rule for f(x) itself when you are given f(x−2)=x2−4x+9, turn the input x−2 into plain x: that happens when x is replaced by x+2. So replace every x with (x+2):

f(x)=(x+2)2−4(x+2)+9=x2+4x+4−4x−8+9=x2+5

Check with a number: x=2 in the given rule gives f(0)=4−8+9=5, and 02+5=5.

With answer choices, Desmos can test each rule. Type the given rule as the target, y=x^2-4x+9. Define f as a choice, then type y=f(x-2) on the next line and hide f's own curve. Change only the definition, one choice at a time, until the curve on line 3 draws on top of the target. The button below starts with the wrong choice f(x)=x2−8x+21; change it to f(x)=x2+5 and watch line 3 land on line 1.

Practice question · Functions

Show the Detailed Explanation

Make the input match: 4x=8, so x=2. Then g(8)=2(2)−1=3. The choice 15 comes from putting 8 straight into 2x−1.

Transformations of functions

Some function questions ask how a graph moves: y=f(x)+3 is the graph of f moved up 3, and y=f(x−2) is the graph moved right 2. Those questions have their own rules, so they are covered in the free Transformations topic training rather than here.

A harder one to finish

This question uses the missing-constant method with a table. Pick the easiest row: the one where the work is shortest.

Practice question · Functions

Show the Detailed Explanation

Use the row x=7, where g(x)=0: 0=56−a(7)7+4. The denominator is 11, not 0, so the fraction is 0 when its numerator is 0: 56−7a=0 and a=8. Check with the row x=4: 56−8(4)4+4=248=3. In Desmos, 3~(56-a(4))/(4+4) gives a=8.

Frequently asked questions

What does f(x) mean on the SAT?

f(x) is the output of the function f when the input is x. It is read "f of x," and it does not mean f times x. If f(3)=7, the input 3 gives the output 7, and the point (3,7) is on the graph of y=f(x).

How do you find f(2)?

Put 2 in place of every x in the rule, inside parentheses, and simplify. For f(x)=x2−3x, f(2)=(2)2−3(2)=4−6=−2. In Desmos, type the rule on line 1 and f(2) on line 2.

What is the difference between f(x) = 5 and f(5)?

f(5) asks for the output when the input is 5. Solving f(x)=5 means finding every input whose output is 5, so set the rule equal to 5 and solve.

How do you solve f(g(x)) questions?

Work from the inside out. For a number, find g of that number first, then use that output as the input of f. For f(g(x)) itself, put the whole rule for g(x), in parentheses, in place of x in the rule for f.

How do you evaluate a function in Desmos?

Define the function on one line, such as f(x)=4x-5, and type f(-3) on the next. Desmos shows the value under that line: here, −17.

Key takeaways

  • In f(x), the input is inside the parentheses and the whole of f(x) is the output. f(a)=b is the point (a,b).
  • To find a value, put empty parentheses where the variable was and drop the number in. In Desmos, define the function and type f of the number.
  • When the output is given, set the rule equal to it and solve. Don't put the output in for x.
  • Read graphs from the x-axis for f(a) and from a horizontal line for f(x)=b; read tables across from the input.
  • f(g(a)): inside first. The output of the inside function is the input of the outside function.
  • When one rule uses another, the function's name stands for its whole expression, in parentheses.
  • For a rule given for f(x+3), make the input match the number you want first.

Many SAT functions are also lines, quadratics, polynomials or exponentials, and each kind has its own question types: see our guides to linear equations, quadratics, polynomials and exponential functions. Each type of function question in this guide has practice questions in the free Functions topic training.

Tutor? Use Resolve Prep with your students