Calculus and Optimization

GATE DA previous year questions · 12 questions

Topics

GATE DA 2025 | Question 14

MCQ · 1 mark · −0.33

Let \(f(x) = \dfrac{e^{x} - e^{-x}}{2}\), \(x \in \mathbb{R}\). Let \(f^{(k)}(a)\) denote the \(k^{th}\) derivative of \(f\) evaluated at \(a\). What is the value of \(f^{(10)}(0)\)? (Note: ! denotes factorial)

Options for GATE DA 2025 | Question 14

Explanation

Answer: (A)

Differentiating \(f\) once gives \(f'(x) = \frac{e^{x} + e^{-x}}{2}\), and differentiating again brings back \(f''(x) = \frac{e^{x} - e^{-x}}{2} = f(x)\). So every even-order derivative equals \(f\) itself: \(f^{(10)}(x) = f(x)\), and \(f^{(10)}(0) = \frac{1 - 1}{2} = 0\).

Another view: \(f\) (the hyperbolic sine) is an odd function, so its Maclaurin series \(x + \frac{x^{3}}{3!} + \frac{x^{5}}{5!} + \cdots\) has only odd powers. The coefficient of \(x^{10}\), which equals \(\frac{f^{(10)}(0)}{10!}\), is therefore 0. Options C and D look like series coefficients rather than derivatives.

Answer: A

GATE DA 2025 | Question 24

MSQ · 1 mark

Consider two functions \(f : \mathbb{R} \to \mathbb{R}\) and \(g : \mathbb{R} \to (1, \infty)\). Both functions are differentiable at a point \(c\). Which of the following functions is/are ALWAYS differentiable at \(c\)? The symbol \(\cdot\) denotes product and the symbol \(\circ\) denotes composition of functions.

Options for GATE DA 2025 | Question 24

Explanation

Answer: (A), (B), (C)

Options A, B and C use only the values and derivatives of \(f\) and \(g\) at \(c\):

  • sums, differences and products of functions differentiable at \(c\) are differentiable at \(c\);
  • the quotient rule for \(\frac{f}{g}\) also needs \(g(c) \neq 0\), which holds because \(g\) takes values in \((1, \infty)\).

Option D is different: \(f \circ g\) needs \(f\) to be differentiable at \(g(c)\), and \(g \circ f\) needs \(g\) to be differentiable at \(f(c)\). Neither is given. For example, take \(c = 0\), \(f(x) = |x - 2|\) and \(g(x) = 1 + e^{x}\) (both differentiable at 0, and \(g > 1\)). Then \(f(g(x)) = |e^{x} - 1|\) has a corner at 0 while \(g(f(x))\) is smooth there, so the sum is not differentiable at 0.

Answer: A, B, C

GATE DA 2025 | Question 32

NAT · 1 mark

\(\lim\limits_{t \to +\infty} \sqrt{t^{2} + t} - t =\) ________
(Round off to one decimal place)

Explanation

Answer: 0.5

Substituting directly gives the indeterminate form \(\infty - \infty\), so multiply and divide by the conjugate, then divide the numerator and denominator by \(t > 0\):

\[\sqrt{t^{2} + t} - t = \frac{(t^{2} + t) - t^{2}}{\sqrt{t^{2} + t} + t} = \frac{t}{\sqrt{t^{2} + t} + t} = \frac{1}{\sqrt{1 + \frac{1}{t}} + 1}.\]

As \(t \to +\infty\), \(\frac{1}{t} \to 0\), so the limit is \(\frac{1}{1 + 1} = 0.5\). As a check, the expression is about 0.4988 at \(t = 100\).

Answer: 0.5

GATE DA 2025 | Question 48

MSQ · 2 marks

Which of the following statements is/are correct about the rectified linear unit (ReLU) activation function defined as \(\mathrm{ReLU}(x) = \max(x, 0)\), where \(x \in \mathbb{R}\)?

Options for GATE DA 2025 | Question 48

Explanation

Answer: (A), (C)

ReLU is 0 for \(x \lt 0\) and equals \(x\) for \(x \ge 0\).

  • A (correct): both pieces are continuous and meet at the value 0 when \(x = 0\), so there is no jump.
  • B (wrong), C (correct): at \(x = 0\) the left derivative is 0 and the right derivative is 1. They differ, so the graph has a corner there and ReLU is not differentiable at 0. (Training code simply uses 0 or 1 as the gradient at that point.)
  • D (wrong): with \(x = 1\) and \(a = 2\), \(\mathrm{ReLU}(1) = 1\) but \(\mathrm{ReLU}(2) = 2\). What does hold is \(\mathrm{ReLU}(ax) = a\,\mathrm{ReLU}(x)\) for \(a \ge 0\).

Answer: A, C

GATE DA 2025 | Question 49

MSQ · 2 marks

Consider the function \(f(x) = \frac{x^{3}}{3} + \frac{7}{2}x^{2} + 10x + \frac{133}{2}\), \(x \in [-8, 0]\). Which of the following statements is/are correct?

Options for GATE DA 2025 | Question 49

Explanation

Answer: (C), (D)

On a closed interval the extreme values occur at critical points or at the endpoints, so compare all of them.

\(f'(x) = x^{2} + 7x + 10 = (x + 2)(x + 5)\), so there is a local maximum at \(x = -5\) and a local minimum at \(x = -2\). The values are \(f(-8) = \frac{239}{6} \approx 39.83\), \(f(-5) = \frac{187}{3} \approx 62.33\), \(f(-2) = \frac{347}{6} \approx 57.83\) and \(f(0) = \frac{133}{2} = 66.5\).

  • The maximum is \(\frac{133}{2}\) at the endpoint \(x = 0\), not at \(x = -5\): C holds and A fails.
  • The minimum is at the endpoint \(x = -8\), not at \(x = -2\): B fails.
  • \(f'(x) = x^{2} + 7x + 10\) is an upward parabola with its vertex at \(x = -\frac{7}{2}\), which lies inside \([-8, 0]\): D holds.

Answer: C, D

GATE DA 2025 | Question 51

MSQ · 2 marks

Let \(f : \mathbb{R} \to \mathbb{R}\) be a twice-differentiable function and suppose its second derivative satisfies \(f''(x) > 0\) for all \(x \in \mathbb{R}\). Which of the following statements is/are ALWAYS correct?

Options for GATE DA 2025 | Question 51

Explanation

Answer: (B), (C), (D)

Since \(f''(x) > 0\) everywhere, \(f'\) is strictly increasing, so it can be zero at most once; \(f\) is strictly convex.

  • A fails: \(f(x) = e^{x}\) has \(f''(x) = e^{x} > 0\), yet \(f'(x) = e^{x}\) is never 0, so this \(f\) has no minimum at all.
  • B holds: a strictly increasing \(f'\) cannot be 0 at two different points.
  • D holds: at a local minimum of a differentiable function \(f' = 0\), and there is at most one such point.
  • C holds: every global minimum is also a local minimum, so there is at most one.

Answer: B, C, D

GATE DA 2025 | Question 59

NAT · 2 marks

Let \(f : \mathbb{R} \to \mathbb{R}\) be such that \(|f(x) - f(y)| \le (x - y)^{2}\) for all \(x, y \in \mathbb{R}\). Then \(f(1) - f(0) =\) ________ (Answer in integer)

Explanation

Answer: 0

For \(x \neq y\), divide the condition by \(|x - y|\):

\[ \left| \frac{f(x) - f(y)}{x - y} \right| \le |x - y| \]

As \(y \to x\) the right side tends to 0, so \(f\) is differentiable with \(f'(x) = 0\) for every \(x\). Hence \(f\) is constant and \(f(1) - f(0) = 0\).

Without derivatives: split \([0, 1]\) into \(n\) equal steps. Each step changes \(f\) by at most \(\frac{1}{n^{2}}\), so \(|f(1) - f(0)| \le n \cdot \frac{1}{n^{2}} = \frac{1}{n}\) for every \(n\), which forces the difference to be 0.

Answer: 0

GATE DA 2024 | Question 15

MCQ · 1 mark · −0.33

For any twice differentiable function \(f: \mathbb{R} \to \mathbb{R}\), if at some \(x^{*} \in \mathbb{R}\), \(f'(x^{*}) = 0\) and \(f''(x^{*}) > 0\), then the function \(f\) necessarily has a ______ at \(x = x^{*}\).

Note: \(\mathbb{R}\) denotes the set of real numbers.

Options for GATE DA 2024 | Question 15

Explanation

Answer: (A)

This is the second-derivative test. \(f'(x^{*}) = 0\) makes \(x^{*}\) a stationary point, and \(f''(x^{*}) > 0\) means \(f'\) is increasing through \(x^{*}\): \(f' < 0\) just to the left and \(f' > 0\) just to the right. So \(f\) falls and then rises near \(x^{*}\), giving a local minimum; a maximum is impossible.

The test only looks near \(x^{*}\), so a global minimum is not guaranteed: \(f(x) = x^{3} - 3x\) has \(f'(1) = 0\) and \(f''(1) = 6 > 0\), yet \(f(x) \to -\infty\) as \(x \to -\infty\).

Answer: A

GATE DA 2024 | Question 33

NAT · 1 mark

Let \(f: \mathbb{R} \to \mathbb{R}\) be the function \(f(x) = \dfrac{1}{1+e^{-x}}\).

The value of the derivative of \(f\) at \(x\) where \(f(x) = 0.4\) is ______
(rounded off to two decimal places).

Note: \(\mathbb{R}\) denotes the set of real numbers.

Explanation

Answer: 0.24

This \(f\) is the logistic (sigmoid) function. Differentiating \(f(x) = (1+e^{-x})^{-1}\) gives

\[f'(x) = \frac{e^{-x}}{(1+e^{-x})^{2}} = \frac{1}{1+e^{-x}} \cdot \frac{e^{-x}}{1+e^{-x}} = f(x)\bigl(1 - f(x)\bigr).\]

So there is no need to find \(x\) itself: at the point where \(f(x) = 0.4\), the slope is \(0.4 \times (1 - 0.4) = 0.4 \times 0.6 = 0.24\). The same identity is why the sigmoid's gradient is so cheap to compute in logistic regression and neural networks.

Answer: 0.24

GATE DA 2024 | Question 37

MCQ · 2 marks · −0.66

Let \(f: \mathbb{R} \to \mathbb{R}\) be a function. Note: \(\mathbb{R}\) denotes the set of real numbers.

\[f(x) = \begin{cases} -x, & \text{if } x \lt -2 \\ ax^{2} + bx + c, & \text{if } x \in [-2,2] \\ x, & \text{if } x \gt 2 \end{cases}\]

Which ONE of the following choices gives the values of \(a, b, c\) that make the function \(f\) continuous and differentiable?

Options for GATE DA 2024 | Question 37

Explanation

Answer: (A)

Let \(q(x) = ax^{2} + bx + c\). Both outer pieces equal 2 at the joins, with slope \(-1\) on the left and \(+1\) on the right.

  • Continuity: \(q(-2) = 4a - 2b + c = 2\) and \(q(2) = 4a + 2b + c = 2\).
  • Differentiability: \(q'(-2) = -4a + b = -1\) and \(q'(2) = 4a + b = 1\).

Adding the slope equations gives \(b = 0\), so \(a = \frac{1}{4}\), and then \(1 + c = 2\) gives \(c = 1\). The middle piece \(\frac{x^{2}}{4} + 1\) meets both lines smoothly.

Option B, \(\frac{x^{2}}{2}\), reaches the value 2 at both joins but with slopes \(-2\) and \(2\), so it is continuous but not differentiable. Options C and D are not even continuous at \(x = -2\).

Answer: A