Piecewise function: A function defined by different expressions over different intervals of the domain
Domain restriction: Each expression applies only to a specific subset of the domain
- Determine which interval the input value belongs to
- Select the appropriate function expression for that interval
- Substitute the input value into the selected expression
- Calculate the result
Since -3 < 0, we use the first expression: f(x) = 2x + 1
f(-3) = 2(-3) + 1 = -6 + 1 = -5
Since 2 ≥ 0, we use the second expression: f(x) = x²
f(2) = (2)² = 4
For f(-3) = -5: Since -3 < 0, using 2x + 1 gives 2(-3) + 1 = -5 ✓
For f(2) = 4: Since 2 ≥ 0, using x² gives (2)² = 4 ✓
f(-3) = -5 and f(2) = 4
• Domain identification: Check which interval contains the input value
• Function selection: Use the expression that corresponds to the identified interval
• Substitution: Replace x with the input value in the selected expression
Multi-piece function: A piecewise function with more than two pieces, each defined over a specific interval
Interval notation: Using inequalities to specify the domain for each piece
Since -2 < -1, we use the first expression: g(x) = -x
g(-2) = -(-2) = 2
Since -1 ≤ 0 < 3, we use the second expression: g(x) = 2
g(0) = 2
Since 4 ≥ 3, we use the third expression: g(x) = x + 1
g(4) = 4 + 1 = 5
For g(-2) = 2: Since -2 < -1, using -x gives -(-2) = 2 ✓
For g(0) = 2: Since -1 ≤ 0 < 3, using 2 gives 2 ✓
For g(4) = 5: Since 4 ≥ 3, using x + 1 gives 4 + 1 = 5 ✓
g(-2) = 2, g(0) = 2, g(4) = 5
• Three-part evaluation: Check each interval condition sequentially
• Boundary conditions: Pay attention to ≤ and < symbols
• Constant function piece: When f(x) = constant, output is always that constant
Quadratic piecewise function: A piecewise function that includes polynomial expressions of degree 2
Boundary point: The point where the function changes its definition (x = 1 in this case)
Since -1 ≤ 1, we use the first expression: h(x) = x² + 1
h(-1) = (-1)² + 1 = 1 + 1 = 2
Since 1 ≤ 1 (boundary point), we use the first expression: h(x) = x² + 1
h(1) = (1)² + 1 = 1 + 1 = 2
Since 2 > 1, we use the second expression: h(x) = 3x - 2
h(2) = 3(2) - 2 = 6 - 2 = 4
For h(-1) = 2: Since -1 ≤ 1, using x² + 1 gives (-1)² + 1 = 2 ✓
For h(1) = 2: Since 1 ≤ 1, using x² + 1 gives (1)² + 1 = 2 ✓
For h(2) = 4: Since 2 > 1, using 3x - 2 gives 3(2) - 2 = 4 ✓
h(-1) = 2, h(1) = 2, h(2) = 4
• Boundary inclusion: Points on the boundary belong to the interval with ≤ or ≥
• Quadratic evaluation: Square the input value before adding constants
• Linear evaluation: Multiply by coefficient before adding constants
Piecewise function: A function defined by different expressions over different intervals of the domain
Domain partition: The way the domain is divided into non-overlapping intervals
Boundary point: The point where the function changes its definition
Discontinuity: A point where the function has a jump or break
Continuity: A function is continuous if there are no jumps or breaks
- Identify intervals: List all the conditions and corresponding expressions
- Locate input: Determine which interval contains the input value
- Select expression: Choose the function expression for that interval
- Evaluate: Substitute the input value into the selected expression
- Verify: Check that the input value satisfies the condition
- Present result: State the final answer clearly
• Each input maps to exactly one output
• Domain intervals should not overlap
• Boundary points belong to the interval with ≤ or ≥
• The union of all domains covers the function's entire domain
• Check continuity at boundary points if needed
Complex piecewise function: A function combining different types of expressions (polynomial, linear, radical)
Radical function: A function containing roots, defined only for non-negative inputs
Since -3 < -2, we use the first expression: k(x) = x³
k(-3) = (-3)³ = -27
Since -2 ≤ -2 < 1, we use the second expression: k(x) = 2x + 1
k(-2) = 2(-2) + 1 = -4 + 1 = -3
Since -2 ≤ 0 < 1, we use the second expression: k(x) = 2x + 1
k(0) = 2(0) + 1 = 1
Since 4 ≥ 1, we use the third expression: k(x) = √x
k(4) = √4 = 2
For k(-3) = -27: Since -3 < -2, using x³ gives (-3)³ = -27 ✓
For k(-2) = -3: Since -2 ≤ -2 < 1, using 2x + 1 gives 2(-2) + 1 = -3 ✓
For k(0) = 1: Since -2 ≤ 0 < 1, using 2x + 1 gives 2(0) + 1 = 1 ✓
For k(4) = 2: Since 4 ≥ 1, using √x gives √4 = 2 ✓
k(-3) = -27, k(-2) = -3, k(0) = 1, k(4) = 2
• Cubic evaluation: Cube the input value
• Linear evaluation: Multiply by coefficient then add constant
• Radical evaluation: Take the square root of the input value
Absolute value in piecewise: When absolute value appears within a piecewise function
Compound function: A function that combines multiple operations within a single piece
Since -4 ≤ 0, we use the first expression: m(x) = |x| + 2
m(-4) = |-4| + 2 = 4 + 2 = 6
Since 0 ≤ 0, we use the first expression: m(x) = |x| + 2
m(0) = |0| + 2 = 0 + 2 = 2
Since 3 > 0, we use the second expression: m(x) = x² - 1
m(3) = (3)² - 1 = 9 - 1 = 8
For x ≤ 0: m(x) = |x| + 2 = -x + 2 (since x ≤ 0, |x| = -x)
For x > 0: m(x) = x² - 1
For m(-4) = 6: Since -4 ≤ 0, using |x| + 2 gives |-4| + 2 = 6 ✓
For m(0) = 2: Since 0 ≤ 0, using |x| + 2 gives |0| + 2 = 2 ✓
For m(3) = 8: Since 3 > 0, using x² - 1 gives (3)² - 1 = 8 ✓
m(-4) = 6, m(0) = 2, m(3) = 8
• Absolute value property: For x ≤ 0, |x| = -x
• Quadratic evaluation: Square the input value before subtracting
• Function composition: Apply operations in the correct order
Piecewise function: A function defined by different expressions over different intervals of the domain
Domain partition: The division of the function's domain into non-overlapping intervals
Boundary point: The point where the function changes its definition (where one interval ends and another begins)
Continuity: A function is continuous at a point if the limit from both sides equals the function value
Discontinuity: A point where the function has a jump, break, or undefined behavior
Function evaluation: The process of finding the output value for a given input in a piecewise function
- Read the function: Identify all pieces and their corresponding conditions
- Locate the input: Determine which interval contains the input value
- Check boundary conditions: Pay attention to ≤ vs < symbols for boundary points
- Select appropriate expression: Choose the function expression for the identified interval
- Evaluate the expression: Substitute the input value and calculate
- Verify the result: Ensure the input satisfies the condition for the chosen expression
- State the answer: Present the final result clearly
• Each input maps to exactly one output value
• Domain intervals should be mutually exclusive and collectively exhaustive
• Boundary points belong to the interval with ≤ or ≥ (not < or >)
• The union of all domain intervals covers the function's entire domain
• |x| = x when x ≥ 0 and |x| = -x when x < 0
• √x is defined only for x ≥ 0
Questions & Answers
Question: I'm confused about how to handle boundary points in piecewise functions. How do I know which expression to use when x equals the boundary value?
Answer: The key is to look at the inequality symbols in the conditions:
- When you see ≤ or ≥, the boundary point IS included in that interval
- When you see < or >, the boundary point is NOT included in that interval
Example: f(x) = {x² if x ≤ 1, 2x if x > 1}
- For x = 1: Since 1 ≤ 1 is true, use f(x) = x², so f(1) = 1² = 1
- For x = 1.5: Since 1.5 > 1 is true, use f(x) = 2x, so f(1.5) = 3
The boundary point (x = 1) belongs to the first interval because of the ≤ symbol.
Question: Can a piecewise function have overlapping intervals? What happens if there's ambiguity?
Answer: A properly defined piecewise function should NOT have overlapping intervals, as this would violate the definition of a function (one input maps to exactly one output).
However, adjacent intervals can share boundary points, and the convention is:
- Boundary points belong to the interval that uses ≤ or ≥
- Intervals using < or > do not include the boundary point
Example of proper definition:
f(x) = {x² if x ≤ 2, 3x - 2 if x > 2}
Here, x = 2 belongs to the first interval, not the second.
If intervals truly overlapped, the relation would not be a function.
Question: When I see |x| in a piecewise function, how do I handle it?
Answer: Remember that absolute value is itself a piecewise function:
|x| = {x if x ≥ 0, -x if x < 0}
When |x| appears in a piecewise function, you can think of it as:
- For non-negative inputs: |x| = x
- For negative inputs: |x| = -x (which makes it positive)
Example: If f(x) = |x| + 2 when x ≤ 0
- For x ≤ 0, since x is negative or zero, |x| = -x
- So f(x) = -x + 2 when x ≤ 0
Always consider the sign of x in the given interval when working with absolute values.