graphing

StrawberryHobo

New member
Joined
Aug 27, 2012
Messages
6
y= {-x-2 if "x is less than 1" and 4 if "x is greater than 1"}


I know that the "<" is less than and is an open dot as well as ">" with the underscore below it means greater than/equal to has a closed dot.

This problem is foreign to me, my teacher taught us only to graph in the y=mx+b format. It's a problem on my homework, and I would like to know the step by step on how to do get the answer, or basically how to even set it up to find the answer. I KNOW I am over complicating this because this might be a very simple problem, I was not taught however.
 
y= {-x-2 if "x is less than 1" and 4 if "x is greater than 1"}

Pick a value for x, calculate the corresponding value for y, graph the (x,y) point you just found, repeat.

y=-x-2 and y=4 are both lines so we will be fine with picking 2 values for x less than 1 and 2 values for x greater than 1.

Pick x = 0
y = -0 -2
y = -2
graph point (0 , -2)

Pick x = -1
y = -(-1) -2
y = -1
graph point (-1,-1)

Now connect these 2 points with a line stopping at x=1 with an open circle.
=================================================
Pick x = 2
y = 4
Graph point (2 , 4)

Pick x=3
y=4
Graph point (3 , 4)

Now connect these 2 points with a line stopping at x=1 with an open circle.
 
y= {-x-2 if "x is less than 1" and 4 if "x is greater than 1"}

Pick a value for x, calculate the corresponding value for y, graph the (x,y) point you just found, repeat.

y=-x-2 and y=4 are both lines so we will be fine with picking 2 values for x less than 1 and 2 values for x greater than 1.

Pick x = 0
y = -0 -2
y = -2
graph point (0 , -2)

Pick x = -1
y = -(-1) -2
y = -1
graph point (-1,-1)

Now connect these 2 points with a line stopping at x=1 with an open circle.
=================================================
Pick x = 2
y = 4
Graph point (2 , 4)

Pick x=3
y=4
Graph point (3 , 4)

Now connect these 2 points with a line stopping at x=1 with an open circle.


Thank You very much!!
 
Top