Answer:
y = |x|
Explanation:
The equation for the part of graph to the right of the y-axis is:
y = x where y ≥ 0
The equation for the part of graph to the left of the y-axis is:
y = -x where y ≥ 0
So we can see that both a positive and negative value of x gives the same positive value of y.
Therefore, we can create an equation for the graph by using the absolute value of x:
⇒ y = |x|
Absolute value means how far away a number is from zero.
"x" is x away from zero and "−x" is also x away from zero.
So the absolute value of x is x, and the absolute value of −x is also x.
The bars either side of the x shows that we want the absolute value of x.
In practice, think of "absolute value" as removing any negative sign in front of a number.
With y = x → when x = 1, y = 1 and when x = -1, y = -1
With y = |x| → when x = 1, y = 1 and when x = -1 we think of it as x = 1, so y = 1