Solved Exercises on Graphing Piecewise Functions in Algebra 1

Master graphing piecewise functions: linear, quadratic, and multi-piece functions with proper boundary representation through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Linear piecewise function
Exercise 1
Graph:
\(f(x) = \begin{cases} -x + 2 & \text{if } x < 1 \\ x & \text{if } x \geq 1 \end{cases}\)
Definition:

Graphing piecewise: Each piece is graphed separately over its specified domain interval

Graphing method:
  1. Identify each piece and its domain
  2. Graph each piece over its respective domain
  3. Use appropriate boundary symbols (open/closed circles)
Function
Piecewise function
Pieces
Linear segments
Boundary
At x = 1
Step 1: Graph first piece for \(x < 1\)

\(y = -x + 2\), draw with open circle at \(x = 1\)

Y-intercept: (0, 2), slope: \(-1\)

Step 2: Graph second piece for \(x \geq 1\)

\(y = x\), draw with closed circle at \(x = 1\)

Point: (1, 1), slope: \(1\)

Step 3: Verify boundary points

Left piece approaches (1, 1) but doesn't include it

Right piece includes (1, 1)

Two connected linear pieces with different slopes
Final answer:

Graph consists of two linear segments meeting at x = 1 with different slopes

Applied rules:

• Domain restriction: Only plot each piece over its specified domain

• Boundary symbols: Use open circles for strict inequalities, closed for inclusive

• Continuity check: Verify if left and right limits match at boundaries

2 Quadratic and linear pieces
Exercise 2
Graph:
\(g(x) = \begin{cases} x^2 & \text{if } x \leq 0 \\ 2x + 1 & \text{if } x > 0 \end{cases}\)
Definition:

Multi-type pieces: Function with different types of expressions (quadratic and linear)

Function
Mixed-type function
Pieces
Parabola and line
Boundary
At x = 0
Step 1: Graph first piece for \(x \leq 0\)

\(y = x^2\), parabola opening upward

Domain: all x-values ≤ 0, include closed circle at (0, 0)

Step 2: Graph second piece for \(x > 0\)

\(y = 2x + 1\), straight line with slope 2 and y-intercept 1

Domain: all x-values > 0, use open circle at (0, 1)

Step 3: Check continuity at x = 0

Left piece: \(f(0) = 0^2 = 0\)

Right piece approaches: \(\lim_{x \to 0^+} (2x + 1) = 1\)

Discontinuous jump at x = 0

Parabolic piece for x ≤ 0, linear piece for x > 0
Final answer:

Graph combines a parabolic segment with a linear segment, with a discontinuous jump at x = 0

Applied rules:

• Type awareness: Recognize different function types in each piece

• Domain restriction: Apply each function only over its specified domain

• Jump discontinuities: Function may have different left and right limits at boundaries

3 Three-piece function
Exercise 3
Graph:
\(h(x) = \begin{cases} -2 & \text{if } x < -1 \\ x + 1 & \text{if } -1 \leq x < 2 \\ 3 & \text{if } x \geq 2 \end{cases}\)
Definition:

Multi-piece function: A function with three or more different expressions

Function
Three-piece function
Pieces
Constant, linear, constant
Boundaries
At x = -1 and x = 2
Step 1: Graph first piece for \(x < -1\)

\(y = -2\), horizontal line

Draw with open circle at (-1, -2)

Step 2: Graph second piece for \(-1 \leq x < 2\)

\(y = x + 1\), straight line with slope 1

Start with closed circle at (-1, 0), end with open circle at (2, 3)

Step 3: Graph third piece for \(x \geq 2\)

\(y = 3\), horizontal line

Start with closed circle at (2, 3)

Step 4: Verify continuity at boundaries

At x = -1: Left piece approaches -2, right piece starts at 0 (discontinuous)

At x = 2: Right piece starts at 3, left piece approaches 3 (continuous)

Constant-line-constant pattern with one continuous transition
Final answer:

Graph shows constant, linear, and constant segments with different continuity behaviors

Applied rules:

• Sequential plotting: Graph each piece in order of increasing x-values

• Boundary management: Carefully handle open/closed circles at all boundaries

• Continuity analysis: Check if function values match at each boundary point

Graphing Piecewise Functions: Rules, Laws, and Methods
\(f(x) = \begin{cases} \text{piece}_1 & \text{if } x \in \text{domain}_1 \\ \text{piece}_2 & \text{if } x \in \text{domain}_2 \\ \vdots & \vdots \\ \text{piece}_n & \text{if } x \in \text{domain}_n \end{cases}\)
General Form
Boundary
Open vs Closed
Symbol choice
Domain
Restriction
Graph only specified
Continuity
Limit check
At boundaries
Key definitions:

Piecewise function: A function defined by multiple sub-functions, each applied to a specific domain interval

Domain partition: The intervals that divide the total domain without overlap

Boundary point: The point where one piece of the function ends and another begins

Continuity: Whether the function has no jumps or breaks at boundary points

