2

I just wanted someone to check my solutions for this problem:

Find the equation of the ellipse with Foci (2,3) and (-1,1) where the distances from any point on the ellipse to the focus sums to 10. Write your answer in the form $Ax^2+Bxy+Cy^2=D$. Sketch the graph of the ellipse.

Solution:

$d_1$ = distance between point $P(x,y)$ and $(-1,1)$

$d_2$ = distance between point $P(x,y)$ and $(2,3)$

$d_1 = \sqrt{(x+1)^2+(y-1)^2}$

$d_2 = \sqrt{(x-2)^2+(y-3)^2}$

$d_1+d_2=10$

$d_1=10-d_2$

$\sqrt{(x+1)^2+(y-1)^2} = 10 - \sqrt{(x-2)^2+(y-3)^2}$

$(x+1)^2+(y-1)^2=100-20\sqrt{(x-2)^2+(y-3)^2}+(x-2)^2+(y-3)^2$

$x^2+2x+1+y^2-2y+1=x^2-4x+4+y^2-6y+9+100-20\sqrt{(x-2)^2+(y-3)^2}$

$6x+4y-11=100\sqrt{(x-2)^2+(y-3)^2}$

Squaring both sides:

$36x^2+16y^2+48xy-132x-88y+121=100^2[(x-2)^2+(y-3)^2]$

Is this the correct answer and is it in the correct form? Or would I have to continue expanding terms out and simplifying?

Also, how would I then end up graphing it? I know that the Foci are (2,3) and (-1,1). I also know that $d_1+d_2=10$ so $2a=10$ so $a=5$.

