W Twoim przykłądzie problemy wynikają stąd, że w konstrukcji
Kod: Zaznacz cały
phantom{-x^4-2x^3-x^2-}
Popracowałem troszeczkę i stworzyłem cos takiego:
Kod: Zaznacz cały
egin{array}{lcl}
phantom{-{}}x^4 - 3x^3 + 3x^2 - 4x + 3 & : & (x-1) = x^3 - 3x^2 + x - 3 \
-x^4 +phantom{3} x^3 \
cline{1-1}
phantom{-x^4}-2x^3 + 3x^2 - 4x + 3 \
phantom{-x^4 -{}}2x^3 - 2x^2 \
cline{1-1}
phantom{-x^4-2x^3 -2} x^2 - 4x + 3 \
phantom{-x^4-2x^3}-phantom{2}x^2 +phantom{4} x \
cline{1-1}
phantom{-x^4-2x^3-2x^2}-3x+3\
phantom{-x^4-2x^3-2x^2-{}}3x-3\
cline{1-1}
phantom{-x^4-2x^3-2x^2-{}}mathrm{R}=0
end{array}
\(\displaystyle{ \begin{array}{lcl}
\phantom{-{}}x^4 - 3x^3 + 3x^2 - 4x + 3 & : & (x-1) = x^3 - 3x^2 + x - 3 \\
-x^4 +\phantom{3} x^3 \\
\cline{1-1}
\phantom{-x^4}-2x^3 + 3x^2 - 4x + 3 \\
\phantom{-x^4 -{}}2x^3 - 2x^2 \\
\cline{1-1}
\phantom{-x^4-2x^3 -2} x^2 - 4x + 3 \\
\phantom{-x^4-2x^3}-\phantom{2}x^2 +\phantom{4} x \\
\cline{1-1}
\phantom{-x^4-2x^3-2x^2}-3x+3\\
\phantom{-x^4-2x^3-2x^2-{}}3x-3\\
\cline{1-1}
\phantom{-x^4-2x^3-2x^2-{}}\mathrm{R}=0
\end{array}}\)
Wygląda troche lepiej, jak sądzę