Piecewise Functions and Absolute Value Functions

Foundations of Inequality and Interval Notation

  • Number Line and Interval Notation Conventions:

    • Understanding inequalities is essential for establishing the domain conditions of piecewise functions and analyzing absolute value expressions.
    • Strict inequalities (<< or >>) correspond to open circles on a number line and parentheses ((( or ))) in interval notation, indicating that the boundary endpoint is excluded.
    • Inclusive inequalities (≤\le or ≥\ge) correspond to closed circles on a number line and square brackets ([[ or ]]) in interval notation, indicating that the boundary endpoint is included.
  • Standard Inequality Examples:

    • Unbounded Below (x<8x < 8):
    • Graphical Representation: Placed with an open circle at the boundary coordinate 88 and shaded continuously all the way to the left towards negative infinity.
    • Interval Notation: Expressed as (−∞,8)(-\infty, 8).
    • Unbounded Above (x≥3x \ge 3):
    • Graphical Representation: Placed with a closed circle at 33 and shaded continuously to the right towards positive infinity.
    • Interval Notation: Expressed as [3,∞)[3, \infty).
    • Bounded Closed Interval (−4≤x≤4-4 \le x \le 4):
    • Graphical Representation: Placed with closed circles at both boundary endpoints −4-4 and 44, with shading encompassing all intermediate real numbers between −4-4 and 44.
    • Interval Notation: Expressed as [−4,4][-4, 4].
    • Bounded Half-Open Interval (−10<x≤−5-10 < x \le -5):
    • Graphical Representation: Placed with an open circle at −10-10 and a closed circle at −5-5, with shading spanning the space between −10-10 and −5-5.
    • Interval Notation: Expressed as (−10,−5](-10, -5].

Introduction to Piecewise Functions

  • Formal Concept of a Piecewise Function:
    • A piecewise function is a single function composed of two or more sub-functions (pieces or segments) that apply to distinct, non-overlapping intervals of the independent variable xx.
    • Rather than forming a single, continuous straight line across the entire domain, a piecewise function displays distinct curves or linear segments partitioned at specific domain boundaries.
    • It is written using a single function name, such as f(x)f(x), followed by a left grouping brace that lists each sub-equation paired with an explicit domain condition (rule or "if statement") dictating the allowable xx-values for that equation.

Graphing Two-Piece Functions and Boundary Analysis

  • Specification of Example 1:

    • The function consists of two linear rules:
    • y=x+2y = x + 2 for the domain condition x<0x < 0
    • y=−xy = -x for the domain condition x≥0x \ge 0
  • Table Construction via Domain Chunking:

    • The coordinate table must be partitioned into two distinct chunks separated by a boundary line at x=0x = 0 to track which equation governs each xx-value:
    • Values satisfying x<0x < 0 (evaluated using y=x+2y = x + 2):
      • For x=−3x = -3: y=−3+2=−1y = -3 + 2 = -1, yielding the coordinate (−3,−1)(-3, -1).
      • For x=−2x = -2: y=−2+2=0y = -2 + 2 = 0, yielding the coordinate (−2,0)(-2, 0).
      • For x=−1x = -1: y=−1+2=1y = -1 + 2 = 1, yielding the coordinate (−1,1)(-1, 1).
    • Values satisfying x≥0x \ge 0 (evaluated using y=−xy = -x):
      • For x=0x = 0: y=−(0)=0y = -(0) = 0, yielding the coordinate (0,0)(0, 0).
      • For x=1x = 1: y=−(1)=−1y = -(1) = -1, yielding the coordinate (1,−1)(1, -1).
      • For x=2x = 2: y=−(2)=−2y = -(2) = -2, yielding the coordinate (2,−2)(2, -2).
      • For x=3x = 3: y=−(3)=−3y = -(3) = -3, yielding the coordinate (3,−3)(3, -3).
  • Plotting and Dot Connection Rules:

    • Points may only be connected to adjacent points if they originated from the exact same sub-equation.
    • Points (−3,−1)(-3, -1), (−2,0)(-2, 0), and (−1,1)(-1, 1) are connected together with a line extending leftward.
    • Points (0,0)(0, 0), (1,−1)(1, -1), (2,−2)(2, -2), and (3,−3)(3, -3) are connected together with a line extending rightward.
    • Points separated by the equation partition must never be directly connected together without analyzing boundary behavior.
  • Determining Boundary Coordinates ("Fake Points" and Open Circles):

    • While the condition x<0x < 0 strictly excludes x=0x = 0, the graph must account for all real numbers infinitely close to 00 (including rational and decimal values such as −1/2-1/2, −1/3-1/3, and −1/5-1/5).
    • To locate where the open circle terminates, evaluate the first equation at the boundary value as if the rule could be temporarily broken:
    • Substituting x=0x = 0 into y=x+2y = x + 2 yields y=2y = 2.
    • This creates a "fake point" at (0,2)(0, 2), plotted as an open circle on the yy-axis.
    • The segment connecting (−3,−1)(-3, -1), (−2,0)(-2, 0), and (−1,1)(-1, 1) extends continuously up to the open circle at (0,2)(0, 2), terminated with an arrow on the left side indicating that the linear pattern extends for smaller inputs like −4-4 and −5-5.
    • For y=−xy = -x, the condition x≥0x \ge 0 includes the boundary endpoint; therefore, a solid, closed circle is plotted at (0,0)(0, 0), and an arrow is placed on the right extending through (3,−3)(3, -3) for larger values like 44, 55, and 66.
  • Domain and Range of Example 1:

    • Domain: Combining the sub-domains (−∞,0)(-\infty, 0) and [0,∞)[0, \infty) fills the entire number line with no excluded xx-values. The domain is (−∞,∞)(-\infty, \infty).
    • Range: Tracing the vertical span from bottom to top, the graph continues downward indefinitely toward negative infinity. The maximum height reached is at the open circle at y=2y = 2. Because 22 is excluded by the open circle, the range is (−∞,2)(-\infty, 2).

