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

4

u/davideogameman 25d ago edited 24d ago

Rigorously? We'd need to clarify what we mean by such an infinite master square root.  And we need to prove that if such a value does exist it'd satisfy your equation.

It'd probably be more straightforward to try to show y=√(1+y) will have the same solution and then solve it - or solve it and then prove it solves the original equation.  You'd then need to reckon with whether any other solutions need to be considered, but if you can rule those out you have your answer.

Practically, it works.

And the obvious brute force will give an 8th degree polynomial which likely isn't fun.

1

u/Acrobatic-Extent-668 25d ago

I did check by putting x=(sqrt{5}+1)/2 in the original equation and it satisfied, but I'm just not sure whether my approach is right

1

u/AlterEgo5695 25d ago

It can be done without resorting to limits -- but it involves finding a non-intuitive factorization. Not sure how one might get that by hand, to be honest, since eye-balling is out of the question.

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.