# How do you graph the function y=-x+6?

Jun 22, 2018

See a solution process below:

#### Explanation:

First, solve for two points which solve the equation and plot these points:

First Point: For $x = 6$

$y = - 6 + 6$

$y = 0$ or $\left(6 , 0\right)$

Second Point: For $y = 4$

$y = - 4 + 6$

$y = 2$ or $\left(4 , 2\right)$

We can next plot the two points on the coordinate plane:

graph{((x-6)^2+y^2-0.035)((x-4)^2+(y-2)^2-0.035)=0 [-10, 10, -5, 5]}

Now, we can draw a straight line through the two points to graph the line:

graph{(y+x-6)((x-6)^2+y^2-0.035)((x-4)^2+(y-2)^2-0.035)=0 [-10, 10, -5, 5]}

Jun 22, 2018

$\text{see explanation}$

#### Explanation:

$\text{one way is to find the intercepts, that is where the graph}$
$\text{crosses the x and y axes}$

• " let x = 0, in the equation for y-intercept"

• " let y = 0, in the equation for x-intercept"

$x = 0 \Rightarrow y = 6 \leftarrow \textcolor{red}{\text{y-intercept}}$

$y = 0 \Rightarrow - x + 6 = 0 \Rightarrow x = 6 \leftarrow \textcolor{red}{\text{x-intercept}}$

$\text{plot the points "(0,6)" and } \left(6 , 0\right)$

$\text{draw a straight line through them for graph}$
graph{(y+x-6)((x-0)^2+(y-6)^2-0.04)((x-6)^2+(y-0)^2-0.04)=0 [-15.79, 15.81, -7.9, 7.9]}