A Crazy Simultaneous Equations Problem: Find all Positive Solutions

"Physics & Astronomy"
21 followers
6 Video Views·Nov 23, 2025
We solve x_{1} + 1/x_{2} = ... = x_{99} + 1/x_{100} = sqrt{2}, x_{2} + 1/x_{3} = ... = x_{100} + 1/x_{1} = sqrt{8}, for all positive solutions.
Okay so we're going to solve this problem where we need to find all the positive solutions to this
system of equations. We've got 100 different variables x1 up to x100 satisfying each of
these equations and there's quite a neat kind of trick way of solving this that relies on
an inequality called the arithmetic geometric mean inequality. So we'll just take a moment
before we get into our proper solution to this problem explaining where this inequality comes
from. So this inequality works for positive numbers so if we've got let's say a and b are
both greater than or equal to zero there's a quite a neat way of deriving this just using some simple
algebra. We've got the square root of a minus the square root of b all squared. This is of course a
real number squared so this is going to be greater than or equal to zero but then if we expand the
brackets on the left hand side we're going to have a and b from squaring each of those terms. We've
got an a plus a b and then we have minus two times root a times root b so minus two times the
square root of we'll write it as the square root of a b that's the same as having root a root b so
this is greater than or equal to zero so we can rearrange a plus b is greater than or equal to
two root a b and then if we divide by two on both sides we get half times a plus b is greater than
or equal to the square root of a b and the arithmetic geometric mean inequality does also
have more generalization so instead of just having for two numbers we'd have this for n numbers but
here we're only going to use this for two numbers so you might see some of this structure in the
question that we've got the sum of two things we've got some square roots there so often when
we have an inequality it's not just about having the inequality there's also some extra information
of exactly when is this an equality so where it's equal so you can see here our original step this
quantity squared would be equal to zero exactly when root a equals root b so we would need a
equals b here so it's equal to zero when a equals b so this means that half a plus b is
equal to the square root of a b exactly when a equals b so this is going to be useful for us
later on so we've got this inequality now we've also got the condition if and only if for when
this equality is actually an equality so let's apply this to our problem now so we've got each
of these sums for example x1 plus 1 over x2 we multiply this by a half we now know that a half
x1 plus 1 over x2 is greater than or equal to the square root of x1 times 1 over x2 so we can
write this the square root of x1 over x2 just to keep it a little bit simple and then we can do
exactly the same thing for x2 plus 1 over x3 so a half of x2 plus 1 over x3 is greater than or equal
to the square root of x2 over x3 and this continues on we could go all the way to the final one would
a half times x100 plus 1 over x1 is greater than or equal to root x100 divided by x1 and this
becomes useful now because we've got all of these quantities on the left hand side are bigger than
each of these quantities on the right hand side so if we actually take the product of all of these
bigger things this is still going to be bigger than the product of all of these smaller things
because everything's positive here so then we could group all of these together we've got x1
x2 up to x100 so there's 100 of these so we multiply them all together we first of all got a
half raised to the power of 100 then we've got this product x1 plus 1 over x2 going all the way
up to x100 plus 1 over x1 so this big product is greater than or equal to the product of all
of these square roots so we go into a fresh line for this because they're all square roots we'll
write them all under a single square root sign so we've got x1 over x2 multiplied by x2 over x3
and so on if we include the penultimate one as well so x99 over x100 and finally x100 over
x1 you can see there's some really satisfying cancellation here so the x2 cancels with this x2
this x3 would cancel in the next term the x99 would cancel in the previous term the x100 goes
and even the x1 there cancels with this x1 so we're actually just left with the number 1 this
is the square root of 1 so we've got this whole quantity this big product on the left hand side
is greater than or equal to 1 and then if we multiply by 2 to the 100 on both sides
we're then going to get that this product x1 plus 1 over x2 times all of these all the way up to
the hundredth one x100 plus 1 over x1 this is now greater than or equal to 2 to the power of 100
we've multiplied by this 2 to the 100 on both sides and thinking back to the original problem
we actually know what the value of each of these terms in the product is equal to so they're either
equal to root 2 if they begin with x with an odd term or they're equal to root 8 if they begin with
x and an even number so this whole product we can write its value we've got 50 of these
odd terms we've got 50 of these even terms so this whole product is just going to equal to
of course we can simplify this as well so this is root 2 to the 50 root 8 to the power of 50
so we could combine these together root 2 times root 8 gives us a root 16 or 4 raised to the
power of 50 and 4 is 2 squared so we actually write this as 2 to the power of 100 but wait
we've just seen that originally this product was supposed to be greater than or equal to this 2 to
the power of 100 and now it's actually equal to 2 to the 100 so this is really important though
because this means every application of our arithmetic geometric mean inequality must have
been equals rather than being a strict inequality because if we just look at this for example let's
say that if we had x n plus 1 over x n plus 1 for example if this was actually greater than
the square root of x n over x n plus 1 we'd still have this factor of a half as well if this one was
greater than this square root quantity then this would mean that our whole product would have to
be bigger than 2 to the power of 100 unless for example our for a different one let's say x m
plus 1 over x m plus 1 this one would have to be less than this square root because otherwise if
one of them becomes bigger than this square root quantity then another one would have to be smaller
we'd have to have a strict inequality in the other way so this would be greater than root x m over
x m plus 1 but of course if we get this scenario this is now violating the arithmetic geometric
mean inequality so we know that this can't be the case so this is like having a contradiction
so it's not possible to have a strict inequality here so they all have to be equal to each other
in order for our entire product to be equal to 2 to the power of 100 and then because we've got
equality here we've got equality if and only if the two terms being summed are equal to each other
so then we can say that x 1 is equal to 1 over x 2 and similarly here x 2 is equal to 1 over x 3
and so on all the way up to the final one where we've got x 100 is equal to 1 over x 1 so now
we can actually solve to find this if we've got x 1 plus another 1 over x 2 which is equal to x 1
that's equal to root 2 we're just effectively saying then that 2 times x 1 equals root 2 if
we've got x 1 plus another x 1 equals root 2 so then x 1 is equal to root 2 over 2 and then if we
want to work out the next one we could just use the fact that x 2 is going to be the reciprocal of
so x 2 would be the reciprocal of this 2 over root 2 or even nicer we could rationalize the
denominator so multiply on the top and bottom by root 2 we get 2 root 2 over 2 or actually just
the number root 2 for x 2 here and then when we go on to x 3 that's the reciprocal of x 2 so this
would actually be 1 over root 2 which is just the same as what we have before root 2 over 2 if we
rationalize the denominator so all of the odd terms are equal to each other so x 3 then x 4
would be equal to x 2 we just keep going back and forth doing the reciprocal back and forth between
root 2 and root 2 over 2 so then we've solved the problem here at least we found all of the
positive solutions to the problem so we can just conclude this we write this in quite a nice way
then we can say that x 2k minus 1 so all of the odd terms these are all equal to root 2 over 2
and then all the even terms we'll write these as x 2k these are just equal to root 2 so then
we've solved our problem and we've found all of the positive solutions to our system of equations
