Solve in $\mathbb R$ the following equation $$x^2-2x+1=\log_2 (\frac{x+1}{x^2+1})$$
First of all from the existence conditions of the logarithm, we have $x > -1$. Analyzing $x^2 - 2x - 1$ , we get that for $x \in (-1,1]$ , the function $ x \mapsto x^2 - 2x - 1$ is strictly decreasing and $ x^2 - 2x - 1 \in [-2,2)$ and for $x \in [1,\infty)$ the function $ x \mapsto x^2 - 2x - 1$ is strictly increasing and $ x^2 - 2x - 1 \in [-2, \infty)$.I don't know if it helps, but at least we know the monotony of the left member. Now it seems quite complicated what I have to do next. I don't know how many solutions there are, but I assume there are 2. We'll probably have to rely on the convexity/concavity of the functions(IDEA : as the coefficient of $x^2$ is strictly positive, and the discriminant of the equation of degree 2 is greater than 0, the function $ x \mapsto x^2 - 2x - 1$ is strictly convex , maybe we can show that the right member is strictly concave so we have at most 2 solutions), but I don't really know how.If you have any idea or a solution, I'm here to listen. Thanks!
