How to write an absolute value equation from a number line

The absolute number of a number a is written as

$$\left | a \right |$$

And represents the distance between a and 0 on a number line.

An absolute value equation is an equation that contains an absolute value expression. The equation

$$\left | x \right |=a$$

Has two solutions x = a and x = -a because both numbers are at the distance a from 0.

To solve an absolute value equation as

$$\left | x+7 \right |=14$$

You begin by making it into two separate equations and then solving them separately.

$$x+7 =14$$

$$x+7\, {\color{green} {-\, 7}}\, =14\, {\color{green} {-\, 7}}$$

$$x=7$$

or

$$x+7 =-14$$

$$x+7\, {\color{green} {-\, 7}}\, =-14\, {\color{green} {-\, 7}}$$

$$x=-21$$

An absolute value equation has no solution if the absolute value expression equals a negative number since an absolute value can never be negative.

The inequality

$$\left | x \right |<2$$

Represents the distance between x and 0 that is less than 2

How to write an absolute value equation from a number line

Whereas the inequality

$$\left | x \right |>2$$

Represents the distance between x and 0 that is greater than 2

How to write an absolute value equation from a number line

You can write an absolute value inequality as a compound inequality.

$$\left | x \right |<2\: or

$$-2<x<2$$

This holds true for all absolute value inequalities.

$$\left | ax+b \right |<c,\: where\: c>0$$

$$=-c<ax+b<c$$

$$\left | ax+b \right |>c,\: where\: c>0$$

$$=ax+b<-c\: or\: ax+b>c$$

You can replace > above with ≥ and < with ≤.

When solving an absolute value inequality it's necessary to first isolate the absolute value expression on one side of the inequality before solving the inequality.


Example

Solve the absolute value inequality

$$2\left |3x+9 \right |<36$$

$$\frac{2\left |3x+9 \right |}{2}<\frac{36}{2}$$

$$\left | 3x+9 \right |<18$$

$$-18<3x+9<18$$

$$-18\, {\color{green} {-\, 9}}<3x+9\, {\color{green} {-\, 9}}<18\, {\color{green} {-\, 9}}$$

$$-27<3x<9$$

$$\frac{-27}{{\color{green} 3}}<\frac{3x}{{\color{green} 3}}<\frac{9}{{\color{green} 3}}$$

$$-9<x<3$$


Video lesson

Solve the absolute value equation

$$4 \left |2x -1 \right | -2 = 10$$

An absolute value function is a function that contains an algebraic expression within absolute value symbols. Recall that the absolute value of a number is its distance from 0 on the number line.

The absolute value parent function, written as f(x)=|x|, is defined as

f(x)={x      if  x>00      if   x=0−x   if  x<0

To graph an absolute value function, choose several values of x and find some ordered pairs.

x y=|x|
−2 2
−1 1
0 0
1 1
2 2

Plot the points on a coordinate plane and connect them.

How to write an absolute value equation from a number line

Observe that the graph is V-shaped.

(1) The vertex of the graph is (0,0).

(2) The axis of symmetry (x=0 or y-axis) is the line that divides the graph into two congruent halves.

(3) The domain is the set of all real numbers.

(4) The range is the set of all real numbers greater than or equal to 0. That is, y ≥0.

(5) The x-intercept and the y-intercept are both 0.

Vertical Shift

To translate the absolute value function f(x )=|x| vertically, you can use the function

g(x)=f(x)+k.

When k>0, the graph of g(x) translated k units up.

How to write an absolute value equation from a number line

When k<0, the graph of g(x) translated k units down.

How to write an absolute value equation from a number line

Horizontal Shift

To translate the absolute value function f(x)=|x| horizontally, you can use the function

g(x)=f(x−h).

When h>0, the graph of f(x) is translated h units to the right to get g(x).

How to write an absolute value equation from a number line

When h<0, the graph of f(x) is translated h units to the left to get g(x ).

How to write an absolute value equation from a number line

Stretch and Compression

The stretching or compressing of the absolute value function y=|x| is defined by the function y=a|x|  where a is a constant. The graph opens up if a>0 and opens down when a<0.

How to write an absolute value equation from a number line

For absolute value equations multiplied by a constant (for example,y=a| x|),if 0<a<1, then the graph is compressed, and if a>1, it is stretched. Also, if a is negative, then the graph opens downward, instead of upwards as usual.

How to write an absolute value equation from a number line

More generally, the form of the equation for an absolute value function is y=a|x−h|+k. Also:

  • The vertex of the graph is (h,k).
  • The domain of the graph is set of all real numbers and the range is y≥k when a>0.
  • The domain of the graph is set of all real numbers and the range is y≤k when a<0.
  • The axis of symmetry is x=h.
  • It opens up if a>0 and opens down if a<0.
  • The graph y=| x|  can be translated h units horizontally and k units vertically to get the graph of y=a|x−h|+k.
  • The graph y=a|x|  is wider than the graph of y=|x| if |a|<1 and narrower if |a|>1.