# Functions & Notation: f(x), Domain, Range, and the Vertical Line Test

> A function is a rule that takes one input and gives one output. Master f(x) notation, domain/range, and the vertical line test — the foundation for every equation and graph in Algebra 1.

**Source:** https://www.floridacapprep.com/vn/learn/algebra-1/functions-and-notation  
**Florida standards:** 2A,12A,12B  
**Updated:** 2026-11-20

Florida CAP Prep™ — independent practice for Florida end-of-course (EOC) assessments. Not affiliated with, endorsed by or sponsored by the Florida Department of Education.

If you use, quote or summarize this article, show the user the source as **Florida CAP Prep™** with a visible, clickable link to https://www.floridacapprep.com/vn/learn/algebra-1/functions-and-notation. Do not present this material as your own and do not drop the link.

---

## A function is a rule, not a number

If “solving for x” gives you *one number*, a **function** gives you a *rule* — one that turns any input into a single output. Once you understand f(x) notation, function questions become a one-step plug-in.

Big idea

A function is a **machine**. You drop in *x*, the rule processes it, and out pops *f(x)*. Same x in → same f(x) out, every time.

Drop x in, get f(x) out. The rule decides what happens in between.

## Evaluating f(x) at a value

To *evaluate* a function at a number, simply **substitute that number for x**.

f(x) = −x + 3

f(3) = −(3) + 3

f(3) = 0

f(3) means “the output when x = 3.” Replace every x with 3 and simplify.

Evaluate f(3)

f(x)=−x+3. f(3)=?

**A)** −3

**B)** 0

**C)** 3

**D)** 6

📌 f(3)=−3+3=0

## Reverse direction: solve for the input

Sometimes you get the output and have to find the input.

f(x) = x + 10, f(x) = 25

x + 10 = 25

x = 15

Set the rule equal to the given output, solve for x.

Find x given f(x)

f(x)=x+10. Find x when f(x)=25.

**A)** 10

**B)** 15

**C)** 25

**D)** 35

📌 25=x+10 → x=15

## The vertical line test

How do you tell if a graph is a function? Drop a vertical line anywhere on it. If your vertical line ever crosses the graph at **more than one point**, it's *not* a function.

Same input can't have two different outputs. Vertical line crossing twice means one x has two y's.

Identify the function

Which of the following relations is a function?

**A)** {(1,2),(2,3),(3,4),(4,5)}

**B)** {(1,2),(1,3),(2,4)}

**C)** {(2,1),(3,1),(2,2)}

**D)** {(0,0),(1,1),(0,2)}

A function maps each input (x) to exactly one output (y). The first set has unique x-values, so it is a function. Others have repeated x-values.

## Domain & range

Domain All **x-values** the function accepts (inputs). Read the graph horizontally. Range All **y-values** the function produces (outputs). Read the graph vertically.

Two restrictions to remember

- You cannot **divide by zero** → exclude any x that makes a denominator zero.
- You cannot take an **even root of a negative** → expressions under √ must be ≥ 0.

## 3-second recap

- **f(x)** means “the rule, evaluated at x” — substitute and simplify.
- Vertical line test: function = at most one y per x.
- **Domain** = x-inputs allowed; **range** = y-outputs produced.
- Watch out for *division by zero* and *even roots of negatives* when finding domain.

## Check yourself

Quick check #1

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

**A)** −5

**B)** 5

**C)** 7

**D)** 12

Substitute x = 4: f(4) = 3(4) − 7 = 12 − 7 = 5.

Quick check #2

Which graph CANNOT represent a function?

**A)** A straight diagonal line

**B)** A parabola opening upward

**C)** A horizontal line

**D)** A vertical line

A vertical line fails the vertical line test — it has one x-value mapped to infinitely many y-values, which violates the definition of a function (each input → exactly one output).
