Question
Question: How do you find the slope and intercept to graph \(y=3x+1\)?...
How do you find the slope and intercept to graph y=3x+1?
Solution
The equation y=3x+1 is linear in both the variables x and y, which means that the graph of the given equation is a line. For determining the slope of the given line, we need to differentiate the given equation with respect to x. And for determining the intercept of the graph, we have to substitute x=0 in the given equation. The value of y which will be obtained by substituting x=0 in the given equation will be the required intercept of the graph.
Complete step-by-step solution:
The equation of the graph is given in the question as
y=3x+1......(i)
Since the equation is linear with respect to both the variables x and y, so the graph of the given equation is a straight line, as shown below.
Now, we know that the slope of a curve at a point is given by the derivative dxdy of the curve at that point. So we differentiate both sides of the above equation with respect to x to get
⇒dxdy=dxd(3x+1)⇒dxdy=dxd(3x)+dxd(1)⇒dxdy=3+0⇒dxdy=3
Since the slope m=dxdy, so the slope of the given graph is equal to 3.
Now, the intercept of a graph is given by the point where it cuts the y-axis. We know that the x-coordinate is equal to zero on the y-axis. Therefore, we substitute x=0 in the given equation (i) to get