I am trying to linearize the following function, but, having difficulties.
Let,
$x = \frac{l}{m},$
where $l,m \in R^+$ and $l<m$
Assume $l$ is a variable, while, $m$ is a constant (parameter), which makes $x$ a variable. I want to find a linear approximation for the following:
$f(x) = \frac{x}{2m(1-x)}$
In other words, as $2$ and $m$ are constant, I am interested in
$g(x)=\frac{x}{1-x}$
I plotted the graph, but, it did not really help to derive something useful. Any help is appreciated.
If, over a range $a\leq x \leq b$, you want the best linear approximation $A+Bx$ of $$f(x) = \frac{x}{2m(1-x)}$$ the solution is to minimize the norm $$F=\int_{a}^{b} \left(A+Bx-\frac{x}{2m(1-x)} \right)^2$$ with respect to parameters $A$ and $B$.
Integrating and then computing the partial derivatives $\frac{\partial F}{\partial A}$ and $\frac{\partial F}{\partial B}$ and setting them equal to $0$ leads to two linear equations in $(A,B)$ $$2m(b-a) A + m (b^2-a^2)B+(b-a)+\log \left(\frac{1-b}{1-a}\right)=0$$ $$6m(b^2-a^2)A+4m(b^3-a^3)B+3 (b-a) (a+b+2)+6\log \left(\frac{1-b}{1-a}\right)=0$$ which you can simplify factoring $(b-a)$ in several places. I let to you the pleasure of finding $A,B$ (but this is simple).
Around $x=0$, for $a=-b$, using Taylor series, we have $$A=\frac{b^2}{6 m}+\frac{b^4}{10 m}+O\left(b^6\right)\qquad B=\frac{1}{2 m}+\frac{3 b^2}{10 m}+\frac{3 b^4}{14 m}+O\left(b^6\right)\qquad F=\frac{2 b^5}{45 m^2}+O\left(b^7\right)$$
Taking an example using $a=-0.1$, $b=0.1$, $m=1$, this would lead to $$A=\frac{1}{2} \left(-1+5 \log \left(\frac{11}{10}\right)+5 \log \left(\frac{10}{9}\right)\right)\approx 0.00167674$$ $$B=-150 (1+10 \log (3)-5 \log (11))\approx 0.503022$$