Graphing methodology:
  1. Identify pieces: Separate the function into distinct expressions and their domains
  2. Plot each piece: Graph each expression over its specified domain
  3. Mark boundaries: Use open/closed circles appropriately
  4. Check continuity: Verify behavior at boundary points
  5. Connect pieces: Ensure smooth transitions where applicable
Tip 1: Use open circles for strict inequalities (<, >) and closed circles for inclusive bounds (≤, ≥).
Tip 2: Each piece should be graphed only over its specific domain interval.
Tip 3: Always verify that the function is defined for all x-values in its domain.
Tip 4: Check if the function is continuous at boundary points by comparing left and right limits.
Common errors: Forgetting to restrict domains, using wrong boundary symbols, missing boundary points, assuming continuity at all boundaries.
Exam preparation: Practice recognizing different function types in each piece, master boundary symbol usage, understand continuity concepts.
Essential rules:

• Each piece is graphed only over its specified domain interval

• Use open circles for exclusive boundaries (strict inequalities)

• Use closed circles for inclusive boundaries (non-strict inequalities)

• Continuity depends on matching left and right limits at boundaries

• Domain is the union of all individual intervals

Solution: Exercises 4 to 5
4 Absolute value as piecewise
Exercise 4
Rewrite and graph \(f(x) = |x - 2|\) as a piecewise function.
Definition:

Absolute value as piecewise: \(|A| = A\) if \(A \geq 0\), \(|A| = -A\) if \(A < 0\)

Original
\(f(x) = |x - 2|\)
Rewritten
Piecewise form
Graph
V-shape at x = 2
Step 1: Identify when expression is positive/negative

\(x - 2 \geq 0\) when \(x \geq 2\)

\(x - 2 < 0\) when \(x < 2\)

Step 2: Write piecewise form

When \(x \geq 2\): \(|x - 2| = x - 2\)

When \(x < 2\): \(|x - 2| = -(x - 2) = -x + 2\)

So: \(f(x) = \begin{cases} -x + 2 & \text{if } x < 2 \\ x - 2 & \text{if } x \geq 2 \end{cases}\)

Step 3: Graph the piecewise function

Left piece: \(y = -x + 2\) for \(x < 2\), with open circle at (2, 0)

Right piece: \(y = x - 2\) for \(x \geq 2\), with closed circle at (2, 0)

Step 4: Verify continuity at boundary

Both pieces meet at (2, 0), confirming continuity

\(f(x) = \begin{cases} -x + 2 & \text{if } x < 2 \\ x - 2 & \text{if } x \geq 2 \end{cases}\)
Final answer:

\(f(x) = \begin{cases} -x + 2 & \text{if } x < 2 \\ x - 2 & \text{if } x \geq 2 \end{cases}\), forming a V-shape with vertex at (2, 0)

Applied rules:

• Absolute value definition: Split based on sign of expression inside

• Algebraic manipulation: Distribute negative sign when needed

• Continuity verification: Check that both pieces meet at boundary

5 Real-world step function
Exercise 5
Parking fees: \(C(h) = \begin{cases} 5 & \text{if } 0 < h \leq 1 \\ 8 & \text{if } 1 < h \leq 2 \\ 10 & \text{if } 2 < h \leq 4 \\ 15 & \text{if } h > 4 \end{cases}\) where h is hours parked. Graph the function.
Definition:

Step function: A piecewise function where each piece is a constant value over an interval

Function
Step function
Values
5, 8, 10, 15
Pattern
Increasing steps
Step 1: Graph first interval (0 < h ≤ 1)

Horizontal line at C = 5, with open circle at (0, 5) and closed circle at (1, 5)

Step 2: Graph second interval (1 < h ≤ 2)

Horizontal line at C = 8, with open circle at (1, 8) and closed circle at (2, 8)

Step 3: Graph third interval (2 < h ≤ 4)

Horizontal line at C = 10, with open circle at (2, 10) and closed circle at (4, 10)

Step 4: Graph fourth interval (h > 4)

Horizontal line at C = 15, with open circle at (4, 15) extending rightward

Step function with four constant levels
Final answer:

Graph shows a step function with four horizontal segments representing tiered parking fees

Applied rules:

• Step function pattern: Each piece is a horizontal line segment

• Boundary representation: Consistent use of open/closed circles

• Real-world context: Understanding what each step represents

Graphing Piecewise Functions: Comprehensive Guide
\(f(x) = \begin{cases} \text{rule}_1 & \text{if } x \in \text{domain}_1 \\ \text{rule}_2 & \text{if } x \in \text{domain}_2 \\ \vdots & \vdots \end{cases}\)
Piecewise Definition
Key definitions:

Piecewise function: A function defined by multiple sub-functions, each applied to a specific subset of the domain

Domain partition: The collection of non-overlapping intervals that make up the total domain

Boundary point: The point where one piece of the function ends and another begins

Continuity: The property of having no gaps or jumps in the function graph

Step function: A special type of piecewise function where each piece is a constant value

