if p and q are the roots of the equation x²-px+q=0,then find value of p and q
Answers
Answer:
Answer
NCERT Solutions
Popular Textbook Solutions
CBSE
ICSE
State Boards
Competitive Exams
Important Concepts
Other
If p, q are the roots of the equation x2+px+q=0 , then the value of p must be equal to
(a) 0,1
(b) 1
(c) 2
(d) 1,-2
VerifiedVerified
94.2k+ views
Hint: We know that for a quadratic equation of the form ax2+bx+c=0 , the sum of roots =−ba and the product of roots =ca . Using the information that p and q are the roots of the quadratic equation, we will have two equations to find the value of two variables p and q.
Complete step by step answer:
We know that the general quadratic equation is of the form ax2+bx+c=0 . For this equation, we can say that
Sum of roots =−ba
Product of roots =ca
When we compare this general equation with the given equation, we get
a=1, b=p and c=q.
So now, we have
Sum of roots =−ba=−p
But it is given that the roots are p and q.
So, p+q=−p...(i)
Also, we have
Product of roots =ca=q
But we have p and q as roots of the quadratic equation.
So, pq=q...(ii)
Here, let us take two cases to solve equation (i) and (ii),
Case 1: q≠0
We can cancel the q term from both sides of equation (ii), and then we will get
p = 1.
Substituting the value of p in equation (i), we get
1 + q = -1
Rearranging the terms, we get
q = -2.
Hence, the value of p is 1.
Case 2: q=0
For this case, we will not get any useful information from equation (ii).
Substituting the value of q in equation (i), we get
p + 0 = -p
We can also write this as
2p = 0
Hence, we have p = 0.
Thus, the value of p is 0.
Hence, p can attain the values 0 and 1.
So, the correct answer is “Option a”.
Note: We must remember that we can only cancel terms from two sides of any equation only if the value of that term is not equal to zero. We can also solve this problem by forming the quadratic equation using the roots as (x−p)(x−q)=0 and then by comparison