ACT Math • Preparing for Higher Math

Function Definitions & Notation

Master how functions map inputs to outputs and decode the notation that appears throughout the ACT.

ACT preparation illustration with a sectioned test book, timer, and target
Inside this lesson 9 sections 5 questions 8 figures

SECTION 1

Historical Context & Motivation

Before the idea of a function existed, mathematicians described relationships between quantities using long verbal sentences or geometric constructions. If you wanted to express the idea that doubling a number and adding three produces a result, you would literally write it out in words every single time. The concept of function notation arose because mathematicians needed a compact, universal shorthand — something that would let them communicate complex relationships clearly and efficiently across languages and centuries.

1637 • Descartes Introduces Variables

René Descartes published La Géométrie, establishing the convention of using letters like x and y to represent unknown quantities. This laid the groundwork for expressing relationships algebraically rather than geometrically.

1694 • Leibniz Coins 'Function'

Gottfried Wilhelm Leibniz first used the Latin word functio to describe a quantity that depends on a variable, such as the slope of a curve at different points. His work in calculus demanded precise language for these input-output relationships.

1734 • Euler Creates f(x) Notation

Leonhard Euler introduced the notation f(x) in a memoir, giving the world the compact shorthand still used on the ACT today. This single innovation made it possible to manipulate functions as objects in their own right.

1837 • Dirichlet's Modern Definition

Peter Gustav Lejeune Dirichlet formalized the definition of a function as a rule that assigns exactly one output to each input, removing the requirement that a formula be involved. This broader view opened the door to functions defined by tables, graphs, or even verbal descriptions.

The central question that function notation answers is deceptively simple: How can we describe an input-output relationship so precisely that anyone, anywhere, can evaluate it without ambiguity? On the ACT, roughly 12–15% of math questions involve function notation in some form, making it one of the highest-yield topics to master.

SECTION 2

Core Principles & Definitions

A function is a rule that assigns exactly one output to every input in its domain. When we write f(x) = 2x + 3, the letter f names the function, the parentheses signal that x is the input variable, and the expression 2x + 3 tells you the rule for computing the output. Understanding each piece of this notation is the key to unlocking dozens of ACT question types.

1

Domain (Inputs)

The domain is the set of all allowable input values. For f(x) = √x, the domain is x ≥ 0 because you cannot take the square root of a negative number (in real numbers).
2

Range (Outputs)

The range is the set of all possible output values that a function can produce. For f(x) = x², the range is y ≥ 0 because squaring any real number gives a non-negative result.
3

Function Notation f(x)

The expression f(x) is read 'f of x.' It does NOT mean f times x. The parentheses act as a container for the input value, and the entire expression represents the output.
4

The Vertical Line Test

A graph represents a function if and only if every vertical line drawn through the graph crosses it at most once. If a vertical line hits two points, the relation has two outputs for one input and fails the test.
5

Evaluating a Function

To evaluate f(a), substitute the value a in place of every occurrence of x in the rule, then simplify. For example, if f(x) = x² − 1, then f(3) = 3² − 1 = 8.

SECTION 3

Visual Explanation — The Function Machine

Function as an Input-Output MachineDOMAIN(Inputs)−20135f(x) = 2x + 3Multiply by 2, then add 3INOUTRANGE(Outputs)−135913Example:f(3) = 2(3) + 3 = 6 + 3 = 9Input 3 → Output 9 ✓
The diagram shows the function f(x) = 2x + 3 acting as a machine. Each input from the domain on the left passes through the rule, producing exactly one output in the range on the right. Notice that each input arrow connects to precisely one output — this is what makes the relationship a function.

In the diagram above, observe how every input on the left is connected by exactly one arrow to an output on the right. The input −2 maps to −1 (because 2(−2) + 3 = −1), the input 0 maps to 3, and so on. If any single input had two arrows pointing to two different outputs, the relationship would fail the definition of a function. This visual model is exactly what the vertical line test checks on a graph: a vertical line intersecting two points means one x-value has two y-values, violating the function rule.

