# What is the equation of a line with a gradient of 2 and passes through (1,4)?

Mar 8, 2018

$y = 2 x + 2$

#### Explanation:

The slope-intercept equation of a line :

$y = m x + c$

Here

• $m =$ slope
• $c = y$-intercept

Therefore, the required equation is:

$y = 2 x + c$

Putting the point $\left(1 , 4\right)$ in it as it lies on line, we get:

$4 = 2 + c$

Therefore

$c = 2$

So

$y = 2 x + 2$

is the required equation.