# CLEP College Algebra/Absolute Value Equations
## Absolute Values

Absolute Values represented using two vertical bars, $\vert$, are common in Algebra. They are meant to signify the number's distance from 0 on a number line. If the number is negative, it becomes positive. And if the number was positive, it remains positive:
$\left\vert 4\right\vert =4\,$
$\left\vert -4\right\vert =4\,$
For a formal definition:
    $|x|={\begin{cases}x,&{\text{if }}x\geq 0\\-x,&{\text{if }}x<0\end{cases}}$
This can be read aloud as the following:
$x\geq 0$
$|x|=x$
$x<0$
$|x|=-x$
The formal definition is simply a declaration of what the function represents at certain restrictions of the $x$-value. For any $x<0$, the output of the graph of the function on the $xy$ plane is that of the linear function $y=-x$. If $x\geq 0$, then the output is that of the linear function $y=x$.
For our purposes, it does not technically matter whether $x\geq 0{\text{ and }}x<0$ or $x>0{\text{ and }}x\leq 0$. As long as you pick one and are consistent with it, it does not matter how this is defined. By convention, it is usually defined as in the beginning formal definition.
Please note that the opposite (the negative, -) of a negative number is a positive. For example, the opposite of $-1$ is $1$. Usually, some books and teachers would refer to opposite number as the negative of the given magnitude. For convenience, this may be used, so always keep in mind this shortcut in language.

### Properties of the Absolute Value Function

We will define the properties of the absolute value function. This will be important to know when taking the CLEP exam since it can drastically speed up the process of solving absolute value equations. Finally, the practice problems in this section will test you on your knowledge on absolute value equations. We recommend you learn these concepts to the best of your abilities. However, this will not be explicitly necessary by the time one takes the exam.

#### Domain and Range

Let $f(x)=|x|$ whose mapping is $f:\mathbb {R} \to \mathbb {R}$. By definition,
    $|x|={\begin{cases}-x&{\text{if}}&x<0\\x&{\text{if}}&x\geq 0\end{cases}}$.
Because it can only be the case that $y=-x{\text{ if }}x<0$ and $y=x{\text{ if }}x\geq 0$, it is not possible for $|x|<0$. However, since $x$ has no restriction, the domain, $A$, has no restriction. Thus, if $B$ represents the range of the function, then $A=\{x\in \mathbb {R} \}$ and $B=\{y\geq 0|y\in \mathbb {R} \}$.
Let $f(x)=|x|$ whose mapping is $f:\mathbb {R} \to \mathbb {R}$ represent the absolute value function. If $A$ is the domain and $B$ is the range, then $A=\{x\in \mathbb {R} \}$ and $B=\{y\geq 0|y\in \mathbb {R} \}$.
By the above definition, there exists an absolute minimum to the parent function, and it exists at the origin, $O(0,0)$

#### Even or odd?

Recall the definition of an even and an odd function. Let there be a function $f:A\to B$
    If $x\in A$ and $f(-x)=f(x)$, then $f$ is even.
    If $x\in A$ and $f(-x)=-f(x)$, then $f$ is odd.
* Proof: $f(x)=|x|$ is even
* Let $f:\mathbb {R} \to \mathbb {R} :x\mapsto |x|$. By definition,
* $f(x)=|x|={\begin{cases}-x&{\text{if}}&x<0\\x&{\text{if}}&x\geq 0\end{cases}}$.
* Suppose $x\in A$. Let $x>0\Rightarrow -x<0$.
* $f(x)=x$
* $f(-x)=-(-x)=x$
* $\Rightarrow f(-x)=f(x)\blacksquare$
Because $f(x)$ is even, it is also the case that it is symmetrical. A review of this can be found here (Graphs and Their Properties).

#### One-to-one and onto?

Recall the definitions of injective and surjective.
    If $u,v\in A$, and $f(u)=f(v)\Rightarrow u=v$, then $f(x)$ is injective.
    If for all $b\in B$ there is an $a\in A$ such that $f(a)=b$, then $f(x)$ is surjective.
* Proof: $f(x)=|x|$ is non-injective
* Suppose $u,v\in \mathbb {R}$ and $f(u)=f(v)$. By the previous proof, we showed $f(x)$ is even. As such, we can use the value $v=-u$ to make the following statement:
* $f(u)=f(v)\Rightarrow u\neq v$
* Therefore, $f(x)$ is non-injective.
Because we have not established how to prove these statements through algebraic manipulation, we will be deriving properties as we go to gain a further understanding of these new functions. Establishing whether a function is surjective is simply through checking the definition (negating if otherwise to establish it as non-surjective).
* Proof: $f(x)=|x|$ is non-surjective
* Suppose $b\in \mathbb {R}$. There exists an element $b=-1\in \mathbb {R}$, for which $f(x)=|x|\neq -1$ for all $x\in \mathbb {R}$.$\blacksquare$
A review of the definitions can be found here (Definition and Interpretations of Functions).

#### Intercepts and Inflections of the Parent Function

With all the information provided from the previous sections, we can derive the graph of the parent function $f(x)=|x|$. It is even, and therefore, symmetrical about the $y$-axis since there is an $x$-intercept at $x=0$. Finally, because we know the domain and range, we know the minimum of the function is at $O(0,0)$, and we know the definition of the function, we can easily show that the graph of $f(x)=|x|$ is the following image to the right (Figure 1).
A summary of what you should see from the graph is this:
* Domain: $\{x\in \mathbb {R} \}$.
* Range: $\{y\geq 0|y\in \mathbb {R} \}$.
* There is an absolute minimum at $O(0,0)$.
* There is one $x$-intercept at $x=0$.
* There is one $y$-intercept at $y=0$.
* The graph is even and symmetrical about the $y$-axis.
* The graph is non-injective and non-surjective.
* The graph has no inflection point.

#### Transformations of the Parent Function

Many times, one will not be working with the parent function. Many real life applications of this function involve at least some manipulation to either the input or the output: vertical stretching/contraction, horizontal stretching/contraction, reflection about the $x$-axis, reflection about the $y$-axis, and vertical/horizontal shifting. Luckily, not much changes when it comes to the manipulation of these functions. The exceptions will be talked about in more detail:
Let $f(x)=|x|$ and $g(x)=A\cdot f(x)$. There must be an $\left(x_{0},y_{0}\right)\in f(x)\Leftrightarrow \left(x_{0},Ay_{0}\right)\in g(x)$. Thus,
* If $A>1$, then $g(x)$ is an expansion of $f(x)$ by a factor of $A$.
* If $0<A<1$, then $g(x)$ is a contraction of $f(x)$ by a factor of $A$.
* If $A<0$, then $g(x)$ is a reflection of $f(x)$ about the $x$-axis.
Let $f(x)=|x|$ and $g(x)=f(x)+b$. There must be an $\left(x_{0},y_{0}\right)\in f(x)\Leftrightarrow \left(x_{0},y_{0}-b\right)\in g(x)$. Thus,
* If $b>0$, then $g(x)$ is an upward shift of $f(x)$ by $b$.
* If $b<0$, then $g(x)$ is a downward shift of $f(x)$ by $b$.
Let $f(x)=|x|$ and $g(x)=f(x+a)$. There must be an $\left(x_{0},y_{0}\right)\in f(x)\Leftrightarrow \left(x_{0}-a,y_{0}\right)\in g(x)$. Thus,
* If $a>0$, then $g(x)$ is a leftward shift of $f(x)$ by $a$.
* If $a<0$, then $g(x)$ is a rightward shift of $f(x)$ by $a$.
The properties not listed above are exceptions to the general rule about functions found in the chapter Algebra of Functions. The exceptions are not anything substantial. The only difference with what we found generally versus what we have provided above are simply a result of what we found in the previous section.
* There is no reflection about the $y$-axis because the function is even and symmetrical.
* There is no horizontal expansion and contraction because it gives the same result as vertical expansion and contraction (this will be proven later).
We now have all the information we will need to know about absolute value functions now.

### Graphing Absolute Value Functions

This subsection is absolutely not optional. You will be asked these questions very explicitly, so it is a good idea to understand this section. If you didn't read the previous subsection, you are not going to understand how any of this makes sense.
Fortunately, the idea behind graphing any arbitrary function is mostly dependent on what you know about the function. Therefore, we can easily be able to graph functions. These examples should hopefully be further confirmation of what you learned in Algebra of Functions.
* Example 1.2(a): Graph the following absolute value function:
* $f(x)={\frac {1}{2}}|2x+6|-5$
* Method 1: Follow procedure from Algebra of Functions
* This method will work for any arbitrary function. However, it will not always be the quickest method for absolute value functions. We follow the following steps. Let $f(x)$ be the parent function and $g(x)=Af(ax+b)+c$.
* Factor $ax+b$ so that $ax+b=a\left(x+{\frac {b}{a}}\right)$.
* Horizontally shift $f(x)$ to the left/right by ${\frac {b}{a}}$.
* Horizontally contract/expand $f\left(x-{\frac {b}{a}}\right)$ by $a$.
* Vertically expand/contract/flip $f\left(a\left(x-{\frac {b}{a}}\right)\right)$ by $A$.
* Vertically shift $Af\left(a\left(x-{\frac {b}{a}}\right)\right)$ upward/downward by $c$.
* Since $f(x)={\frac {1}{2}}|2x+6|-5$ has $A={\frac {1}{2}}$, $a=2$, $b=6$, and $c=-5$, we may apply these steps as given to get to our desired result. As this should be review, we will not be meticulously graphing each step. As such, only the final function (and the parent function in red) will be shown.
* Method 3: Find absolute minimum or maximum, graph one half, reflect.
* While method 1 will always work for any arbitrary, continuous function, method 3 is fastest for the absolute value function that composes a linear function.
* First, we should try to find the vertex. We know from Algebra of Functions that the only thing that will affect the location of the vertex in even functions is the $x-a$ term on the inner composed linear function and the vertical shift of the entire function, $c$.
* Rewriting the absolute value equation as shown below will allow us to find the vertex of the function.
* $f(x)={\frac {1}{2}}|2x+6|-5={\frac {1}{2}}|2(x+3)|-5$
* This then tells us the vertex is at $(-3,-5)$.
* This method then tells us to graph the slopes. However, how should that work? Recall the formal definition of an arbitrary absolute value function:
* $|g(x)|={\begin{cases}-g(x)&{\text{if}}&x<x_{0}\\g(x)&{\text{if}}&x\geq x_{0}\end{cases}}$
* In the above definition of a general absolute value function, $g(x_{0})=-g(x_{0})=0$. This means that where the $x$-value implies a vertex on the function, that is how we restrict absolute value function.
* In our instance, $|g(x)|=|2x+6|$, for which $2(-3)+6=0$, so $x_{0}=-3$. We can say, thusly, that
* :$|2x+6|={\begin{cases}-2x-6&{\text{if}}&x<3\\2x+6&{\text{if}}&x\geq 3\end{cases}}$
* To be continued.

### Practice Problems
## Absolute Value Equations

