lubo said:
Why should 1 = 1+A
Why 2 = B-3A
Why 3=9-3B
I found 9-3B = 3 because I put x = 0 in (x^2 + 2x + 3)
This is what I am failing to understand i.e. why choose these and not just Zero?
Thanks again as I realize this must be obvious to you.
OK, that is a good question. So assume that there exist ##A## and ##B## such that
$$x^2+2x+3=(1+A)x^2+(B−3A)x+(9−3B)~~~~(1)$$
are true
all ##x##. In particular, it must be satisfied for ##x=0##. This gets us the equation
3 = 9-3B~~~~(2)
But it must also be true for ##x=1##, which gets us
1^2 + 2\cdot 1 + 3 = (1+A) + (B-3A) + (9 - 3B)~~~~(3)
And it must also be true for ##x=-1##, which gets us
(-1)^2 + 2\cdot (-1) + 3 = (1+A) -(B-3A) +(9 - 3B)~~~~(4)
Subtracting ##(2)## from ##(3)## and ##(4)## leaves us with the two equations
1 + 2 = (1+A) + (B-3A)~~~~(3^\prime)
and
1 - 2 = (1+A) - (B-3A)~~~~(4^\prime)
Adding up these two gets us
2 = 2(1+A)
or just ##(1+A) = 1## which I call ##(5)##. Subtracting ##(5)## from ##(3^\prime)## then gets us
2 = B-3A
So we finally see that we have the equations
1+A = 1,~2= B-3A,~3=9-3B
Of course, I didn't do all that just to find these equations. What I said was simply that since
$$x^2+2x+3=(1+A)x^2+(B−3A)x+(9−3B)$$
must be true for all ##x##, then all the coefficients must equal. So the coefficients of ##x^2## must equal, which gets us ##1+A=1##. The coefficients of ##x## must equal, which gets us ##2 = B-3A##, and the constant terms must equal, so ##3 = 9-3B##.
But then you can ask why must the coefficients equal? Well, my above (long) arguments proves it. In general, whenever you are in the situation that
Ax^2 + Bx + C = \alpha x^2 + \beta x + \gamma
you can apply my argument above and get that ##A=\alpha##, ##B=\beta## and ##C=\gamma##. So all coefficients equal.