Piecewise function: A function defined by different expressions for different intervals of the domain. Each piece applies to a specific range of input values.
- Identify the critical point where the expression inside absolute value equals zero
- Define the function for values less than the critical point
- Define the function for values greater than or equal to the critical point
- Write the piecewise function using bracket notation
For |x|, the expression inside absolute value is x
x = 0 when x = 0
When x < 0, |x| = -x
Example: |−3| = -(-3) = 3
When x ≥ 0, |x| = x
Example: |5| = 5
f(x) = { -x, if x < 0
{ x, if x ≥ 0
Since -3 < 0, use f(x) = -x
f(-3) = -(-3) = 3
Since 5 ≥ 0, use f(x) = x
f(5) = 5
The piecewise function is f(x) = {-x if x < 0, x if x ≥ 0}. Evaluations: f(-3) = 3 and f(5) = 5.
• Absolute value definition: |x| = -x when x < 0, |x| = x when x ≥ 0
• Critical point: Point where the expression inside absolute value equals zero
• Domain partitioning: Divide domain based on critical point
Shifted absolute value: A function of the form |x - h| represents an absolute value function shifted horizontally by h units. The vertex moves from (0, 0) to (h, 0).
Set x - 2 = 0
x = 2
When x < 2, x - 2 < 0, so |x - 2| = -(x - 2) = -x + 2
When x ≥ 2, x - 2 ≥ 0, so |x - 2| = x - 2
f(x) = { -x + 2, if x < 2
{ x - 2, if x ≥ 2
Since 0 < 2, use f(x) = -x + 2
f(0) = -0 + 2 = 2
Since 4 ≥ 2, use f(x) = x - 2
f(4) = 4 - 2 = 2
The piecewise function is f(x) = {-x + 2 if x < 2, x - 2 if x ≥ 2}. Evaluations: f(0) = 2 and f(4) = 2.
• Shift identification: |x - h| has critical point at x = h
• Sign determination: Check sign of expression inside absolute value
• Expression evaluation: |x - h| = -(x - h) when x < h, |x - h| = x - h when x ≥ h
Multiple absolute values: A function containing multiple absolute value expressions requires identifying all critical points and analyzing the sign of each expression in different intervals.
For |x + 1|: x + 1 = 0 → x = -1
For |x - 3|: x - 3 = 0 → x = 3
Three intervals: x < -1, -1 ≤ x < 3, x ≥ 3
When x < -1: x + 1 < 0 and x - 3 < 0
|x + 1| = -(x + 1) = -x - 1
|x - 3| = -(x - 3) = -x + 3
f(x) = (-x - 1) + (-x + 3) = -2x + 2
When -1 ≤ x < 3: x + 1 ≥ 0 and x - 3 < 0
|x + 1| = x + 1
|x - 3| = -(x - 3) = -x + 3
f(x) = (x + 1) + (-x + 3) = 4
When x ≥ 3: x + 1 > 0 and x - 3 ≥ 0
|x + 1| = x + 1
|x - 3| = x - 3
f(x) = (x + 1) + (x - 3) = 2x - 2
f(x) = { -2x + 2, if x < -1
{ 4, if -1 ≤ x < 3
{ 2x - 2, if x ≥ 3
The piecewise function is f(x) = {-2x + 2 if x < -1, 4 if -1 ≤ x < 3, 2x - 2 if x ≥ 3}.
• Multiple critical points: Each absolute value expression contributes a critical point
• Interval analysis: Determine sign of each expression in each interval
• Combination: Sum results from each absolute value expression
Piecewise function: A function defined by different expressions over different intervals of the domain.
Critical point: The value of x where the expression inside the absolute value equals zero. This is where the behavior of the absolute value changes.
Domain partitioning: Dividing the domain into intervals based on critical points to define the piecewise function.
Sign analysis: Determining whether the expression inside the absolute value is positive or negative in each interval.
Continuity: Piecewise functions may or may not be continuous at the boundaries between pieces.
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 all critical points: Set expressions inside absolute values to zero
- Order critical points: Arrange from smallest to largest
- Define intervals: Create intervals based on critical points
- Analyze each interval: Determine sign of each expression in each interval
- Define function pieces: Apply absolute value definition in each interval
- Combine pieces: Write complete piecewise function
- Verify continuity: Check if function is continuous at boundaries
Hybrid piecewise function: A function that combines different types of expressions, including absolute values, in different intervals of the domain.
For x < 0: f(x) = 2x + 1 (already simplified)
Within x ≥ 0, we need to consider |x - 1|:
Critical point: x - 1 = 0 → x = 1
For 0 ≤ x < 1: x - 1 < 0, so |x - 1| = -(x - 1) = -x + 1
For x ≥ 1: x - 1 ≥ 0, so |x - 1| = x - 1
f(x) = { 2x + 1, if x < 0
{ -x + 1, if 0 ≤ x < 1
{ x - 1, if x ≥ 1
Since -2 < 0, use f(x) = 2x + 1
f(-2) = 2(-2) + 1 = -4 + 1 = -3
Since 0 ≤ 0 < 1, use f(x) = -x + 1
f(0) = -0 + 1 = 1
Since 3 ≥ 1, use f(x) = x - 1
f(3) = 3 - 1 = 2
The expanded piecewise function is f(x) = {2x + 1 if x < 0, -x + 1 if 0 ≤ x < 1, x - 1 if x ≥ 1}. Evaluations: f(-2) = -3, f(0) = 1, f(3) = 2.
• Subdivision: Break down complex pieces into simpler intervals
• Domain restriction: Consider the original domain constraints
• Sequential analysis: Work from outermost to innermost expressions
Application piecewise function: A function that models real-world scenarios with different rates, prices, or behaviors in different intervals.
0 ≤ x ≤ 5: First 5 miles (inclusive)
x > 5: Additional miles beyond 5
Cost = $2 per mile × x miles = 2x
First 5 miles: $2 × 5 = $10
Additional miles: (x - 5) miles at $1.50 per mile = 1.5(x - 5)
Total: 10 + 1.5(x - 5) = 10 + 1.5x - 7.5 = 1.5x + 2.5
C(x) = { 2x, if 0 ≤ x ≤ 5
{ 1.5x + 2.5, if x > 5
At x = 5: 2(5) = 10 and 1.5(5) + 2.5 = 7.5 + 2.5 = 10 ✓
For 3 miles: C(3) = 2(3) = $6
For 7 miles: C(7) = 1.5(7) + 2.5 = $13
The cost function is C(x) = {2x if 0 ≤ x ≤ 5, 1.5x + 2.5 if x > 5}.
• Rate changes: Different pricing tiers create piecewise functions
• Accumulated cost: Previous tier costs plus current tier costs
• Continuity check: Verify function values match at transition points
Piecewise function: A function defined by different expressions for different intervals of the domain. Each piece applies to a specific subset of the domain.
Critical point: The value of x where the expression inside an absolute value equals zero. This determines where the function behavior changes.
Domain partitioning: The process of dividing the domain into intervals based on critical points to define the piecewise function.
Sign analysis: Determining the sign of expressions inside absolute values in different intervals to properly remove absolute value notation.
Continuity: A function is continuous if there are no jumps or breaks in its graph. Piecewise functions may be continuous or discontinuous at boundary points.
Interval notation: A way to represent subsets of real numbers using inequalities, parentheses, and brackets.
Function evaluation: Determining the output value by identifying which piece of the function applies to the given input.
- Identify all absolute value expressions: Locate each |expression| in the function
- Find critical points: Set each expression inside absolute values to zero and solve for x
- Order critical points: Arrange critical points from smallest to largest
- Create intervals: Define intervals based on critical points (including infinity if needed)
- Perform sign analysis: Determine the sign of each expression in each interval
- Remove absolute values: Apply |x| = -x if x < 0, |x| = x if x ≥ 0 in each interval
- Combine expressions: Simplify the function in each interval
- Write piecewise function: Express the function using bracket notation
- Verify continuity: Check if the function is continuous at boundary points
• Absolute value definition: |x| = -x when x < 0, |x| = x when x ≥ 0
• Critical point rule: For |x - a|, critical point is x = a
• Sign determination: Check expression sign in each interval
• Interval creation: Use critical points to divide the domain
• Boundary inclusion: Use consistent inequality symbols at transition points