SECTION 4

Mathematical Framework — Evaluating & Interpreting Notation

On the ACT, you will encounter function notation in several forms. The most direct is simple evaluation, where you plug in a number. But the test also asks you to evaluate functions at expressions, combine functions, and interpret notation from graphs. Let's formalize each pattern.

BASIC EVALUATION

f(a)→replaceeveryxwitha,thensimplifyf(a) → replace every x with a, then simplify

If f(x) = x² − 4x + 7, then f(3) = (3)² − 4(3) + 7 = 9 − 12 + 7 = 4

EVALUATING AT AN EXPRESSION

f(a+h)→replaceeveryxwith(a+h)f(a + h) → replace every x with (a + h)

If f(x) = 2x + 1, then f(a + 3) = 2(a + 3) + 1 = 2a + 6 + 1 = 2a + 7. Always use parentheses around the substituted expression to avoid sign errors.

OPERATIONS ON FUNCTIONS

(f+g)(x)=f(x)+g(x)•(f−g)(x)=f(x)−g(x)•(f⋅g)(x)=f(x)⋅g(x)•(f/g)(x)=f(x)/g(x)(f + g)(x) = f(x) + g(x) • (f − g)(x) = f(x) − g(x) • (f · g)(x) = f(x) · g(x) • (f / g)(x) = f(x) / g(x)

You can add, subtract, multiply, or divide two functions by performing the operation on their outputs. The domain of the combined function is the intersection of the individual domains (and for division, exclude values where g(x) = 0).

COMPOSITION OF FUNCTIONS

(f∘g)(x)=f(g(x))(f ∘ g)(x) = f(g(x))

Read as 'f of g of x.' First evaluate g(x) to get a number, then plug that number into f. For example, if f(x) = x² and g(x) = x + 1, then f(g(3)) = f(4) = 16. Order matters: g(f(3)) = g(9) = 10, which is different.

ℹ
ACT Trap Alert

SECTION 5

Multiple Representations of Functions

Functions are not limited to algebraic formulas. The ACT frequently presents functions as tables, graphs, verbal descriptions, and equations. Being comfortable reading function information from any of these four representations is essential. The diagram below shows the same function expressed in all four ways.

Four Representations of f(x) = 2x − 1VERBAL"Double the input,then subtract one."EQUATIONf(x) = 2x − 1TABLEx (input)f(x) (output)−1−30−111233547GRAPHyx73−1−31234
All four panels describe the same function. The verbal description states the rule in plain English. The equation uses algebraic notation. The table lists specific input-output pairs. The graph plots those pairs as points on a coordinate plane.

On the ACT, you might be given a graph and asked to find f(2), which means locating x = 2 on the horizontal axis, moving up or down to the curve, and reading the y-value. Alternatively, you might be given a table and asked to find the value of x for which f(x) = 5, which requires scanning the output column for 5 and reading the corresponding input. Fluency in switching between these representations is one of the strongest skills you can build for test day.

SECTION 6

Worked Example — ACT-Style Problem

Let's walk through a multi-step ACT-style problem that tests evaluation, substitution, and composition.

ℹ
Problem

Worked example

  1. 1

    Step 1 — Identify the Order of Operations

    The expression f(g(2)) means we must evaluate the inner function g first, then feed that result into f. Think of it as working from the inside out, just like nested parentheses in arithmetic.
  2. 2

    Step 2 — Evaluate g(2)

    Substitute x = 2 into g(x) = x − 4: g(2) = 2 − 4 = −2.
    g(2) = −2
  3. 3

    Step 3 — Substitute into f

    Now evaluate f(−2). Replace every x in f(x) = 3x² − 2x + 1 with (−2). Use parentheses carefully: f(−2) = 3(−2)² − 2(−2) + 1.
  4. 4

    Step 4 — Simplify Each Term

    Calculate each piece: 3(−2)² = 3(4) = 12, then −2(−2) = +4, and the constant is 1. Adding these together: 12 + 4 + 1 = 17.
    f(g(2)) = 17
  5. 5

    Step 5 — Verify (Optional Quick Check)

    A quick sanity check: the input to f was −2, and since f has a positive leading coefficient with x², we expect a relatively large positive output. Our answer of 17 is consistent with that expectation, confirming we haven't made a sign error.

