Context:
"Find the equation of the ellipse one of whose focus is $(1,-1)$ and the equation of whose directrix is $x-y+2=0$ and eccentricity is $\frac{1}{\sqrt{2}}$. Find also the length of its latera recta."
I was able to find the equation of the ellipse correctly, but I'm unable to find the length of the latera recta.
$$3x^2+3y^2+2xy-12x+12y+4=0$$
The given ellipse can't be expressed in the form $\frac{(x-\alpha)^2}{a^2}+\frac{(y-\beta)^2}{b^2}=1$. If that was possible, I could've found out the length easily using $\frac{2a^2}{b}$ or $\frac{2b^2}{a}$.
My book only taught me how to find the length of the latera recta when the ellipse can be expressed in the form $\frac{(x-\alpha)^2}{a^2}+\frac{(y-\beta)^2}{b^2}=1$, so I have no idea why it's asking me to find the length of the latera recta in this case.
What do I do now?
Yes the equation of the ellipse you have come up with is correct. One of the axes of the ellipse is $y = - x$. Now if you want to express the ellipse in the form $ ~\displaystyle \frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1$, you will have to use rotation of coordinate axes. But to just find the length of latus rectum,
Note that the distance $d$ between a directrix and the near focus is $a (\frac 1 e - e)$.
The distance from $(1, -1)~$ to $~x - y + 2 = 0$ is $2 \sqrt2$. As $e = \frac 1 {\sqrt2}$,
$a = 4, b = 2 \sqrt2~$ and so length of latus rectum is $4$.