Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you graph and solve $y = \left| {x - 1} \right| + 4$?

Answer
VerifiedVerified
561k+ views
Hint: Plotting a graph depends on the type of equation we have. In the problem, we have a linear equation of the absolute function. Here, first, we have to explain the modulus function which is . Now for different values of $x$ find $y = f\left( x \right)$. After that use the points to plot the graph.

Complete step-by-step solution:
Now, we can define the modulus function.
The modulus function generally refers to the function that gives the positive value of any variable or a number. Also known as the absolute value function, it can generate a non-negative value for any independent variable, irrespective of it being positive or negative. Commonly represented as: \[y = \left| x \right|\], where x represents a real number, and \[y = f\left( x \right)\], representing all positive real numbers.
The expression in which a modulus can be defined is:
Now, let us check $y$ for different values of $x$.
Consider, $x = - 1$, we have $x < 0,y = - \left( {x - 1} \right) + 4$
$ \Rightarrow y = - \left( { - 1 - 1} \right) + 4$
Add the terms in the brackets,
$ \Rightarrow y = - \left( { - 2} \right) + 4$
Simplify the terms,
$ \Rightarrow y = 2 + 4$
Add the terms,
$ \Rightarrow y = 6$
So, the point is (-1, 6).
Consider, $x = 1$, we have $x > 0,y = \left( {x - 1} \right) + 4$
$ \Rightarrow y = \left( {1 - 1} \right) + 4$
Simplify the terms,
$ \Rightarrow y = 4$
So, the point is (1, 4).
Consider, $x = 3$, we have $x > 0,y = \left( {x - 1} \right) + 4$
$ \Rightarrow y = \left( {3 - 1} \right) + 4$
Subtract the terms in the brackets,
$ \Rightarrow y = 2 + 4$
Simplify the terms,
$ \Rightarrow y = 6$
So, the point is (3, 6).
So, we draw the table for x and y.
X-113
Y646

We plot the above points and join them to have the graph as
seo images


Note: To solve a quadratic equation student can use the factorization method, completing the square method or quadratic formula method. When the time is less and we are sure about the quadratic formula, then it is best to use this method. We can cross verify the factors by opening parenthesis and solving.