Solveeit Logo

Question

Question: How do you graph the function \(y=x-1?\)...

How do you graph the function y=x1?y=x-1?

Explanation

Solution

First we will take some numbers randomly as xx values to graph the function. And then we will substitute those numbers for xx in the given function to find the corresponding yy values. So, we will get as many points as the xx values taken.

Complete step by step solution:
Let us consider the given function y=x1.y=x-1.
We are asked to graph the given function. To graph the function, we need to find the coordinate points (x,y)\left( x,y \right) that satisfy the function when substituted for the respective variables.
In the expression, we can see that the value of yy changes according to the value of x.x. So, the variable xx is independent and the variable yy is dependent. Therefore, we are free to choose two or three numbers randomly for the variable x.x.And we will get corresponding yy values.
We are going to choose the numbers 0,10,1 and 22 as xx values.
Using these values, we are going to find the yy values we need.
When we substitute 00 in the place of xx in y=x1,y=x-1, we will get y=01=1.y=0-1=-1.
When we substitute x=1x=1 in the given function, we will get y=11=0.y=1-1=0.
And when we substitute x=2,x=2, that will give us y=21=1.y=2-1=1.
So, the three points we have found in order to graph the given function are (0,1),(1,0)\left( 0,-1 \right),\left( 1,0 \right) and (2,1).\left( 2,1 \right).
We can plot the graph using these points.
Hence the graph of the function y=x1y=x-1 is obtained as

Note: When we draw a graph, we need to mark at least two points through which the required curve passes on the plane. When we join these two points, we will get the required curve.