01 / 21
\( f(x) \)

Function Notation
and Evaluation

Master the language of functions: learn to read, write, and evaluate function notation like \( f(x) \), and interpret what it means in real-world contexts.

Algebra 1

What Is a Function?

A function is a rule that assigns exactly one output to each input. Think of it as a machine: you put a number in, the machine does something to it, and one specific number comes out.

Input
\( x \)
Function
\( f \)
Output
\( f(x) \)

Introducing \( f(x) \) Notation

Instead of writing \( y = 2x + 3 \), we can write \( f(x) = 2x + 3 \). The symbol \( f(x) \) is read "f of x" and represents the output value of the function \( f \) for a given input \( x \).

\( f \)
The name of the function. We can also use \( g \), \( h \), or any letter.
\( x \)
The input variable (also called the independent variable).
\( f(x) \)
The output value when input \( x \) is used (replaces \( y \)).

Why Does Notation Matter?

Function notation gives us precision. With \( y = 2x + 3 \), you have to say "find \( y \) when \( x = 4 \)." With function notation, you simply write \( f(4) \) and everyone knows exactly what you mean.

1
Names the function: We can distinguish \( f \), \( g \), and \( h \) when working with multiple functions at once.
2
Specifies the input: Writing \( f(4) \) tells us the exact input value without extra words.
3
Communicates output directly: The expression \( f(4) = 11 \) says "the output is 11 when the input is 4."

The Formal Definition

Domain (inputs) Range (outputs) 1 2 3 4 5 7 9 11
\( f(x) = 2x + 3 \)

Each input maps to exactly one output. The function \( f(x) = 2x + 3 \) assigns each input a unique result: \( 1 \to 5 \), \( 2 \to 7 \), \( 3 \to 9 \), \( 4 \to 11 \).

Evaluating a Function

To evaluate a function means to find the output for a given input. Replace every \( x \) in the rule with the input value, then simplify.

\( f(x) \) vs \( y \): Key Distinction

\( y = 2x + 3 \) \( f(x) = 2x + 3 \)
Names the function? No Yes (it's called \( f \))
Specifies input? Must say "when \( x = 4 \)" Yes: \( f(4) \)
Multiple functions? Awkward (\( y_1, y_2 \)) Easy: \( f, g, h \)
Context-friendly? Limited Yes: \( C(t) \) = cost at time \( t \)

How to Evaluate: Step by Step

1
Identify the input value. Look at what's inside the parentheses: \( f(\color{#818cf8}{3}) \) means the input is 3.
2
Substitute into the rule. Replace every \( x \) in the function's formula with the input value. Use parentheses around the substituted number.
3
Simplify. Follow order of operations (exponents, multiply/divide, add/subtract) to get a single number.
4
Write the result. Express your answer as \( f(\text{input}) = \text{output} \).

Example 1: Linear Function

Let \( f(x) = 3x - 7 \). Find \( f(5) \).

1
Input: \( x = \color{#818cf8}{5} \)
2
Substitute: \( f(\color{#818cf8}{5}) = 3(\color{#818cf8}{5}) - 7 \)
3
Simplify: \( = 15 - 7 = \color{#4ade80}{8} \)

Example 2: Quadratic Function

Let \( g(x) = x^2 - 4x + 1 \). Find \( g(-2) \).

1
Input: \( x = \color{#818cf8}{-2} \)
2
Substitute: \( g(\color{#818cf8}{-2}) = (\color{#818cf8}{-2})^2 - 4(\color{#818cf8}{-2}) + 1 \)
3
Simplify: \( = 4 + 8 + 1 = \color{#4ade80}{13} \)

Example 3: Expression as Input

Let \( f(x) = 2x + 3 \). Find \( f(a + 1) \).

1
Input: \( x = \color{#818cf8}{a + 1} \) (an expression, not just a number)
2
Substitute: \( f(\color{#818cf8}{a+1}) = 2(\color{#818cf8}{a+1}) + 3 \)
3
Simplify: \( = 2a + 2 + 3 = \color{#4ade80}{2a + 5} \)

Reading \( f(x) \) from a Graph

On a graph, \( f(a) \) is the y-coordinate of the point where \( x = a \).

1 2 3 4 1 2 3
\( x \)
\( y \)
(3, 2)
\( f(x) = 0.5x + 0.5 \)
\( x=3 \)
2

Interpreting in Context

Function notation isn't just abstract math: it describes real situations. The function name and input often carry meaning.

\( T(d) = 72 - 3d \)
\( T \) = temperature (°F), \( d \) = days. \( T(5) = 57 \) means "after 5 days, the temperature is 57°F."
\( C(n) = 15n + 200 \)
\( C \) = cost ($), \( n \) = items. \( C(10) = 350 \) means "producing 10 items costs $350."

Working with Multiple Functions

When a problem involves more than one function, each has its own name and rule.

1
Evaluate \( f(3) \): \( f(3) = 3 + 4 = \color{#818cf8}{7} \)
2
Evaluate \( g(3) \): \( g(3) = 2(3) - 1 = \color{#fbbf24}{5} \)
3
Combine: \( f(3) + g(3) = 7 + 5 = \color{#4ade80}{12} \)

Common Mistakes

✕ Treating \( f(x) \) as Multiplication
Writing \( f(3) = f \cdot 3 \) is wrong. The parentheses mean function input, not multiplication.
✕ Forgetting Parentheses on Negatives
If \( f(x) = x^2 \), then \( f(-3) = (-3)^2 = 9 \), not \( -3^2 = -9 \).
✕ Substituting Incompletely
If \( f(x) = 2x + x^2 \), replace every \( x \): \( f(3) = 2(3) + (3)^2 \), not just one of them.

Summary of Key Ideas

Notation Meaning Example
\( f(x) = 2x + 3 \) Definition of function \( f \) The rule that doubles and adds 3
\( f(4) \) Evaluate \( f \) at input 4 \( 2(4) + 3 = 11 \)
\( f(4) = 11 \) Output is 11 when input is 4 Point \( (4, 11) \) on the graph
\( f(a + 1) \) Evaluate at expression \( a+1 \) \( 2(a+1) + 3 = 2a + 5 \)
\( f(x) = g(x) \) Where two functions are equal Solve for \( x \) where outputs match

Question 1 of 5

If \( f(x) = 5x - 2 \), what is \( f(3) \)?

Question 2 of 5

If \( g(x) = x^2 + 2x \), what is \( g(-3) \)?

Question 3 of 5

A company's profit is modeled by \( P(n) = 8n - 120 \), where \( n \) is the number of units sold. What does \( P(20) = 40 \) mean?

Question 4 of 5

If \( f(x) = 3x + 1 \), what is \( f(2a) \)?

Question 5 of 5

If \( f(x) = x^2 - 1 \) and \( g(x) = 2x + 3 \), what is \( f(2) + g(1) \)?