SECTION 7

Common Mistakes & How to Avoid Them

Function notation questions are high-scoring opportunities on the ACT, but they also contain predictable traps. The table below catalogs the most common mistakes, explains why students make them, and provides a fix for each.

MistakeWhy It HappensHow to Fix It
Treating f(x) as f × xParentheses in algebra usually mean multiplication. Students apply that habit to function notation.Remember: in f(x), the parentheses mean 'input,' not 'multiply.' When you see f(3), read it as 'f of 3.'
Forgetting parentheses during substitutionWhen substituting a negative number like −2, students write 3 × −2² instead of 3(−2)², getting −12 instead of 12.Always wrap the substituted value in parentheses: replace x with (−2), not just −2.
Reversing the composition orderStudents confuse f(g(x)) with g(f(x)). Since composition is not commutative, this gives wrong answers.Work inside-out. In f(g(x)), evaluate g first, then feed the result into f. Circle the inner function as your starting point.
Confusing f(x + 2) with f(x) + 2Students add 2 to the output instead of to the input before applying the rule.f(x + 2) shifts the input; f(x) + 2 shifts the output. Substitute (x + 2) everywhere x appears in the rule.

Common ACT function notation mistakes

SECTION 8

Connection to Advanced Topics

Understanding function definitions and notation is not just an ACT skill — it is the gateway to nearly every topic in higher mathematics. The table below shows how the concepts you've learned here connect to the advanced material you'll encounter in pre-calculus and beyond.

This LessonWhere It Leads
Evaluating f(a) — plugging in a numberIn calculus, you evaluate limits: lim(x→a) f(x). The substitution skill is identical.
Composition f(g(x)) — nesting functionsThe chain rule in calculus (d/dx[f(g(x))] = f′(g(x)) · g′(x)) builds directly on composition.
Domain restrictions — values that break a functionIn pre-calculus, you study asymptotes and discontinuities, which are domain restriction concepts in disguise.
Multiple representations (table, graph, equation)In statistics, you interpret regression models shown as equations, tables of residuals, and scatter plots — all function representations.
Vertical line test — one output per inputIn linear algebra, this generalizes to the concept of a mapping or transformation from one vector space to another.

How function notation connects to higher math

The ACT's 'Preparing for Higher Math' category explicitly tests whether you have the foundational skills to succeed in college-level mathematics. By mastering function notation now, you're not just earning points on test day — you're building fluency that will serve you in every math and science course you take in college.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Consider the equation x² + y² = 25. A student substitutes x = 3 and solves for y. Which of the following correctly uses that calculation to determine whether the equation defines y as a function of x?
  • A. When x = 3, y² = 16, so y = ±4. The positive root gives y = 4, confirming a unique output, so y is defined as a function of x.
  • B. When x = 3, y² = 16, giving y = 4 or y = −4. Because one input x = 3 produces two outputs, the equation violates the definition of a function.
  • C. When x = 3, y² = 16, so y = 4 or y = −4. Because both values are equal in absolute value, they average to 0, and the function value at x = 3 is defined as y = 0.
  • D. When x = 3, y² = 16, giving y = ±4. Since only positive roots are used in function definitions, y = 4 is the unique output, so y is a function of x.
  • E. When x = 3, y² = 16, so y = ±4. Because the two outputs are opposites, they cancel, making the equation undefined at x = 3 and therefore not a function.
