Given that $\frac{a}{1-x}+\frac{b}{1+2x}\approx-3+12x$ for small values of $x$, find the value of $a$ and $b$.
This question is very hard i am on the chapter of Binomial expansion of $(1+x)^n$ for values of n that are not positive integers i know how to solve these questions but have no idea how to solve this type of question when involves 2 unknown variables.
Using $\displaystyle\frac{1}{1+y}\approx 1 - y$ for small $y$, we wish to find $a$ and $b$ such that:
$$\frac{a}{1-x} + \frac{b}{1 + 2x} \approx 12x - 3$$
$$a(1 + x) + b(1 - 2x)= 12x - 3$$
$$(a - 2b)x + (a + b)= 12x - 3$$
Now, to make all of the terms match we have the system of linear equations:
$$\begin{cases}a - 2b = 12\\a + b = -3\end{cases}$$
Solving, we get $\boxed{(a, b) = (2, -5).}$