(p,q) is a point such that p and q are integers p≥50 and the equation px2+qx+1=0 has real roots. The square of the least distance of the point from the origin is S.
Find S−225500.
Open in App
Solution
Using distance formula, Square of the distance of the point from the origin =p2+q2
Square of the least distance is minimum of (p2+q2)
Given quadratic equation has real roots ⇒q2−4p≥0⇒q2≥4p=200