Can I graph a simple inequality as a ray?

I would like to graph an inequality as simple as x > 14 as a ray. I have tried to find examples as well as instructions but I am hitting a wall. Is this possible? If so, how do I do it?

In the graphing calculator, you can use a conditional statement to do this. The format is {statement: value if true, value if false}. So to graph a horizontal line at 0 for x < 2, you would write {x<2:0} In this case, you are leaving off the false value, so it just plots points at y = 0 for x < 2.

This is also the way you would do any piecewise function, like {x<2: x^2, 2<x<4: x+3, x>4: -x+1}

But if you want to include open/closed circles and have it respond to student input it can be a bit trickier. Here is a template that shows how you can use the above idea and some work in the graph to do it.

This is what I used to make this larger activity on domain/range

There’s another approach I took in this activity, in the practice problem screens, where the students manipulate the graph directly to show their answer. If those are useful, you can copy that screen and change the CL to use any problem.

There’s also this - someone wrote this function to create vector arrows. So you could use that if you want to draw a ray easily.

1 Like