f ( x , y ) g ( x , y ) h ( x , y ) = n x 2 + ( 2 n m ) x y + m y 2 + 4 x + 2 y + 1 = 0 = n x 2 + ( n + m ) x y + m y 2 + 4 x + 2 y + 1 = 0 = n x 2 + ( n − m ) x y + m y 2 + 4 x + 2 y + 1 = 0
Let the graphs f , g , h be a parabola, a hyperbola, and an ellipse, respectively.
If n and m are positive integers satisfying the constraints above, compute 2 n + m .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Remember to check that the cubic discriminant is non-zero, before applying B 2 − 4 A C .
Nicely done! (+1) I did not do it so systematically; I just completed some squares.
I believe there is a small gap in your solution and also in the link you provide. To get a (real) ellipse, you want Δ < 0 , not merely Δ = 0 . Luckily, Δ = − 3 9 for the function h , so, we are safe.
Log in to reply
Thank you for your feedback, sir. Honestly I just learned the discriminant of conic sections from the wiki page, but again we are safe. ;)
Log in to reply
Maybe you can write something like "We want Δ = 0 for a parabola or hyperbola, and Δ < 0 for an ellipse."
Log in to reply
@Otto Bretscher – Thank you for suggestion, sir. If I'm not mistaken, for a real ellipse, the negative discriminant is determined as a + b Δ where a , b are coefficients of squared x , y . Is that correct?
Log in to reply
@Worranat Pakornrat – a = n and b = m are assumed to be positve, but it is still worth stating the condition in full generality.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Discriminant of a Conic Section
In a form of A x 2 + B x y + C y 2 + D x + E y + F = 0 , we can determine the nature of the graph by computing its quadratic discriminant: B 2 − 4 A C .
For parabola, B 2 − 4 A C = 0 , so ( 2 n m ) 2 − 4 n m = 0 . Thus, n m = 1 6 .
As a result, there are 5 possible pairs of ( n , m ) : ( 1 , 1 6 ) , ( 2 , 8 ) , ( 4 , 4 ) , ( 8 , 2 ) , ( 1 6 , 1 ) .
Then for hyperbola, B 2 − 4 A C > 0 . However, for n = m = 4 , B 2 − 4 A C = ( 4 + 4 ) 2 − 4 ( 4 ⋅ 4 ) = 0 , which is not applicable.
Finally, for ellipse, B 2 − 4 A C < 0 . However, for ( n , m ) = ( 1 , 1 6 ) or ( 1 6 , 1 ) , B 2 − 4 A C = ( 1 6 − 1 ) 2 − 4 ( 1 6 ⋅ 1 ) = 2 2 5 − 1 6 = 2 0 9 > 0 , which is also not applicable.
Therefore, only 2 scenarios are left: ( n , m ) = ( 2 , 8 ) or ( n , m ) = ( 8 , 2 ) .
However, when we rewrite the first equation, the new coefficients will be as shown:
a x 2 + 2 h x y + b y 2 + 2 g x + 2 f y + c = 0
In case of n = 8 and m = 2 , the equation is:
f ( x , y ) = 8 x 2 + 2 ( 4 ) x y + 2 y 2 + 2 ( 2 ) x + 2 ( 1 ) y + 1 = 0
Then we can evaluate the discriminant of the equation as:
Δ = ∣ ∣ ∣ ∣ ∣ ∣ a h g h b f g f c ∣ ∣ ∣ ∣ ∣ ∣ = a b c + 2 f g h − a f 2 − b g 2 − c h 2 ,
Thus, Δ = ∣ ∣ ∣ ∣ ∣ ∣ 8 4 2 4 2 1 2 1 1 ∣ ∣ ∣ ∣ ∣ ∣ = 1 6 + 1 6 − 8 − 8 − 1 6 = 0 , .
For a parabola and hyperbola, Δ = 0 while for a real ellipse, a + b Δ < 0 . Therefore, n = 2 and m = 8 .
Checking the discriminants for the other graphs, we will get:
f ( x , y ) = 2 x 2 + 2 ( 4 ) x y + 8 y 2 + 2 ( 2 ) x + 2 ( 1 ) y + 1 = 0 ; Δ = ∣ ∣ ∣ ∣ ∣ ∣ 2 4 2 4 8 1 2 1 1 ∣ ∣ ∣ ∣ ∣ ∣ = − 1 8 .
g ( x , y ) = 2 x 2 + 2 ( 5 ) x y + 8 y 2 + 2 ( 2 ) x + 2 ( 1 ) y + 1 = 0 ; Δ = ∣ ∣ ∣ ∣ ∣ ∣ 2 5 2 5 8 1 2 1 1 ∣ ∣ ∣ ∣ ∣ ∣ = − 2 3 .
h ( x , y ) = 2 x 2 + 2 ( − 3 ) x y + 8 y 2 + 2 ( 2 ) x + 2 ( 1 ) y + 1 = 0 ; Δ = ∣ ∣ ∣ ∣ ∣ ∣ 2 − 3 2 − 3 8 1 2 1 1 ∣ ∣ ∣ ∣ ∣ ∣ = − 3 9 .
All values are checked according to all graphs. Hence, 2 n + m = 2 × 2 + 8 = 1 2 .