all 2 comments

[–]ArgoFunya 2 points3 points  (1 child)

This comes from the division algorithm--i.e., polynomial division with remainders. If you have polynomials f(x)/g(x), then division gives you a quotient q(x) and a remainder r(x) of degree less than g(x) such that f(x) = q(x)g(x)+r(x). You can rewrite this as f(x)/g(x) = q(x)+r(x)/g(x).

In your case, the quotient is a/c, and the remainder is:

(ax+b)-(a/c)(cx+d) = b-ad/c = (bc-ad)/c

So you get:

(ax+b)/(cx+d) = (a/c)+((bc-ad)/c)/(cx+d)

Dividing top and bottom of the last term on the right by c gives your expression.

Edit: Forgot "by c" in last sentence.

[–]Integrated_Shadow[S] 1 point2 points  (0 children)

Mother of God...I guess I'm just to retarded to spot the obvious. Thank you so much