If there is a boundary layer at $x=0$ and I have found the outer solutions $y^{left}_{out}$ and $y^{right}_{out}$, and the inner solution $y_{in}$. Than how can I put them together to get a uniformly valid solution $y_{unif}$? Is that just
$$y_{unif}=y_{in}+y^{left}_{out}+y^{right}_{out}-y^{left}_{mathc}-y^{right}_{match}$$
I had try this $y_{unif}$ and plot it together with exact solution, they don't match at all and I play around with those terms and get the following
$$y_{unif}=y_{in}+{y^{left}_{out}+y^{right}_{out} \over 2}-{y^{left}_{mathc}+y^{right}_{match} \over 2}$$
This matched with my exact solution pretty well. So my question is which one (or none of them) is collect and why?