The polynomial $P(x)$ has integer coefficients
$p+\sqrt{q}$ is a root of the polynomial, where $p, q$ are rational
Prove that $p-\sqrt{q}$ must also be a root of the polynomial.
(Assume that q is not the square of a rational number).
The polynomial $P(x)$ has integer coefficients
$p+\sqrt{q}$ is a root of the polynomial, where $p, q$ are rational
Prove that $p-\sqrt{q}$ must also be a root of the polynomial.
(Assume that q is not the square of a rational number).
if $ap+b\sqrt{q}=0 \to ap=0 , b\sqrt{q}=0 \to -b\sqrt{q}=0 \to ap-b\sqrt{q}=0$,
for example: $a_3x^3+a_2x^2+a_1x+a_0=0$ have the root $p+\sqrt{q}$,we must have :
$a_3(p+\sqrt{q})^3+a_2(p+\sqrt{q})^2+a_1(p+\sqrt{q})+a_0=0 \to $
$a_3(p^3+3pq)+a_2(p^2+q)++a_1p+a_0=0$ ......<1> and
$a_3(3p^2\sqrt{q}+q\sqrt{q})+a_2(2p\sqrt{q})+a_1\sqrt{q}=0$......<2>
<2> $\to a_3(3p^2(-\sqrt{q})+q(-\sqrt{q})+a_2(-2p\sqrt{q})+a_1(-\sqrt{q})=0$ and
$q=(-\sqrt{q})^2 \to a_3(p-\sqrt{q})^3+a_2(p-\sqrt{q})^2+a_1(p-\sqrt{q})+a_0=0$
now you can do $a_{n}x^n+a_{n-1}x^{n-1}+...a_0=0$ by your self.