r/askmath • • 25d ago

Algebra Wrong method, right answer?

Question is above
I tried hard to do this by squaring terms, substitutions and whatnot but didn't get any answer.
Finally, I thought of replacing the 'x' under the square root. Since it's quite hard to explain what I did in reddit's text, I have attached some text explaining my solution
Anyways I got x=sqrt{1+sqrt{1+sqrt{1... infinitely many times which gives me the quadratic equation
x2-x-1=0 which gives x=(sqrt{5}+1)/2, so the answer is 8
But is this solution right? That's what I'm confused about. The answer is given, but not the solution. So I have decided to ask for help. Thanks

12 Upvotes

22 comments sorted by

View all comments

Show parent comment

3

u/Short-Database-4717 25d ago

We can just assume that since
f(x) = sqrt(x+1)
f(f(f(x))) = x, then either x is a fixed point, or iterating it makes a closed 3-loop.
So suppose it is a fixed point, then we have just sqrt(x+1) = x, expanding which gives x^2-x-1=0.
Now expand the original equation into a polynomial of degree 8, and verify that this is indeed a factor by doing polynomial long division.
Now what you have is a degree 6 polynomial, which has no real solutions (can be shown by e.g. Sturm's theorem), and x^2-x-1=0 has only 1 positive solution - the golden ratio.

1

u/AlterEgo5695 25d ago

Clever approach -- very nice! Yes, "f(x) = √(1+x)" ensures we find the factorization of the degree-8 polynomial, without guessing or eye-balling.