Now, let's say that we're given the equation $\left\vert k\right\vert =8$ and we are asked to solve for $k$. What number would satisfy the equation of $\left\vert k\right\vert =8$? 8 would work, but -8 would also work. That's why there can be two solutions to one equation. How come this is true? That is what the next example is for.
* Example 2.0(a): Formally define the function below:$f(k)=|2k+6|$
* Recall what the absolute value represents: it is the distance of that number to the left or right of the starting point, the point where the inner function is zero. Recall the formal definition of the absolute value function:
* $f(x)=|x|={\begin{cases}-x{\text{ if }}x<0\\x{\text{ if }}x\geq 0\end{cases}}$
* We want to formally define the function $f(k)=|2k+6|$. Let $x=k$ First, we need to find where $2k+6=0$.
* $2k+6=0$
* $\Leftrightarrow 2k=-6$
* $\Leftrightarrow k=-3$
* From that, it is safe to say that the following is true:
* $f(k)=|2k+6|={\begin{cases}-(2k+6){\text{ if }}k<-3\\2k+6{\text{ if }}k\geq 3\end{cases}}$
It is important to know how to do this so that we may formally apply an algorithm throughout this entire chapter. For now, we will be exploring ways to solve these functions based on the examples given, including the formalizing of an algorithm, which we will give later.
* Example 2.0(b): Solve for $k$:$|2k+6|=8$
* Since we formally defined the function in Example 0, we will write the definition down.
* $f(k)=|2k+6|={\begin{cases}-(2k+6){\text{ if }}k<-3\\2k+6{\text{ if }}k\geq -3\end{cases}}$
* It is important to realize what the equation is saying: "there is a function $y=f(k)$ equal to $y=8$ such that $\exists k\in \mathbb {R}$." As defined in the opening section, the following function is non-injective and non-surjective. Therefore, there must be a $k_{1}{\text{ and }}k_{2}$ such that it satisfies $f(k)=8$. Therefore, the following must be true
* $2k+6=8\quad {\text{AND}}\quad -(2k+6)=8$.
* All that is left to do is to solve the two equations for $k$ for each given case, which will be differentiated by its positive and negative case:
* Negative case
* $-(2k+6)=8$
* $\Leftrightarrow 2k+6=-8$
* $\Leftrightarrow 2k=-14$
* $\Leftrightarrow k=-7$
* Positive case
* $2k+6=8$
* $\Leftrightarrow 2k=2$
* $\Leftrightarrow k=1$
* We found our two solutions for $k$:
* $k=-7,1\blacksquare$
The above example demonstrates an algorithm that is commonly taught in high schools and many universities since it applicable to every absolute value equation. The steps for the algorithm will now be stated. Given $|g(x)|+c=f(x)$:
* Isolate the absolute value function so that is equal to another function, or $|g(x)|=f(x)-c$.
* Write the equation so that you solve for the composed function into two such cases. Given $|g(x)|=f(x)-c$,
      * Solve for $g(x)=f(x)-c$ and
      * Solve for $g(x)=-(f(x)-c)$.
