# How do you find the slope and y-intercept for the line 5x-y+2=0?

Mar 5, 2018

Just arrange the equation in $y = m x + c$ form,where $m$ is the slope and $c$ is the $Y$ intercept.

So,given equation in $5 x - y + 2 = 0$

or, $y = 5 x + 2$

so,comparing with $y = m x + c$ we get, $m = 5$ and $c = 2$

Now,see the graph below to match the result obtained. graph{5x-y+2=0 [-10, 10, -5, 5]}

Mar 5, 2018

See a solution process below:

#### Explanation:

We can put the equation for the line in slope-intercept form. The slope-intercept form of a linear equation is: $y = \textcolor{red}{m} x + \textcolor{b l u e}{b}$

Where $\textcolor{red}{m}$ is the slope and $\textcolor{b l u e}{b}$ is the y-intercept value.

$5 x - y + 2 = 0$

$5 x - y + \textcolor{red}{y} + 2 = 0 + \textcolor{red}{y}$

$5 x - 0 + 2 = y$

$5 x + 2 = y$

$y = \textcolor{red}{5} x + \textcolor{b l u e}{2}$

Therefore:

• The slope is: $\textcolor{red}{m = 5}$

• The $y$-intercept is: $\textcolor{b l u e}{b = 2}$ or $\left(0 , \textcolor{b l u e}{2}\right)$