# Display moving coordinates

**URL:** <https://cl.desmos.com/t/display-moving-coordinates/1855>\
**Category:** Questions\
**Created:** [November 3, 2020, 9:09pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855 "2020-11-03T21:09:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeewant\_Kaushal](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeewant_kaushal/32/1184_2.png) [@Jeewant\_Kaushal](https://cl.desmos.com/u/Jeewant_Kaushal)\
**Post date:** [November 3, 2020, 9:09pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/1 "2020-11-03T21:09:04Z")

</div>

Hi Squad,

I’m working on an exploration activity dealing with transformations of functions. I’m trying to figure out if there is a way when students move the slider the function can display changing coordinates of key highlighted points.

For example on the parent function there is a point that is labeled (2,4) and when the slider moves I want (2,4) to change accordingly. For the activity I have 5 points that are highlighted and I want their transformation coordinates to keep changing as the slider moves.

Here is the [activity](https://teacher.desmos.com/activitybuilder/custom/5fa1c37aa87a7b0ba3b88d05) that I’m working on.

Thanks in advance for the help!

---

<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:** [November 3, 2020, 9:34pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/2 "2020-11-03T21:34:33Z")

</div>

Name your points, then you can apply tranformations to them for new points. Just need to check Label. You could also put them all into a list

```auto
A=(-2,4)
B=(0,0), etc.
L=[A,B,C,D]
L_1=L+(c,d)

```

---

<div class="post-metadata">

**Author:** ![Jeewant\_Kaushal](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeewant_kaushal/32/1184_2.png) [@Jeewant\_Kaushal](https://cl.desmos.com/u/Jeewant_Kaushal)\
**Post date:** [November 3, 2020, 10:05pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/3 "2020-11-03T22:05:22Z")

</div>

Daniel you are seriously the best!!! Thank you so so soooo much. Also this activity was totally inspired by one of yours that you had posted “Match My Graph”: Transformations in Function Notation."

Also thank you for continuing to answer my questions!

---

<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:** [November 3, 2020, 11:27pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/4 "2020-11-03T23:27:59Z")

</div>

You’re very welcome. “Match My Graph” is actually a Desmos activity. I just adapted it to meet the needs of someone who wanted students to use function notation.

---

<div class="post-metadata">

**Author:** ![Jeewant\_Kaushal](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeewant_kaushal/32/1184_2.png) [@Jeewant\_Kaushal](https://cl.desmos.com/u/Jeewant_Kaushal)\
**Post date:** [November 5, 2020, 5:22am UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/5 "2020-11-05T05:22:34Z")

</div>

Hi Daniel,

If I could bug you again for some help. I’m trying to replicate a demos activity that has depreciated code and this is where you function notation has come in super handy. However, I’m a little stuck on one part.

Besides a,h,k I also want to introduce a fourth element that causes the function to reflect over the y-axis. As “a” has reflection over the x-axis.

Here’s the [activtiy screen](https://teacher.desmos.com/activitybuilder/custom/5fa1c37aa87a7b0ba3b88d05) and a screenshot of the mess I have created for the graphs. In this case e, i, j are the original a, h, k and the new element is u that makes the graph stretch/shrink horizontally and reflect over the y-axis. Is there a possibly for making something like that happen?

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/8/89e1742e2eebdbbf02355d69ff1825041f20102c.png)

Thanks again in advance for the help. I tried to understand everything you had coded in that graph to make all of this work and see if I could somehow make the proper changes and I only got more lost lol.

---

<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:** [November 5, 2020, 5:57am UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/6 "2020-11-05T05:57:28Z")

</div>

In a student answer, `g(x)=af(x-h)+k`, I was treating it as a function of f and x. Then, evaluating the student function at certain values to “solve” for a, h, and k. I’m not sure if a horizontal stretch and reflection throws to much into the mix. Like solving for h with the method I used won’t work for `i_1` because of `u_0`.

---

<div class="post-metadata">

**Author:** ![Jeewant\_Kaushal](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeewant_kaushal/32/1184_2.png) [@Jeewant\_Kaushal](https://cl.desmos.com/u/Jeewant_Kaushal)\
**Post date:** [November 5, 2020, 3:18pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/7 "2020-11-05T15:18:59Z")

</div>

Am I just shooting in the dark at this point then? I thought about just just eliminating “e” all together and only apply “u” with the x to reflect across the y-axis. But clearly this is nothing working either. When I try to input the equation it still only reflects across the x-axis ☹

Or am I missing something where this could somehow work?

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/0/00d7b9af028740a43afa53b558c98b3c5189e7bd.png) ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/0/0c4f98e9fc7e0f0e58bf93e12cf76d06525f1b53.png)  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/e/e7ccc91e6b009c84afbbdd4834e3452ba9b2fb3c.png)

---

<div class="post-metadata">

**Author:** ![Jeewant\_Kaushal](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jeewant_kaushal/32/1184_2.png) [@Jeewant\_Kaushal](https://cl.desmos.com/u/Jeewant_Kaushal)\
**Post date:** [November 6, 2020, 1:47am UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/8 "2020-11-06T01:47:08Z")

</div>

Hi Daniel,

I think I understand why what I’m trying to do is not possible!

---

<div class="post-metadata">

**Author:** ![Susan\_Lauer](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/susan_lauer/32/1832_2.png) [@Susan\_Lauer](https://cl.desmos.com/u/Susan_Lauer)\
**Post date:** [January 6, 2021, 7:44pm UTC](https://cl.desmos.com/t/display-moving-coordinates/1855/9 "2021-01-06T19:44:35Z")

</div>

I didn’t look through all of your code yet, but is this what you mean by the reflection graph?

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/2X/2/20eb2a6500e148d671f78cb1d6648566c93a14db.png)
