Intro to Functions
Skip to the next section if you already know about functions.
In maths, a function is an equation, for example ''. The thing that sets functions and equations apart is that functions can be defined '' and then used later ''. '' is terminology meaning ‘a function called '' which takes a parameter, ’, and here ‘3’ is the input for the parameter ''. Also, the name does not necessarily have to be '' and the parameter does not necessarily have to be ''. The most common names are '' and ''; and '' is the most common parameter.
Some examples are:
,
,
,
Iterating Functions
Skip to the next section if you already know what '', '' and '' mean.
Say that and , then you can nest the functions by inputting one to the other, eg. is equal to , which in turn can be simplified to , which finally becomes . You can also nest functions three times, and more. For example:
It’s also possible to nest a function with itself instead of other functions. If , then ; and .
Finally there is the inverse. If , then the inverse is defined as the function that, when nested with , would simplify to . In this case the inverse is . (The inverse is written as .) To prove it: .
Nesting Shorthand
I use '' to mean . This is unofficial and if you were to ask a maths examiner to simplify '' then they would say, ‘You have the 2 in the wrong place!’, swap it to '' and then simplify that by simply squaring whatever equation represents. The reason I shorten it like this is because:
-
Then you can write '' as '' and
-
You’ll see.
Also normally '' is written '', without the extra brackets, but I feel like that just distracts from the actual meaning and can be sort of confusing.
Generalisation Time!
So after doing that, then I found that it was quite fun (at least for a complete maths geek like myself) to work out puzzles like the following:
My solution:
And then I wondered, why not do it in reverse? So of course then I attempted:
My solution:
If , then . This can be simplified to . Notice that there is only one term with in it on both sides of the equation. Therefore, the coefficients for each of those terms are equal to each other. Therefore, , and finally . Next, subtract out the two terms to leave . is equal to 2, so this becomes , , . Therefore and . Substitute into the original equation: .
Notice that my solution is much longer for the reverse progress — it is much more complicated.
Next, I thought, why does it have to be integers? Why can’t I have ? So I made that a thing, and defined to equal (By this time I had gotten into the habit of using '' to mean '', because they are functionally identical — just like and ).
After that then I started challenging myself not just to find or , but to find the general . Here is one such challenge:
My solution:
Gather info first. ; ; . For each addition of 1 to , the coefficient of is multiplied by 3. This is because each time there is and since the constants can never be combined with the term, if your sole aim is to find the new term, then the equation simplifies to . The constant is always 1 less than the term, and this also has a reason. If the term’s coefficient is and the old constant is already , then this substitutes to , which becomes . Finally this turns into . The term has been multiplied by 3 (like before) and the constant is still one less than the term’s coefficient. With this information, we can justify the recognition of the term’s coefficient in as and the recognition of its constant as . And now I think I see a general formula: . I feel that I made some mistakes here, and that this is not as formal as I would have hoped, but it got the correct answer.
Test:
Let’s work out in two ways. One from the general formula, and one where we ‘flip inside out’. The second is the normal method I would use because it is faster as it does not need the working out above.
First, the general formula. Substituting gives . This simplifies to , which simplifies one last time to give .
Next, the ‘inside out’ method. , so first we need to subtract the two: . This simplifies to , so that gets rid of the constant. Next, divide by three to give . This is correct because it simplifies to when you pop the . Therefore, .
Let’s compare the two. and may look different at a glance, but if we pop the brackets in the second equation and distribute the , then it makes: . Exactly the same! I think this works.
This means we can mess around and stick in any old number to the formula, like . Or even, for the truly mad (like me), the imaginary number , (equal to ). This results in approximately deep breath . (I used a calculator for that one — sad).
Paradoxes
And, there is an inverse to the operation that changes into . It’s probably nigh-on impossible, but I’m going to attempt to use this inverse on . Oh wait. I can just substitute. That was disappointing. I was hoping for something really difficult. Oh well. . Sad.
Wait. If I can do that, then I suppose the general function will work for as well. Let’s test that. It’s the normal way and the general function says that it’s… ?! I guess the general function is paradoxical. Dis-ap-point-ing! Oh well.
Now for something very interesting. Here’s another puzzle:
My solution:
.
Nothing problematic yet, but now…
My solution:
I don’t have one, and I can prove that a new axiom must be added to mathematics to give an answer to this equation. Here’s my reasoning:
Count the terms in each equation: 2, 3, 5, 9. These can be represented by the general formula .
Now this means that the number of terms in must be . You can’t have a number of terms that isn’t an integer! Finally, I did skip over something earlier: I jumped to a conclusion that 2, 3, 5, 9 would continue 17, 33, 65, 129… one way and …1.5, 1.25, 1.125 the other. So I will now prove that the general formula is correct. When squaring the equation, there will be two terms in the working out: and . The first will simplify to , which contains a term for every even number between (inclusive) and . The second will simplify to , which contains a term for every even number between (inclusive) and 0. When combined, these two terms simplify to an equation which contains a term for every even number between and 0. If the previous function already has 1 more than a power of 2 terms, then this one will also have 1 more than a power of 2 terms. Hopefully that clears that up.
Oh, and one last thing: what does happen if you try to solve it?
You end up with a negative amount of terms in the centre. This is a mathematical impossibility — and therefore the equation does not exist. Although, we do know that the first term must actually be '' — and are both 1! The reason for this is that for each addition of 1 to , the exponent of the first term doubles, and it NEVER gains a coefficient. So in reverse, it still will never gain a coefficient, and the exponent will be halved, to 1. And also, '' gets squared then raised by one for each time that is raised by one. It’s just getting the function applied to it! The reason for this is:
In the equation, when the constant is multiplied by something else as a result of the squaring, the new term does not contribute to the new constant. Only when the constant is multiplied by itself will the result contribute to the new constant. And this only happens once, so the squaring simply squares the constant. Then, on the end, there is a ‘+1’, so the constant gets one added to it. So when gets lowered by one, we apply the inverse of to it, namely . In this case, after substituting we are left with . This is equal to 0 exactly — the constant vanishes! Now it seems a little more plausible that there could be terms, but that number is still negative, so the paradox remains.
The Axioms & Outro
So, in conclusion, the axioms for this system are:
I hope that you enjoyed this journey to the outskirts of the mathematical land (or at least as far as I’m daring to go, it’s not happening infinity! I’m watching you). I will be back with another one in a few weeks or so at most. See you then.
No. I already told you. Not happening. Sorry infinity. Now can you please go so that I can finish this blog post?
No?! That’s a terrible answer. If you don’t leave soon then I’m subtracting infinity from you.
I’m not kidding, why do you look so carefree?
Ok, that’s it! .
Oh, that old trick again. Fine! You can stay. Just let me finish this post, because it’s long as it is!
[sighing] Thank you.
So, see you then (but not you infinity, please leave before I lose my temper again).