A basic principle of solving these absolute value equations is the need to keep the absolute value by itself. This should be enough for most people to understand, yet this phrasing can be a little ambiguous to some students. As such, a lot of practice problems may be in order here. We will be applying all the steps to algorithm outlined above instead of going through the process of formally solving these equations because Example 1 was meant to show that the algorithm is true.
Example 2.0(c): Solve for $k$:$3|2k+6|=12$
We will show you two ways to solve this equation. The first is the standard way, the second will show you something not usually taught.
Standard way: Multiply the constant multiple by its inverse.
We'd have to divide both sides by $3$ to get the absolute value by itself. We would set up the two different equations using similar reasoning as in the first example:
$2k+6=4\quad {\text{OR}}\quad 2k+6=-4$.
Then, we'd solve, by subtracting the 6 from both sides and dividing both sides by 2 to get the $k$ by itself, resulting in $k=-5,-1$. We will leave the solving part as an exercise to the reader.
Other way: "Distribute" the three into the absolute value.
Play close attention to the steps and reasoning laid out herein, for the reasoning for why this works is just as important as the person using the trick, if not moreso. Let us first generalize the problem. Let there be a positive, non-zero constant multiple $c$ multiplied to the absolute value equation $|2k+6|$:
$c\cdot |2k+6|=|c|\cdot |2k+6|\quad {\text{OR}}\quad c\cdot |2k+6|=|-c|\cdot |2k+6|$.
Let us assume both are true. If both statements are true, then you are allowed to distribute the positive constant $c$ inside the absolute value. Otherwise, this method is invalid!
${\begin{aligned}|c|\cdot |2k+6|&=|c(2k+6)|&\qquad |-c|\cdot |2k+6|&=|-c(2k+6)|\\&=|2ck+6c|&\qquad &=|-2ck-6c|=|-(2ck+6c)|\\&=|1|\cdot |2ck+6c|={\color {red}1\cdot |2ck+6c|}&\qquad &=|-1|\cdot |2ck+6c|={\color {red}1\cdot |2ck+6c|}\end{aligned}}$
Notice the two equations have the same highlighted answer in red, meaning so long as the value of the constant multiple $c$ is positive, you are allowed to distribute the $c$ inside the absolute value bars. However, this "distributive property" needed the property that multiplying two absolute values is the same as the absolute value of the product. We need to prove this is true first before one can use this in their proof. For the student that spotted this mistake, you may have a good logical mind on one's shoulder, or a good eye for detail.
Proof:$|b|\cdot |c|=|bc|$
Let us start with what we know:
$|x|={\begin{cases}x,&{\text{if}}&x\geq 0\\-x,&{\text{if}}&x<0\end{cases}}$
If $a<0$, then $|a|=-a\geq 0$. Else, if $a\geq 0$, then $|a|\geq 0$.
Let $b,c\in \mathbb {R}$, $|b|=B$, $|c|=C$, and $b\cdot c=m$. The following three cases apply:
$bc=m<0\Rightarrow |m|=-m>0$. This simply means that for some product $bc$ that equals a negative number $m$, the absolute value of that is $-m$, or the distance from zero. Because $m<0$, multiplying the two sides by $-1$ will change the less than to a greater than, or $m<0\Leftrightarrow -m>0$.
$bc=m=0\Rightarrow |m|=m=0$. For some product $bc$ that equals a number $m=0$, the absolute value of that is $0$.
$bc=m>0\Rightarrow |m|=m>0$. For some product $bc$ that equals a positive number $m$, the absolute value of the product is $m$.
Given $|bc|=|m|$ always result in some positive number (and zero), we can conclude that the function is equivalent to the following:
$|b\cdot c|=|m|={\begin{cases}m,&{\text{if }}m\geq 0\\-m,&{\text{if }}m<0\end{cases}}$
Let $|b|\cdot |c|=B\cdot C=n$. Since $|b|=B>0$ and $|c|=C>0$, $B\cdot C=n>0$. This means that $n=|n|$. Therefore, $|b|\cdot |c|=|n|$. This allows us to conclude that
$|b|\cdot |c|=n=|n|={\begin{cases}n,&{\text{if }}n\geq 0\\-n,&{\text{if }}n<0\end{cases}}$
$|bc|=|m|$ implies that $bc\geq 0\vee bc<0$. However, $|b|\cdot |c|=n$ where $n=|n|$. We have shown that $\forall b,c\in \mathbb {R}$, we will always see that $|bc|>0$ and $|b|\cdot |c|>0$. Further, we already know that $|x|>0$, meaning even if $x<0$, $|x|>0$. Thus, $|m|=n=|n|$.
Therefore, $\forall b,c\in \mathbb {R}$, $|b|\cdot |c|=|bc|\blacksquare$.
One nice thing about this proof is how we can use this to conclude that any function multiplied by another function will result in multiplying the inner functions within the absolute values. All we have to do is assume that is equals some other function instead of another number, as implicitly written within this proof. The only necessary change one needs to make is simply define all the variables within as functions.
By confirming the general case, we may be employ this trick when we see it again. Let us apply this property to the original problem (this gives us the green result below):
$3|2k+6|={\color {green}|6k+18|=12}$
This all implies that
$6k+18=12\quad {\text{OR}}\quad 6k+18=-12$.
From there, a simple use of algebra will show that the answer to the original problem is again $k=-5,-1$. :
Let us change the previous problem a little so that the constant multiple is now negative. Without changing much else, what will be true as a result? Let us find out.
* Example 2.0(d): Solve for $k$:$-4|2k+6|=8$
* We will attempt to the problem in two different ways: the standard way and the other way, which we will explain later.
* Standard way: Multiply the constant multiple by its inverse.
* Divide like the previous problem, so the equation would look like this: $|2k+6|=-2$. Recall what the absolute value represents: it is the distance of that number to the left or right of the starting point, zero. With this, do you notice anything strange? When you evaluate an absolute value, you will always get a positive number because the distance must always be positive. Because this is means a logically impossible situation, there are no real solutions. Notice how we specifically mentioned "real" solutions. This is because we are certain that the solutions in the real set, $\mathbb {R}$, do not exist. However, there might be some set out there which would have solutions for this type of equation. Because of this posibility, we need to be mathematically rigorous and specifically state "no real solutions."
* Other way: "Distribute" the constant multiple into the absolute value.
* Here, we notice that the constant multiple $c<0$. The problem with that is there is no $g$ such that $|g|<0$. The only way this would be true is for $-|g|<0$ because
* $-|g|<0\qquad {\text{Divide both sides by }}-1$
* $|g|>0$
* With this property, we may therefore only distribute the constant multiple as $|c|$ with a negative $-1$ as a factor outside the absolute value. As such,
* $-4|2k+6|=-|8k+24|=8\qquad {\text{Divide both sides by }}-1$
* $|8k+24|=-8$
* It seems the other way has us multiply a constant by its inverse to both sides. Either way, this "other method" still gave us the same answer: there is no real solution.
The problem this time will be a little different. Keep in mind the principle we had in mind throughout all the examples so far, and be careful because a trap is set in this problem.
* Example 2.0(e): Solve for $x$:$|3x-3|-3=2x-10$
* There are many we ways can attempt to find solutions to this problem. We will do this the standard and allow any student to do it however they so desire.
* $|3x-3|-3=2x-10\qquad {\text{Add the }}3{\text{ to both sides.}}$
* $|3x-3|=2x-7$
* Because the absolute value is isolated, we can begin with our generalized procedure. Assuming $2x-7>0$, we may begin by denoting these two equations:
* (1)
* $3x-3=2x-7$
* (2)
* $3x-3=-(2x-7)$
* These are only true if $2x-7>0$. For now, assume this condition is true. Let us solve for $x$ with each respective equation:
* Equation (1)
* $3x-3=2x-7\qquad {\text{Add }}3{\text{ and subtract }}2x{\text{ on both sides.}}$
* $x=-4$
* Equation (2)
* $3x-3=-(2x-7)\qquad {\text{Distribute }}-1{\text{.}}$
* $3x-3=-2x+7\qquad \quad {\text{Add }}3{\text{ and add }}2x{\text{ on both sides.}}$
* $5x=10\qquad \qquad \qquad \quad {\text{Divide }}5{\text{ on both sides.}}$
* $x=2$
* We have two potential solutions to the equation. Try to answer why we said potential here based on what you know so far about this problem.
* Why did we state we had two potential solutions?
* Because we had to assume that $2x-7>0$ and $|3x-3|=2x-7$ is true for the provided $x$.Because we had to assume that $2x-7>0$ and $|3x-3|=2x-7$ is true for the provided $x$.
* Because of this, we have to verify the solutions to this equation exist. Therefore, let us substitute those values into the equation:
* $|3(-4)-3|=2(-4)-7$. Notice that the right-hand side is negative. Also, the left-hand side and the right-hand side are not equivalent. Therefore, this is not a solution.
* $|3(2)-3|=2(2)-7$. Notice the right-hand side is negative, again. Also, the left-hand side and the right-hand side are not equivalent. Therefore, this cannot be a solution.
* This equations has no real solutions. More specifically, it has two extraneous solutions (i.e. the solutions we found do not satisfy the equality property when we substitute them back in).
Despite doing the procedure outlined since the first problem, you obtain two extraneous solutions. This is not the fault of the procedure but a simple result of the equation itself. Because the left-hand side must always be positive, it means the right-hand side must be positive as well. Along with that restriction is the fact that the two sides may not equal the other for the values whereby only positive values are given. This is all a matter of properties of functions.
* Example 2.0(f): Solve for $a$:$6\left\vert 5{\frac {a}{6}}+{\frac {1}{12}}\right\vert ={\frac {3}{5}}|15a+15|$
* All the properties learned will be needed here, so let us hope you did not skip anything here. It will certainly make our lives easier if we know the properties we are about to employ in this problem.
* $6\left\vert 5{\frac {a}{6}}+{\frac {1}{12}}\right\vert ={\frac {3}{5}}|15a+15|\qquad {\text{Distribute, so to speak, the constant terms.}}$
* $\left\vert 5a+{\frac {1}{2}}\right\vert =|9a+9|$
* Looking at the second equation might be the first declaration of absurdity. However, an application of the fundamental properties of absolute values is enough to do this problem.
* (3)
* $5a+{\frac {1}{2}}=|9a+9|$
* (4)
* $5a+{\frac {1}{2}}=-|9a+9|$
* Peel the problem one layer at a time. For this one, we will categorize equations based on where they come from; this should hopefully explain the dashes: 3-1 is first equation formulated from (3), for example.
* (3-1)
* $9a+9=5a+{\frac {1}{2}}$
* (3-2)
* $9a+9=-\left(5a+{\frac {1}{2}}\right)$
* (4-1)
* $-(9a+9)=5a+{\frac {1}{2}}$
* (4-2)
* $-(9a+9)=-\left(5a+{\frac {1}{2}}\right)$
* We can demonstrate that some equations are equivalents of the other. For example, (3-1) and (4-2) are equivalent, since dividing both sides of (4-2) by $-1$ gives (3-1). Further, (3-2) and (4-2) are equivalent (multiply both sides of equation (4-2) by $-1$). After determining all the equations that are equivalent, distribute $-1$ to the corresponding parentheses.
* (5)
* $9a+9=5a+{\frac {1}{2}}$
* (6)
* $9a+9=-5a-{\frac {1}{2}}$
* Now all that is left to do is solve the equations. We will leave this step as an exercise for the reader. There are two potential solutions: $a=-{\frac {19}{28}},-{\frac {17}{8}}$. All that is left to do is verify that the equation in the question is true when looking at these specific values of $a$:
* $a=-{\frac {19}{28}}$
* $\left\vert 5\left(-{\frac {19}{28}}\right)+{\frac {1}{2}}\right\vert =\left\vert 9\left(-{\frac {19}{28}}\right)+9\right\vert$ is true. The two sides give the same value: ${\frac {81}{8}}=10.125$.
* $a=-{\frac {17}{8}}$
* $\left\vert 5\left(-{\frac {17}{8}}\right)+{\frac {1}{2}}\right\vert =\left\vert 9\left(-{\frac {17}{8}}\right)+9\right\vert$ is true. The two sides give the same value: ${\frac {81}{28}}\approx 2.893$.
* Because both solutions are true, the two solutions are $a=-{\frac {19}{28}},-{\frac {17}{8}}\blacksquare$.
Absolute value equations can be very useful to the real world, and it is usually when it comes to modeling. We will introduce one example of a standard modeling problem, then one unusual application in geometry (EXAMPLE WIP).
Example 2.0(g): Window Fitting
Question: Alfred wants to place a window so that the length of the window varies by 70% the length of the room. The room is 45 feet high and 70 feet in length. If the centered window takes up the entire vertical height of the wall
(a) what is the maximum surface area of the wall excluding the window?
(b) assuming the room has a rectangular $\displaystyle 70\times 30$ base and roof, and this window design repeats for all sides of the room (except the two door sides), what is the internal surface area of the room that the excludes window panes?
Answers:
(a) $\displaystyle 945{\text{ ft}}^{2}$
(b) $\displaystyle 13,440{\text{ ft}}^{2}$
Explanation:
The hardest part about this problem is attempting to understand the situation. Once a student understands the problem presented, the rest of the steps are mostly simple.
The procedure we used to solve many linear-equation word problems shall be used here since it helps us condense a ton of information into something more "bite-sized."
List useful information (optional second step, or necessary first step).
Draw a picture (optional second step, or necessary first step).
Find tools to solve the problem based on the list.
Make and solve equations.
Figure 3: For a $\displaystyle 70\times 45{\text{ ft}}^{2}$ wall, if the length of the window varies by 70% the length of the room, what is the maximum area of the wall excluding the window?
We will be using these steps for items (a) and (b).
First, we will list the information as below:
Length of the window varies by 70% of the room length.
Room is 45 ft. high.
Room is 70 ft. in length.
Window takes up entire vertical height of wall.
Window is centered according to length of wall (by previous item).
The room has a rectangular base of $\displaystyle 75\times 35{\text{ ft}}^{2}$
Next, sketch the situation based on our list. A good sketch (Figure 3) can tell you a lot more information than the list. As such, this step may be used moreso than the list. This is why this step may be optional if you listed out the information presented in the problem.
From our sketch (the tool to solving the problem), we can come up with an equation to help solve for $x$, the side-length of the wall. Because the absolute value describes the distance (or length), and we want the length to be 70% the room length, we may come to this conclusion:
$\displaystyle |70-2x|={\frac {7}{10}}\cdot 70=49$
From there, we can solve the equation.
$\displaystyle {\begin{aligned}70-2x&=49&70-2x&=-49&{\text{Original equation}}\\-2x&=-21&-2x&=-119&{\text{Subtraction property of equality}}\\x&={\frac {21}{2}}=10.5{\text{ ft}}&x&={\frac {119}{2}}=59.5{\text{ ft}}&{\text{Division property of equality}}\end{aligned}}$
In our situation, it makes no sense to consider $\displaystyle x=59.5$ because it results in a negative length for the window, so we reject $\displaystyle x=59.5$. It is always important to keep in mind context when working with word problems.
This information will be very useful for item (b). For part (a), it asks us to find the area of the wall side excluding the window. This tells us the area of the wall, according to our sketch, is
$\displaystyle xh+xh=2xh=2\cdot \left({\frac {21}{2}}\right)\cdot 45=945{\text{ ft}}^{2}$
$\displaystyle \blacksquare$
Item (b) gave us the following information, along with what we found in working (a):
Rectangular $\displaystyle 75\times 35$ base and roof.
Wall without window is $\displaystyle A=945{\text{ ft}}^{2}$.
Two sides have no windows, meaning the surface area of the wall is $\displaystyle A=45\times 70=3,150{\text{ ft}}^{2}$
No sketch will be provided for item (b). With all the information out of the way, we can easily find the surface area that excludes all windows.
$\displaystyle S=2\cdot \left(75\times 35{\text{ ft}}^{2}\right)+2\cdot \left(945{\text{ ft}}^{2}\right)+2\cdot 3,150{\text{ ft}}^{2}=13,440{\text{ ft}}^{2}$
$\displaystyle \blacksquare$ :
The next problem typically requires some trigonometry to solve easily. However, with one extra piece of information, one can use the properties of the absolute value property to solve the following problem.
* Example 2.0(h): Tiling a Roof (adapted from Trigonometry Book 1)
* Figure 2: The plan for a roof is given in the image above. We want to find the area of the figure using only what is given with absolutely no trigonometry.
* An engineer is planning to make an roof with a $\displaystyle 30$ m. frame base and $\displaystyle 100$ m. perimeter. The angle of the slope of the roof to the base is $\displaystyle \theta$. The sloped sides are congruent. A reference image (Figure 2) of the sloped-roof (with no cartesian plane) is provided. Given the area of a triangle is $\displaystyle {\frac {1}{2}}bh$, and the distance formula is $\displaystyle d={\sqrt {(\Delta x)^{2}+(\Delta y)^{2}}}$, find the area of the triangular cross section of the roof.
* Answer
* $A=474.342{\text{ m}}^{2}$
* Figure 3
* Explanation
* The following problem requires you to think about what doesn't change to successfully allow you to determine what one situation allows for all of the following to be possible. We will apply our problem-solving steps derived onto this problem first before we discuss one difference in this problem that somewhat breaks our algorithm. We will draw it first.
* Drawing
* We can gain a lot of information from Figure 3.
* $a>0$
* $b>0$
* $c<0$
* $f(x)=-a|x|$; specifically, $f(b)=-a|b|=c$ and $f(b)=-a|-b|=c$.
* $d={\sqrt {15^{2}+\left(f(b)\right)^{2}}}$
* $b=15$ because $\Delta x=15$ by the above distance equation for $d$.
* The values of $a,b,c$ are constant. The height $h=c$ is constant, and the base has constant length, so $a,b$ are constant.
* Tool Finding
* Our drawing helped us gleam a lot of information. Knowing the perimeter is $100{\text{ m}}$ tells us that the distance is
* ${\begin{aligned}2d+30&=100\\2d&=70\\d&=35{\text{ m}}\end{aligned}}$
* However, Figure 3 tells us that $d={\sqrt {15^{2}+\left(f(b)\right)^{2}}}$. Therefore, by the transitive property,
* ${\begin{aligned}{\sqrt {15^{2}+\left(a|b|\right)^{2}}}&=35\\15^{2}+a^{2}b^{2}&=35^{2}&|b|=b{\text{ and }}(ab)^{2}=a^{2}b^{2}\\15^{2}\left(1+a^{2}\right)&=35^{2}&b=15{\text{ and distributive property.}}\\1+a^{2}&={\frac {49}{9}}&{\text{Division property of equality.}}\\a&={\sqrt {\frac {40}{9}}}&{\text{Subtraction and exponent property of equality.}}\end{aligned}}$
* After knowing the vertical contraction, we can determine the height of the triangle. From there, the area.
* $h=c=15{\sqrt {\frac {40}{9}}}\approx 31.623{\text{ m}}$
* The area of the triangle is therefore,
* $A={\frac {1}{2}}\cdot 15\cdot 15{\sqrt {\frac {40}{9}}}\approx 474.342{\text{ m}}^{2}\blacksquare$
Notice how it was not necessary for us to solve for a specific value of $x$ based on the absolute value equation. The only aspect of absolute value equations necessary for this problem is the graph properties and some logic. In a way, this is the most easy absolute value problem. However, the needed creativity for it makes up for the "easiness" of the problem.