user130306
  • 1,890
  • 2
    The problem statement says the answer must be in the form $Ax^2+Bxy+Cy^2=D,$ which means collecting all the $x$s and $y$s on the left side of the equation. But they only specified terms with $x^2,$ $xy,$ and $y^2,$ nothing with just a single $x$ or a single $y,$ which is possible only if the center of the ellipse is at $(0,0)$ -- and this one definitely is not. – David K Mar 20 '22 at 22:53
  • hmmm yes I didn't even think of that. So what should I do? – user130306 Mar 20 '22 at 23:08
  • 2
    You should ask your instructor. Unless this form is to be understood as $AX^2+BXY+CY^2=D$ with a change of variables $X=x-1/2, Y=y-2$ bringing the origin onto center $(1/2,2)$. – Jean Marie Mar 20 '22 at 23:13
  • 1
    Yes, I think that is the case here @JeanMarie. I'm agree with you. Also for the OP, congrats for you effort. – A. P. Mar 20 '22 at 23:16
  • 1
    It seems like a good idea to ask the instructor unless you can find more definite instructions for the form of the answer somewhere in the rest of the problem set. – David K Mar 21 '22 at 01:01
  • thanks for the suggestion, I'm going to shoot him an email now. As far as you know, are there any errors that I've made thus far in my solution? – user130306 Mar 21 '22 at 01:09
  • @DavidK Hi, just wanted to update what my professor said: It should be an equation fo the form $Ax^2+Bxy+Cy^2+Dx+Ey=F$. so does that mean I need to continue expanding terms and moving things around so that all variables are on one side? I solved this question the way my prof did in class, which is the way he will test us on. but this seems so tedious and time consuming – user130306 Mar 22 '22 at 01:14
  • It does seem tedious but I suppose the idea is that working it out this way will be more convincing than an abstract argument. (I don't think this is necessarily true for everyone, but I am not your instructor.) A problem with an exercise like this is there are many opportunities to make arithmetic errors, of which you definitely have some, I'm not sure how many. – David K Mar 23 '22 at 02:41
  • Thanks so much. Yes, I did the problem again and I also noticed the errors that I made. However, eventually I got the final answer to be $364x^2-48xy+384y^2-268x-1512y-7121=0$, which is what one of the answers below also have. My only other question is, how would I go about graphing this ellipse? The question asks to graph the ellipse and I'm not sure I know how to do that even though I have the Foci and the standard equation – user130306 Mar 23 '22 at 03:16

2 Answers2

3

HINT

Suppose you are given an ellipse as follows: \begin{align*} \frac{x^{2}}{a^{2}} + \frac{y^{2}}{b^{2}} = 1 \end{align*}

Then we can rotate and translate it in order to obtain the general equation of an ellipse in $\mathbb{R}^{2}$.

Let us start with rotating it first: \begin{align*} \frac{(\cos(\alpha)x - \sin(\alpha)y)^{2}}{a^{2}} + \frac{(\sin(\alpha)x + \cos(\alpha)y)^{2}}{b^{2}} = 1 \end{align*}

Now we can translate it with respect to the point $(x_{0},y_{0})$:

\begin{align*} \frac{(\cos(\alpha)(x - x_{0}) - \sin(\alpha)(y - y_{0}))^{2}}{a^{2}} + \frac{(\sin(\alpha)(x - x_{0}) + \cos(\alpha)(y - y_{0}))^{2}}{b^{2}} = 1 \end{align*}

At the given example, $(x_{0},y_{0}) = (0.5,2)$ and $\tan(\alpha) = 2/3$.

Can you determine $a$ and $b$?

2

You have $F_1 = (2,3), F_2 = (-1, 1)$, and $2 a = 10$

First calculate $b$, from the fact that $2 c= | F_1 F_2 | = \sqrt{3^2 + 2^2} = \sqrt{13} $, therefore, $ c= \sqrt{a^2 - b^2} = \dfrac{\sqrt{13}}{2}$

Therefore, $ a^2 - b^2 = \dfrac{ 13 }{4 } $

From which, $b^2 = (5)^2 - \dfrac{13}{4} = \dfrac{87}{4} $

Thus $ b = \dfrac{\sqrt{87}}{2} $

Now we can build the equation of a shifted/rotated version of our ellipse, such that it is in standard position, with its center at the origin, and its major axis along the $x$ axis. The equation of this ellipse is

$ \dfrac{ x'^2}{a^2 } + \dfrac{y'^2}{b^2} = 1 $

i.e.

$\dfrac{x'^2}{25} + \dfrac{4 y'^2}{87} = 1 $

Next, we need to relate a point $(x', y')$ on this ellipse and the corresponding point $(x,y)$ our target ellipse . The center of our ellipse is the midpoint of $F_1 F_2$ which is

$C = \frac{1}{2} ( (2, 3) + (-1, 1) ) = (\frac{1}{2} , 2 ) $

and our target ellipse is rotated by an $\theta$ whose tangent is

$ \theta = \text{atan2} (F_{2x} - F_{1x} , F_{2y} - F_{1y} ) = \text{atan2}(-3, -2) = \pi + \tan^{-1}(\dfrac{2}{3})$

And this means that

$ \cos \theta = \dfrac{ - 3 }{\sqrt{13} } , \sin \theta = \dfrac{ -2 }{\sqrt{13} } $

Therefore, the rotation matrix is

$R = \dfrac{1}{\sqrt{13}} \begin{bmatrix} -3 && 2 \\ -2 && -3 \end{bmatrix} $

Now the relation between $(x',y') $ and $(x,y)$ is

$(x, y) = C + R (x',y')$

i.e.

$ (x' , y' ) = R^T ( x - C_x , y - C_y ) = \dfrac{1}{\sqrt{13}} \left( -3 (x - \frac{1}{2} ) - 2 (y - 2) , 2 ( x - \frac{1}{2} ) - 3 ( y - 2 ) \right)$

Simplifying the above expression, it becomes

$ (x',y') = \dfrac{1}{\sqrt{13}} ( -3 x - 2 y + \frac{11}{2} , 2 x - 3 y + 5 ) $

Now we just plug in these expressions in the equation of the rotated/shifted ellipse to get

$ \dfrac{( -3 x - 2y + \frac{11}{2} )^2 }{ 13 (25) } + \dfrac{ 4 (2 x - 3 y + 5 )^2 }{ 13 (87) } = 1 $

Our work is almost done, a few final touches, to put the equation in the required form,

The above equation becomes, after multiplying through by $(13)(25)(87)$

$ 87 ( - 3 x - 2 y + \frac{11}{2} )^2 + 100 (2 x - 3 y + 5 )^2 = 28275 $

$ 87 ( 9 x^2 + 4 y^2 + \frac{121}{4} + 12 xy - 33 x - 22 y ) + 100 (4 x^2 + 9 y^2 + 25 - 12 xy + 20 x - 30 y ) = 28275 $

Simplifying and re-arranging, we finally get the desired equation

$ 1183 x^2 -156 xy +1248 y^2 -871 x - 4914 y - 23143.25 = 0 $

which when multiplying by $4$ becomes

$ 4732 x^2 - 624 xy + 4992 y^2 - 3484 x - 19656 y - 92573 = 0 $

And this can be further reduced, by finding the greatest common divisor of the coefficients, which is $13$, and therefore, the equation of the ellipse reduces to

$ 364 x^2 - 48 xy + 384 y^2 - 268 x - 1512 y - 7121 = 0 $

Hosam Hajeer
  • 21,978