How do you graph #g(x)=-x+5#?

1 Answer
Oct 29, 2017

See a solution process below:

Explanation:

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

First Point: For #x = 0#

#g(x) = -0 + 5#

#g(x) = 5# or #(0, 5)#

First Point: For #x = 5#

#g(x) = -5 + 5#

#g(x) = 0# or #(5, 0)#

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

graph{(x^2+(y-5)^2-0.075)((x-5)^2+y^2-0.075)=0 [-20, 20, -10, 10]}

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

graph{(y+x-5)(x^2+(y-5)^2-0.075)((x-5)^2+y^2-0.075)=0 [-20, 20, -10, 10]}