Skip to main content
course review

Honors Algebra II Unit 2 Review: Functions and Their Graphs

Unit 2 is about functions as machines that turn inputs into outputs, and about what happens when you chain them, undo them, or reshape their graphs. By the end, you should be able to evaluate and compose functions, find inverses, state domain and range, and sketch transformed graphs without plotting a pile of points.

Read the overview for the big picture, then work through each topic's review notes and answer the checkpoint question before moving on.

start unit practicereview topicsReview with a tutorFree, 24/7, real people, from UPchieve

What is Honors Algebra II unit 2?

This unit builds the function vocabulary you'll use for the rest of Algebra II and into precalculus. You'll read and evaluate function notation and figure out which inputs are allowed. You'll also combine functions, undo them, and predict how a change to the equation changes the graph.

Honors Algebra II Unit 2 covers functions and their graphs. You learn function notation like f(3)f(3) and f(a+1)f(a+1), along with domain, range, and the vertical and horizontal line tests. You also learn how to find domain restrictions from denominators and square roots. The unit covers composition f(g(x))f(g(x)) and how to find and check inverse functions. It finishes with transformations of parent graphs: shifts, reflections, and vertical and horizontal stretches and compressions.

A function gives each input exactly one output, and the domain lists the inputs that work.

The vertical line test checks the one-output rule on a graph. The domain is often limited by division by zero or by square roots of negative numbers. Finding those limits is a skill you'll reuse in every later unit.

Composition chains functions together, and an inverse undoes a function.

In f(g(x))f(g(x)), you apply gg first and then ff. An inverse f−1f^{-1} reverses ff, so f(f−1(x))=xf(f^{-1}(x)) = x. Only one-to-one functions have inverses that are also functions.

Changing the input moves a graph sideways, and changing the output moves it up and down.

Changes outside the function, like f(x)+3f(x) + 3 or 2f(x)2f(x), act on y-values the way you'd expect. Changes inside, like f(x−3)f(x - 3) or f(2x)f(2x), act on x-values and feel backward. That backward feeling has a reason, and it explains most transformation mistakes.

Track the input and the output separately

Nearly every skill in this unit comes down to asking what happens to x and what happens to y. Composition sends an output in as a new input. An inverse swaps the roles of input and output, which is why its graph reflects across y=xy = x. Transformations edit either the input or the output, and that tells you whether the graph moves horizontally or vertically.

Honors Algebra II unit 2 topics

Unit 2 review notes

2.1

Composition and Inverse Functions

Composition means plugging one function into another. In (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)), the inner function gg runs first, and its output becomes the input for ff. Order matters, so f(g(x))f(g(x)) and g(f(x))g(f(x)) are usually different.

The domain of f(g(x))f(g(x)) includes only the x-values that work in gg and also give an output that ff accepts. For example, with f(x)=xf(x) = \sqrt{x} and g(x)=x−4g(x) = x - 4, you get f(g(x))=x−4f(g(x)) = \sqrt{x - 4}, so the domain is x≥4x \ge 4.

An inverse f−1f^{-1} undoes ff. If f(a)=bf(a) = b, then f−1(b)=af^{-1}(b) = a. A function needs to be one-to-one to have an inverse function, which means it passes the horizontal line test. If it fails, you can sometimes restrict the domain. For example, y=x2y = x^2 on x≥0x \ge 0 has the inverse y=xy = \sqrt{x}. The graphs of ff and f−1f^{-1} are mirror images across y=xy = x. The domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff.

Worked example. Let f(x)=3x−5f(x) = 3x - 5. Write y=3x−5y = 3x - 5, then swap the variables to get x=3y−5x = 3y - 5. Solving gives y=x+53y = \frac{x + 5}{3}, so f−1(x)=x+53f^{-1}(x) = \frac{x + 5}{3}. To check, compute f(f−1(x))=3⋅x+53−5=xf(f^{-1}(x)) = 3 \cdot \frac{x + 5}{3} - 5 = x.

  • Composite function: A function built by using the output of one function as the input of another, written (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)).
  • Inverse function: The function f−1f^{-1} that reverses ff, so that f−1(f(x))=xf^{-1}(f(x)) = x and f(f−1(x))=xf(f^{-1}(x)) = x.
  • Horizontal line test: A function is one-to-one if no horizontal line crosses its graph more than once.