### Practice Problems
## Inequalities with Absolute Values

It is important to keep in mind that any function can be less than any other function. For example, $2x-5<54-13x$ has any solutions for $x<{\frac {59}{13}}=3+{\frac {14}{15}}$. So long as the value for $x$ is within that range, the function $2x-5$ is less than the output of $54-13x$. The algebra for inequalities of $f(x)=|x|$ requires a bit more of demonstration to understand. While the methods we use will not be proven, per se, our examples and explanations should give a good intuition behind the idea of find the inequalities of absolute values.
* Example 3.0(a): $|10-20x|<50$
* First, let us simplify the following expression through the method we demonstrated in the previous section (factoring the inside of the absolute value and bringing the constant out). Keep in mind, since we are switching the sides for which we view the equation, 50 is the left instead of right, we must also "flip" the inequality to be consistent with the original equation.
* ${\begin{aligned}50&>|10-20x|\\&>|10\cdot (1-2x)|\\&>10\cdot |1-2x|\end{aligned}}$
* From there, it should be easy to see that
* $|1-2x|<5$
* Let us further analyze this situation. What the above equation is saying is $y=|1-2x|$ is less than the function $y=5$. We want to make sure the inside value is less than five. Because the absolute value describes the distance, there are two realities to the function. Let $A(x)=|1-2x|$
* $A(x)=|x|={\begin{cases}1-2x,&{\text{if}}&x\geq {\frac {1}{2}}\\-(1-2x),&{\text{if}}&x<{\frac {1}{2}}\end{cases}}$
* Because there are two "pieces" to the function $A(x)$, and we want each piece to be less than 5,
* $1-2x<5$ and $-(1-2x)<5$
* We will demonstrate the more common procedure in the next example. For now, this intuition should begin to form an idea of algebraic analysis. We will solve the left-hand then the right-hand case.
* Solving for $x$ in $|1-2x|<5$.
* Left-hand case:
* $1-2x<5$
* Recall how multiplying both sides by a negative factor requires us to "flip" the inequality. Therefore, solving for $x$:
* $\Leftrightarrow x>-2$
* Right-hand case:
* $-(1-2x)<5$
* $\Leftrightarrow 1-2x>-5$
* $\Leftrightarrow x<3$
* We have found a possible distribution of values that allows the following equation to be true, where $|2x-5|<5$, and it is for values of $x$ in between $-2$ and $3$, non-inclusive.
The above example is an intuition behind how solving for inequalities work. Technically speaking, we could make a proof for why we have to "operate" (take the steps seen above) absolute value inequalities this way. However, this will be a little too technical and involve a lot of generalization that could potentially confuse students rather than enlighten. If the student feels the challenge is worth, then one may try the proof of the steps we derived below. This is considered standard procedure (according to many High School textbooks).
* Simplify until only the "absolute value bar term" is left.
* Solve by taking the inside and relating it by the inequality for the "left-hand" values; taking the same expression found inside the absolute value, for the "right-hand" equation, negate the related term and flip the inequality to then solve.
* Rewrite $x$ into necessary notatioon.
Although the procedure may seem to be confusing, we are really only trying to make the algorithm as specific as possible. In reality, we will show just how easy it is to apply this algorithm for the problem above.
* Example 3.0(a) (REPEAT): $|10-20x|<50$
* Let us skip to the most simplified form.
* $|1-2x|<5$
* Now let us apply the above algorithm.
* $1-2x<5$ and $1-2x>-5$ (notice the negation and flipping for the right hand equation).
* From there, we will solve.
* Solving for $x$ in $|1-2x|<5$.
* Left-hand case:
* $1-2x<5$
* Recall how multiplying both sides by a negative factor requires us to "flip" the inequality. Therefore, solving for $x$:
* $\Leftrightarrow x>-2$
* Right-hand case:
* $1-2x>-5$
* $\Leftrightarrow x<3$
There are two possible reasons why this procedure exists. For one, it allows us to quickly solve for $x$ in the "right-hand" equation without the need for double the amount of multiplications necessary to solve for $x$ (it lessens the amount of times we have to flip the inequality). Next, it allows us to focus more on the idea behind absolute value equations (the value inside will be positive, and hence, we want to find all values that allow us to find all possible solutions).
Nevertheless, keep in mind how we found this procedure, and it was through applying the function definition of absolute values. In reality, we did the exact same thing for absolute value equations. The only difference in application of algorithm applies to the inequality, which further "complicates" matters by introducing a new concept to the non-injective absolute value function. Through finding two solutions, we gave two possible ranges for values of $x$.
Hopefully, this example should further shine a light into what many high schoolers think to be "black magic" among finding solutions to absolute value inequalities and equalities. The next examples should only hopefully further the concepts learned. Keep in mind, if one does not like the algorithm presented in the repeat example above, one is perfectly fine to use the other algorithm. The benefit of multiple choice is the ability to use any method, and only the correctness of your answer will be considered.
* Example 3.0(b): $15x-|12x+10|>13x$
* Explanations given later
* Example 3.0(c): $\left\vert {\frac {5}{12}}x-87\right\vert \leq 100$
* Explanations given later
* Example 3.0(d): $15x-|12x+10|>13x$
* Explanations given later
Introduction to example included later.
* Example 3.0(e): Variable temperature problem
* Problem: The temperature in a room averages at around $21^{\circ }{\text{C}}$ in the summer without air conditioning. The change in temperature is dependent on the ambient weather conditions. Without air conditioning, the maximum change in temperature from the average is $4^{\circ }{\text{C}}$. When the air conditioning is on, the temperature of the room is a function of time $t$ (in hours), given by $C(t)=-{\frac {3}{2}}t+20$. The maximum deviation in temperature should be no more than $5^{\circ }{\text{C}}$.
* (a) Write an equation that represents the temperature of the room without and with air conditioning, respectively.
* (b) Determine the minimum temperature value of the room without air conditioning in the summer.
* (c) At what time must the air conditioning stop for the temperature to drop by at most $5^{\circ }{\text{C}}$?
* Answers:
* (a) $|T-20|\leq 4$ and $\left\vert {\frac {3}{2}}t\right\vert \leq 5$.
* (b) $T_{min}=16^{\circ }{\text{C}}$.
* (c) $3{\tfrac {1}{3}}$ hours.
* Explanation: When working with word-problems it is best to rewrite the problem into something algebraic or "picturesque" (i.e. draw the problem out). One can also use both, as we will soon do.
* Temperature Variation Situation
* The benefit of drawing a picture (or, more accurate, a sketch) of the situation is being able to more easily interpret situations. We are highly visual people, after all, so seeing a picture is a lot easier to understand than words. The highly intuitive nature of geometry also lends itself well to algebraic interpretations. Let us reread the situation without A/C.
* "Without air conditioning, the maximum change in temperature from the average is $4^{\circ }{\text{C}}$."
* This gives us a lot of information. We know that $T_{\text{max}}=T_{\text{avg}}+4$ and $T_{\text{min}}=T_{\text{avg}}-4$, so to keep it as one singular equation, it is best to write it as an absolute value equation. For this situation,
* (8)
* $|T-20|\leq 4$
* It is important to know why this is true. Recall the absolute value represents the distance from $0$ for the inside value. If $20$ is the reference point, then to get $0$ from $20$, you need to subtract 20 from the current value $T$. As such, this equation is true. Now let us look at the situation for the air conditioning.
* "When the air conditioning is on, the temperature of the room is a function of time, given by $C(t)=-{\frac {3}{2}}t+20$. The maximum deviation in temperature should be no more than $5^{\circ }{\text{C}}$."
* Based on the wording of the sentence, the temperature $T=C(t)$ is based on the time, and the temperature can only be at most $5^{\circ }{\text{C}}$ from the average. By the same logic given for Equation (8),
* (9)
* $|C(t)-20|\leq 5$
* Equation (9) is left in the same form to show how similar the two equations are, and to also relate more to the wording of the set-up text. Using the transitive property, one can simplify the equation further to obtain
* (10)
* $\left\vert -{\frac {3}{2}}t\right\vert \leq 5$
* Recall how $|(-1)x|=1\cdot |x|$, where $c=-1$. Because of this property, one can simplify the equation further to obtain the final equation for part (a):
* (11)
* $\left\vert {\frac {3}{2}}t\right\vert \leq 5$
* This sufficiently answers item (a), perhaps the hardest part in the question. However, with the two equations obtained, (8) and (11), we can answer both items (b) and (c). Let us reread parts (b) and (c) using our understanding of the question:
* "Determine the minimum temperature value of the room without air conditioning in the summer."
* This is, in essence, asking the examinee to find the value of $T_{\text{min}}$ using (8). The previous examples should have hopefully prepared you with solving for absolute value inequalities.
* Solving for $T$ in $|T-20|\leq 4$.
* Positive case:
* $T-20\leq 4$
* $\Leftrightarrow T\leq 24$
* Negative case:
* $T-20\geq -5$
* $\Leftrightarrow T\geq 16$
* Since the problem is asking for the minimum temperature value, $T_{min}$, of an ambient temperature room, the correct answer here is $T_{min}=16^{\circ }{\text{C}}$. Keep in mind, we are allowed to put that equal sign there thanks to the problem's wording ("at most" implies less than or equal to). Also, always remember to put units in word problems.
* "At what time must the air conditioning stop for the temperature to drop by at most $5^{\circ }{\text{C}}$?"
* This is, in essence, asking the examinee to find the value of time $t$ (in hours) using the most simplified equation, Equation (10).
* Solving for $t$ in $\left\vert {\frac {3}{2}}t\right\vert \leq 5$.
* Positive case:
* ${\frac {3}{2}}t\leq 5$
* $\Leftrightarrow t\leq {\frac {10}{3}}$
* Negative case:
* ${\frac {3}{2}}t\geq -5$
* $\Leftrightarrow t\geq -{\frac {10}{3}}$
* Because, in essence, only the positive case is considered (we are only looking at time $t\geq 0$), the maximum amount of time that the air conditioning will allow is $t={\frac {10}{3}}=3{\tfrac {1}{3}}$ hours.

## Lesson Review

An absolute value (represented with |'s) stands for the number's distance from 0 on the number line. This essentially makes a negative number positive although a positive number remains the same. To solve an equation involving absolute values, you must get the absolute value by itself on one side and set it equal to the positive and negative version of the other side, because those are the two solutions the absolute value can output. However, check the solutions you get in the end; some might produce negative numbers on the right side, which are impossible because all outputs of an absolute value symbol are positive!