Solveeit Logo

Question

Question: Let f: R→ [0, 1] be a function defined by f (x) = min (e-|x|, |x|2 - 1|). Identify which of the foll...

Let f: R→ [0, 1] be a function defined by f (x) = min (e-|x|, |x|2 - 1|). Identify which of the following option is correct?

A

f is differentiable at x = 0.

B

f is differentiable at x = 1.

C

f is differentiable at x = -1.

D

f is differentiable at x = 21\sqrt{2} - 1

Answer

f is differentiable at x = 21\sqrt{2} - 1

Explanation

Solution

The function is f(x)=min(ex,x21)f(x) = \min(e^{-|x|}, ||x|^2 - 1|).

1. Analyze differentiability:

  • f(x)f(x) is an even function, so we analyze for x0x \ge 0 and extend to x<0x < 0.
  • Let g(x)=exg(x) = e^{-|x|} and h(x)=x21h(x) = ||x|^2 - 1|.

2. Non-differentiability of g(x) or h(x):

  • g(x)=exg(x) = e^{-|x|} is not differentiable at x=0x = 0 (cusp).
  • h(x)=x21h(x) = |x^2 - 1| is not differentiable at x21=0x^2 - 1 = 0, i.e., x=±1x = \pm 1 (cusps).

3. Points where f(x) is not differentiable due to g(x) or h(x) being non-differentiable:

  • At x=0x = 0: f(0)=min(e0,01)=min(1,1)=1f(0) = \min(e^0, |0 - 1|) = \min(1, 1) = 1.
    f(0)=limh0f(h)f(0)h=limh0eh1h=limh0eh1h=1f'(0^-) = \lim_{h \to 0^-} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^-} \frac{e^{-|h|} - 1}{h} = \lim_{h \to 0^-} \frac{e^h - 1}{h} = 1.
    f(0+)=limh0+f(h)f(0)h=limh0+eh1h=limh0+eh1h=1f'(0^+) = \lim_{h \to 0^+} \frac{f(h) - f(0)}{h} = \lim_{h \to 0^+} \frac{e^{-|h|} - 1}{h} = \lim_{h \to 0^+} \frac{e^{-h} - 1}{h} = -1.
    Since f(0)f(0+)f'(0^-) \ne f'(0^+), f(x)f(x) is not differentiable at x=0x = 0.

  • At x=1x = 1: f(1)=min(e1,11)=min(e1,0)=0f(1) = \min(e^{-1}, |1 - 1|) = \min(e^{-1}, 0) = 0.
    For x(0,1)x \in (0, 1), h(x)=1x2h(x) = 1 - x^2. For x>1x > 1, h(x)=x21h(x) = x^2 - 1.
    f(1)=limh0f(1+h)f(1)hf'(1^-) = \lim_{h \to 0^-} \frac{f(1 + h) - f(1)}{h}. For xx slightly less than 1, f(x)=1x2f(x) = 1 - x^2. So f(1)=ddx(1x2)x=1=2f'(1^-) = \frac{d}{dx}(1 - x^2)|_{x = 1} = -2.
    f(1+)=limh0+f(1+h)f(1)hf'(1^+) = \lim_{h \to 0^+} \frac{f(1 + h) - f(1)}{h}. For xx slightly greater than 1, f(x)=x21f(x) = x^2 - 1. So f(1+)=ddx(x21)x=1=2f'(1^+) = \frac{d}{dx}(x^2 - 1)|_{x = 1} = 2.
    Since f(1)f(1+)f'(1^-) \ne f'(1^+), f(x)f(x) is not differentiable at x=1x = 1.

  • At x=1x = -1: By symmetry, f(x)f(x) is not differentiable at x=1x = -1.

4. Points where g(x) = h(x) and their derivatives are not equal:

We need to find the intersection points of exe^{-|x|} and x21||x|^2 - 1|.

  • Case A: 0x<10 \le x < 1: ex=1x2e^{-x} = 1 - x^2.
    Let k(x)=ex(1x2)k(x) = e^{-x} - (1 - x^2). k(0)=0k(0) = 0.
    k(x)=ex+2xk'(x) = -e^{-x} + 2x. Setting k(x)=0k'(x) = 0 gives ex=2xe^{-x} = 2x.
    The solution to ex=2xe^{-x} = 2x is xc=210.414x_c = \sqrt{2} - 1 \approx 0.414.
    At xc=21x_c = \sqrt{2} - 1, k(xc)=exc(1xc2)=2xc(1xc2)=xc2+2xc1k(x_c) = e^{-x_c} - (1 - x_c^2) = 2x_c - (1 - x_c^2) = x_c^2 + 2x_c - 1.
    Since xc=21x_c = \sqrt{2} - 1 is a root of t2+2t1=0t^2 + 2t - 1 = 0, k(xc)=0k(x_c) = 0.
    This means exc=1xc2e^{-x_c} = 1 - x_c^2 and their derivatives are equal: g(xc)=excg'(x_c) = -e^{-x_c} and h(xc)=2xch'(x_c) = -2x_c. Since exc=2xce^{-x_c} = 2x_c, we have exc=2xc-e^{-x_c} = -2x_c.
    Thus, f(x)f(x) is differentiable at x=21x = \sqrt{2} - 1.

  • Case B: x1x \ge 1: ex=x21e^{-x} = x^2 - 1.
    Let m(x)=ex(x21)m(x) = e^{-x} - (x^2 - 1). m(1)=e10=e1>0m(1) = e^{-1} - 0 = e^{-1} > 0.
    As xx \to \infty, m(x)m(x) \to -\infty.
    m(x)=ex2x<0m'(x) = -e^{-x} - 2x < 0 for x1x \ge 1. So there is a unique root xI>1x_I > 1.
    At xIx_I, g(xI)=h(xI)g(x_I) = h(x_I).
    g(xI)=exIg'(x_I) = -e^{-x_I}. h(xI)=2xIh'(x_I) = 2x_I.
    For differentiability, we need exI=2xI-e^{-x_I} = 2x_I.
    Substituting exI=xI21e^{-x_I} = x_I^2 - 1, we get (xI21)=2xI-(x_I^2 - 1) = 2x_I, which simplifies to xI2+2xI1=0x_I^2 + 2x_I - 1 = 0.
    The positive solution is xI=210.414x_I = \sqrt{2} - 1 \approx 0.414.
    However, our xIx_I is greater than 1. Since 21xI\sqrt{2} - 1 \ne x_I, their derivatives are not equal.
    Thus, f(x)f(x) is not differentiable at x=xIx = x_I.

Conclusion:

The points where f(x)f(x) is not differentiable are x=0x = 0, x=1x = 1, and x=xIx = x_I (and their symmetric counterparts). However, f(x)f(x) is differentiable at x=21x = \sqrt{2} - 1.