If f(x)=x2+1f(x) = x^2 + 1 and g(x)=2x−3g(x) = 2x - 3, what are f(g(2))f(g(2)) and g(f(2))g(f(2))? (Answer: g(2)=1g(2) = 1, so f(g(2))=12+1=2f(g(2)) = 1^2 + 1 = 2. Also f(2)=5f(2) = 5, so g(f(2))=2(5)−3=7g(f(2)) = 2(5) - 3 = 7. The two orders give different results.)

2.2

Function Notation and Basic Concepts

A function assigns each input exactly one output. On a graph, you check this with the vertical line test. If any vertical line hits the graph twice, one input has two outputs, so the graph isn't a function. A circle fails for this reason.

The notation f(x)f(x) is read "f of x." It names the output, and it does not mean ff times xx. To evaluate, replace every xx with the input. If f(x)=2x+1f(x) = 2x + 1, then f(3)=7f(3) = 7. Inputs can also be expressions, so f(a+1)=2(a+1)+1=2a+3f(a + 1) = 2(a + 1) + 1 = 2a + 3.

The domain is the set of allowed inputs, and the range is the set of outputs the function actually produces. From an equation, look for two trouble spots. A denominator can't equal zero, and the expression under an even root can't be negative.

Worked example. Find the domain of h(x)=x+1x−3h(x) = \frac{\sqrt{x + 1}}{x - 3}. The square root needs x+1≥0x + 1 \ge 0, so x≥−1x \ge -1. The denominator needs x−3≠0x - 3 \neq 0, so x≠3x \neq 3. Both conditions must hold, so the domain is [−1,3)∪(3,∞)[-1, 3) \cup (3, \infty).

A function is one-to-one if different inputs always give different outputs. For example, x3x^3 is one-to-one. The function x2x^2 is not, because f(−2)f(-2) and f(2)f(2) are both 4.

  • Domain: The set of all input values for which the function is defined.
  • Range: The set of output values the function actually produces.
  • Vertical line test: A graph represents a function only if no vertical line crosses it more than once.
  • One-to-one: A function where no two different inputs share the same output.

What is the domain of f(x)=1x+5f(x) = \frac{1}{x + 5}, and what is f(−4)f(-4)? (Answer: The domain is all real numbers except x=−5x = -5, and f(−4)=11=1f(-4) = \frac{1}{1} = 1.)

TestWhat it checksFails whenExample that fails
Vertical line testWhether a graph is a functionSome input has two outputsA circle, $x^2 + y^2 = 9$
Horizontal line testWhether a function is one-to-one and has an inverse functionSome output comes from two inputsA parabola, $y = x^2$
2.3

Graphing Techniques and Transforma­tions

A table of values can help you plot points, but check the function's behavior before connecting them. For familiar functions, transformations can be faster. You start from a parent graph you already know, like y=x2y = x^2, y=∣x∣y = |x|, or y=xy = \sqrt{x}, and adjust it.

Changes outside the function act on y-values. f(x)+kf(x) + k shifts the graph up kk units when k>0k > 0 and down when k<0k < 0. For a≠0a \neq 0, af(x)a f(x) scales y-values by ∣a∣|a| and also reflects the graph across the x-axis if a<0a < 0. Changes inside the function act on x-values in the opposite way you might expect. f(x−h)f(x - h) shifts the graph right hh units when h>0h > 0 and left when h<0h < 0. For b≠0b \neq 0, f(bx)f(bx) scales x-values by 1∣b∣\frac{1}{|b|} and also reflects the graph across the y-axis if b<0b < 0.

Inside changes feel backward because you are solving for the new x. For f(x−3)f(x - 3) to give the same output that ff gives at 0, you need x=3x = 3. That is why the graph moves right.

