Find all solutions to the following IVP:
$$\dot{x}=x^{2023}-x^{2022}$$ $$ x(0) = 1 $$
I am really not sure how to start this problem, my initial idea was to use the separation of the variables, but no matter how I tried I couldn´t solve it correctly, I would appreciate any kind of help or ideas.
When applying separation-of-variables, the first step is to check the right side for roots. These are easily found as $x^*_0=0$ and $x^*_1=1$. These roots correspond to constant solutions. As the right side is a polynomial, the solutions are unique, no branching or coalescing of solutions can occur.
Thus the initial condition $x(0)=1=x^*_1$ implies directly, without any further calculation, that the one and only solution of the IVP is the constant solution $x(t)=x^*_1=1$.