#### A PHP Error was encountered

Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

Graphing Absolute Value - Online Calculator - Tutorpace

# Graphing Absolute Value

## Online Tutoring Is The Easiest, Most Cost-Effective Way For Students To Get The Help They Need Whenever They Need It.

#### SIGN UP FOR A FREE TRIAL

Absolute value of the given number is the magnitude of the number and hence it is always positive. On a number line, absolute value of the given number is the distance of that number exactly from ‘0’ and absolute value is also always a positive number since distance always is always a positive number. Graphing absolute value includes plotting the ‘x’ and ‘y’ values on the coordinate axis to trace the graph accordingly. The graph is drawn by joining the plotted points.

Example 1: Graph the equation, y = |x|. in order to graph the given equation, first we need to get the coordinate points.

So pick random ‘x’ value, find their ‘y’ values and plot the below points.

If x= 0, then y= |0|= 0. So the point (x, y) = (0, 0).

If x= 1, then y= |1| = 1==>(x, y) = (1, 1)

If x= -1, then y= |-1|= 1==>(x, y) = (-1, 1)

If x= 2, then y= |2|= 2==>(x, y) = (2, 2)

If x= -2, then y= |-2|= 2==>(x, y) = (-2, 2)

Example 2: Graph the equation, y = |x- 1|. So pick random ‘x’ value, find their ‘y’ values and plot the below points.

If x= 0, then y= |-1|= 1. So the point (x, y) = (0, 1)

If x= 1, then y= |0| = 0==>(x, y)= (1, 0)

If x= -1, then y= |-2|= 2==>(x, y)= (-1, 2)

If x= 2, then y= |1|= 1==>(x, y)= (2, 1)

If x= -2, then y= |-3|= 3==>(x, y)= (-2, 3)