This question is not a duplicate of this one or this one, since the solutions shown there contain jumps.
Let $f(x)$ be an analytic function on $\mathbb{R}$. We can take its Taylor series and group the terms with a positive coefficient in one function $f_+(x)$ and terms with a negative coefficient in a function $f_-(x)$. Then $f(x) = f_+(x) - f_-(x)$, both components are monotonically rising on $\mathbb{R}_+$, and both are analytic. However, at $0$ the components would have to swap to maintain monotonicity, creating a discontinuity. Can this be avoided?
For an easier question, consider specifically the case of $f(x) = x^2$. I can't even find a simple decomposition for this basic case. I'm not convinced it exists -- this is not homework, I have no idea which way the truth lies.