Algebra 1FunctionsF-IF.A.2

Finding Inputs from Outputs

Solve f(x) = k to find which inputs give an output.

Not started Jump to practice

With function notation you can ask two opposite questions. “What is $f(2)$?” gives an input and asks for the output. “Solve $f(x) = 2$” gives an output and asks for the input. The second question is an equation, and you solve it with the equation skills you already have.

Why it works

$f(x) = 2$ says “the output is $2$.” Writing the rule in place of $f(x)$ turns it into an ordinary equation in $x$. On the graph, you are looking for every point at height $2$: draw the horizontal line $y = 2$ and read the $x$-coordinates where it meets the graph. A function can reach the same output from several inputs, so there may be more than one answer, or none.
Solving $x^2 - 4 = 5$: the line $y = 5$ meets the graph at two points, so there are two inputs, $x = -3$ and $x = 3$.

Key idea

To solve $f(x) = k$, set the rule equal to $k$ and solve for $x$. Every solution is an input whose output is $k$; check each by computing $f$ of it.

Worked examples

Worked example: A linear function

If $f(x) = 4x - 7$, solve $f(x) = 9$.
  1. Set the rule equal to the output: $4x - 7 = 9$.
  2. Add $7$: $4x = 16$. Divide by $4$: $x = 4$.
  3. Check: $f(4) = 16 - 7 = 9$.

Answer: $x = 4$

Worked example: Two inputs, one output

If $g(x) = x^2 - 4$, solve $g(x) = 5$.
  1. Set the rule equal to $5$: $x^2 - 4 = 5$, so $x^2 = 9$.
  2. Both $3$ and $-3$ square to $9$.

Answer: $x = 3$ or $x = -3$

Common mistake

Mixing up $f(2)$ and the solution of $f(x) = 2$. With $f(x) = 4x - 7$: $f(2) = 1$ is an output, while $f(x) = 2$ gives the input $x = \frac{9}{4}$. Ask yourself which one you were handed: if the number sits inside the parentheses it is an input; if $f(x)$ is set equal to it, it is an output.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

This is one of the top rungs of Algebra 1.

Sources and further reading

  • OpenStax, College Algebra 2e, section 3.1 Functions and Function Notation
  • Common Core State Standards for Mathematics, F-IF.A.2
@teddyrookbook GitHub