Graphing Multi-Piece Functions with Domain Discontinuities

  • Specification of Example 2 (Three-Piece Function):

    • The function is defined by three rules:
    • y=xy = x if x<−2x < -2
    • y=5y = 5 if −2≤x<4-2 \le x < 4
    • y=−xy = -x if x>4x > 4
  • Coordinate Table Generation:

    • A minimum of two to three representative xx-values should be selected per segment to establish graph behavior:
    • Segment 1 (x<−2x < -2, using y=xy = x):
      • For x=−5x = -5: y=−5y = -5, producing (−5,−5)(-5, -5).
      • For x=−4x = -4: y=−4y = -4, producing (−4,−4)(-4, -4).
      • For x=−3x = -3: y=−3y = -3, producing (−3,−3)(-3, -3).
    • Segment 2 (−2≤x<4-2 \le x < 4, using y=5y = 5):
      • For x=−2x = -2: The condition −2≤x<4-2 \le x < 4 is satisfied. Since yy is a constant function, y=5y = 5, producing (−2,5)(-2, 5).
      • For intermediate integer values such as x=0x = 0 (or 1,2,31, 2, 3): y=5y = 5, producing (0,5)(0, 5), (1,5)(1, 5), (2,5)(2, 5), and (3,5)(3, 5).
    • Discontinuity at Boundary x=4x = 4:
      • Evaluating x=4x = 4 against the conditions reveals that x=4x = 4 does not satisfy −2≤x<4-2 \le x < 4 and does not satisfy x>4x > 4.
      • The function is completely undefined (does not exist) at x=4x = 4. This omission creates an empty space in the domain.
    • Segment 3 (x>4x > 4, using y=−xy = -x):
      • For x=5x = 5: y=−(5)=−5y = -(5) = -5, producing (5,−5)(5, -5).
      • For x=6x = 6: y=−(6)=−6y = -(6) = -6, producing (6,−6)(6, -6).
  • Plotting, Connecting, and Boundary Identification:

    • First Piece (x<−2x < -2):
    • Connecting (−5,−5)(-5, -5), (−4,−4)(-4, -4), and (−3,−3)(-3, -3).
    • Determining boundary endpoint: Evaluating x=−2x = -2 in y=xy = x gives y=−2y = -2.
    • An open circle is placed at the fake point (−2,−2)(-2, -2), connected back to the points with an arrow extending down and to the left.
    • Second Piece (−2≤x<4-2 \le x < 4):
    • Boundary at x=−2x = -2: Because of the inclusive inequality ≤\le, a solid, closed circle is plotted at (−2,5)(-2, 5).
    • Boundary at x=4x = 4: Evaluating the constant function at the excluded boundary x=4x = 4 yields y=5y = 5.
    • An open circle is placed at the fake point (4,5)(4, 5).
    • Connecting (−2,5)(-2, 5) to (4,5)(4, 5) produces a horizontal line segment.
    • Third Piece (x>4x > 4):
    • Boundary at x=4x = 4: Evaluating x=4x = 4 in y=−xy = -x yields y=−4y = -4.
    • An open circle is placed at the fake point (4,−4)(4, -4).
    • Connecting this open circle through points (5,−5)(5, -5) and (6,−6)(6, -6) produces a ray with an arrow pointing downward and to the right.

