I'd like to find a polynomial $f(x) \in \mathbb{Q}[x]$ satisfying $$f(\sqrt{2}+\sqrt{3})=\sqrt{2}$$ and $\deg(f) \leq 3$.
What I've been trying is the following:
Since $f(\sqrt{2}+\sqrt{3})=\sqrt{2}$,
then $f(\sqrt{2}+\sqrt{3})-\sqrt{2}=0$.
so think of $g(x)=f(x+\sqrt{3})-x$ as a polynomial over $\mathbb{Q}(\sqrt{3})$.
And I've already known that $x^2 -2$ is irreducible over $\mathbb{Q}(\sqrt{3})$
$g(x)$ has a $\sqrt{2}$ as a root of itself, $x^2 -2$ divides $g(x)$ in $\mathbb{Q}(\sqrt{3})[x]$.
$g(x)$ must be of the form $(x^2 -2)(ex+f)$ where $e, f \in \mathbb{Q}(\sqrt{3})$
and also of the form $a(x+\sqrt{3})^3 +b(x+\sqrt{3})^2 +c(x+\sqrt{3}) +d -x$, where $f(x)=ax^3 +bx^2 +cx+d \in \mathbb{Q}[x]$.
after comparing the coefficients of two polynomials, I found that $f(x)=\frac{1}{4}x^3-\frac{9}{4}x$.
But the actual polynomial is $\frac{1}{2}x^3-\frac{9}{2}x$.
There must be a flaw in the above reasoning.
Where did I do a mistake? Could you point it out?
Thank you.