Worked example. Graph g(x)=−2(x+1)2+3g(x) = -2(x + 1)^2 + 3 from y=x2y = x^2. First shift left 1, then stretch vertically by 2, then reflect across the x-axis, then shift up 3. The vertex moves from (0,0)(0, 0) to (−1,3)(-1, 3), and the parabola opens downward. To check another point, g(0)=−2(1)2+3=1g(0) = -2(1)^2 + 3 = 1, so (0,1)(0, 1) is on the graph. That point comes from (1,1)(1, 1) on the parent graph.

When you combine transformations, apply stretches and reflections before vertical shifts.

  • Parent function: The simplest version of a function family, such as y=x2y = x^2, that other graphs are built from.
  • Translation: A shift of the whole graph up, down, left, or right without changing its shape.
  • Vertical stretch: Multiplying every output by aa with ∣a∣>1|a| > 1, which moves nonzero y-values farther from the x-axis. If a<0a < 0, the graph also reflects across the x-axis.

The point (4,2)(4, 2) is on the graph of y=f(x)y = f(x). Where does it go on y=f(2x)−1y = f(2x) - 1? (Answer: (2,1)(2, 1). The x-value is divided by 2 and the y-value drops by 1.)

EquationChangesEffect on the graph
$f(x) + k$OutputShifts up $k$ (down if $k < 0$)
$f(x - h)$InputShifts right $h$ (left if $h < 0$)
$a f(x)$OutputVertical stretch if $|a| > 1$, compression if $0 < |a| < 1$; reflection across the x-axis if $a < 0$. If $a = 0$, every output becomes 0.
$f(bx)$InputHorizontal compression if $|b| > 1$, stretch if $0 < |b| < 1$; reflection across the y-axis if $b < 0$. If $b = 0$, the graph is $y = f(0)$ when 0 is in the domain of $f$; otherwise it has no points.
$-f(x)$OutputReflects across the x-axis
$f(-x)$InputReflects across the y-axis

Key terms

TermDefinition
FunctionA rule that assigns each input exactly one output.
Function notationWriting $f(x)$ for the output of function $f$ at input $x$, read "f of x."
DomainThe set of all inputs a function accepts, often limited by denominators and even roots.
RangeThe set of all outputs a function actually produces.
CompositionCombining functions so that the output of one becomes the input of the next, as in $f(g(x))$.
Inverse functionA function $f^{-1}$ that reverses $f$, with a graph that reflects $f$ across the line $y = x$.
One-to-one functionA function where each output comes from only one input, so it passes the horizontal line test.
Parent functionThe basic form of a function family, like $y = x^2$ or $y = \sqrt{x}$, used as a starting point for transformations.
TransformationA shift, reflection, stretch, or compression that changes a graph's position or shape.

Mistakes to avoid in Functions and Their Graphs

Shifting the wrong way for $f(x - h)$

The minus sign makes it tempting to move left, but f(x−3)f(x - 3) moves the graph right 3. Ask yourself which x-value makes the inside equal 0. Here that's x=3x = 3, so any point on the original graph with x-coordinate 0 moves to x-coordinate 3.

Treating $f^{-1}(x)$ as $\frac{1}{f(x)}$

The −1-1 in f−1f^{-1} means inverse, and it is not an exponent. If f(x)=3x−5f(x) = 3x - 5, then f−1(x)=x+53f^{-1}(x) = \frac{x + 5}{3}, which is not the same as 13x−5\frac{1}{3x - 5}. To check, plug one into the other and see whether you get back xx.

Applying the outer function first in a composition

In f(g(x))f(g(x)), the function written closer to xx goes first. Work from the inside out. Evaluate gg, then feed that number into ff. Swapping the order usually changes the answer.

Reading $f(2x)$ as a horizontal stretch by 2

Multiplying the input by 2 makes the graph reach each output twice as fast, so the graph gets narrower. Every x-coordinate is divided by 2. To stretch the graph horizontally by 2, use f(12x)f\left(\frac{1}{2}x\right).

Study unit 2 other ways

Ready to review Unit 2?Start with the notes, check the topic cards, and use the practice or resource links when they are available for this course.