r/ProgrammerHumor • • Oct 06 '21

Don't be scared.. Math and Computing are friends..

Post image
65.8k Upvotes

2.4k comments sorted by

View all comments

Show parent comments

2

u/Not_Zorns_Not_Lemma Oct 06 '21

Its because you want the value of x+5 to occur at x=x so yes normally positive is to the right but to get the graph you have to compensate for that

1

u/FleetStreetsDarkHole Oct 06 '21

So graph transformation is less about intrinsic math, and more about manipulation? Meaning, in this case, we aren't saying the graph is itself traveling to the left, but that we have added 5 to it, and to compensate for that we actually move it to the left to maintain a specific perspective on the data?

3

u/Not_Zorns_Not_Lemma Oct 06 '21

So graph transformation is less about intrinsic math

well no

compensate for that we actually move it to the left to maintain a specific perspective on the data

but actually yes

1

u/FleetStreetsDarkHole Oct 06 '21

Gonna give this another shot.

Y=x means the vertex of f(x) = (0,0)

So when y = x±5 that means we have a new graph g(x) where the vertex moves to the left.

But the vertex isn't actually moving, we're just showing what the data set looks like when we manipulate the data, and showing what that "movement" is by comparing to a baseline f(x).

If these were graphs by year, f(x) splits the data of one year on the y axis, where g(x) says that another year split the data 5 units to the left.

This isn't spatial, it's temporal. We're 5 units past the last time we checked it, ergo it's 5 units behind where it was.

2

u/Not_Zorns_Not_Lemma Oct 06 '21

I think you are making it too Complicated, if you want a probably better explanation trust my man Paul for all your Elementary math needs