The Question:
$$\varepsilon y''+f(x)y'+y=0 \qquad y(-1)=0 \qquad y(1)=1$$
where $0<\varepsilon \ll 1$ and $f$ is a given smooth function that is strictly positive with $f(1)=f(-1)=1$.
(i) Determine the location of the boundary layer
(ii) Obtain leading order outer and inner solutions
My Attempt:
(i) By first assuming that $y(x,\varepsilon) \sim y_0(x) + \varepsilon y_1(x)+\cdots$ is of order $O(1)$, I plugged this into the equation to obtain
$$f(x)y_0'(x)+y_0(x)=0 \qquad y_0(-1)=0 \qquad y_0(1)=1$$
at the leading order. Solving this gives
$$y_0(x) = A\exp\biggl(-\int \frac{dx}{f(x)}\biggl)$$
for some constant $A$. If we try to satisfy $y_0(-1)=0$ here, we get $A=0$ which is a contradiction, for then $y$ would not be of order $O(1)$.
It follows that the boundary layer is at $x=-1$.
(ii) So I have already found $y_0$ above, which is indeed the leading order term to the outer solution.
But how do I find the constant $A$ if I don't know what $f$ is?
How do I use the fact that $f(-1)=f(1)=1$?