$x^2 + 3x + \frac{3}x + \frac{1}{x^2} = 26$ and $x$ can be written as $a + \sqrt{b}$ where $a$ and $b$ are positive integers, then find $a + b$. If $x$ satisfies $x^2 + 3x + \frac{3}x + \frac{1}{x^2} = 26$ and $x$ can be written as $a + \sqrt{b}$ where $a$ and $b$ are positive integers, then find $a + b$.
This equation becomes $x^4+3x^3-26x^2+3x+1=0$ which has four solutions. One of the solutions is $2+\sqrt3$ which has the form $a+\sqrt b$. So, $a+b=2+3=5$. How does this look?

Let $t = x + \frac{1}{x}$, then the equation is $$t^2 - 2 + 3t = 26,$$ or $$t^2 + 3t -28 = 0.$$
Then, we have $t = 4$ or $t = -7$. 
If $t=4$, then $x + \frac{1}{x} = 4$, then $x = 2 \pm \sqrt{3}$.
If $t=-7$, then $x + \frac{1}{x} = -7$, then $x = \frac{1}{2}(-7\pm \sqrt{45})$.
Because $a$ and $b$ are positive integers, then $x = 2 + \sqrt{3}$. And yes, $a+b=5$.
