Instructional videos are coming to Albert.Join the waitlist
ACT® Enhanced Math
Practice
3.6

Piecewise Functions: ACT® Math Review

✎ Study Mode — Highlight text and annotate as you read.

A cell phone plan charges 30 dollars a month for up to 5 gigabytes of data, then 10 dollars for each additional gigabyte. A shipping company charges one rate for packages under a pound and a different rate above that. Rules that change depending on the input are described by piecewise functions. On the ACT Math test, piecewise functions appear as formulas, graphs, and real-world pricing problems.

This article covers Topic 3.6: Piecewise Functions in Unit 3, Functions. The topic asks you to evaluate and graph piecewise functions, interpret them in context, and connect them to absolute value and step functions.

By the end, you should be able to:

  1. Read piecewise function notation and identify each piece’s domain.
  2. Evaluate a piecewise function at a given input.
  3. Graph a piecewise function using open and closed endpoints.
  4. Write a piecewise function from a real-world situation.

Reading Piecewise Notation

A piecewise function uses different formulas on different parts of its domain. It is written with a large brace, with each formula followed by the condition that tells when it applies:

Reading domain and range from a graph.
Reading domain and range from a graph.

\(f(x)=\begin{cases}x+3&\text{if }x\lt 1\\2x^{2}&\text{if }x\ge 1\end{cases}\)

For inputs less than 1, use \(x+3\). For inputs greater than or equal to 1, use \(2x^{2}\). Each input belongs to exactly one piece, so the rule still gives exactly one output and is a function.

Evaluating Piecewise Functions

To evaluate, first decide which condition the input satisfies, then use only that piece.

Worked example 1: For the function above, find \(f(-2)\), \(f(1)\), and \(f(3)\).

  1. For \(x=-2\): since \(-2\lt 1\), use \(x+3\). \(f(-2)=1\).
  2. For \(x=1\): since \(1\ge 1\), use \(2x^{2}\). \(f(1)=2\).
  3. For \(x=3\): since \(3\ge 1\), use \(2x^{2}\). \(f(3)=18\).

Why does this matter? Boundary values are where most errors happen. At \(x=1\), the condition \(x\lt 1\) is false and \(x\ge 1\) is true, so only the second piece applies. The ACT often tests exactly this boundary.

Graphing Piecewise Functions

To graph, draw each piece only over its own interval. At the boundaries, use:

  • A closed dot when the endpoint is included (\(\le\) or \(\ge\)).
  • An open dot when the endpoint is excluded (\(\lt\) or \(\gt\)).
A piecewise-defined function.
A piecewise-defined function.

For the function above, the line \(y=x+3\) is drawn for \(x\lt 1\), ending at an open dot at \((1,4)\). The parabola \(y=2x^{2}\) starts at a closed dot at \((1,2)\) and continues to the right. Because the pieces meet at different heights, the graph has a jump at \(x=1\).

When the pieces meet at the same point, the graph is continuous, with no break. Some ACT questions ask for a constant that makes a piecewise function continuous.

Worked example 2: Find \(k\) so that \(g(x)\) is continuous, where \(g(x)=3x-1\) for \(x\lt 2\) and \(g(x)=x+k\) for \(x\ge 2\).

  1. Left piece at \(x=2\): \(3(2)-1=5\).
  2. Right piece at \(x=2\): \(2+k\).
  3. For no jump, set them equal: \(2+k=5\).
  4. Solve: \(k=3\).

Absolute Value as a Piecewise Function

The absolute value function is a piecewise function in disguise:

The V-shaped graph of an absolute value function.
The V-shaped graph of an absolute value function.

\(|x|=\begin{cases}x&\text{if }x\ge 0\\-x&\text{if }x\lt 0\end{cases}\)

This explains the V shape of its graph: two linear pieces meeting at the origin.

Step Functions

A step function is a piecewise function whose pieces are horizontal segments. Parking fees and postage rates are common examples. If a garage charges 5 dollars for any part of the first hour and 3 dollars for each additional hour or part of an hour, the cost jumps at each whole hour. A stay of 2.5 hours costs \(5+3+3=11\) dollars, because the partial third hour is charged in full.

Writing Piecewise Functions from Context

For the phone plan, let \(g\) be gigabytes used. The plan costs 30 dollars for up to 5 gigabytes, and 10 dollars per gigabyte above 5. So \(C(g)=30\) when \(0\le g\le 5\), and \(C(g)=30+10(g-5)\) when \(g\gt 5\). Using 8 gigabytes costs \(30+10(3)=60\) dollars.

Why does this matter? Many real pricing systems, tax brackets, and shipping rates are piecewise. Translating the words “up to,” “over,” and “each additional” into conditions and formulas is the key skill these questions test.

Reading Piecewise Graphs

Sometimes the ACT gives only the graph. To find \(f(a)\), locate \(x=a\), find the piece that covers that input, and read its height. If an open dot and a closed dot both sit above the same \(x\)-value, the closed dot gives the function’s value there. The domain and range can also be read from the graph, remembering to exclude open endpoints.

Test-Taking Strategies

Mnemonic Devices and Memory Shortcuts

“Check the condition, then compute.” For graphs, “filled means included, hollow means not.”

Cross-Topic Connections

Common Question Formats

  • Evaluate a piecewise function at a boundary value.
  • Match a piecewise function to its graph.
  • Find a constant that makes the function continuous.
  • Calculate a cost using a piecewise pricing rule.

Frequent Student Mistakes

  • Using the wrong piece at a boundary value.
  • Drawing closed dots where open dots belong.
  • Applying the “each additional” rate to the full amount instead of the excess.

Test-Day Shortcuts

Underline the condition symbols before evaluating. A quick glance at \(\lt\) versus \(\le\) prevents boundary errors.

Time Management Tips

The enhanced ACT Math test gives 50 minutes for 45 questions, a little over a minute per question. Evaluation questions take seconds; spend more time on context problems with several conditions.

Highlight & Annotate
📝

Study Annotations

You just made your first highlight! You can highlight text and click images to add study notes as you read.

Your annotations are saved during this session, as long as you keep this browser tab open. When you’re done, use the Print button to save the article with all your notes in the margins.

Click any highlight to view or edit your note.

Click another word to finish highlighting, or press Esc to cancel
0 Notes
Study Mode
Print Preview — Article with Annotations

Ready to practice? Try Albert free.

Build real confidence with thousands of adaptive practice questions across AP®, SAT®, ACT®, and core subjects — aligned to what you’re studying right now.

Practice for ACT® Enhanced Math