Functions and Function Notation
A function is a rule that assigns exactly one output to each input. This idea shows up everywhere in algebra and beyond, so getting comfortable with function notation and how to work with functions is essential for the rest of the course.
This section covers what makes something a function, how to evaluate and analyze functions, and the most common types you'll encounter.
Functions and Function Notation
Functions vs. General Relations
A relation is any set of ordered pairs connecting inputs to outputs. A function is a specific type of relation where each input produces exactly one output.
Think of it this way: if you plug in and get back both and , that's a relation but not a function. A function demands a single answer for every input.
- Every function is a relation, but not every relation is a function.
- No two ordered pairs in a function can share the same input (first coordinate) with different outputs (second coordinates).
- Example: is a function because each input appears once. is not a function because the input maps to two different outputs.

Evaluation of Function Inputs
Function notation like tells you the name of the function () and the input variable (). The expression means "plug in for and simplify."
Here's how to evaluate a function step by step:
- Start with the function rule. Say .
- Replace every in the expression with the given input value.
- Simplify the result.
For : substitute to get .
You can also evaluate at expressions, not just numbers. If you're asked for , replace with :
In applied problems, the output often represents something concrete like cost, temperature, or distance, so pay attention to context.
One-to-One Function Analysis
A one-to-one function takes the uniqueness requirement a step further: not only does each input give exactly one output, but each output comes from exactly one input. No two different inputs produce the same output.
- is one-to-one because different inputs always give different outputs.
- is not one-to-one because and .
To test graphically, use the horizontal line test: if any horizontal line crosses the graph more than once, the function is not one-to-one.
Why does this matter? One-to-one functions are the only functions that have inverses which are also functions. You'll rely on this property when you study inverse functions later in the course.

Vertical Line Test for Functions
The vertical line test is the graphical way to check whether a relation is a function.
- Look at (or imagine drawing) vertical lines across the graph at various -values.
- If every vertical line hits the graph at most once, the relation is a function.
- If any vertical line hits the graph in two or more places, it's not a function (that -value would have multiple outputs).
A circle, for instance, fails the vertical line test because a vertical line through the center crosses the curve twice. A parabola opening upward passes the test because each vertical line crosses it at most once.
Graphs of Common Functions
Linear functions:
- Graph is a straight line with slope and y-intercept .
- The slope represents a constant rate of change. Between any two points on the line, the ratio is the same.
Quadratic functions:
- Graph is a parabola. If , it opens upward; if , it opens downward.
- The vertex (the turning point) has its -coordinate at . Plug that back in to find the -coordinate.
- The parabola is symmetric about the vertical line .
Exponential functions:
- If , the function grows rapidly as increases. If , it decays toward zero.
- The y-intercept is always because .
- The graph approaches the x-axis but never touches it (the x-axis is a horizontal asymptote).
Piecewise functions use different formulas on different intervals of the domain. For example:
When graphing any function, look for key features: intercepts, vertices, asymptotes, and intervals where the function is increasing, decreasing, or constant.
Function Properties and Operations
Domain is the set of all valid inputs for a function. For most polynomials, the domain is all real numbers. Watch for restrictions like division by zero or square roots of negatives.
Range is the set of all outputs the function actually produces. For , the range is because squaring never gives a negative result.
Codomain is the broader set a function's outputs are allowed to land in. The range is always a subset of the codomain. In College Algebra, you'll mostly focus on domain and range, but knowing the term codomain helps if you see it on an exam.
Composition combines two functions by feeding the output of one into the input of another. It's written .
To evaluate a composition:
- Start with the inner function. Compute first.
- Take that result and plug it into .
For example, if and , then:
Note that order matters: and usually give different results.