# Representing Multiplication of Integers Using Groups on a Number Line

**URL:** <https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125>\
**Category:** Questions\
**Created:** [June 15, 2020, 9:51am UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125 "2020-06-15T09:51:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Rhodes](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/nick_rhodes/32/744_2.png) [@Nick\_Rhodes](https://cl.desmos.com/u/Nick_Rhodes)\
**Post date:** [June 15, 2020, 9:51am UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/1 "2020-06-15T09:51:08Z")

</div>

Hi! I am currently working on editing an existing activity and would like to make a change. I would like to change the -2(6), “negative 2 groups of 6” to 2(-6), “two groups of negative 6”. I believe the CL for this is in the “Midpoint” folder in the graph. Please provide me with the CL changes so I can apply it to other screens. Thank you for your help!

> **[Representing Multiplication of Integers • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5ee74328bcf4ca2d7f6d744b)**
>
> by Nick Rhodes

---

<div class="post-metadata">

**Author:** ![cwinske](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/cwinske/32/3106_2.png) [@cwinske](https://cl.desmos.com/u/cwinske)\
**Post date:** [June 15, 2020, 12:44pm UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/2 "2020-06-15T12:44:27Z")

</div>

No CL changes needed, just a few adjustments in the graph. I made a few changes to make it work.

1. Delete `O=-a`
2. Add `G_6=-G_5`
3. Adjust the label of the second point.  
Here’s what the expression list looks like after these changes:  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/c5acf59826863032fcce7a607defce30bdbb1a2b.png)

---

<div class="post-metadata">

**Author:** ![Micah\_Baldree](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/micah_baldree/32/387_2.png) [@Micah\_Baldree](https://cl.desmos.com/u/Micah_Baldree)\
**Post date:** [June 15, 2020, 7:10pm UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/3 "2020-06-15T19:10:05Z")

</div>

Are there any good tutorials out there for using graphs like this? Through trial and error I feel like I have gotten ok at using the CL for most of desmos (still with much to learn though) but using the graph like this still alludes me. I mostly just see things that are close to what I like and tweak the code how I can to fit what I am looking for. I don’t really know how to make them from scratch.

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [June 16, 2020, 12:57am UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/4 "2020-06-16T00:57:42Z")

</div>

> Are there any good tutorials out there for using graphs like this?

Using what parts of the graph? The rectangles flopping when the “switch” is moved? The “switch” itself?

It’s usually using functions or points with a condition (like the `{n=1}` and `{a>0}`. If these conditions are not true, then a point or function is undefined and therefore won’t display.

---

<div class="post-metadata">

**Author:** ![Micah\_Baldree](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/micah_baldree/32/387_2.png) [@Micah\_Baldree](https://cl.desmos.com/u/Micah_Baldree)\
**Post date:** [June 16, 2020, 1:20am UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/5 "2020-06-16T01:20:12Z")

</div>

More so just the graphs in general. How to use them and code them to do various things.

---

<div class="post-metadata">

**Author:** ![Daniel\_Grubbs](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_grubbs/32/719_2.png) [@Daniel\_Grubbs](https://cl.desmos.com/u/Daniel_Grubbs)\
**Post date:** [June 16, 2020, 1:28am UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/6 "2020-06-16T01:28:08Z")

</div>

If you haven’t already, I’d search for “webinar” in the forum. There are five or so, but not all specifically about graphs. Other things you can do with graphs might be in the Desmos calculator support forums, but not related to Activity Builder. I know there’s various Desmos subreddits as well. Or if there’s something you’ve editing, but don’t quite get what it’s doing, just start a thread and ask.

---

<div class="post-metadata">

**Author:** ![Micah\_Baldree](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/micah_baldree/32/387_2.png) [@Micah\_Baldree](https://cl.desmos.com/u/Micah_Baldree)\
**Post date:** [June 16, 2020, 3:28pm UTC](https://cl.desmos.com/t/representing-multiplication-of-integers-using-groups-on-a-number-line/1125/7 "2020-06-16T15:28:55Z")

</div>

Ill check those out. I blow up this forum enough as is, i’d feel bad asking all the cl graphing questions I have. I’m going to explore those suggestions you made and see what I can come up with, Thanks!
