Solveeit Logo

Question

Question: How would you graph \(y = x + 4\) using slope and \(y\)-intercept?...

How would you graph y=x+4y = x + 4 using slope and yy-intercept?

Explanation

Solution

The given equation is an equation of straight line. To graph y=x+4y = x + 4 using slope and yy-intercept, we must know the general equation of straight line. The general equation of straight line is y=mx+cy = mx + c where mm is the slope and cc is yy-intercept. By comparing the given equation with y=mx+cy = mx + c, we can find the values of mm and cc. Using these values, we will draw the graph of the given equation.

Complete step-by-step answer:
Here the given equation is y=x+4(1)y = x + 4 \cdots \cdots \left( 1 \right). We know that the general equation of the straight line is given by y=mx+c(2)y = mx + c \cdots \cdots \left( 2 \right) where mm is the slope and cc is yy-intercept. The equation (2)\left( 2 \right) is also called slope-intercept form of straight line.
Let us compare the equation (1)\left( 1 \right) with the equation (2)\left( 2 \right). So, we can write the slope is m=1m = 1 (coefficient of xx) and yy-intercept is c=4c = 4. Note that here yy-intercept is c=4c = 4 so we can say that the straight line is passing through the point (0,4)\left( {0,4} \right). Also note that here slope is m=1m = 1 so we can say that if there is change of one unit in xx then there will be change of one unit in yy.
Let us find xx-intercept by putting y=0y = 0 in the equation (1)\left( 1 \right). Hence, we get x=4x = - 4. Note that here xx-intercept is 4 - 4 so we can say that the straight line is passing through the point (4,0)\left( { - 4,0} \right).
Now we have the following information:
(1)\left( 1 \right) The required straight line is passing through the points (4,0)\left( { - 4,0} \right) and (0,4)\left( {0,4} \right).
(2)\left( 2 \right) The slope of the required line is m=1m = 1.
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=y4x = y - 4 and compare with the general equation x=my+cx = my + c, we get m=1m = 1 and c=4c = - 4. Here m=1m = 1 is slope and c=4c = - 4 is xx-intercept. To obtain xx-intercept, we have to put y=0y = 0 in the given equation. To obtain yy-intercept, we have to put x=0x = 0 in the given equation. To graph y=x+4y = x + 4, we can use another method in which first we will find points by putting different values of xx. Then, by joining all those points we can get the graph of the given equation.