JEE Challenger
More from Continuity and Differentiability

Differentiability of Piecewise and Composite Functions

Let g:R→Rg : \mathbb{R} \to \mathbb{R} be a differentiable function such that g(0)=0g(0) = 0, g′(0)=0g'(0) = 0, and g′(1)≠0g'(1) \neq 0. Let

f(x)={x∣x∣g(x),x≠00,x=0f(x) = \begin{cases} \frac{x}{|x|} g(x), & x \neq 0 \\ 0, & x = 0 \end{cases}

and h(x)=e∣x∣h(x) = e^{|x|} for all x∈Rx \in \mathbb{R}. Let (f∘h)(x)(f \circ h)(x) denote f(h(x))f(h(x)) and (h∘f)(x)(h \circ f)(x) denote h(f(x))h(f(x)). Then which of the following statements is (are) true?

Options

A

ff is differentiable at x=0x = 0

Correct
B

hh is differentiable at x=0x = 0

C

f∘hf \circ h is differentiable at x=0x = 0

D

h∘fh \circ f is differentiable at x=0x = 0

Correct

Step-by-Step Solution

To determine the correct statements, we analyze each option individually by checking differentiability at x=0x = 0.


Option A: Differentiability of f(x)f(x) at x=0x = 0

The function f(x)f(x) is defined as:

f(x)={x∣x∣g(x),x≠00,x=0f(x) = \begin{cases} \frac{x}{|x|} g(x), & x \neq 0 \\ 0, & x = 0 \end{cases}

By the definition of the derivative at x=0x = 0: f′(0)=lim⁡x→0f(x)−f(0)x−0=lim⁡x→0x∣x∣g(x)−0x=lim⁡x→0g(x)∣x∣f'(0) = \lim_{x \to 0} \frac{f(x) - f(0)}{x - 0} = \lim_{x \to 0} \frac{\frac{x}{|x|} g(x) - 0}{x} = \lim_{x \to 0} \frac{g(x)}{|x|}

We evaluate the right-hand derivative (RHD\text{RHD}) and left-hand derivative (LHD\text{LHD}):

  • Right-hand derivative (RHD\text{RHD}): RHD=lim⁡x→0+g(x)x=g′(0)=0\text{RHD} = \lim_{x \to 0^+} \frac{g(x)}{x} = g'(0) = 0

  • Left-hand derivative (LHD\text{LHD}): LHD=lim⁡x→0−g(x)−x=−lim⁡x→0−g(x)x=−g′(0)=0\text{LHD} = \lim_{x \to 0^-} \frac{g(x)}{-x} = - \lim_{x \to 0^-} \frac{g(x)}{x} = -g'(0) = 0

Since RHD=LHD=0\text{RHD} = \text{LHD} = 0, f(x)f(x) is differentiable at x=0x = 0, and f′(0)=0f'(0) = 0.

Thus, Option A is correct.


Option B: Differentiability of h(x)h(x) at x=0x = 0

The function h(x)=e∣x∣h(x) = e^{|x|}. Let us compute the one-sided derivatives at x=0x = 0:

  • Right-hand derivative (RHD\text{RHD}): RHD=lim⁡x→0+e∣x∣−e0x=lim⁡x→0+ex−1x=1\text{RHD} = \lim_{x \to 0^+} \frac{e^{|x|} - e^0}{x} = \lim_{x \to 0^+} \frac{e^x - 1}{x} = 1

  • Left-hand derivative (LHD\text{LHD}): LHD=lim⁡x→0−e∣x∣−e0x=lim⁡x→0−e−x−1x=−1\text{LHD} = \lim_{x \to 0^-} \frac{e^{|x|} - e^0}{x} = \lim_{x \to 0^-} \frac{e^{-x} - 1}{x} = -1

Since RHD≠LHD\text{RHD} \neq \text{LHD}, h(x)h(x) is not differentiable at x=0x = 0.

Thus, Option B is incorrect.


Option C: Differentiability of (f∘h)(x)(f \circ h)(x) at x=0x = 0

We have (f∘h)(x)=f(h(x))=f(e∣x∣)(f \circ h)(x) = f(h(x)) = f(e^{|x|}).

Since e∣x∣>0e^{|x|} > 0 for all x∈Rx \in \mathbb{R}, we have ∣e∣x∣∣=e∣x∣|e^{|x|}| = e^{|x|}. Therefore, for x∈Rx \in \mathbb{R}: f(e∣x∣)=e∣x∣∣e∣x∣∣g(e∣x∣)=g(e∣x∣)f(e^{|x|}) = \frac{e^{|x|}}{|e^{|x|}|} g(e^{|x|}) = g(e^{|x|})

Now, let P(x)=(f∘h)(x)=g(e∣x∣)P(x) = (f \circ h)(x) = g(e^{|x|}). Note that P(0)=g(e0)=g(1)P(0) = g(e^0) = g(1).

Let's test the one-sided derivatives of P(x)P(x) at x=0x = 0:

  • Right-hand derivative (RHD\text{RHD}): RHD=lim⁡x→0+g(ex)−g(1)x\text{RHD} = \lim_{x \to 0^+} \frac{g(e^x) - g(1)}{x} Using L'Hôpital's Rule: RHD=lim⁡x→0+g′(ex)⋅ex1=g′(1)⋅1=g′(1)\text{RHD} = \lim_{x \to 0^+} \frac{g'(e^x) \cdot e^x}{1} = g'(1) \cdot 1 = g'(1)

  • Left-hand derivative (LHD\text{LHD}): LHD=lim⁡x→0−g(e−x)−g(1)x\text{LHD} = \lim_{x \to 0^-} \frac{g(e^{-x}) - g(1)}{x} Using L'Hôpital's Rule: LHD=lim⁡x→0−g′(e−x)⋅(−e−x)1=−g′(1)\text{LHD} = \lim_{x \to 0^-} \frac{g'(e^{-x}) \cdot (-e^{-x})}{1} = -g'(1)

Given that g′(1)≠0g'(1) \neq 0, it follows that g′(1)≠−g′(1)g'(1) \neq -g'(1), so RHD≠LHD\text{RHD} \neq \text{LHD}. Hence, (f∘h)(x)(f \circ h)(x) is not differentiable at x=0x = 0.

Thus, Option C is incorrect.


Option D: Differentiability of (h∘f)(x)(h \circ f)(x) at x=0x = 0

We have (h∘f)(x)=h(f(x))=e∣f(x)∣(h \circ f)(x) = h(f(x)) = e^{|f(x)|}. Note that (h∘f)(0)=e∣f(0)∣=e0=1(h \circ f)(0) = e^{|f(0)|} = e^0 = 1.

Let Q(x)=(h∘f)(x)=e∣f(x)∣Q(x) = (h \circ f)(x) = e^{|f(x)|}. The derivative at x=0x = 0 is given by: Q′(0)=lim⁡x→0e∣f(x)∣−1xQ'(0) = \lim_{x \to 0} \frac{e^{|f(x)|} - 1}{x}

For x≠0x \neq 0, we have: ∣f(x)∣=∣x∣x∣g(x)∣=∣g(x)∣|f(x)| = \left| \frac{x}{|x|} g(x) \right| = |g(x)|

Thus, Q′(0)=lim⁡x→0e∣g(x)∣−1xQ'(0) = \lim_{x \to 0} \frac{e^{|g(x)|} - 1}{x}

For g(x)≠0g(x) \neq 0, we can write: lim⁡x→0e∣g(x)∣−1x=lim⁡x→0(e∣g(x)∣−1∣g(x)∣⋅∣g(x)∣x)\lim_{x \to 0} \frac{e^{|g(x)|} - 1}{x} = \lim_{x \to 0} \left( \frac{e^{|g(x)|} - 1}{|g(x)|} \cdot \frac{|g(x)|}{x} \right)

Since g(0)=0g(0) = 0 and gg is continuous, ∣g(x)∣→0|g(x)| \to 0 as x→0x \to 0. Hence: lim⁡x→0e∣g(x)∣−1∣g(x)∣=1\lim_{x \to 0} \frac{e^{|g(x)|} - 1}{|g(x)|} = 1

Next, we evaluate lim⁡x→0∣g(x)∣x\lim_{x \to 0} \frac{|g(x)|}{x}: lim⁡x→0∣g(x)x∣=∣g′(0)∣=0  ⟹  lim⁡x→0∣g(x)∣x=0\lim_{x \to 0} \left| \frac{g(x)}{x} \right| = |g'(0)| = 0 \implies \lim_{x \to 0} \frac{|g(x)|}{x} = 0

Therefore: Q′(0)=1⋅0=0Q'(0) = 1 \cdot 0 = 0

Since the limit exists and equals 00, (h∘f)(x)(h \circ f)(x) is differentiable at x=0x = 0.

Thus, Option D is correct.


Conclusion

The correct options are A and D.