Please help!

tpo7

New member
Joined
Jan 14, 2021
Messages
3
On this problem:
Let k be a positive real number. The square with vertices (k,0), (0,k),
(-k,0), and (0,-k) is plotted in the coordinate plane. It is possible to draw an ellipse so that it is tangent to all sides of the square; several examples are shown below.
Find necessary and sufficient conditions on a > 0 and b > 0 such that the ellipse
{x^2}/{a^2} + {y^2}/{b^2} = 1 is contained inside the square (and tangent to all of its sides.

My steps so far have been substitutey+x=k into {(x^2)/a^2)}+ {(y^2)/(a^2)} and simpify it down to (b^2+a^2)x^2-2a^2kx+a^2k^2-a^2b^2=0. Can someone show me what to do from here? I really, really appreciate the help!week 6.png
 
Note that the sides of the square have slopes 1 (the sides from (0,-k) to (k, 0) and from (-k, 0) to (0, k)) and -1 (the sides from (0, -k) to (-k, 0) and from (0,k) to (k,0)).

The ellipse x2a2+y2b2=1\displaystyle \frac{x^2}{a^2}+ \frac{y^2}{b^2}= 1 has derivative given by 2xa2+2yyb2=0\displaystyle \frac{2x}{a^2}+ \frac{2yy'}{b^2}= 0 so y=b2xa2y\displaystyle y'= -\frac{b^2x}{a^2y}. Where is that 1 or -1?
 
Thank you! I actually solved this problem on my own, but thanks for your input!
 
Here it is:
Alright, let's start by looking at the ellipse formula {x^2}/{a^2} + {y^2}/{b^2} = 1. It is given that a line tangent to this is x + y = k. The best possible way to do this is substitution.
We can set this as y = k - x and substitute it into {x^2}/{a^2} + {y^2}/{b^2} = 1.

{x^2}/{a^2}+\{(-x+k)^2}{b^2}=1
Now, we multiply it by a^2b^2.
{x^2}/{a^2}a^2b^2+{(-x+k)^2}/{b^2}a^2b^2=1a^2b^2
Then we simplify:
b^2x^2+a^2(-x+k)^2=a^2b^2
Now to expand:
b^2x^2+a^2(-x+k)^2
b^2x^2+a^2x^2-2a^2kx + a^2k^2
b^2x^2+a^2x^2-2a^2kx+a^2k^2=a^2b^2
Now, we subtract a^2b^2 from both sides:
b^2x^2+a^2x^2-2a^2kx+a^2k^2-a^2b^2=a^2b^2-a^2b^2
Now to simplify further:
(b^2+a^2)x^2-(2a^2*k)x+(a^2k^2-a^2b^2)=0


This equation ((b^2+a^2)x^2-2a^2kx+a^2k^2-a^2b^2=0) is a quadratic equation.
Let us find the discriminant of this.
Now, a discriminant is b^2-4ac. This looks much more intimidating than it actually is to find the discriminant.
Our “a” would be b^2+a^2, our “b” would be -2a^2*k, and our “c” would be a^2k^2 - a^2b^2.

Let's find the discriminant:
(-2a^2*k)^2-4(b^2+a^2)(a^2k^2-a^2b^2)
(-2a^2*k)^2 = 2^2a^4k^2
2^2a^4k^2-4(a^2+b^2)(a^2k^2-a^2b^2)
=4a^4k^2-4(a^2+b^2)(a^2k^2-a^2b^2)
Now we have to expand -4(a^2+b^2)(a^2k^2-a^2b^2):
-4(b^2 + a^2)(a^2k^2-a^2b^2) = -4a^2b^2k^2 + 4a^2b^4 - 4a^4k^2 + 4a^4b^2

Now we have 4a^4k^2-4a^2b^2k^2+4a^2b^4-4a^4k^2+4a^4b^2
Time for us to simplify this out!
After simplifying, we get 4a^4b^2+4a^2b^4-4a^2b^2k^2.

We can use the Exponent Rule to get this equation: 4a^2a^2b^2+4a^2b^2b^2-4a^2b^2k^2
Now, we factor out the common term of 4b^2a^2, to get the equation of
4b^2a^2(a^2+b^2-k^2).
Now, the discriminant must be 0 in order for there to be only one solution
where the ellipse just touches the square. So, our next step would be to set the discriminant equal to 0.
4b^2a^2(a^2+b^2-k^2) = 0


(Someone can probably go on on their own from here)
 
Beer soaked suggestion follows.

It's been revealed recently (by Dr. Peterson) here that enclosing a mathematical expression with a symbol whose name I can't recall at the moment (that backslash version of ') will cause them to be shown in latex format. So,

tpo7 said:
Here it is:
Alright, let's start by looking at the ellipse formula x2a2+y2b2=1. It is given that a line tangent to this is x+y=k. The best possible way to do this is substitution.
We can set this as y=k-x and substitute it into x2a2+y2b2=1.

x2a2+{(-x+k)2}{b2}=1
Now, we multiply it by a2b2.
x2a2a2b2+(-x+k)2b2a2b2=1a2b2
Then we simplify:
b2x2+a2(-x+k)2=a2b2
Now to expand:
b2x2+a2(-x+k)2
b2x2+a2x2-2a2kx+a2k2
b2x2+a2x2-2a2kx+a2k2=a2b2
Now, we subtract a2b2 from both sides:
b2x2+a2x2-2a2kx+a2k2-a2b2=a2b2-a2b2
Now to simplify further:
(b2+a2)x2-(2a2k)x+(a2k2-a2b2)=0


This equation ((b2+a2)x2-2a2kx+a2k2-a2b2=0) is a quadratic equation.
Let us find the discriminant of this.
Now, a discriminant is b2-4ac. This looks much more intimidating than it actually is to find the discriminant.
Our “a” would be b2+a2, our “b” would be -2a2k, and our “c” would be a2k2-a2b2.

Let's find the discriminant:
(-2a2k)2-4(b2+a2)(a2k2-a2b2)
(-2a2k)2=22a4k2
22a4k2-4(a2+b2)(a2k2-a2b2)=4a4k2-4(a2+b2)(a2k2-a2b2)
Now we have to expand -4(a2+b2)(a2k2-a2b2):
-4(b2+a2)(a2k2-a2b2)=-4a2b2k2+4a2b4-4a4k2+4a4b2

Now we have 4a4k2-4a2b2k2+4a2b4-4a4k2+4a4b2
Time for us to simplify this out!
After simplifying, we get 4a4b2+4a2b4-4a2b2k2.

We can use the Exponent Rule to get this equation: 4a2a2b2+4a2b2b2-4a2b2k2
Now, we factor out the common term of 4b2a2, to get the equation of
4b2a2(a2+b2-k2).
Now, the discriminant must be 0 in order for there to be only one solution
where the ellipse just touches the square. So, our next step would be to set the discriminant equal to 0.
4b2a2(a2+b2-k2)=0


(Someone can probably go on on their own from here)

Note: I see a minor typo.
 
Top