Show answer
The correct answer is B. Step 1: Recall the definition of a function. A function requires exactly one output (y-value) for each input (x-value). Step 2: Substitute x = 3 into x² + y² = 25. (3)² + y² = 25 9 + y² = 25 y² = 16 y = 4 or y = −4 Step 3: Since the single input x = 3 produces two outputs (y = 4 and y = −4), the equation does NOT define y as a function of x. Step 4: Verify with another value. Let x = 0: (0)² + y² = 25 y² = 25 y = 5 or y = −5 Again, two outputs for one input — confirming the equation fails the function definition. Step 5: Geometric check. The graph of x² + y² = 25 is a circle of radius 5 centered at the origin. A vertical line at x = 3 crosses the circle at (3, 4) and (3, −4) — two intersection points — so it fails the vertical line test. Choice A is incorrect. The graph of x² + y² = 25 is a circle, not a parabola. The shape being a parabola is irrelevant and factually wrong here. Choice C is incorrect. The equation has infinitely many real solutions. Points such as (3, 4), (0, 5), (5, 0), and (−3, −4) all satisfy x² + y² = 25. Choice D is incorrect. Many equations not written as y = f(x) still define functions implicitly. For example, 2x + y = 10 implies y = 10 − 2x, which is a function. Choice E is incorrect. The horizontal line test determines whether x is a function of y, not whether y is a function of x. The correct test here is the vertical line test.

Question 2: BASIC CALCULATION

If f(x) = 4x − 7, what is the value of f(−3)?
  • A. 1
  • B. −19
  • C. −5
  • D. 5
  • E. 19
Show answer
Substitute x = −3 into the rule: f(−3) = 4(−3) − 7 = −12 − 7 = −19. The key step is using parentheses around −3 when multiplying: 4 × (−3) = −12, not +12. Many students lose this point by dropping the negative sign. The final answer is f(−3) = −19, which is choice B. Distractor rationale: A) 1 comes from a double-negative error on the constant term — the student correctly computes 4(−3) = −12 but then misreads −7 as −(−7) = +7, adding instead of subtracting and arriving at −12 + 13 = 1; C) −5 comes from correctly computing 4(−3) = −12 but then adding 7 instead of subtracting: −12 + 7 = −5; D) 5 comes from ignoring the negative sign on x entirely, computing 4(3) − 7 = 12 − 7 = 5; E) 19 comes from ignoring the negative sign on x and adding instead of subtracting: 4(3) + 7 = 12 + 7 = 19.

Question 3: INTERMEDIATE

Let g(x) = x² + 2x − 5. Which of the following is equivalent to g(a + 1) in simplified form?
  • A. a² + 4a − 2
  • B. a² + 4a + 3
  • C. a² + 2a − 4
  • D. a² + 4a − 5
  • E. a² + 2a − 2
Show answer
Correct Answer: A) a² + 4a − 2. Step-by-step solution: Replace every x with (a + 1) in g(x) = x² + 2x − 5. So g(a + 1) = (a + 1)² + 2(a + 1) − 5. Expand (a + 1)² = a² + 2a + 1. Expand 2(a + 1) = 2a + 2. Combine all terms: a² + 2a + 1 + 2a + 2 − 5 = a² + 4a − 2. The correct answer is A. Why distractors are wrong: B) a² + 4a + 3 results from adding 1 + 2 + 5 instead of subtracting 5, a sign error on the constant. C) a² + 2a − 4 results from forgetting to double the middle term when expanding (a + 1)², treating it as a² + 1 instead of a² + 2a + 1. D) a² + 4a − 5 results from correctly expanding the squared and linear terms but forgetting to add the +1 and +2 from the expansion, keeping −5 unchanged. E) a² + 2a − 2 results from substituting correctly in the squared term but not distributing the 2 in 2(a + 1), using only 2a instead of 2a + 2.

Question 4: APPLIED

A ride-sharing app charges a fare according to the function C(m) = 2.50m + 3.00, where m is the number of miles and C(m) is the cost in dollars. If a passenger pays $18.00, how many miles was the trip?
  • A. 4 miles
  • B. 5 miles
  • C. 6 miles
  • D. 7 miles
  • E. 8 miles
