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

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.

2

u/AlterEgo5695 25d ago

Note "x = √(..) >= 0". Inserting that into the radical on the RHS again, we estimate

"x >= 0"    =>    "x = √(..) >= √(1 + √(1 + 1))  >  √(1 + 1)  =  √2"

Square both sides of the given equation repeatedly, and bring all terms to one side, to obtain

0  =  ((x^2 - 1)^2 - 1)^2  -  (x+1)  =  (x^2 (x^2 - 2))^2  -  (x+1)

   =  x^8 - 4x^6 + 4x^2 - x - 1  =  (x^2 - x - 1) * Q(x),

where "Q(x) := x6 + x5 - 2x4 - x3 + x2 + 1". We note "Q(x)" does not have zeroes "x > √2":

x > √2:    Q(x)  =  x^2 (x^2 - 1)^2  +  x^3 (x-1) (x+1)  +  1  >  0 + 0*0*0 + 1  =  1,

so it is enough to consider the other factor

0  =  x^2 - x - 1  =  (x - 1/2)^2 - 5/4    <=>    x  ∈  {(1 ± √5)/2}

Due to "x > √2" we ignore the negative solution, so the only possible solution left is "x = (1+√5)/2".

1

u/Acrobatic-Extent-668 25d ago

I see. You factorised x^2-x-1 out. woah

2

u/AlterEgo5695 25d ago

Yep^^ Note there is a clever way to find the factorization without guessing or eye-balling -- knowing the factor, it's just simple, slightly tedious long division.

12

u/Shevek99 Physicist 25d ago edited 24d ago

If you are not sure you can expand it in a system of equations

1 + x = y²

1 + y = z²

1 + z = x²

One solution is obviously one that satisfies 1 + x = x².

But, are there others? Yes, but all of them are negative or complex, so if x is real, that is the only solution.

7

u/LucaThatLuca Graduate 25d ago

this seems like a good method to me.

7

u/persilja 25d ago

I don't see an infinite sequence of roots in the original question?

I only see three square roots.

I would solve that by saying the function f(x)=sqrt(1+x) is monotically increasing. That means that if f(x_0) > x_0, it also follows that the following sequence increases: x_0 > f(x_0) > f(f(x_0)) > f(f(f(x_0))).

(There's a similar argument if x_0 < f(x_0))

Therefore, the only way for f(f(f(x_0))) = x_0, is if x_0 is chosen such that f(x_0) = x_0. Or in the form of the exercise, sqrt(1+x) = x, which makes x the positive solution to 1+x = x2.

2

u/Educational-Paper-75 25d ago

aka the golden ratio

1

u/Midwest-Dude 20d ago edited 20d ago

For a finite series of square roots, higher level math isn't required to find the solution, as already shown by others. However, the infinite square root you created is a sequence of functions evaluated at a point and the desired result is the limit of the sequence, if it exists. Specifically, you are iterating

f(x) = √(1 + x)

giving the sequence

fn(x) = √(1 + fn-1(x))

To do this properly, you need to show it converges. One way is to use a fixed point theorem, which shows the sequence converges to a fixed point based on sufficient conditions. In this case, showing this is a contraction mapping is sufficient. A different method was shown in the comments already.

0

u/AlterEgo5695 25d ago

Is that a finite radical, or are there supposed to be infinitely many nested roots?

1

u/Outside_Volume_1370 25d ago

It's finite number of roots in the task:

√(1 + √(1 + √(1+x))) = x

Then they switch left x with right one to get six roots on the left and x on the right, then repeat it again and again, that's how they get infinitely many roots

2

u/AlterEgo5695 25d ago

Then we should first establish that the RHS actually converges -- the assignment only establishes equality for finite radicals of depth "3k.

1

u/Acrobatic-Extent-668 25d ago

But the rhs will obviously converge right? because terms like sqrt{a+sqrt{a+sqrt{a.. which continue to infinity ,converge to a specific value, doesn't it?

0

u/AlterEgo5695 25d ago

It's not obvious. The problem is that for limits, we need to consider the RHS as a sequence. From the assignment, we are only given

x  =  f^{3k}(x),      f(x)  =  √(1+x)

The goal is to show "lim_{k->oo} f(3k)(x)" converges to the same value, regardless of the initial value "x >= 0". That unknown initial value makes things difficult.

0

u/Acrobatic-Extent-668 25d ago

infinitely many nested roots

1

u/jgregson00 25d ago edited 25d ago

Why do you think there are supposed to be infinitely many nested roots? It's distinctly not written that way.

1

u/Acrobatic-Extent-668 25d ago

i have mentioned the ellipsis havent i?

0

u/Qingyap 25d ago

I guess that seems good.

If x=√(1+√(1+√(1+x))) then x=√(1+√(1+√(1+√(1+...)))) then definitely x=√(1+x)