JEE Main 2021 Mathematics question — Nature of roots and discriminant
The sum of all integral values of k (k=0) for which the equation x−12−x−21=k2 in x has no real roots, is _________
SOLUTION
We begin with the given equation
x−12−x−21=k2,k=0.
To clear the fractions we first take the common denominator on the left side. The common denominator of the two fractions is (x−1)(x−2). Hence
x−12−x−21=(x−1)(x−2)2(x−2)−(x−1).
Expanding the numerator we have
2(x−2)−(x−1)=2x−4−x+1=x−3.
Therefore the equation becomes
(x−1)(x−2)x−3=k2.
Now we cross-multiply (which is allowed because none of the denominators is zero when a solution is valid):
k(x−3)=2(x−1)(x−2).
Next we expand the right-hand side. First note that
(x−1)(x−2)=x2−3x+2.
Multiplying by the factor 2 we get
2(x−1)(x−2)=2x2−6x+4.
So the cross-multiplied equation is
k(x−3)=2x2−6x+4.
We now bring every term to one side to form a quadratic equation in x. Distributing k on the left gives
kx−3k=2x2−6x+4.
Subtracting the left-hand side from both sides gives
0=2x2−6x+4−kx+3k.
Grouping like terms in x we write
0=2x2−(k+6)x+(3k+4).
Thus the quadratic in standard form is
2x2−(k+6)x+(3k+4)=0.
The quadratic formula tells us that a quadratic equation ax2+bx+c=0 has real roots precisely when its discriminant Δ=b2−4ac is non-negative. We want no real roots, so we require Δ<0.
Here a=2,b=−(k+6),c=3k+4. Hence
Δ=(−(k+6))2−4⋅2⋅(3k+4).
Calculating each part we get
(k+6)2=k2+12k+36,
and
4⋅2⋅(3k+4)=8(3k+4)=24k+32.
Therefore
Δ=k2+12k+36−(24k+32)=k2−12k+4.
For no real roots we need
k2−12k+4<0.
This is a quadratic inequality in k. Because the coefficient of k2 is positive, the expression is negative between its two real roots. We find the roots by setting the quadratic equal to zero:
k2−12k+4=0.
Using the quadratic formula with respect to k (now a=1,b=−12,c=4) we get