Skip to content
Official PYQ · 2017

GATE CS 2017 Set 2 QGA-9 — General Aptitude

Explain with AI

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

Choose one option
View worked solution

Answer: C

Let f(x)=ex+0.5x2−2f(x) = e^x + 0.5x^2 - 2. To find the number of roots in the interval [−5,5][-5, 5], we analyze the behavior of f(x)f(x) using its derivative:

f′(x)=ex+xf'(x) = e^x + x

To find the critical points, we set f′(x)=0f'(x) = 0:

ex+x=0  ⟹  ex=−xe^x + x = 0 \implies e^x = -x

Since exe^x is strictly increasing and −x-x is strictly decreasing, there is exactly one real solution, say x0x_0, where f′(x0)=0f'(x_0) = 0. Since f′(−1)=e−1−1<0f'(-1) = e^{-1} - 1 < 0 and f′(0)=1>0f'(0) = 1 > 0, this critical point lies in the interval (−1,0)(-1, 0).

We analyze the behavior of f(x)f(x) around x0x_0:

  • For x<x0x < x_0, f′(x)<0f'(x) < 0, so f(x)f(x) is strictly decreasing.
  • For x>x0x > x_0, f′(x)>0f'(x) > 0, so f(x)f(x) is strictly increasing.

Thus, f(x)f(x) has a unique global minimum at x0x_0.

Now, let's evaluate f(x)f(x) at the boundaries and key points:

  • At x=−5x = -5: f(−5)=e−5+12.5−2≈10.5>0f(-5) = e^{-5} + 12.5 - 2 \approx 10.5 > 0
  • At x=0x = 0: f(0)=e0+0−2=−1<0f(0) = e^0 + 0 - 2 = -1 < 0 (which implies the minimum value f(x0)<f(0)<0f(x_0) < f(0) < 0)
  • At x=5x = 5: f(5)=e5+12.5−2≈158.9>0f(5) = e^5 + 12.5 - 2 \approx 158.9 > 0

By the Intermediate Value Theorem:

  1. Since f(−5)>0f(-5) > 0 and f(x0)<0f(x_0) < 0, there is exactly one root in [−5,x0][-5, x_0].
  2. Since f(x0)<0f(x_0) < 0 and f(5)>0f(5) > 0, there is exactly one root in [x0,5][x_0, 5].

Thus, the function has exactly 2 roots in the interval [−5,5][-5, 5].

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore General Aptitude questions