today, we were taught the polynomial remainder theorem and to prove it, the following identity was written in the board by our teacher.
$$f(x) = g(x)(x-A) + R ----------->(1)$$
Here, f(x) and g(x) are polynomials with f(x) being the dividend and (x-A) being the divisor. R is a constant with real value. (Please excuse my English for I have studied mathematics in my native language)
However, since I have knowledge in simplifying fractions, I thought that the same could be written as below,
$$f(x) / (x-A) = g(x) + R / (x-A) -------->(2)$$
In this case, we can not define the identity at x=A. (Or divide the polynomial at x=A for that matter). However we get the correct results from the connection I have marked as (1) above. How is this possible?
To further elaborate my question with a count example, we can do the following,
$$(x^3 + 6x^2 + 11x + 6) / (x+4) = x^2+2x+3-6/(x+4) ------->(3)$$
We know that we can not divide the polynomial at x = -4 in the connection I have marked as (3). However, we can write it as, $$(x^3 + 6x^2 + 11x + 6) = (x^2+2x+3-6)(x+4) - 6 -------->(4)$$
and then find the remainder by substituting x = -4
Can someone kindly explain to me how come this is possible?