Question
Question: How do you graph \(y = - 2x - 4\) ?...
How do you graph y=−2x−4 ?
Solution
The given equation is an equation of straight line. To graph y=−2x−4 using slope and y-intercept, we must know the general equation of straight line. The general equation of straight line is y=mx+c where m is the slope and c is y-intercept. By comparing the given equation with y=mx+c, we can find the values of m and c. Using these values, we will draw the graph of the given equation.
Complete step-by-step answer:
Here the given equation is y=−2x−4⋯⋯(1). We know that the general equation of the straight line is given by y=mx+c⋯⋯(2) where m is the slope and c is y-intercept. The equation (2) is also called slope-intercept form of straight line.
Let us compare the equation (1) with the equation (2). So, we can write the slope is m=−2 (coefficient of x) and y-intercept is c=−4. Note that here y-intercept is c=−4 so we can say that the straight line is passing through the point (0,−4). Also note that here slope is m=−2 so we can say that if there is change of two units in x then there will be change of two units in y.
Let us find x-intercept by putting y=0 in the equation (1). Hence, we get x=−2. Note that here x-intercept is −2 so we can say that the straight line is passing through the point (−2,0).
Now we have the following information:
(1) The required straight line is passing through the points (0,−4) and (−2,0).
(2) The slope of the required line is m=−2.
As per the above information, we can draw the graph of the given equation in the following manner.
Note:
Rewrite the given equation as x=−21y−2 and compare with the general equation x=my+c, we get m=−21 and c=−2. Here m=−21 is slope and c=−2 is x-intercept. To obtain x-intercept, we have to put y=0 in the given equation. To obtain y-intercept, we have to put x=0 in the given equation. To graph y=−2x−4, we can use the other method in which first we will find points by putting different values of x. Then, by joining all those points we can get the graph of the given equation.