Ferrous nitride is a crystalline, metallic solid, usually found in powdered form, which is insoluble in water. It has the chemical formula
.
Heh, just kidding; I won't tax you with these stuff. Chemistry was never really my forte anyway. What I am going to do is, though, to dwell on that neat formula
. Doesn't it look cute? (Hint: it doesn't.) In honour of that elegant formula that allegedly holds the key to understanding the mysteries of our universe
, I'll write the solutions (plus some motivation) of
FEs and
Number theory problem. Yeah, that's
totally how I interpret chemical formulas. Guess who botched the chemistry exam last year?
Chemical Analysis #1: Surjection curing dejection
Quote:
(Iran TST 2011 P5) Find all surjective functions

such that for every

we have
![\[f(x+f(x)+2f(y))=f(2x)+f(2y).\]](//latex.artofproblemsolving.com/7/d/9/7d9cfc85fc6f11d1cfab2c8e0e03911f50f5a3ae.png)
Darn, this is bad. Everything is inside those
's; I doubt we can pull out anything out of them. And there's also that surjectivity thing; what can it do, anyway? Well, surjectivity allows us write

for any

we wish...hang on, did we just pull out

from
? Excellent! I bet this trick is going to be useful.
OK, let's start with plugging random values, 'cause that's pretty much all we can do at this stage. To make life easier, let

mean
lug in

and

into the given equation. So, we can plug in

anywhere; we can even cook up a mystery constant

so that

via surjectivity, that'd let us cancel a bunch of stuff. Elementary combinatorics (yay!) says there are basically

plug-ins that might be useful, but we're not gonna try all of them, are we? Let's trying spamming everything with
's, that'd get us a whole lot of zeros:

Cool, so even

leads to
. Can we use that fact anywhere? Of course, we can spam
one of the variable slots with
, like so

Now we're talking. If we can somehow manage to get injectivity, we can argue
, and we'll be left with checking the linear functions. So we need to get hold of injectivity.
Well, let's begin just as all canonical injectivity proofs begin. Suppose
; we hope to prove that

somehow. However we try to use the given equations, we'd run into things like
; so let's settle that. From
, we have
. That's neat.
Now that we've got more letters to shuffle around, let's do that.

and

give

Now because of the surjectivity of
, the expression

can take any real value, so
. Calling
, we have that

is a period of
, and we wish to show
. But that'd require pulling

out of the
's somehow...of course, that's what the trick in the first paragraph was for! Let

be such that
, then we can use the periodicity of
, with

and

like so:

As we've seen before, this leads us to
, and now it's trivial to check that only

works. And that seals the deal.
Chemical Analysis #2: Cubes versus newbs
So I finally managed to nail a P6. GG.
The only things that look somewhat scary are the fact that there are inequalities, not equalities, and that things are raised to third powers. We can squeeze out an equality out of the inequalities, but the cubes are going to be painful.
The first few steps are fairly routine: plug in zeros,
, and all that stuff. Here's how it goes:
If

is a function satisfying the conditions, then so is

for any constant
, so we can assume WLOG
. Note that the given statements imply:
For reals

with
, we have
Call this statement
. Now

gives
, so

is odd. Now for
, we have
, so condition

gives
. Because of oddness, we have

for
. So

takes nonnegative values at non-negative inputs and non-positive values for non-positive inputs.
Now we run into an impasse. First of all we need equalities, not inequalities; so the quoted statement would probably be the only useful thing from this point. Also, that

is an annoying constraint; let's drop

altogether:
Consider that statement
. Because

is odd, this translates into
Good work, but not great. There's nothing outside
's, we lost a variable, and we're nowhere near completion. We need one more variable, at least. Where do we get that from? We introduce a new one, of course! This brings us to the next part of the solution:
Using the above equation multiple times, we obtain

Similarly, switching the roles of

and

we get,

Comparing these two expressions for
, we obtain
Ugh, that looks horrible. But that does hint at something;

mostly respects addition, because if we ignored the
's and added the terms in the above equation, we'd get an identity. The respect is shown in a rather ugly way, though. We need to ensure that those weird expressions can be replaced by generic
. So we need to find

so that
. Oops, that's hard, mostly because it's a system of
cubic equations. Let's loosen up the conditions a bit; we don't need
, just gotta make sure that
. Playing around with the equations a bit, noticing the homogeneity and some luck gets us to the following chain of reasoning:
Now choose arbitrary positive reals

and consider the following system of equations

We claim that this has a solution in reals
. Indeed, set
, and

becomes

And

becomes

The function

is continuous on
![$[0,1]$](//latex.artofproblemsolving.com/e/8/6/e861e10e1c19918756b9c8b7717684593c63aeb8.png)
and
. Since
, there is a

so that
. Choose this
, and the corresponding
. Then scale both

and

by

to get

so that

holds; then

and

would hold automatically. Thus

exist; clearly
.
Now that we've chosen suitable
, note that

and

So

Using these in

gives

Setting
, this becomes

So

satisfies Jensen's functional equation over positives, and it's bounded on
, so

for some
, which works.
Whoopee.
Chemical Analysis #3: Continuous f(rustration)
Quote:
(Tuymaada 2003, P4) Find all
continuous functions

defined for all

such that for every
,
Proposed by F. Petrov
I tried this months ago, without much success. I tried it again today morning, and having solved it, it doesn't seem even
that hard. Possibly, I've actually messed up and managed to overlook some glaring flaw; so read at your own discretion, and let me know if it's glitched.
There's a lot of reciprocal business going on, so let's start with something like that. Replace

by

in the given equation, and we have

Notice something:

respects addition in the same as the previous problem did; ignore the
's and you end up with an identity. Now the key piece of intuition is: the pair

has the same sum as the
, but the numbers in the latter pair are closer together (check it!). This suggests some approach like this: take
, and express them as

and
, use the above equation and find a new pair of numbers

and

and make our new
, which are closer together. If we repeat this ad infinitum, the numbers in the pair will become equal in the limit (here's where we use continuity), and we can infer something nice. This motivates the following:
Take arbitrary positive reals

so that
, and define the sequences

as follows:

and for
, take positive reals

so that

(these exist because
), and define

Because of the equation above,

Also,

is a constant throughout. Now take any
, and consider the numbers
. Let

be the corresponding values that satisfy

This implies

Then we have

But we have

so

Now

is a constant less than
, so

converges to zero. It's now easy to see that

are convergent as well, in fact they both converge to
; so invoking

and continuity,

Okay, that's almost Jensen but with a constraint. How do we turn that into omnipotent Jensen? By introducing new variables, of course!
Now take arbitrary
. Choose sufficiently large

so that:
These conditions are easy to satisfy by taking huge
; in fact, many of these are redundant. So by applying

multiple times, we have

Therefore

for arbitrary

so Jensen says

for

(or just

if the codomain is supposed to be
, thanks @anantmudgal09 for pointing this out), which works nicely.
Chemical Analysis #4: Size matters
Quote:
(IMO 2011 P5) Let

be a function from the set of integers to the set of positive integers. Suppose that, for any two integers

and
, the difference

is divisible by
. Prove that, for all integers

and

with
, the number

is divisible by
.
Proposed by Mahyar Sefidgaran, Iran
This may be IMO Problem 5 or a shortlist N5 or whatever, but I find this to be a massive troll. Not quite fitting of an Iranian problem. Tsk tsk.
Hmm, so looks like the solutions are
...hey, wait, the range is
positive numbers?! Where do negative numbers map to? Darn,

is most likely some stupid function like constant or some ugly piecewise beast.
So let

denote the statement
. As always, we start with plugging in nice things like

and stuff. So this gives:

Wow,

is
even. Also, every

is a divisor of
, so

can take at most finitely many values. Can it get any sillier?
We want to finish off this thing as quickly as possible, so let's get to two variables. Choose

and let's do whatever we can with them.

Now we need a quick bookkeeping-ish job based on size-reasons. Suppose WLOG
, then
, so
, but we have
, so
. Then

follows immediately, proving the claim.
I hate it when the only non-trivial idea in a number theory problem is that divisibility implies size constraints. Fortunately, there's a better NT problem coming up to ease off that pang...
Chemical Analysis #5: Fair and square
Quote:
(Tournament of Towns 2012) Let

be a positive integer. Prove that there exist integers

such that for any integer
, the number

is divisible by
.
Lemme tell you a little secret:
every ToT problem is discreetly a combinatorics problem. Trust me. Things may look disguised as something else, they might contain bits of non-trivial occurrences of divisibility, triangle, polynomials and what not, but deep down these are really attempts at masquerading.
It's combinatorics all the way down.
In this problem, too, the key is combinatorial thinking.

can take all

possible residues; we somehow need to restrict that to

by squaring and adding stuff. Squaring

once makes the number of residues bog down to

already since
, so we're in good shape. Now we can add
's and square lots of times in the meantime. It'd be really nice if adding

and squaring reduced the number of possible residues everytime by at least
. In that case, we could decrease the possibilities by

each until adding

and squaring leaves us with only one possibility, in which case we could use a suitable

to the whole thing to make that possibility zero.
Okay, let's see what we can do. Well, the only time the number of possible residues changes is when we square. But that collapses

and

together. So maybe we can shift any two possible residues by

at any given instant so that they become of the form
, and
then square? Well, let's say

are two possible residues at some point. We want to find

so that
, and of course, this works, because
, so division by

makes sense! So we can add this

and then square, so that the number of possible residues decreases by at least
, and proceed as described before. Mission accomplished!
Also, a fun fact:

is grey in colour, so you may slyly call it 'grey matter' and feel smug for the rest of the day.
This post has been edited 6 times. Last edited by Ankoganit, Jun 30, 2017, 3:59 AM