Game Development Reference
In-Depth Information
You then multiply x þ 3by2 x to arrive at the expression you subtract from the
dividend. The multiplication proceeds as follows:
2 xðx þ 3 Þ¼ 2 x 2
þ 6 x
Given this term, you then subtract the term from the dividend and find the
remainder:
To carry out the subtraction, it is necessary to consider the signs of the terms in
the subtracted expression. To prevent errors, you can treat the subtraction as an
addition problem and change the signs of all terms in the subtracted expression:
You then carry out the next step, which involves dividing 3x þ 7byx þ 3.
To carry out this division, you again concentrate on x , this time with an exponent
of 1:
3 x
x ¼ 3
When you perform the long division, you multiply x þ 3by 3, to obtain 3x 9:
After you carry out the subtraction, the remainder in this instance is 16, so the
answer is 2x 3 þ
16
x þ 3 .
 
Search WWH ::




Custom Search