# Help with creating an activity for graphing inequalities in two variables

**URL:** <https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491>\
**Category:** Questions\
**Tags:** aggregate\
**Created:** [May 26, 2019, 12:10am UTC](https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491 "2019-05-26T00:10:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alison](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Alison](https://cl.desmos.com/u/Alison)\
**Post date:** [May 26, 2019, 12:10am UTC](https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491/1 "2019-05-26T00:10:17Z")

</div>

I am new to CL, and not particularly good at it, so I’m having a hard time creating what I envision. I’d like to create an activity in which students choose a point, test it in an inequality, say y\<=2x-3, and then plot a green (draggable) point if it works and a red (draggable) point if it doesn’t… Then show all the classes responses to notice that all the green dots are in one area (and hopefully zero in on errant mis-colored dots, understand the student error, then give students a chance to fix…) Then overlay the line y=2x-3 to show that all the points that work are on one side of the line. Rinse and repeat a few times, maybe with the 2nd time y\<2x-3, and later x\>4, y\<5, etc on the x-y plane.

Is there anyone out there who has made a similar activity, or who could help me create such an activity?

I appreciate any help and/or redirection. Thank you.

---

<div class="post-metadata">

**Author:** ![Daniel\_Henrikson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_henrikson/32/301_2.png) [@Daniel\_Henrikson](https://cl.desmos.com/u/Daniel_Henrikson)\
**Post date:** [May 26, 2019, 2:43am UTC](https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491/2 "2019-05-26T02:43:38Z")

</div>

Not exactly what you are trying to make but this contains some similiar ideas:  
[https://teacher.desmos.com/activitybuilder/custom/5c99328996ef52657be3d04b](https://teacher.desmos.com/activitybuilder/custom/5c99328996ef52657be3d04b)

---

<div class="post-metadata">

**Author:** ![Daniel\_Henrikson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_henrikson/32/301_2.png) [@Daniel\_Henrikson](https://cl.desmos.com/u/Daniel_Henrikson)\
**Post date:** [May 26, 2019, 2:54am UTC](https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491/3 "2019-05-26T02:54:45Z")

</div>

These slides focus on test points:  
[https://teacher.desmos.com/activitybuilder/custom/5ce9fedd454aac69f8f81dd3](https://teacher.desmos.com/activitybuilder/custom/5ce9fedd454aac69f8f81dd3)

---

<div class="post-metadata">

**Author:** ![JayChow](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jaychow/32/1674_2.png) [@JayChow](https://cl.desmos.com/u/JayChow)\
**Post date:** [May 28, 2019, 7:57pm UTC](https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491/4 "2019-05-28T19:57:04Z")

</div>

Hey Alison!

Your vision can come to life in three steps! I’ll present them separately, but know that they can actually be done together once you get the hang of it:

Step 1: Plot the points from an input  
[https://teacher.desmos.com/activitybuilder/custom/5ced88e21df0500c65cc7e5c#preview/c94cf9b8-eb76-4e00-9d9d-8f32d3d434dd](https://teacher.desmos.com/activitybuilder/custom/5ced88e21df0500c65cc7e5c#preview/c94cf9b8-eb76-4e00-9d9d-8f32d3d434dd)  
 ![48%20AM](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/86f1c8c5ba9a99dad57d249c799557674decbdbb.png)  
Use parseOrderedPair to take a coordinate pair written in an input and put it into the graph. You can also use a table for this step but because you will be aggregating student data later, this method is encouraged.

Step 2: Make two copies of each point in the graph  
[https://teacher.desmos.com/activitybuilder/custom/5ced88e21df0500c65cc7e5c#preview/3d2e3ba8-970e-4c69-9142-6161530b5f82](https://teacher.desmos.com/activitybuilder/custom/5ced88e21df0500c65cc7e5c#preview/3d2e3ba8-970e-4c69-9142-6161530b5f82)  
 ![07%20AM](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/dc2061a7da483d40b9b6d52cba037ff6851d1b07.png)  
Display each point based on whether or not they satisfy the desired inequality (in this case x+y\>5)

Step 3: Aggregate Student Data  
[https://teacher.desmos.com/activitybuilder/custom/5ced88e21df0500c65cc7e5c#preview/301a660b-a5f7-47e5-9641-a47fdf5d6fe5](https://teacher.desmos.com/activitybuilder/custom/5ced88e21df0500c65cc7e5c#preview/301a660b-a5f7-47e5-9641-a47fdf5d6fe5)

 ![20%20AM](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/2c48d823f0edc65d5b1a2d98ac395c970d5a6f72.png)  
Use the aggregate function to collect each of the numbers from the students’ screen into a single list. Plot that list just like you plotted points on screen 2 by using conditions to hide and show points.

---

<div class="post-metadata">

**Author:** ![Alison](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Alison](https://cl.desmos.com/u/Alison)\
**Post date:** [May 28, 2019, 8:43pm UTC](https://cl.desmos.com/t/help-with-creating-an-activity-for-graphing-inequalities-in-two-variables/491/5 "2019-05-28T20:43:49Z")

</div>

Thank you SO much Jay. I am going to look at these links tonight and learn how to modify / optimize / these things for my own use.

While I was floundering around looking for how to do things this past weekend, I found another thread in the CL help area where some guy was apparently trying to do the same thing about a year ago, and you helped him out. I Googled the guy and found [his blog](http://parkermathed.blogspot.com/) and [his activity](https://teacher.desmos.com/activitybuilder/custom/5c07e3c478f7370cab568b68). I thought it was pretty awesome, and wondered why something like it wasn’t a “featured” activity by Desmos!

Thank you again for helping. I adore Desmos, and want to keep learning how to use it better.

Alison Signorotti
