Question
Question: If the sum of the square of the roots of the equation \[{x^2} - \left( {a - 2} \right)x - a + 1 = 0\...
If the sum of the square of the roots of the equation x2−(a−2)x−a+1=0 is least, then find the value of a.
A)−1
B)1
C)2
D)−2
Solution
We know that the sum of the roots =−coefficient of x2coefficient of x and The product of the roots= coefficient of x2constant . Use the formula of (a+b)2=a2+b2+2ab to find the sum of the square of the roots, and by the given condition we can find the value of a.
Complete step by step answer:
Given equation is x2−(a−2)x−a+1=0--- (i)
Let us assume the roots of the given equation to be α and β. We know that –
Sum of the roots=−coefficient of x2coefficient of x
And Product of the roots=coefficient of x2constant
On putting the given values we get,
⇒α+β=−1−(a−2)=(a−2) and
⇒αβ=1−(a+1)=−(a+1)
Now it is given that the sum of the squares of the roots of given equation is least . So we can find the sum of the squares of the roots using the formula-(a+b)2=a2+b2+2ab
On putting the given values we get,
⇒(α+β)2=α2+β2+2αβ
We can write it as-
⇒α2+β2=(α+β)2−2αβ
We already know the value of the sum and product of the roots. So on putting their values in the formula we get,
⇒α2+β2=(a−2)2−2[−(a+1)]
On opening the squares we get,
⇒α2+β2=(a2+4−4a)2+2a+2
On simplifying we get,
⇒α2+β2=a2−4a+2a+4+2
⇒α2+β2=a2−2a+6 --- (ii)
We have to find the value of a for which this value will be least.
So we can write-
⇒a2−2a+1+5
We can write (a−1)2=a2+2a+1 sop we get,
⇒(a−1)2+5
For this value to be least (a−1)2=0
On solving this we get,
⇒a−1=0
⇒a=1
So the value of a is 1
Hence correct answer is ‘B’.
Note: You can also use the following formula after eq. (ii) as the coefficient of a2=1>0 for finding the least positive value of a,
⇒a=−21coefficient of a2coefficient of a
On putting the value of the coefficients of in the formula we get,
⇒a=−21×1−2
On solving we get,
⇒a=2−(−2)
⇒a=22=1
So we can also find the value of using this formula.