Question
Question: The straight line x + y = k touches the parabola, \[y=x-{{x}^{2}}\], if k = (a) 0 (b) -1 (c) ...
The straight line x + y = k touches the parabola, y=x−x2, if k =
(a) 0
(b) -1
(c) 1
(d) None of these
Solution
Hint: First of all write x + y = k as y = k – x. Then, from both equations we can equate y and get a quadratic equation. Since the line touches the parabola, the roots will be equal and so we know that the discriminant of the quadratic equation will be zero. Hence we can substitute and get the value of k.
Complete step-by-step answer:
We have been given the equation of a straight line as x + y = k.
The equation of parabola is y=x−x2. Thus we can say that x + y = k is tangent of parabola, y=x−x2.
Now let us find the point of contact. For that we have to substitute either x or y in terms of y or x respectively and k from the equation of the line in the equation of the parabola.
x + y = k – (1)
y=x−x2- (2)
From (1), we can say that, y = k – x.
Now let us equate both expressions on y.
k – x = x−x2
Let us rearrange the expression,
⇒x2−2x+k=0 - (3)
Now the above equation is similar to the quadratic equation’s general form, ax2+bx+c=0 - (5).
We have been told that the straight line touches the parabola, then the roots are equal. Thus when roots are equal, the discriminant of quadratic formula will be zero. i.e. D = 0.
Which means that, b2−4ac=0 - (5)
By comparing (3) and (4), we get
a = 1, b = -2 and c = k.
Hence let us put these values in (5).