Complete methodology:
  1. Identify pieces: Separate the function into distinct expressions and their domains
  2. Classify each piece: Determine function type (linear, quadratic, etc.)
  3. Plot each piece: Graph each expression over its specified domain
  4. Mark boundaries: Use appropriate open/closed circles at boundary points
  5. Analyze continuity: Check behavior at boundary points
  6. Verify completeness: Ensure all domain intervals are covered
Tip 1: Always write down the domain for each piece before graphing.
Tip 2: Use a number line to visualize domain partitions before plotting.
Tip 3: Remember: open circle for < or >, closed circle for ≤ or ≥.
Tip 4: Check that each domain interval is properly restricted in your graph.
Common errors: Forgetting domain restrictions, using wrong boundary symbols, not checking continuity at boundaries, overlapping pieces in graph.
Exam preparation: Master different function types in each piece, practice boundary symbol usage, understand continuity concepts.
Essential rules and formulas:

• Each x-value belongs to exactly one domain interval

• Domain: Union of all individual intervals

• Boundary symbols: Open circle for < or >, closed circle for ≤ or ≥

• Continuity at \(x = a\): \(\lim_{x \to a^-} f(x) = \lim_{x \to a^+} f(x) = f(a)\)

• Each piece is graphed only over its specified domain

Graphing Piecewise Functions: Complete Summary

📊
Core Concepts

Definition: A function that uses different formulas for different parts of its domain.

Graphing: Each piece is plotted separately over its specific domain interval.

Boundary Symbols: Open circles for strict inequalities, closed circles for inclusive bounds.

Example: \(f(x) = \begin{cases} x+1 & \text{if } x < 0 \\ x^2 & \text{if } x \geq 0 \end{cases}\)
Graphing Process

Step 1: Identify each piece and its domain interval

Step 2: Graph each piece separately

Step 3: Use proper boundary symbols (open/closed circles)

Step 4: Verify domain restrictions are followed

Symbol Rules

Closed Circle (●): Use for ≤ or ≥ (value included in domain)

Open Circle (○): Use for < or > (value excluded from domain)

Domain Restriction: Each piece only exists over its specified interval

Continuity: Check if left and right limits match at boundaries

Key Examples

Linear-Piece: \(f(x) = \begin{cases} -x & \text{if } x < 0 \\ x & \text{if } x \geq 0 \end{cases}\)

Quadratic-Linear: \(g(x) = \begin{cases} x^2 & \text{if } x \leq 1 \\ 2x & \text{if } x > 1 \end{cases}\)

Step Function: \(h(x) = \begin{cases} 1 & \text{if } x < 0 \\ 2 & \text{if } x \geq 0 \end{cases}\)

Common Mistakes

Error 1: Graphing a piece beyond its specified domain

Error 2: Using wrong boundary symbols (≤ vs <)

Error 3: Forgetting to restrict each piece to its domain

Error 4: Not checking continuity at boundaries

Memory Aids

"Domain First": Always identify domain intervals before graphing

"Open/Closed Rule": Inclusive = Closed circle, Exclusive = Open circle

"Piece at a Time": Focus on one piece before moving to the next

"Check Restrictions": Verify each piece is only graphed over its domain

Graphing Workflow
1
Identify Pieces
2
Classify Types
3
Graph Each
4
Mark Boundaries
5
Verify
Visualization Tip
Sketch domain intervals on a number line first to organize your graphing approach
Master the boundary symbol rules - this is crucial for accurate graphs!

Questions & Answers

Question: How do I know whether to use an open circle or closed circle at a boundary point when graphing piecewise functions?

Answer: The circle type depends on the inequality symbol in the condition:

  • Closed circle (●): Use for ≤ and ≥ (the boundary value IS included in the domain)
  • Open circle (○): Use for < and > (the boundary value is NOT included in the domain)

For example, if you have a piece defined as "if x ≤ 2", put a closed circle at x = 2. If it's "if x < 2", put an open circle at x = 2.

Remember that exactly one piece should include each boundary value to maintain the function property (one input, one output).

Question: What happens if I accidentally graph a piece beyond its specified domain? How do I fix this?

Answer: This is a very common mistake! Each piece of a piecewise function should only be graphed over its specified domain interval.

To fix this:

  • Go back and identify the exact domain for each piece
  • Erase any part of the graph that extends beyond the specified domain
  • Make sure each piece is properly bounded by the correct boundary symbols

Before graphing, it helps to write down each piece with its domain restriction, like "First piece: y = 2x + 1, domain: x < 3". This keeps you organized.

Question: How do I determine if a piecewise function is continuous at a boundary point?

Answer: A piecewise function is continuous at a boundary point if three conditions are met:

  1. The function is defined at the boundary point
  2. The left-hand limit exists (approaching from the left piece)
  3. The right-hand limit exists (approaching from the right piece)
  4. All three values are equal: f(a) = lim(x→a⁻)f(x) = lim(x→a⁺)f(x)

For example, at x = a where two pieces meet, calculate the y-value of the piece that includes x = a, then check what the adjacent piece approaches as x gets close to a. If these values match, the function is continuous at that point.