Piecewise Function: A function defined by different expressions over different intervals of the domain.
Domain Restrictions: Each piece of the function applies only to its specified domain.
- Identify which domain condition applies to the given x-value
- Select the appropriate function piece
- Substitute the x-value into the selected expression
- Calculate the result
Since -2 < 0, use the first piece: f(x) = 2x + 1
f(-2) = 2(-2) + 1 = -4 + 1 = -3
Since 0 ≥ 0, use the second piece: f(x) = x²
f(0) = (0)² = 0
Since 3 ≥ 0, use the second piece: f(x) = x²
f(3) = (3)² = 9
At x = 0: Left piece would give 2(0) + 1 = 1
At x = 0: Right piece gives (0)² = 0
Since the condition is x ≥ 0, f(0) = 0 (from the right piece)
lim(x→0⁻) f(x) = lim(x→0⁻) (2x + 1) = 1
lim(x→0⁺) f(x) = lim(x→0⁺) (x²) = 0
Since left and right limits are different, function is discontinuous at x = 0
f(-2) = -3, f(0) = 0, f(3) = 9.
• Domain Check: Always verify which condition applies to x-value
• Boundary Conditions: Pay attention to ≤ vs < in definitions
• Function Continuity: Discontinuous when left and right limits differ
Absolute Value: The distance of a number from zero on the number line, always non-negative.
Absolute Value Equation: An equation of the form |A| = B where B ≥ 0 has solutions A = B or A = -B.
If |A| = B where B > 0, then A = B or A = -B
So |x - 3| = 5 means: x - 3 = 5 or x - 3 = -5
x - 3 = 5
x = 5 + 3 = 8
x - 3 = -5
x = -5 + 3 = -2
Check x = 8: |8 - 3| = |5| = 5 ✓
Check x = -2: |-2 - 3| = |-5| = 5 ✓
Mark points x = -2 and x = 8 on the number line
These are the points that are exactly 5 units away from x = 3
The solutions to |x - 3| = 5 are x = -2 and x = 8.
• Absolute Value Property: |x| = a → x = a or x = -a (when a > 0)
• Geometric Interpretation: |x - a| = b means x is b units from a
• Verification: Always check solutions in original equation
Step Function: A piecewise function where each piece is a constant value over an interval.
Real-World Constraints: Practical limitations that affect the domain and range of a function.
First hour: $3
Each additional hour: $2 (or fraction thereof)
h > 0 (you can't park for negative hours)
h = 0 is not applicable (no charge for zero time)
If 0 < h ≤ 1, you pay for exactly one hour
C(h) = $3
If h > 1, you pay $3 for first hour + $2 for each additional hour
Additional hours: (h - 1)
Cost: 3 + 2(h - 1) = 3 + 2h - 2 = 2h + 1
C(h) = { 3 if 0 < h ≤ 1, 2h + 1 if h > 1 }
For h = 0.5: C(0.5) = 3 (0 < 0.5 ≤ 1) ✓
For h = 1: C(1) = 3 (0 < 1 ≤ 1) ✓
For h = 2: C(2) = 2(2) + 1 = 5 ✓
For h = 3.5: C(3.5) = 2(3.5) + 1 = 8 ✓
The piecewise function for parking cost is C(h) = { 3 if 0 < h ≤ 1, 2h + 1 if h > 1 }.
• Real-World Modeling: Consider practical constraints and conditions
• Step Functions: Common in pricing structures with tiered rates
• Domain Restrictions: Always consider realistic domain limitations
Absolute Value Inequality: An inequality involving absolute value expressions.
Compound Inequality: An inequality that combines two conditions with "and" or "or".
For |A| < B (where B > 0), the solution is -B < A < B
So |2x - 5| < 3 becomes -3 < 2x - 5 < 3
-3 + 5 < 2x - 5 + 5 < 3 + 5
2 < 2x < 8
2/2 < 2x/2 < 8/2
1 < x < 4
Solution: x ∈ (1, 4)
This means x is between 1 and 4, excluding endpoints
Test x = 2: |2(2) - 5| = |4 - 5| = |-1| = 1 < 3 ✓
Test x = 0 (outside interval): |2(0) - 5| = 5 > 3 ✓
Test x = 5 (outside interval): |2(5) - 5| = 5 > 3 ✓
The solution to |2x - 5| < 3 is (1, 4) in interval notation.
• Absolute Value Inequality: |x| < a → -a < x < a (when a > 0)
• Compound Inequality: Operations applied to all parts
• Interval Notation: Parentheses for strict inequalities
Multi-Piece Function: A function defined by three or more different expressions over different intervals.
Domain: The set of all possible input values.
Range: The set of all possible output values.
For x ≤ -1: f(x) = -x + 2 (linear function)
For -1 < x < 2: f(x) = x² (quadratic function)
For x ≥ 2: f(x) = 4 (constant function)
At x = -1: f(-1) = -(-1) + 2 = 3 (from first piece)
At x = -1: f(-1) = (-1)² = 1 (from second piece, but x = -1 not in (-1,2))
At x = 2: f(2) = (2)² = 4 (from second piece, but x = 2 not in (-1,2))
At x = 2: f(2) = 4 (from third piece)
At x = -1: Use first piece (x ≤ -1 includes x = -1)
So f(-1) = 3, point (-1, 3) is included
At x = 2: Use third piece (x ≥ 2 includes x = 2)
So f(2) = 4, point (2, 4) is included
For x ≤ -1: f(x) = -x + 2, decreasing line passing through (-1, 3)
For -1 < x < 2: f(x) = x², parabola opening upward
For x ≥ 2: f(x) = 4, horizontal line
Domain: All real numbers covered by the pieces: (-∞, ∞)
Range: Combine ranges from each piece:
- First piece: x ≤ -1 → -x + 2 ≥ 3, so range [3, ∞)
- Second piece: -1 < x < 2 → 0 ≤ x² < 4, so range [0, 4)
- Third piece: x ≥ 2 → constant value 4
Combined range: [0, ∞)
The domain is all real numbers (-∞, ∞) and the range is [0, ∞).
• Piecewise Boundaries: Check which condition includes the boundary point
• Domain Union: Combine all intervals where function is defined
• Range Union: Combine all possible output values from all pieces
Piecewise Function: A function defined by different expressions over different intervals of its domain.
Absolute Value: The distance of a number from zero on the number line, denoted |x|.
Domain: The set of all possible input values for which the function is defined.
Range: The set of all possible output values the function can produce.
- Identify the piecewise definition: Note all intervals and corresponding expressions
- Determine which piece applies: Check which condition contains the input value
- Substitute into the correct expression: Use the appropriate function piece
- Evaluate: Calculate the result
- Verify: Check that the input falls within the correct domain
• Absolute Value Property: |x| = a → x = a or x = -a (when a > 0)
• Absolute Value Inequality: |x| < a → -a < x < a; |x| > a → x < -a or x > a
• Piecewise Evaluation: Always check which domain condition applies
• Domain Restrictions: Each piece applies only to its specified interval
\(f_1(x) = |x|\) (Absolute value)
\(f_2(x) = \begin{cases} x & \text{if } x \geq 0 \\ -x & \text{if } x < 0 \end{cases}\) (Piecewise)
\(f_3(x) = x^2\) (Quadratic)
Analysis: The chart shows how different function types exhibit different behaviors.
- Absolute value function: V-shaped with sharp corner at origin
- Piecewise function: Defined differently over intervals
- Quadratic function: Smooth parabolic curve
- Each model is appropriate for different real-world situations