How do you find the slope and intercept of #y = –x#?
The slope is -1, the y-intercept is 0 and the x-intercept is also 0.
The equation of any straight line can be written as,
y = mx + b,
where m is the slope of the line and b is the y-intercept.
As here m=-1, therefore, the slope of the line is -1.
Again the method of calculating the intercepts is simple.
To find the x-intercept of a linear equation, plug in 0 for 'y' and solve for 'x'. To find the y-intercept, plug 0 in for 'x' and solve for 'y'.
If we do that here we can see that the y-intercept is 0 and the x-intercept is 0.