Interactive · 1 question
It's important to realize that a function represents any map between two sets. Some examples of functions (let's say from reals to reals) include This particular function has some interesting properties (for example, it is continuous at if and only if is irrational). Another example of a pathological function with interesting properties is the Weierstrass function. Note that functions don't even need to have closed forms!
In other words, unless otherwise specified you should assume nothing about a function other than it gives one output for every input. In particular, you should not assume it is continuous, differentiable, that it has a "closed form", or even that it can be plotted. (See the first paragraph of this section to see how bad the situation can get.)
Here's a fun exercise with a stunning answer. Find the "strangest" function you can such that Of course , , and are three such functions. However, much stranger functions exist!
Can you think of one?
Here's the entire list of functions which work. Aside from the three above, we also have where is any subset of the interval .
Given what we just said about how general functions are, it might be surprising that we can prove these are the only such functions! In fact, this happens to be IMO Shortlist 2004, Problem A6, a notoriously hard olympiad problem.
If you're interested, these types of problems (finding all functions that satisfy some condition) are called functional equations.