3x4+5x3−x2+x−2x−2
There are various ways of writing the details Here's one way.
−−−−−−−−
x−2) 3x4 +5x3 −x2 +x −2
What do we need to multiply the first term on the divisor (x) by to get the first term of the dividend (3x4)? Clearly, we need to multiply by 3x3
3x3
−−−−−−−−
x−2) 3x4 +5x3 −x2 +x −2
Now multiply 3x3 times the divisor, x−2, to get 3x4−6x3 and write that under the dividend.
3x3
−−−−−−−−
x−2) 3x4 +5x3 −x2 +x −2
3x4 −6x3
−−−−−
Now we need to subtract 3x4−6x3 from the dividend. (You may find it simpler to change the signs and add.)
3x3
−−−−−−−−
x−2) 3x4 +5x3 −x2 +x −2
−3x4+6x3
−−−−−
11x3−x2 +x −2
Now, what do we need to multiply x (the first term of the divisor) by to get 11x3 (the first term of the last line)? We need to multiply by 11x2
So write 11x2 on the top line, then multiply 11x2 times the divisor x−2, to get 11x3−22x2 and write it underneath.
3x3 +11x2
−−−−−−−−
x−2) 3x4 +5x3 −x2 +x −2
−3x4+6x3
−−−−−
11x3−x2 +x −2
11x3−22x2
−−−−−−
Now subtract (change the signs and add), to get:
3x3 +11x2
−−−−−−−−
x−2) 3x4 +5x3 −x2 +x+x -2−2
" " " " color(red)(-)3x^4color(red)(+)6x^3−3x4+6x3
" "" "" " -----−−−−−
" "" "" "" "" " 11x^311x3-x^2−x2" " +x+x -2−2
" "" "" "" " color(red)(-)11x^3−11x3color(red)(+)22x^2+22x2
" " " "" "" " ------−−−−−−
" "" "" "" "" "" "" "" " 21x^221x2 #+x -2#
Repeat to get 21x21x, so we put the 99 on top multiply, subtract (change signs and add) to get:
" " " " " " "" "3x^3 3x3 +11x^2+11x2 +21x+21x
" " " " --------−−−−−−−−
x-2 )" "x−2) 3x^43x4 +5x^3+5x3 -x^2−x2" " +x+x -2−2
" " " " color(red)(-)3x^4color(red)(+)6x^3−3x4+6x3
" "" "" " -----−−−−−
" "" "" "" "" " 11x^311x3-x^2−x2" " +x+x -2−2
" "" "" "" " color(red)(-)11x^3−11x3color(red)(+)22x^2+22x2
" " " "" "" " ------−−−−−−
" "" "" "" "" "" "" "" " 21x^221x2 #+x" "# -2−2
" "" "" "" "" "" "" " color(red)(-)21x^2−21x2 color(red)(+)42x+42x
" " " "" "" "" "" " --------−−−−−−−−
" "" "" "" "" "" "" "" "" "" "" " 43x43x -2−2
We'll be done when the last line is 00 or has degree less than the degree of the divisor. Which has not happened yet, but we're close.
" " " " " " "" "3x^3 3x3 +11x^2+11x2 +21x+21x +43+43
" " " " --------−−−−−−−−
x-2 )" "x−2) 3x^43x4 +5x^3+5x3 -x^2−x2" " +x+x -2−2
" " " " color(red)(-)3x^4color(red)(+)6x^3−3x4+6x3
" "" "" " -----−−−−−
" "" "" "" "" " 11x^311x3-x^2−x2" " +x+x -2−2
" "" "" "" " color(red)(-)11x^3−11x3color(red)(+)22x^2+22x2
" " " "" "" " ------−−−−−−
" "" "" "" "" "" "" "" " 21x^221x2 #+x" "# -2−2
" "" "" "" "" "" "" " color(red)(-)21x^2−21x2 color(red)(+)42x+42x
" " " "" "" "" "" " --------−−−−−−−−
" "" "" "" "" "" "" "" "" "" "" " 43x43x -2−2
" "" "" "" "" "" "" "" "" "" " color(red)(-)43x−43x color(red)(+)86+86
" " " "" "" "" "" " --------−−−−−−−−
" "" "" "" "" "" "" "" "" "" "" "" "" "" " 8484
Now the last line has degree less than 11, so we are finished.
The quotient is: 3x^3+11x^2+21x+433x3+11x2+21x+43 and the remainder is 8484
We can write:
(3x^4+5x^3-x^2+x-2)/(x-2)= 3x^3+11x^2+21x+43 + 84/(x-2)3x4+5x3−x2+x−2x−2=3x3+11x2+21x+43+84x−2
IMPORTANT to understanding what we have done:
If we get a common denominator on the right and simplify we will get exactly the left side.