# Find the integer values of p and q.

#### anemone

##### MHB POTW Director
Staff member
For what integers p and q is where $$\displaystyle x=\sqrt {29}+\sqrt {89}$$ is a root of the equation $$\displaystyle x^4+px^2+q=0$$

#### Opalg

##### MHB Oldtimer
Staff member
For what integers p and q is where $$\displaystyle x=\sqrt {29}+\sqrt {89}$$ is a root of the equation $$\displaystyle x^4+px^2+q=0$$
If $x=\sqrt {29}+\sqrt {89}$ then $x^2 = 29+89 + 2\sqrt{29*89} = 118 + 2\sqrt{29*89}$, and $(x^2 - 118)^2 = 4*29*89$. That is, $x^4 - 236x^2 + (118^2 - 4*29*89) = 0$, or $x^4 - 236 x^2 + 3600 = 0.$ So $p=-236,\ q=3600.$