# 2.13: Using the General Absolute Value Equation and the Graphing Calculator

**At Grade**Created by: CK-12

Mrs. Patel assigns the absolute value function \begin{align*}y = -|x + 3| - 2\end{align*}

"This is hard," George laments. "I'm going to need a calculator."

"No, it's not," Sarai counters. "I can tell you what the vertex is without even graphing by hand."

Who is right and what is the vertex?

### Guidance

In the problem set of the previous concept, we were introduced to the general equation of an absolute value function. Let’s formally define it here.

**General Form of an Absolute Value Function:** For any absolute value function, the general form is \begin{align*}y = a|x-h|+k\end{align*}, where \begin{align*}a\end{align*} controls the width of the “V” and \begin{align*}(h, k)\end{align*} is the vertex.

You probably made these connections during the problem set from the previous concept. Now, we will put it all to use together.

#### Example A

Graph \begin{align*}y = |x|\end{align*}, \begin{align*}y = \frac{1}{2}|x|\end{align*}, and \begin{align*}y = 2|x|\end{align*} on the same set of axes. Compare the three functions.

**Solution:** You can make a table for all three of these functions. However, now that we have a better understanding of absolute value functions, let’s use some patterns. First, look at the vertex. Nothing is being added or subtracted, so the vertex for all three will be (0, 0). Second, look at “\begin{align*}a\end{align*}.” For an absolute value function, we can think of a like the slope. Referring back to the definition of the parent graph, each function above can be rewritten as:

\begin{align*}y = \begin{cases}x;x \ge 0\\ -x;x < 0\end{cases} \ \text{(blue)}, \quad y = \begin{cases} \frac{1}{2}x;x \ge 0\\ - \frac{1}{2}x;x < 0\end{cases} \text{(red), and} \ y = \begin{cases} 2x;x \ge 0\\ -2x;x < 0\end{cases} \ \text{(green)}\end{align*}

Comparing the three, we see that if the slope is between 1 and 0, the opening is wider than the parent graph. If the slope, or \begin{align*}a\end{align*}, is greater than 1, then that opening is narrower. The amount of the opening between the two sides of an absolute value function (and other functions) is called the **breadth.**

Now, in addition to drawing a table, we can use the general form of an absolute value equation and the value of \begin{align*}a\end{align*} to find the shape of the \begin{align*}V\end{align*}.

#### Example B

Without making a table, sketch the graph of \begin{align*}y = -|x-6|-2\end{align*}.

**Solution:** First, determine the vertex. From the general form, we know that it will be (6, -2). Notice that the \begin{align*}x-\end{align*}*variable is the opposite sign* of what is in the equation; the \begin{align*}y-\end{align*}variable is the same. That is our starting point. Then, we have a negative sign in front of the absolute value. This means our \begin{align*}V\end{align*} will open down. Finally, there is no \begin{align*}a\end{align*} term, so we can assume it is 1, meaning that the slope of each side of the \begin{align*}V\end{align*} will be 1 and -1.

Lastly, we can use a graphing calculator to help us graph absolute value equations. The directions given here pertain to the TI-83/84 series; however every graphing calculator should be able to graph absolute value functions.

#### Example C

Use a graphing calculator to graph \begin{align*}y = |4x+1|-2\end{align*}. Find the vertex, domain, and range.

**Solution:** *For the TI-83/84*

1. Press the \begin{align*}Y=\end{align*} button.

2. Clear any previous functions (press CLEAR) and turn off any previous plots (arrow up to Plot 1 and press ENTER).

