Hello I am studying functions deeply and I came up with a question.

I have this function.


I am reading a book. It says- The graph of $f$ is a single line, passing through the point $(0,2)$ with slope $3$.

I know if $x=0$, then it gives $2$ as the output, then I got my first point $(0,2)$. But without calcuating the second point how can the author say the slope is $3$? Is there any other method?

I know if I calculate the second point by substituting $x=1$ gives $5$ as the output. By using the slope formula, i.e $\frac {y_2-y_1}{x_2-x_1}=3$, I can get the same result. But is there any other way to get the slope value?

  • $\begingroup$ Hint: can you see a $3$ in the equation for the line, and relate that to the slope of the line? $\endgroup$ Sep 2, 2015 at 6:31
  • $\begingroup$ do you mean to say y=mx+c where m is the slope of the line. $\endgroup$
    – RajSharma
    Sep 2, 2015 at 6:38
  • $\begingroup$ That was what I was thinking. $\endgroup$ Sep 2, 2015 at 6:41
  • $\begingroup$ Pick any $\bar x \ne 0$. Then $(\bar x, 3\bar x + 2)$ is another point on the line. Compute the slope of the line through the points $(0,2)$ and $(\bar x, 3\bar x + 2)$ $\endgroup$ Sep 2, 2015 at 6:51

1 Answer 1


I shall show a more general result:

If $f(x) = mx + c$, then the graph passes through $(0,c) $ and has slope $m$.

Evaluating at $ x =0 $ shows that the graph passes through $(0,c) $ .

Now let $ x_1, x_2 $ be any two distinct points, then - by the definition of the slope that you give in your question - we have:

$slope = \frac {(m x_1 +c) -(m x_2 +c) }{x_1 - x_2} = \frac{m x_1 - m x_2}{x_1 - x_2} =m $


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .