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

##### 2 Answers

y=a*x+b

#### Explanation:

It is a linear function.

Following the normal form of a linear function:

you have:

Drawing:

Start with a point at

draw a straight line going one division to the right and a divisions up or down. (one up in your case)

graph{y=1*x-1 [-10, 10, -5, 5]}

#### Explanation:

#"one way is to find the intercepts, that is where the graph"#

#"crosses the x and y axes"#

#• " let x = 0, in the equation for y-intercept"#

#• " let y = 0, in the equation for x-intercept"#

#x=0rArry=-1larrcolor(red)"y-intercept"#

#y=0rArrx-1=0rArrx=1larrcolor(red)"x-intercept"#

#"plot the points "(0,-1)" and "(1,0)#

#"draw a straight line through them for graph"#

graph{(y-x+1)((x-0)^2+(y+1)^2-0.04)((x-1)^2+(y-0)^2-0.04)=0 [-10, 10, -5, 5]}