Show answer
Correct Answer: C) 6 miles. Set up the equation using C(m) = 18.00: 18.00 = 2.50m + 3.00. Subtract 3.00 from both sides: 15.00 = 2.50m. Divide both sides by 2.50: m = 6. The trip was 6 miles long. Distractor analysis: (A) 4 miles — results from dividing the total fare of $18.00 by an incorrect rate, ignoring the base fare entirely and using a wrong divisor; (B) 5 miles — results from subtracting the base fare incorrectly (e.g., 18.00 − 3.00 = 15.00, then dividing by 3.00 instead of 2.50); (D) 7 miles — results from a subtraction error such as 18.00 − 2.00 = 16.00, then dividing 16.00 by 2.50 ≈ 6.4 rounded up to 7; (E) 8 miles — results from skipping the base fare subtraction entirely and dividing the full $18.00 by the per-mile rate of $2.50 (18.00 ÷ 2.50 = 7.2), then rounding up to 8, forgetting that the $3.00 base fare must first be removed before dividing. This problem reverses the typical evaluation process — instead of plugging in m to find C(m), you are given C(m) and solving for m. The ACT frequently tests this working-backwards skill with function notation.

Question 5: CRITICAL THINKING

⚠️ Challenge Question (High Difficulty) — If f(x) = 3x + 2 and g(x) = x² + 1, find all real values of x such that f(g(x)) = g(f(x)).
  • F. x = 0 only
  • G. x = −2 only
  • H. x = 2 and x = −2
  • J. x = 0 and x = −2
  • K. x = −1 only
Show answer
Step 1 — Compute f(g(x)): f(g(x)) = f(x² + 1) = 3(x² + 1) + 2 = 3x² + 3 + 2 = 3x² + 5.Step 2 — Compute g(f(x)): g(f(x)) = g(3x + 2) = (3x + 2)² + 1 = 9x² + 12x + 4 + 1 = 9x² + 12x + 5.Step 3 — Set equal and rearrange: 3x² + 5 = 9x² + 12x + 5 → 0 = 6x² + 12x → 0 = 6x(x + 2), so x = 0 or x = −2.Step 4 — Verify both solutions. For x = 0: f(g(0)) = f(1) = 3(1) + 2 = 5 and g(f(0)) = g(2) = 2² + 1 = 5. ✓ For x = −2: f(g(−2)) = f((−2)² + 1) = f(5) = 3(5) + 2 = 17 and g(f(−2)) = g(3(−2) + 2) = g(−4) = (−4)² + 1 = 16 + 1 = 17. ✓ Both solutions check out. The correct answer is J.Why the other choices are wrong: F (x = 0 only) finds just one of the two solutions and overlooks x = −2. G (x = −2 only) finds just one of the two solutions and overlooks x = 0. H (x = 2 and x = −2) results from a sign error when factoring 6x² + 12x, incorrectly writing 6x(x − 2) = 0 instead of 6x(x + 2) = 0; plugging x = 2 gives f(g(2)) = f(5) = 17 but g(f(2)) = g(8) = 8² + 1 = 65, confirming x = 2 is not a solution. K (x = −1 only) is incorrect because x = −1 does not satisfy the equation: f(g(−1)) = f(2) = 8 and g(f(−1)) = g(−1) = 2, and 8 ≠ 2; furthermore the equation 6x² + 12x = 0 factors cleanly yielding x = 0 and x = −2, not x = −1.📌 Difficulty Note: This is a high-difficulty problem (estimated 90th–95th percentile on ACT Math). It requires multiple steps: composing two functions, expanding a binomial, solving a quadratic by factoring, and verifying both solutions. Most ACT Math problems do not require all of these skills at once. Use this question to stretch your thinking — don't be discouraged if it felt harder than typical practice!

Varsity Tutors • ACT Math • Function Definitions & Notation