How does one parameterize $x^2 + xy + y^2 = \frac{1}{2}$? 
Parameterize the curve $C$ that intersects the surface
  $x^2+y^2+z^2=1$ and the plane $x+y+z=0$.

I have this replacing equations:
$$ x^2+y^2+(-x-y)^2=1$$
and clearing have the following:
$$ x^2+xy+y^2=1/2$$
which it is the equation of an ellipse but I find it difficult parameterization values
Any advice will be of much help, thanks in advance


Since $2 x^2 + 2 x y + 2 y^2$ is a quadratic form, we write
$$\begin{bmatrix} x\\ y\end{bmatrix}^T \begin{bmatrix} 2 & 1\\ 1 & 2\end{bmatrix} \begin{bmatrix} x\\ y\end{bmatrix} = 1$$
We now compute the eigendecomposition of the matrix above
$$\begin{array}{rl} \begin{bmatrix} 2 & 1\\ 1 & 2\end{bmatrix} &= \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}}\\ \frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{2}}\end{bmatrix} \begin{bmatrix} 3 & 0\\ 0 & 1\end{bmatrix} \begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}}\\ \frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{2}}\end{bmatrix}\\\\ &= 3 \begin{bmatrix} \frac{1}{\sqrt{2}}\\ \frac{1}{\sqrt{2}}\end{bmatrix} \begin{bmatrix} \frac{1}{\sqrt{2}}\\ \frac{1}{\sqrt{2}}\end{bmatrix}^T + \begin{bmatrix} \frac{1}{\sqrt{2}}\\ -\frac{1}{\sqrt{2}}\end{bmatrix} \begin{bmatrix} \frac{1}{\sqrt{2}}\\ -\frac{1}{\sqrt{2}}\end{bmatrix}^T\end{array}$$
Thus, $2 x^2 + 2 x y + 2 y^2 = 1$ can be written as
$$3 \left(\frac{x+y}{\sqrt{2}}\right)^2 + \left(\frac{x-y}{\sqrt{2}}\right)^2 = 1$$
It should now be easy to parameterize the ellipse.
