Write absolute value as piecewise function calculator

11.5 Absolute Value Functions

An absolute value function involves taking the absolute value of the independent variable. Some examples are y = |2x - 1|
and f(x) = 2 - |x|.

To graph an absolute value function:
1) If the equation is written as f(x), replace f(x) with y.
   Note: If the function is defined explicitly as "y =" or "f(x)," you only need to enter the function's expression.
2) Enter the absolute value expression use the |   | (absolute value) keys and write the argument in parentheses.
3) If the equation is defined implicitly, enter the entire equation as given.
4) Sketch multiple functions on the same coordinate axes by entering one equation per line.

Examples
Sketch the graphs of the following:
1.    y = 2|x – 2| + 5
2.   y = |x + 5| - 2
3.   y = -| - 3

Calculator solutions
Enter each expression using the absolute value key |x| and entering the argument in parentheses.
1) Enter y = 2|x – 2| + 5. It should appear as: "2abs(x - 2) + 5." Hit enter to go to a new line.
2) Enter y = |x + 5| - 2. It should appear as: "abs(x + 5) - 2." Hit enter.
3) Enter y = -| - 3. It should appear as "-abs(x) - 3."

Write absolute value as piecewise function calculator

​To look at each equation separately, enter one equation per workspace.

​1)​ y = 2|x – 2| + 5

Write absolute value as piecewise function calculator

2) ​y = |x + 5| - 2

Write absolute value as piecewise function calculator

3) ​y = -| - 3

Write absolute value as piecewise function calculator

11.14. Piece-wise Functions

piece-wise function is defined as a sequence of intervals and each interval is a subset of the domain of the function. Some examples of piece-wise functions are:

Sketching a piece-wise function means sketching the graphs of several functions with applied domains. Use the following steps in Graph mode:

1) Enter the equation for the first interval.
    The default domain is from -∞ to +∞.
    Change the domain to the equation's given interval.
    Tap the down-arrow on the left of the input field to be able to change the equation's domain.

2) Enter the equation for the second interval.
    Change the default domain based on the given second interval.

3) Use the same procedure for each of the following intervals.

Examples
Sketch the graph of each piece-wise function below.

Solutions
1)  Type x - 5.
    Tap the down-arrow on the left of the input field.
    Keep -∞ as the lower bound but change the upper bound from ∞ to 2.
    Hit the enter key three times.

    Type x^2 + 2.
    Tap the down-arrow on the left of the input field.
    Change the lower bound from -∞ to 2 and keep the upper bound at ∞.
    Hit the enter key three times.

Write absolute value as piecewise function calculator

2)  Enter |2x + 1| by using the absolute value key |x|. It should appear as abs(2x + 1).
    Tap the down-arrow on the left of the input field.
    Change the lower bound from -∞ to 0 and keep the upper bound at ∞.
    Hit the enter key three times.

    Enter (x - 2) ^ 2.
    Tap the down-arrow on the left of the input field.
    Keep the lower bound at -∞ but change the upper bound from ∞ to 0.
    Hit the enter key three times.

Write absolute value as piecewise function calculator

3) Enter 3x + 2.
    Tap the down-arrow on the left of the input field.
    Change the lower bound from -∞ to -1 and keep the upper bound at ∞.
    Hit the enter key three times.

    Plot the point (-1, 3) by typing [-1, 3].
    Hit the enter key.

    Enter x^3 + x - 1.
    Tap the down-arrow on the left of the input field.
    Keep the lower bound at -∞ and change the upper bound from ∞ to -1.
    Hit the enter key three times.

Write absolute value as piecewise function calculator