Question
Question: How do you find the slope and intercept to graph \(x + y = - 5\)?...
How do you find the slope and intercept to graph x+y=−5?
Solution
Slope is the change in the value of y with respect to x in the equation. We can find the slope of the line by using the slope-intercept formula wherein we write the given equation in the form y=mx+c, where m is the slope of the line and c is the y-intercept.
The intercepts are the points at which the line of an equation cuts the x-axis and y-axis. At the x intercept on x-axis, y=0. Similarly at the y-intercept on y-axis, x=0.
Complete step by step solution:
We have to find the slope of the line given by the equation x+y=−5.
We will use the slope-intercept formula to find the slope of the line.
The slope-intercept formula is given by y=mx+c.
On rearranging the equation, we get:
x+y=−5 ⇒y=−x−5
On comparing the equation y=−x−5 with the standard form of the slope-intercept formula, we see that
m=−1 and c=−5
Thus, the slope of the given line is −1
Also, c=−5. So, the point at which line will cut y-axis is (0,−5)
Now, we find the x-intercept by assuming y=0 in the equation and evaluate the corresponding value of x. We assume here y=0 because that the line will touch x-axis at that point.
x+y=−5 ⇒x+0=−5 ⇒x=−5
Thus, we get the point as (−5,0). This is the x-intercept of the graph of the given equation.
Hence, the slope of the given line is 3, the x-intercept is (−5,0) and y-intercept is (0,−5)
This can be shown by way of the graph of x+y=−5.
Note: For a straight line, if two points A(x1,y1) and B(x2,y2) are situated on the line, then by slope formula we can calculate the slope (m) as, m=x2−x1y2−y1.
For a linear equation, we can also find the intercepts by writing the equation in the form of ax+by=1, where a will be the x intercept and b will be the y intercept. For a linear equation in two variables we get at most one x intercept and at most one y intercept.