Find the number of ordered pairs!

x 2 p x + q = 0 x 2 q x + p = 0 \large x^2 - px + q = 0 \qquad \qquad x^2-qx +p = 0

Let p p and q q be positive integers such that the two quadratic equations above have unequal integer roots (in x x ).

Find the number of ordered solutions ( p , q ) (p,q) satisfying the above conditions.


The answer is 2.

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.

1 solution

Ishan Singh
May 16, 2016

Let roots of x 2 p x + q = 0 x^2-px+q=0 are a a and b b . Note that both roots are positive integers.

Since the roots of the two equations are unequal, W.L.O.G. p > q p > q

Now,

a + b = p a+b = p

a b = q ab=q

a + b > a b ( p > q ) \implies a+b>ab \ (\because p>q)

( a 1 ) ( 1 b ) > 1 \implies (a-1)(1-b) > -1

Since a , b Z + a,b \in \mathbb{Z^+} , we have,

( a 1 ) ( 1 b ) 0 (a-1)(1-b) \leq 0

1 < ( a 1 ) ( 1 b ) 0 \implies -1<(a-1)(1-b) \leq 0

a = 1 or b = 1 \implies a=1 \ \text{or} \ b=1

q = p 1 \implies q=p-1

From the second equation, for integral roots, discriminant must be a perfect square. Thus,

q 2 4 p = k 2 ; k Z q^2 - 4p = k^2 \ ; \ k \in \mathbb{Z}

p 2 6 p + 1 = k 2 \implies p^2-6p+1=k^2

( p 3 + k ) ( p 3 k ) = 8 \implies (p-3+k)(p-3-k) = 8

p 3 + k = 4 ; p 3 k = 2 \implies p-3+k=4 \ ; \ p - 3 - k = 2

k = 1 , p = 6 , q = 5 \implies k=1, \ p=6, \ q=5

Thus, solutions are ( 6 , 5 ) (6,5) and ( 5 , 6 ) (5,6)

\therefore Number of solutions = 2 = \boxed{2}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...