it's called polynomial long division, which works pretty much like regular division.

.

so:

what we are doing is writing a polynomial f(x) in the form:

f(x) = q(x)g(x) + r(x)

in order to deduce that:

this is entirely analogous to writing for integers a,b:

a = qb + r

where q is called the QUOTIENT, and r is called the REMAINDER.

thus a/b = q + r/b.

for example, if a = 37, and b = 7, we have:

37 = (5)(7) + 2, so that:

37/7 = 5 + 2/7.

the long division of polynomials is carried out just as you would for integers, except instead of the "10s place" you have the "x place", and instead of the "100s place" you have the "x^{2}place" and so on.

the second example is slightly different.

note that:

(this is an example of "partial fraction decomposition" where one takes:

and splits it into the form:

in this case, the A(x) and B(x) turn out to be simple: A = 2, and B = 1, but this is not always the case (there may be more about this later on in the text when it comes time to integrate rational functions).).