`#3107.101107`
`a,`
`P \div Q:`
`x^4 - 3x^3 + 3x^2 - ax + b` | `x^2 - 3x + 4`
- `x^4 - 3x^3 + 4x^2 - ax + b` | `x^2 - 1`
-------------------------------------
`-x^2 - ax + b`
- `-x^2 + 3x - 4`
`=>` Để `P \vdots Q`; `a = 3; b = - 4` (tm).
`b,`
`P \div Q:`
`6x^4 - 7x^3 + ax^2 + b` | `x^2 - x + 1`
- `6x^4 - 6x^3 + 6x^2` | `6x^2 - x`
------------------------------
`-x^3 + (ax^2 - 6x^2) + b`
- `-x^3 + x^2 + 1`
------------------------------
`0`
Để `P \vdots Q`
`=>`\(\left\{{}\begin{matrix}\left(ax^2+6x^2\right)-x^2=0\\b-1=0\end{matrix}\right.\)\(\Rightarrow\)\(\left\{{}\begin{matrix}a=7\\b=1\end{matrix}\right.\)