Absolute Value Functions

Absolute Value Functions
The absolute value function is defined as follows:
Graph of ∣x∣
The graph of y=∣x∣ is similar to the graph of y=x.
The only difference is for numbers less than 0: the y-values must stay positive!
Domain: x∈R (all real numbers)
Range: {y∈R ∣ y≥0} (only non-negative numbers)
x −2−1012 y=∣x∣ 21012

Graphing Absolute Value Functions
The absolute value of a function is the same as the original function, except that negative parts are reflected up across the x-axis to make them positive.
Steps
1. Graph the original function
2. Wherever the function is negative (below the x-axis), "flip" it up to make it positive.
Example
Graph y=∣2x−6∣.
Start by graphing y=2x−6. This has a y-intercept of -6 and a slope of 2.
Notice the x-intercept at x=3. Here, the function changes sign. We have to flip the negative part up to make it positive.



Example: Absolute Value Functions
a) Graph the function f(x)=∣x2+6x+7∣.
To begin, we consider the function without the absolute value: y=x2+6x+7.
We can approach graphing this quadratic in a few ways, but here we'll complete the square to convert to vertex form.
y=(x2+6x)+7=(x2+6x+(26)2−(26)2)+7=(x2+6x+9)−9+7=(x+3)2−2
Therefore, the vertex is (−3,−2), and the parabola opens up since the leading coefficient a=1 is positive.

Now we look for where the function is negative.
In this case, we see that the y-values are negative between the x-intercepts.
Take this section and reflect it up across the x-axis to obtain the graph of y=∣x2+6x+7∣:

b) Write f(x)=∣x2+6x+7∣ as a piecewise function.
We see that there are two "parts" to this graph.
To be precise about where they split, we must find the zeros using the quadratic formula.
xx=2(1)−6±62−4(1)(7)=2−6±8=2−6±22=−3±2≈−4.414, −1.586
- The first part is the original function without the absolute value: x2+6x+7. This is the part of the graph that has not been reflected. It appears to the left of the leftmost x-intercept: x<−4.414 and to the right of the rightmost x-intercept: x>−1.586
- The second part is the part that we reflected across the x-axis. This function is simply the negative of the original: −(x2+6x+7) ⟶ −x2−6x−7 It appears between the x-intercepts: −4.414≤x≤−1.586
Putting these together, we can write the following piecewise function:
∣x2+6x+7∣={x2+6x+7,−x2−6x−7,ififx<−4.414 or x>−1.586−1.586≤x≤−4.414
Practice: Absolute Value Functions
The following questions refer to the function y=∣−x2−2x+8∣.
What are the x-intercepts of the quadratic inside the absolute value: y=−x2−2x+8?
Select the correct graph of y=∣−x2−2x+8∣.
Which piecewise function is equivalent to y=∣−x2−2x+8∣?
What are the domain and range of y=∣−x2−2x+8∣?