Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

#1: Initial revision by user avatar Peter Taylor‭ · 2024-07-03T16:15:07Z (5 months ago)
#### All real roots are in $[0, 1)$.

If $x \le 0$ then $f(x) \le x$ with equality only at $x = 0$. By induction, for all $n \in \mathbb{N}$ and $x \le 0$ we have $f^n(x) \le x$ with equality only at $x = 0$.

If $x \ge 1$ then $f(x) \le 0$, so for all $n \in \mathbb{N}$ we have $f^n(x) \le 0 < x$.

Therefore by elimination all real roots of $f^n(x) - x$ are in the interval $[0, 1)$.

#### There are $2^n$ real roots for $n \ge 1$

Let $g_-(x) = \frac{1 - \sqrt{1 - x}}{2}$ and $g_+(x) = \frac{1 + \sqrt{1 - x}}{2}$. $g_-$ is a continuous bijection from $[0,1]$ to $[0, \tfrac12]$ and $g_+$ is a continuous bijection from $[0,1]$ to $[\tfrac12, 1]$. Both of them satisfy $f(g(x)) = x$.

Consider a function $h$ constructed by composing some sequence of length $n \ge 1$ where each element of the sequence is $g_-$ or $g_+$. Then $f^n(h(x)) = x$. Moreover, $h$ is a continuous bijection from $[0,1]$ to some closed interval $I_h \subset [0,1]$ which depends on the sequence used to construct it. $h(0) \ge 0$ and $h(1) \le 1$, so by Bolzano's theorem<sup>&dagger;</sup> there is a fixpoint $x_h$ for which $h(x_h) = x_h$. Therefore $f^n(h(x_h)) = f^n(x_h)$, whence $f^n(x_h) = x_h$.

Finally, we note that each choice of sequence gives a different interval for the domain of $h$, and therefore for the corresponding fixpoint $x_h$. The intervals aren't quite disjoint: to complete the proof it's necessary to deal with the special case $g_-(1) = g_+(1)$, but since we've already noted that $1$ isn't a root I will hand-wave that away.

There are $2^n$ choices of sequences, so at least $2^n$ real roots in $[0, 1)$; but since $f^n(x) - x$ is a polynomial of degree $2^n$ it cannot have more than $2^n$ roots.

The key point which I think you were missing is the relevance of continuity.

---

<sup>&dagger;</sup> To be precise, we need to case split on equality vs inequality and apply Bolzano's theorem in the case with no equality.