# How do you write an equation of a line given (2,-7) and parallel to y=x-2?

Feb 13, 2017

$\left(y + \textcolor{red}{7}\right) = \textcolor{b l u e}{1} \left(x - \textcolor{red}{2}\right)$

Or

$y = x - 9$

#### Explanation:

If we want a line parallel to the line in the problem it will have the same slope. The equation given in the problem is already in slope intercept form so we can take the slope for the new equation directly from this equation.

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.

$y = \textcolor{red}{1} x - \textcolor{b l u e}{2}$

Therefore the slope is $\textcolor{red}{m = 1}$

We can now use the point-slope formula to write the equation of the parallel line:

The point-slope formula states: $\left(y - \textcolor{red}{{y}_{1}}\right) = \textcolor{b l u e}{m} \left(x - \textcolor{red}{{x}_{1}}\right)$

Where $\textcolor{b l u e}{m}$ is the slope and $\textcolor{red}{\left(\left({x}_{1} , {y}_{1}\right)\right)}$ is a point the line passes through.

Substituting the information from the problem gives:

$\left(y - \textcolor{red}{- 7}\right) = \textcolor{b l u e}{1} \left(x - \textcolor{red}{2}\right)$

$\left(y + \textcolor{red}{7}\right) = \textcolor{b l u e}{1} \left(x - \textcolor{red}{2}\right)$

Or, we can solve for $y$ to put the equation in slope-intercept form:

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

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

$y + 0 = x - 9$

$y = x - 9$