Number of different values of p for which the equation x2−2(p+q)x+(q2+2qp)=0 has integral roots is (p,q∈N,p∈[5,10])
6
The roots of the equation are 2(p+q)±√(2(p+q))2−4(q2+2pq)2
=2(p+q)±√4(p+q)2−4(q2+2pq)2=2(p+q)±2√p2+q2+2pq−q2−2pq2=2(p+q)±2p2=p+q±p
⇒ The roots will be an integer for all values of p∈[5,10] and p∈N.
Hence, number of value of p which satisfies our condition is 6.