Let us consider a function $~~f(x)=x^3-5x^2+ax-1.~$ Find the value of $~~a~~$ for which $~~2+\sqrt 3~~$ is a root of $~~f$.
My attempt: First way is to put the value $~~x=2+\sqrt 3~~$ in $~~f(x)=0~~$ and evaluate the value of $~~a~~$ which is $~~5.$ But this process is very calculative (Since I am getting only $~~1$ min for each questions in this exam).
Next way is more calculative than this, in which I have consider $~~z,~w~~$ are roots of $~f~$ other than $~~2+\sqrt 3.~~$ Then we have
$$z+w+2+\sqrt 3=5~~~\text{ and }~~~zw=\frac{1}{2+\sqrt 3}.$$
Then by solving aforesaid equation, one of $~z~$ or $~w~$ is $~1~$ and $~~f(1)=0~$ gives $~~a=5.$
Now my question, is there any other simple or easier method to solve this? Because the exam in which this question belongs gives a slight less than $~~1$ min for each questions. Please help me to solve this.
You could try to guess that the polynomial has all rational coefficients (i.e. $a\in\mathbb{Q}$). Then apply the irrational root theorem (I think this is what the name is) to conclude that if $2+\sqrt{3}$ is a root, then so is its conjugate, $2-\sqrt{3}$.
Hence we have that $$\begin{cases}z+2-\sqrt{3}+2+\sqrt{3}=5\\z(2+\sqrt{3})(2-\sqrt{3})=1\end{cases}$$ $$\begin{cases} z+4=5\\ z(1)=1\end{cases}$$ Since there does exist a solution, $z=1$, to this system of equations, our assumption was correct.
We can then calculate, using vieta's, that $$a=z(2-\sqrt{3})+z(2+\sqrt{3})+(2-\sqrt{3})(2+\sqrt{3})$$ $$a=4z+1$$ $$a=\boxed{5}$$