Defence PYQWritten Exam 2020MathematicsContinuity and Differentiability

NDA · Question 91

Consider the following statements for f(x) = e^(-|x|): 1. The function is continuous at x = 0. 2. The function is differentiable at x = 0. Which of the above statements is/are correct?

  1. 1 only

  2. 2 only

  3. Both 1 and 2

  4. Neither 1 nor 2

Show answer & explanationShow explanation

Answer: (A) 1 only

Explanation

For x < 0, f(x) = eˣ, and for x ≥ 0, f(x) = e⁻ˣ. At x = 0, lim(x→0⁻) f(x) = e⁰ = 1, lim(x→0⁺) f(x) = e⁰ = 1, and f(0) = 1, so f(x) is continuous at x = 0 (statement 1 is correct). However, the left-hand derivative at x = 0 is (d/dx)(eˣ)|ₓ₌₀ = 1, while the right-hand derivative is (d/dx)(e⁻ˣ)|ₓ₌₀ = -1. Since 1 ≠ -1, f(x) is not differentiable at x = 0 (statement 2 is incorrect). Hence, only statement 1 is correct.