SOLUTION: How do you graph y=x+2 and y=-2x+2

Algebra ->  Algebra  -> Coordinate-system -> SOLUTION: How do you graph y=x+2 and y=-2x+2      Log On

Ad: Algebra Solved!™: algebra software solves algebra homework problems with step-by-step help!
Ad: Algebrator™ solves your algebra problems and provides step-by-step explanations!

   


Question 129828: How do you graph y=x+2 and y=-2x+2
Found 2 solutions by MathLover1, solver91311:
Answer by MathLover1(3376) About Me  (Show Source):
You can put this solution on YOUR website!
Solved by pluggable solver: PLOT a graph of a function
Plotting a graph:
graph%28+600%2C+400%2C+-10%2C+10%2C+-6%2C+10%2C+x%2B2+%29
This solver uses formula rendering system and here's the actual formula that was plotted:

graph( 600, 400, -10, 10, -6, 10, x+2 )




Solved by pluggable solver: PLOT a graph of a function
Plotting a graph:
graph%28+600%2C+400%2C+-10%2C+10%2C+-6%2C+10%2C+-2x%2B2+%29
This solver uses formula rendering system and here's the actual formula that was plotted:

graph( 600, 400, -10, 10, -6, 10, -2x+2 )



Answer by solver91311(12126) About Me  (Show Source):
You can put this solution on YOUR website!
You need two points to define a line (no more and no less), so pick a value for x, put it into the equation, determine the value for y that corresponds, and then plot the point with the x-coordinate of the value you picked and the y-coordinate for the value that resulted from your choice. Then do it again for a different value of x. Once you have plotted two points, draw a line through them and you are done.

Since you can choose any value you like for x, pick something that will make the arithmetic simple. 0 is always a good choice.

cartoon%28y=red%28x%29%2B2%2Cy=red%280%29%2B2%29
y=2

So our first point is (0,2), because we chose 0 for x, and that resulted in 2 for y.

Let's try x = 1
cartoon%28y=red%28x%29%2B2%2Cy=red%281%29%2B2%29
y=3

So the second point is (1,3), because we chose 1 for x, and that resulted in 3 for y.

Plot the points:
drawing%28400%2C400%2C-5%2C5%2C-5%2C5%2C%0D%0Agrid%281%29%2C%0D%0Acircle%280%2C2%2C.1%29%2C%0D%0Alocate%28.1%2C1.9%2CP1%280%2C2%29%29%2C%0D%0Acircle%281%2C3%2C.1%29%2C%0D%0Alocate%281.1%2C2.9%2CP2%281%2C3%29%29%0D%0A%29


Then draw the line:
drawing%28400%2C400%2C-5%2C5%2C-5%2C5%2C%0D%0Agrid%281%29%2C%0D%0Acircle%280%2C2%2C.1%29%2C%0D%0Alocate%28.1%2C1.9%2CP1%280%2C2%29%29%2C%0D%0Acircle%281%2C3%2C.1%29%2C%0D%0Alocate%281.1%2C2.9%2CP2%281%2C3%29%29%2C%0D%0Agraph%28400%2C400%2C-5%2C5%2C-5%2C5%2Cx%2B2%29%0D%0A%29


Follow this same procedure for the other equation.