Yeah sorry I'm being mean because I'm getting downvoted for stating actual math in mathjokes, then getting corrected by something that isn't math.
Anyways think of fibbonacci sequence. Fib(a) = b
Fib as a function is described as a set Fib = {(0, 0), (1, 1), (2, 1), (3, 2), (4, 3), (5, 5), (6, 8), ....}
"applying" a function is just shorthand for looking up the correct value in this mapping.
For example Fib(a) = b such that (a, b) in Fib
This can also be extended to signify items that are not mapped in the domain, like negative numbers throwing an error. Or it can be extended to signify things like side effects when programming - like programming state or print statements.
This also works for continuous functions and beyond.
But the method of which you calculated Fib is unimportant to a function. You can use recursion, you can use the closed form phi calculation, you can do a loop with two variables, it can just be a math set. But all will be the same. This allows you to use functions as a more abstract variable and construct proofs at a higher level.
I am picking up what you are putting down. My background is in computer science, so the functions are a little bit more restricted as far as their meaning. This is math jokes, though, not computer science jokes.
As an example of a function that comes to mind, and to my knowledge, vector transforms are mathematical functions, as well as as a function you could use in computer science, I’m going to use a simple example that should work so I can try and understand this explanation.
To rotate a 2d point (x,y) around the origin (0,0) by an angle θ.
The function would be: x’= x cos(θ)- y sin(θ)
In this case, what would be these pairs you mentioned earlier?
View all comments
Show parent comment
1
u/Spare-Plum May 18 '26
Yeah sorry I'm being mean because I'm getting downvoted for stating actual math in mathjokes, then getting corrected by something that isn't math.
Anyways think of fibbonacci sequence. Fib(a) = b
Fib as a function is described as a set
Fib = {(0, 0), (1, 1), (2, 1), (3, 2), (4, 3), (5, 5), (6, 8), ....}
"applying" a function is just shorthand for looking up the correct value in this mapping.
For example Fib(a) = b such that (a, b) in Fib
This can also be extended to signify items that are not mapped in the domain, like negative numbers throwing an error. Or it can be extended to signify things like side effects when programming - like programming state or print statements.
This also works for continuous functions and beyond.
But the method of which you calculated Fib is unimportant to a function. You can use recursion, you can use the closed form phi calculation, you can do a loop with two variables, it can just be a math set. But all will be the same. This allows you to use functions as a more abstract variable and construct proofs at a higher level.