Find (p,q)

For students of class 9-10 (age 14-16)
Naheed
Posts:20
Joined:Sun Dec 16, 2012 11:10 pm
Find (p,q)

Unread post by Naheed » Thu Jan 28, 2016 12:55 pm

If p,q are two prime numbers and there are two positive and different solutions to the equation x²-px+q= 0, find (p,q) .

tanmoy
Posts:312
Joined:Fri Oct 18, 2013 11:56 pm
Location:Rangpur,Bangladesh

Re: Find (p,q)

Unread post by tanmoy » Thu Jan 28, 2016 1:58 pm

Let $a$ and $b$ be the two distinct positive integral solutions,where $a<b$.Then $x^{2}-px+q=(x-a)(x-b)$ implying that $a+b=p$ and $ab=q$.But $q$ is prime,so,$a=1$.Therefore,$q=b$ and $p=b+1$.The only two consecutive primes are $2$ and $3$.So,$(p,q)=(3,2)$.
"Questions we can't answer are far better than answers we can't question"

Post Reply