Skip to main content

GATE CSE 2017Quantitative Aptitude › Functions & OptimizationVerified

GATE CSE 2017 PYQ: The number of roots of e x + 0.5 x 2 − 2 = 0 e^{x}+0.5x^{2}-2=0 e x + 0.5 x 2 − 2 = 0 in the range [ − 5 , 5…

The number of roots of ex+0.5x2−2=0e^{x}+0.5x^{2}-2=0 in the range [−5,5][-5,5] is

  1. A
    0
  2. B
    1
  3. C
    2
    Correct answer
  4. D
    3

Answer

(C) 2 2 2

Approach

Set $f(x)=e^x+0.5x^2-2$ and study its shape on $[-5,5]$. Its derivative gives a single critical point, so $f$ decreases then increases. Checking signs at the minimum and at the endpoints shows the minimum is negative while both endpoints are positive, so the curve crosses the $x$-axis exactly twice.

Let $f(x)=e^x+0.5x^2-2$. Since $f''(x)=e^x+1\>0$, $f$ is convex and has at most two real roots. Its unique critical point lies in $(-1,0)$, where $f$ is negative, while $f(-5)\>0$ and $f(5)\>0$. Therefore $f$ has exactly two roots in $[-5,5]$, so option C is correct.

Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.