Conceptual Definition and Properties of Absolute Value

  • Geometric and Algebraic Definitions:

    • Absolute value, notated with two vertical bars ∣x∣|x|, represents the geometric distance a real number is from zero on a one-dimensional number line.
    • Operationally, absolute value forces any real number to become non-negative (either zero or positive):
    • ∣−4∣=4|-4| = 4 because −4-4 is four spatial units away from zero.
    • ∣4∣=4|4| = 4 because 44 is four spatial units away from zero.
    • Absolute value does not merely switch signs; it ensures the resulting output magnitude is never negative.
  • Placement of Negative Signs Relative to Absolute Value Bars:

    • Negative Sign Outside the Bars (−∣x∣-|x|):
    • A leading negative sign denotes multiplication by −1-1 (−1×∣x∣-1 \times |x|) executed after taking the absolute value.
    • For −∣4∣-|4|: Evaluating the operation gives −1×4=−4-1 \times 4 = -4.
    • Negative Signs Both Inside and Outside (−∣−x∣-|-x|):
    • In the expression −∣−4∣-|-4|: The inner absolute value is evaluated first, converting −4-4 into positive 44.
    • Multiplying the positive magnitude by the outer factor yields −1×4=−4-1 \times 4 = -4.

Solving Absolute Value Equations and Inequalities

  • Distance-Based Equation Solving:

    • Standard Equation (∣x∣=5|x| = 5):
    • Geometrically asks which values of xx lie exactly 55 units away from 00.
    • Moving 55 units to the right gives x=5x = 5; moving 55 units to the left gives x=−5x = -5.
    • Thus, the solution set consists of two discrete values: x=5x = 5 and x=−5x = -5.
    • Linear Expression Inside the Bars (∣x+1∣=5|x + 1| = 5):
    • The total inner expression must equal a quantity that is 55 units from zero.
    • This creates two distinct equations to solve independently:
      • Positive Case: x+1=5  ⟹  x=5−1  ⟹  x=4x + 1 = 5 \implies x = 5 - 1 \implies x = 4
      • Negative Case: x+1=−5  ⟹  x=−5−1  ⟹  x=−6x + 1 = -5 \implies x = -5 - 1 \implies x = -6
    • Both x=4x = 4 and x=−6x = -6 are required solutions.
  • Distance-Based Inequality Solving (∣x∣<3|x| < 3):

    • Geometrically represents all numbers whose distance from zero is strictly less than 33 units.
    • Starting at 00, traveling less than 33 units in the positive direction encompasses values between 00 and 33.
    • Traveling less than 33 units in the negative direction encompasses values between −3-3 and 00.
    • Combining these conditions yields the bounded region between −3-3 and 33.
    • Because the inequality is strict, open circles are placed at −3-3 and 33.
    • In interval notation, the solution is (−3,3)(-3, 3).

