整式の除法
【整式の除法】
整式\(P(x)\)を整式\(A(x)\)で割ったときの商を\(Q(x)\)、余りを\(R(x)\)とすると、
\(P(x)=A(x)×Q(x)+R(x)\)
ただし、\(A(x)>R(x)\)とする。
整式の筆算
【例】\((x^2-5x+7)÷(x+3)\)
\begin{array}{r} \textcolor{blue}{x}\textcolor{purple}{-8}\phantom{00000} \\[-3pt] x+3\phantom{.}\enclose{longdiv}{x^2-5x+7} \\[-3pt] \textcolor{red}{\underline{x^2+3x\phantom{.000}}} \\[-3pt] \textcolor{red}{-8x}\textcolor{green}{+7}\phantom{.} \\[-3pt] \textcolor{purple}{\underline{-8x-24}} \\[-3pt] \textcolor{purple}{31} \end{array} (1)\(x^2-5x÷x+3\)ができるので、\(x^2\)の上を計算する。(2)\(x\)の上に\(x\)を書く。
(3)\(x(x+3)=x^2+3x\)となるので、減算して\(-8x\)を書く。
(4)\(7\)をおろす。
(5)\(-8(x+3)=-8x-24\)となるので、減算して\(31\)を書く。
【例題】次の除法の商と余りを求めなさい。
(1)\((2x^3-7x^2+3x+8)÷(x^2-x-3)\)
商:\(2x-5\)
余り:\(4x-7\)
(2)\((x^3-x^2-1)÷(x^2+2)\)
商:\(x-1\)
余り:\(-2x+1\)
組立除法
組立除法は一次式\(x-k\)で割ったときの商と余りを求めることができる。【例】\((x^2-5x+7)÷(x+3)\)
\begin{array}{r} \textcolor{red}{\underline{-3}|}\textcolor{blue}{\phantom{0}1\phantom{0}-5\phantom{00}7} \\[-3pt] \underline{\phantom{000}\textcolor{green}{-3}\phantom{0}24} \\[-3pt] \textcolor{green}{1}\phantom{0}\textcolor{purple}{-8}\phantom{0}31 \end{array} (1)割られる整式の\(x\)の係数を並べる。(2)割る整式の\(x+3\)の\(-3\)を囲む。
(3)\(1\)をおろし、\(-3\)倍して右上に書く。
(4)一列目と二列目の和を書く。
(5)(3)、(4)を繰り返す。
(6)線の下に出た数のうち、右端が余り、それ以外が商の各係数になる。
商:\(x-8\)
余り:\(31\)
【例題】次の除法の商と余りを求めなさい。
(1)\((x^3-3x^2-8x-4)÷(x-2)\)
商:\(x^2-x-10\)
余り:\(-24\)
(2)\((2x^3-5x^2-1)÷(x+2)\)
商:\(2x^2-9x+18\)
余り:\(-37\)