Need your guidance for below qq.
p and m are positive integers, and p is a prime number. If x^2-mx+p=0 has a positive interger solution what is the value of (m-p)?
Thanks in advance !!
In any quadratic equation ax^2 + bx + c = 0
, the relationship between b
is that b
is the sum of the factors of c*a
In x^2 - mx + p = 0
, we know -m
is the sum of the factors of p
, and we also know that p
is the prime number that means it has only two factors, p
So -m = -p -1 -------> m - p = 1
Hope that helps
I didn't understand the explanation. Could you elaborate and give a numerical example?