Question

Consider the function f(x)=sin⁡(x)f(x) = \sin(x) in the interval x∈[π/4,7π/4]x \in [\pi/4, 7\pi/4]. The number and location(s) of the local minima of this function are

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2012 answer key

Solution

Find critical points in the interior of the interval and evaluate the function behavior at the boundary points.

We are given f(x)=sin⁡(x)f(x) = \sin(x) on the closed interval [π/4,7π/4][\pi/4, 7\pi/4].

  1. Interior critical points:
    Set the derivative to zero:

    f′(x)=cos⁡(x)=0f'(x) = \cos(x) = 0

    In the interior (π/4,7π/4)(\pi/4, 7\pi/4), the solutions are x=π/2x = \pi/2 and x=3π/2x = 3\pi/2.

    • At x=π/2x = \pi/2: f′′(π/2)=−sin⁡(π/2)=−1<0  ⟹  f''(\pi/2) = -\sin(\pi/2) = -1 < 0 \implies local maximum.
    • At x=3π/2x = 3\pi/2: f′′(3π/2)=−sin⁡(3π/2)=−(−1)=1>0  ⟹  f''(3\pi/2) = -\sin(3\pi/2) = -(-1) = 1 > 0 \implies local minimum.
      The function value is f(3π/2)=−1f(3\pi/2) = -1.
  2. Endpoint analysis:
    For a function defined on a closed interval [a,b][a, b], an endpoint is a local minimum if the function values in an adjacent one-sided neighborhood are greater than or equal to the endpoint value:

    • Left endpoint x=π/4x = \pi/4:
      Since f′(π/4)=cos⁡(π/4)=1/2>0f'(\pi/4) = \cos(\pi/4) = 1/\sqrt{2} > 0, the function is strictly increasing immediately to the right of π/4\pi/4. Thus, for all x∈(π/4,π/4+δ)x \in (\pi/4, \pi/4 + \delta), f(x)>f(π/4)f(x) > f(\pi/4). By definition, x=π/4x = \pi/4 is a local minimum.
    • Right endpoint x=7π/4x = 7\pi/4:
      Since f′(7π/4)=cos⁡(7π/4)=1/2>0f'(7\pi/4) = \cos(7\pi/4) = 1/\sqrt{2} > 0, the function was increasing as it approached 7π/47\pi/4. Thus f(x)<f(7π/4)f(x) < f(7\pi/4) for points immediately to the left, meaning 7π/47\pi/4 is a local maximum, not a local minimum.

Therefore, there are two local minima: one at π/4\pi/4 (the left boundary) and one at 3π/23\pi/2 (the interior critical point).
This corresponds to option (D).

Final answer

D

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2012 Computer Science and Information Technology (CS)
Question
9 of 65, printed as CS Q.9
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.