3. Press the MATH button, arrow over to NUM and highlight **1:abs**(. Press ENTER.

4. Type in the remaining portion of the function. The screen:

5. Press GRAPH. If your screen is off, press ZOOM, scroll down to **6:ZStandard**, and press ENTER.

The graph looks like:

As you can see from the graph, the vertex is not (-1, -2). The \begin{align*}y-\end{align*}coordinate is -2, but the 4 inside the absolute value affects the \begin{align*}x-\end{align*} coordinate. Set what is inside the absolute value equal to zero to solve for the \begin{align*}x-\end{align*}coordinate of the vertex.

\begin{align*}4x+1 &= 0\\ 4x &= -1\\ x &= -\frac{1}{4}\end{align*}

The vertex is \begin{align*}\left( -\frac{1}{4}, -2\right)\end{align*}. From the previous concept, we know that the domain is all real numbers. The range will be any number greater than and including -2. In this function, the “\begin{align*}a\end{align*}” term was inside the absolute value. When this happens, it will always affect the \begin{align*}x-\end{align*}coordinate of the vertex.

**Intro Problem Revisit** Sarai is right. The absolute value function is written in general form, so a calculator is not necessary. The vertex is (–3, –2).

### Vocabulary

- General Form of an Absolute Value Function
- For any absolute value function, the general form is \begin{align*}y = a|x-h|+k\end{align*}, where \begin{align*}a\end{align*} controls the width of the “\begin{align*}V\end{align*}” and \begin{align*}(h, k)\end{align*} is the vertex.

- Breadth
- The wideness or narrowness of a function with two symmetric sides.

### Guided Practice

1. Graph \begin{align*}y = 3|x+4|-5\end{align*} without a graphing calculator or making a table. Find the vertex, domain, and range of the function.

2. Graph \begin{align*}y = -2|x-5|+1\end{align*} using a graphing calculator.

#### Answers

1. First, use the general form to find the vertex, (-4, -5). Then, use \begin{align*}a\end{align*} to determine the breadth of the function. \begin{align*}a = 3\end{align*}, so we will move up 3 and over 1 *in both directions* to find the points on either side of the vertex.

The domain is all real numbers and the range is all reals greater than and including -5.

Domain: \begin{align*}x \in \mathbb{R}\end{align*}

Range: \begin{align*}y \in [-5, \infty)\end{align*}

2. Using the steps from Example C, the function looks like:

### Practice

- Graph \begin{align*}y = 3|x|\end{align*}, \begin{align*}y = -3|x|\end{align*}, and \begin{align*}y = |-3x|\end{align*} on the same set of axes. Compare the graphs.
- Graph \begin{align*}y = \frac{1}{4}|x+1|\end{align*}, and \begin{align*}y = \frac{1}{4}|x|+1\end{align*} on the same set of axes. Compare the graphs.
- Without graphing, do you think that \begin{align*}y = 2|x|,y = |2x|,\end{align*} and \begin{align*}y = |-2x|\end{align*} will all produce the same graph? Why or why not?
- We know that the domain of all absolute value functions is all real numbers. What would be a general rule for the range?

Use the general form and pattern recognition to graph the following functions. Determine the vertex, domain, and range. No graphing calculators!

- \begin{align*}y = |x-2|+5\end{align*}
- \begin{align*}y = -2|x+3|\end{align*}
- \begin{align*}y = \frac{1}{3}|x|+4\end{align*}
- \begin{align*}y = 2|x+1|-2\end{align*}
- \begin{align*}y = - \frac{1}{2}|x-7|\end{align*}
- \begin{align*}y = -|x-8|+6\end{align*}

Use a graphing calculator to graph the following functions. Sketch a copy of the graph on your paper. Identify the vertex, domain, and range.

- \begin{align*}y = -4|2x+1|\end{align*}
- \begin{align*}y = \frac{2}{3}|x-4|+ \frac{1}{2}\end{align*}
- \begin{align*}y = \frac{4}{3}|2x-3|- \frac{7}{2}\end{align*}

**Graphing Calculator Extension** Use the graphing calculator to answer questions 14-16.

- Graph \begin{align*}y = x^2 -4\end{align*} on your calculator. Sketch the graph and determine the domain and range.
- Graph \begin{align*}y = |x^2 -4|\end{align*} on your calculator. Sketch graph and determine the domain and range.
- How do the two graphs compare? How are they different? What could you do to the first graph to get the second?

Breadth

Breadth refers to the distance between the halves of a function with two symmetric sides (such as an absolute value function).General Form of an Absolute Value Function

The general equation for an absolute value function is , where controls the width of the “” and is the vertex.### Image Attributions

Here you'll learn how to graph more complicated absolute value functions and use the graphing calculator.

# We need you!

At the moment, we do not have exercises for **Using the General Absolute Value Equation and the Graphing Calculator**.