I'm trying to step myself through solving partial fractions in a year 10 book by Cambridge. This is a concept they're introducing early for students who want to challenge themselves and it's pretty light on the explanation.
For example: 7/( x+2 ) ( 2x-3 ) = A/2x-3 + B/x+2. I understand how to work this to the point where I reach 7=x(A+2B)+2A−3B. From there I've read that I need to do something called "equating coefficients. The coefficients near the like terms should be equal, so the following system is obtained: A+2B=0 2A−3B=7.
But I don't understand WHY or how it is valid that we set these parts of the equation to these values. Why not A+2B=7 2A−3B=0 for instance. I've tried looking at YouTube and asking friends, but I can't seem to get my head around it.
I can do it and I can solve for A and B using this method. But I'm really struggling to understand what it is I'm doing at that point in the process. The phrase that keeps popping up when I look into this is "we can equate the coefficients of like terms". For example on the wikipedia page on Fraction Decomposition it says "Equating the coefficients of x and the constant (with respect to x) coefficients of both sides of this equation...". Second example: it says "The coefficients near the like terms should be equal, so the following system is obtained: " on the emathhelp page when I enter the equation 7/( x+2 ) ( 2x-3 ).
Assume you were working with
$$ax+b=3x+2.$$
We mean that this holds for any $x$. So in particular, we could write
$$x=0\to b=2,\\x=1\to a+b=5,\\ x=-1\to -a+b=-1,\\ x=2\to 2a+b=8,\ \ \ \ \ \ \ \ \ \ \ \ \\ x=5000\to 5000a+b=1502,\\\cdots$$
This is a system of two unknowns and infinitely many equations. But it turns out that if you solve for a minimum number of equations (with the first two, $a=3, b=2$), the solution is valid for all equations, because the symbolic expressions are fully equivalent.
The same holds for rational fractions or any kind of identification.