Let f ( x ) = x 2 + 3 x − 4 and g ( x ) = x 2 − 4 x + 4 .
If h ( x ) = f ( x ) + α g ( x ) , where α = n m with m and n being positive coprime integers, and h ( x ) = p ( x − q ) 2 for some rational numbers p and q .
Find m + n .
Try more of my fundamental problems here .
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.
@Chew-Seong Cheong Nice solution!
Relevant wiki: Quadratic Discriminant
f ( x ) = x 2 + 3 x − 4
g ( x ) = x 2 − 4 x + 4
h ( x ) = f ( x ) + α g ( x ) = x 2 + 3 x − 4 + α ( x 2 − 4 x + 4 ) = ( 1 + α ) x 2 + ( 3 − 4 α ) x + ( 4 α − 4 )
When h ( x ) = 0
p ( x − q ) 2 = 0
x = q
There is one real root only.
Or in other words, there are two equal real roots.
When h ( x ) = 0 ⇒ ( 1 + α ) x 2 + ( 3 − 4 α ) x + ( 4 α − 4 ) = 0
Discriminant = ( 3 − 4 α ) 2 − 4 ( 1 + α ) ( 4 α − 4 ) = 0
9 − 2 4 α + 1 6 α 2 − 1 6 ( α + 1 ) ( α − 1 ) = 0
9 − 2 4 α + 1 6 α 2 − 1 6 ( α 2 − 1 ) = 0
9 − 2 4 α + 1 6 = 0
2 4 α = 2 5
α = 2 4 2 5
p + q = 2 5 + 2 4 = 4 9
Alternative approach: You can solve this too by completing the square as the quadratic formula is derived using completing the square method.
Problem Loading...
Note Loading...
Set Loading...
Given that { f ( x ) = x 2 + 3 x − 4 = ( x − 1 ) ( x + 4 ) g ( x ) = x 2 − 4 x + 4 = ( x − 2 ) 2
⟹ h ( x ) = f ( x ) + α g ( x ) = ( x − 1 ) ( x + 4 ) + α ( x − 2 ) 2 = p ( x − q ) 2
Then we have
h ( 1 ) h ( − 4 ) h ( 2 ) = 0 + α = p ( 1 − q ) 2 = 0 + 3 6 α = p ( − 4 − q ) 2 = 6 = p ( 2 − q ) 2 . . . ( 1 ) . . . ( 2 ) . . . ( 3 )
( 1 ) ( 2 ) : ( 1 = q ) 2 ( 4 + q ) 2 1 − q 4 + q 4 + q ⟹ q = 3 6 = 6 = 6 − 6 q = 7 2
( 3 ) : p ( 2 − 7 2 ) 2 ⟹ p = 6 = 2 4 4 9
( 1 ) : α = 2 4 4 9 ( 1 − 7 2 ) 2 = 2 4 2 5
Therefore, m + n = 2 5 + 2 4 = 4 9 .