So I was wondering how to convert an equation of the form $\sqrt{x_1}+\sqrt{x_2}+\sqrt{x_3}+...\sqrt{x_n}+k=0$ into a polynomial equation based on each $x_i$.
For example if the equation was $$\sqrt{x_1}+\sqrt{x_2}+k=0$$, then subtracting $\sqrt{x_2}$ from each side and squaring yields:$$x_1+k^2+2k\sqrt{x_1}=x_2.$$ This can then be rearranged to: $$2k\sqrt{x_1}=-x_1-k^2+x_2.$$ Squaring both sides yields: $$4k^2x_1=x_1^2+k^4+x_2^2+2k^2x_1-2x_1x_2-2k^2x_2.$$ Rearranging/simplifying yields: $$x_1^2+x_2^2+k^4-2k^2x_1-2x_1x_2-2k^2x_2 = 0.$$
How can I find an equation of this form given that $n$ is greater than $4$? I am most interested in when $n = 6$.
COMMENT (A replay to the last comment of the O.P.).-Your problem is actually finding the minimum polynomial of $ -k $ or $ k $ (which, in principle, is an irrational of degree $2 ^ n$) and then the link I gave you offers you the solution you want.
But you post it in a way that could lead to think that it is not. I explain why the minimum polynomial of $-k$ solves the problem. The easiest example is for two radicals and it is enough to understand what I want to say.
You can easily find out the minimal polynomial of $x=\sqrt a+\sqrt b$ which is $$x^4-2(a+b)x^2+(b-a)^2=0$$ and certainly $-k=\sqrt a+\sqrt b$ is a root of it.
Well, in this polynomial you can note that the coefficients are rational functions of $a$ and $b$ then you can pose your problem the way you do in your post by replacing $ a $ for $ x_1 $, $ b $ for $ x_2 $ and $ x $ for $ -k $ or $ k $. This gives the result $$ k ^ 4-2 (x_1 + x_2) k ^ 2 + (x_2-x_1) ^ 2 = 0 $$ what obviously answers your problem for the case $ n = 2 $