Graphical Representation and Piecewise Formulation of Absolute Value Functions

  • Parent Absolute Value Function Graph (f(x)=∣x∣f(x) = |x|):

    • Tabulating ordered pairs:
    • For x=−3x = -3: y=∣−3∣=3  ⟹  (−3,3)y = |-3| = 3 \implies (-3, 3)
    • For x=−2x = -2: y=∣−2∣=2  ⟹  (−2,2)y = |-2| = 2 \implies (-2, 2)
    • For x=−1x = -1: y=∣−1∣=1  ⟹  (−1,1)y = |-1| = 1 \implies (-1, 1)
    • For x=0x = 0: y=∣0∣=0  ⟹  (0,0)y = |0| = 0 \implies (0, 0)
    • For x=1x = 1: y=∣1∣=1  ⟹  (1,1)y = |1| = 1 \implies (1, 1)
    • For x=2x = 2: y=∣2∣=2  ⟹  (2,2)y = |2| = 2 \implies (2, 2)
    • For x=3x = 3: y=∣3∣=3  ⟹  (3,3)y = |3| = 3 \implies (3, 3)
    • Geometric Shape: Absolute value graphs form a characteristic "V" shape consisting of two linear rays that join at a common vertex (0,0)(0, 0).
    • Variations of absolute value graphs may have steeper or flatter slopes depending on scaling, or may be oriented upside down if reflected.
  • Expressing Absolute Value as a Piecewise Function:

    • An absolute value function is a special piecewise function where the two linear branches meet at the vertex without an open circle gap.
    • Every line requires a slope (mm) and a point or yy-intercept (bb):
    • Left Line (x<0x < 0): Moving from left to right, the line goes down one unit for every one unit right, giving slope m=−1m = -1. The yy-intercept is b=0b = 0. The equation is y=−1x+0y = -1x + 0 or y=−xy = -x.
    • Right Line (x≥0x \ge 0): Moving from left to right, the line rises one unit for every one unit right, giving slope m=1m = 1. The yy-intercept is b=0b = 0. The equation is y=1x+0y = 1x + 0 or y=xy = x.
    • The boundary partition occurs at x=0x = 0. Exactly one of the two inequalities must include the "or equal to" symbol to ensure the vertex is defined without duplication:
    • f(x)={−xif x<0xif x≥0f(x) = \begin{cases} -x & \text{if } x < 0 \\ x & \text{if } x \ge 0 \end{cases}
    • Alternatively, assigning the equality to the top branch yields the equivalent piecewise definition:
    • f(x)={−xif x≤0xif x>0f(x) = \begin{cases} -x & \text{if } x \le 0 \\ x & \text{if } x > 0 \end{cases}

Graphical Solutions to Absolute Value Equations and Inequalities

  • Solving ∣x∣=5|x| = 5 via Horizontal Intersection:

    • Reformulating the problem: Determine the inputs xx where the output of the function equals 55 (f(x)=5f(x) = 5).
    • Construct a horizontal line across the graph at the output level y=5y = 5.
    • Identify the intersection points with the V-shaped graph:
    • The horizontal line intersects the left branch at x=−5x = -5.
    • The horizontal line intersects the right branch at x=5x = 5.
    • The solutions are x=−5x = -5 and x=5x = 5.
  • Solving −∣x∣=3-|x| = 3 with Isolation:

    • Before graphical or algebraic evaluation, the absolute value expression must be isolated by removing any leading coefficient.
    • The expression −∣x∣-|x| represents −1×∣x∣-1 \times |x|. Dividing both sides of the equation by −1-1 yields:
    • ∣x∣=−3|x| = -3
    • Graphical analysis: Setting f(x)=−3f(x) = -3 corresponds to finding where the absolute value function intersects the horizontal line y=−3y = -3.
    • Because the vertex is at (0,0)(0, 0) and the range of f(x)=∣x∣f(x) = |x| is [0,∞)[0, \infty), the graph never enters the negative vertical region.
    • The horizontal line y=−3y = -3 never intersects the graph. Consequently, the equation has no solution (does not exist).
    • Conceptual validation: An absolute value outputs only non-negative numbers (≥0\ge 0). An equation stating that an absolute value equals a negative value represents a contradiction.
  • Solving Inequalities Graphically:

    • Strict Less Than (∣x∣<2|x| < 2):
    • Draw a horizontal reference line at y=2y = 2.
    • Strict inequality denotes open circles at the intersection coordinates (−2,2)(-2, 2) and (2,2)(2, 2).
    • "Less than" specifies the region of the absolute value graph that lies vertically below the horizontal line y=2y = 2.
    • The portion of the graph below the line spans from x=−2x = -2 to x=2x = 2.
    • Excluding the boundary endpoints due to open circles yields the interval (−2,2)(-2, 2).
    • Inclusive Greater Than or Equal To (∣x∣≥4|x| \ge 4):
    • Draw a horizontal reference line at the output level y=4y = 4.
    • The inclusive inequality denotes solid, closed circles at the intersection coordinates (−4,4)(-4, 4) and (4,4)(4, 4).
    • "Greater than or equal to" specifies the portions of the graph that lie vertically above or on the horizontal line y=4y = 4.
    • Two disconnected, outward-facing rays lie above the line:
      • The left ray extends from negative infinity up to x=−4x = -4.
      • The right ray begins at x=4x = 4 and extends toward positive infinity.
    • Using brackets for inclusive endpoints, the combined solution set in interval notation is (−∞,−4]∪[4,∞)(-\infty, -4] \cup [4, \infty).

Questions & Discussion

  • Query on Number Line Representation of x<8x < 8:

    • Question: How should x<8x < 8 be drawn on a number line, and what feature marks the boundary?
    • Answer: An open circle must be placed at 88, and the shading extends continuously to the left toward negative infinity, which corresponds to the interval (−∞,8)(-\infty, 8).
  • Query on Interval Notation for Inclusive Ray x≥3x \ge 3:

    • Question: How is x≥3x \ge 3 represented in interval notation?
    • Answer: It is written with a bracket at 33 extending to positive infinity: [3,∞)[3, \infty).
  • Query on Graphing Bounded Inequalities:

    • Question: What visual elements appear on a number line for −4≤x≤4-4 \le x \le 4 versus −10<x≤−5-10 < x \le -5?
    • Answer: For −4≤x≤4-4 \le x \le 4, closed circles appear at both −4-4 and 44 with shading in between ([−4,4][-4, 4]). For −10<x≤−5-10 < x \le -5, an open circle is placed at −10-10 and a closed circle at −5-5, capturing the values in between ((−10,−5](-10, -5]).
  • Query on Connecting Data Points Across Sub-Equations:

    • Question: When plotting coordinates from a piecewise table, can all plotted points be connected together directly?
    • Answer: No. Points may only be connected together if they originate from the same equation. Connecting across the partition boundary without calculating boundary open/closed circles leads to incorrect graphs.
  • Query on Boundary Endpoint Evaluation for Open Intervals:

    • Question: If the condition specifies x<0x < 0, why is x=0x = 0 plugged into the equation y=x+2y = x + 2?
    • Answer: Although the rule forbids using x=0x = 0, evaluating the equation at x=0x = 0 reveals the precise location where the open circle must be placed ((0,2)(0, 2)). This ensures that all real numbers infinitely close to 00 are included in the graph.
  • Query on Inclusion of Boundaries in Domain and Range:

    • Question: For Example 1, should the value 22 be included with a bracket when stating the range?
    • Answer: No. Because the peak of the graph terminates at an open circle at (0,2)(0, 2), the value 22 is excluded, requiring a parenthesis: (−∞,2)(-\infty, 2).
  • Query on Domain Discontinuities in Multi-Piece Functions:

    • Question: In Example 2, what occurs at x=4x = 4 if the conditions are −2≤x<4-2 \le x < 4 and x>4x > 4?
    • Answer: The input x=4x = 4 is not included in either condition; therefore, the function is undefined at x=4x = 4, creating an open gap in the domain.
  • Query on Alternative Interpretations of Absolute Value:

    • Question: How is absolute value conceptually understood beyond geometric distance?
    • Answer: It is understood as an operation that makes an input positive, or forces it to be no longer negative, ensuring outputs are greater than or equal to zero.
  • Query on Operations Preceding Absolute Value Isolation:

    • Question: What operation is performed first when solving −∣x∣=3-|x| = 3?
    • Answer: The negative sign must be interpreted as multiplication by −1-1. Dividing both sides by −1-1 yields ∣x∣=−3|x| = -3, which reveals that the equation has no solution because an absolute value cannot output a negative number.