01 / 20

Functions
\( f(x) \) on the GMAT

Master function notation and link it to coordinate geometry to crack Quant problems fast.

GMAT Quantitative Reasoning

What Is a Function?

A function is a rule that assigns to each input exactly one output. We write \( f(x) \), read "f of x," where \( x \) is the input and \( f(x) \) is the output.

Input (domain) Output (range) 1 2 3

Reading Function Notation

To evaluate a function, replace every \( x \) with the input value. For example, if \( f(x) = 2x + 3 \):

\( f(0) \)
Substitute \( x = 0 \): \( 2(0)+3 = 3 \)
\( f(-1) \)
Substitute \( x = -1 \): \( 2(-1)+3 = 1 \)
\( f(a) \)
Substitute \( x = a \): \( 2a+3 \)

Why Functions Matter on the GMAT

1
Substitution speed. Many problems are just clean plug-and-evaluate once you trust the notation.
2
Coordinate links. \( y = f(x) \) turns every function into points and graphs you can reason about.
3
Custom symbols. The GMAT loves invented operators like \( x \star y \) — they are just functions in disguise.

A Function as a Graph

The graph of \( y = f(x) \) is the set of all points \( (x, f(x)) \). A point lies on the graph exactly when its coordinates satisfy the equation.

x y
\( (4, f(4)) \)
\( y = f(x) \)

The Vertical Line Test

A graph represents a function only if every vertical line crosses it at most once. This enforces the "one output per input" rule visually.

✓ Function ✕ Not a function

Linear Functions & Slope

A linear function \( f(x) = mx + b \) graphs as a line: \( m \) is the slope and \( b \) is the y-intercept, where \( f(0) = b \).

\( (0, b) \)
run rise
\( f(x) = mx + b \)

Don't Confuse These Pairs

\( f(x) \) vs \( f \cdot x \)
\( f(x) \) means apply the function — it is NOT \( f \) times \( x \).
Domain vs Range
Domain = allowed inputs \( x \). Range = resulting outputs \( f(x) \).
\( f(2x) \) vs \( 2 f(x) \)
Scale the input vs scale the output — these usually differ.

A 4-Step Approach

1
Identify the input. What value goes in place of \( x \)?
2
Substitute carefully. Replace every \( x \), keeping signs and parentheses.
3
Simplify with PEMDAS. Exponents before products before sums.
4
Translate to geometry if asked: the answer is the y-coordinate at that \( x \).

Worked Example 1

If \( f(x) = x^2 - 3x + 2 \), find \( f(5) \).

1
Substitute \( x = 5 \): \( f(5) = (5)^2 - 3(5) + 2 \)
2
Exponent first: \( 25 - 15 + 2 \)
3
Add and subtract left to right: \( = 12 \)

Worked Example 2

A line passes through \( (1, 4) \) and \( (3, 10) \). Find \( f(x) \) and then \( f(6) \).

1
Slope: \( m = \dfrac{10 - 4}{3 - 1} = \dfrac{6}{2} = 3 \)
2
Use point \( (1,4) \): \( 4 = 3(1) + b \Rightarrow b = 1 \)
3
So \( f(x) = 3x + 1 \), and \( f(6) = 3(6) + 1 = 19 \)

Worked Example 3

Define \( a \star b = a^2 - 2b \). What is \( 3 \star (1 \star 2) \)?

1
Inner first: \( 1 \star 2 = (1)^2 - 2(2) = 1 - 4 = -3 \)
2
Now compute \( 3 \star (-3) = (3)^2 - 2(-3) \)
3
Simplify: \( 9 + 6 = 15 \)

Common Mistakes

✕ Treating \( f(x) \) as multiplication
\( f(x) \) is "f applied to x," never \( f \times x \).
✕ Sign errors in substitution
Forgetting that \( (-2)^2 = 4 \), not \( -4 \). Use parentheses.
✕ Swapping x and y
On a graph, \( f(x) \) is the y-coordinate, not the x.
✕ Wrong order in nested ops
Always evaluate the inner function or bracket first.

Quick Reference

Notation Meaning
Evaluate\( f(5) \)Output when input is 5
Graph point\( (a, f(a)) \)x is input, y is output
Line form\( f(x) = mx + b \)slope m, intercept b
Slope\( \frac{f(x_2)-f(x_1)}{x_2-x_1} \)rise over run
y-intercept\( f(0) \)where graph meets y-axis

Question 1 of 5

If \( f(x) = 4x - 7 \), what is \( f(3) \)?

Question 2 of 5

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

Question 3 of 5

A line passes through \( (2, 5) \) and \( (4, 11) \). What is its slope?

Question 4 of 5

The point \( (a, 9) \) lies on the graph of \( f(x) = 2x + 1 \). What is \( a \)?

Question 5 of 5

Define \( a \diamond b = 2a - b^2 \). What is \( 5 \diamond 3 \)?

You've Got Functions Down