JEE Challenger
More from Continuity and Differentiability

Number of Non-Differentiable Points for Piecewise Composite Function

The number of points, at which the function f(x)=max{6x,2+3x2}+x1cosx214f(x) = \max \{6x, 2 + 3x^2\} + |x - 1| \left| \cos \left| x^2 - \frac{1}{4} \right| \right|, x(π,π)x \in (-\pi, \pi), is not differentiable, is ______.

Official Numerical Answer3

Topics & Concepts

Step-by-Step Solution

To find the number of points in the interval x(π,π)x \in (-\pi, \pi) at which the function f(x)f(x) is not differentiable, we decompose f(x)f(x) into two components: f(x)=g(x)+h(x)f(x) = g(x) + h(x) where g(x)=max{6x,2+3x2}g(x) = \max \left\{ 6x, 2 + 3x^2 \right\} and h(x)=x1cosx214h(x) = |x - 1| \cos \left| x^2 - \frac{1}{4} \right|


Step 1: Differentiability of g(x)g(x)

To find where g(x)=max{6x,2+3x2}g(x) = \max \left\{ 6x, 2 + 3x^2 \right\} changes its definition, we solve for the points of intersection: 2+3x2=6x    3x26x+2=02 + 3x^2 = 6x \implies 3x^2 - 6x + 2 = 0

Using the quadratic formula: x=6±36246=1±13x = \frac{6 \pm \sqrt{36 - 24}}{6} = 1 \pm \frac{1}{\sqrt{3}}

Let these two roots be: x1=113andx2=1+13x_1 = 1 - \frac{1}{\sqrt{3}} \quad \text{and} \quad x_2 = 1 + \frac{1}{\sqrt{3}}

Since 3x26x+2>03x^2 - 6x + 2 > 0 for x(,x1)(x2,)x \in (-\infty, x_1) \cup (x_2, \infty) and 3x26x+2<03x^2 - 6x + 2 < 0 for x(x1,x2)x \in (x_1, x_2), the function g(x)g(x) is defined piecewise as: g(x)={2+3x2,xx1 or xx26x,x1<x<x2g(x) = \begin{cases} 2 + 3x^2, & x \le x_1 \text{ or } x \ge x_2 \\ 6x, & x_1 < x < x_2 \end{cases}

Now, we evaluate the left-hand and right-hand derivatives at x1x_1 and x2x_2:

  • At x=x1x = x_1: g(x1)=6x1=6(113)=623g'(x_1^-) = 6x_1 = 6\left(1 - \frac{1}{\sqrt{3}}\right) = 6 - 2\sqrt{3} g(x1+)=6g'(x_1^+) = 6 Since g(x1)g(x1+)g'(x_1^-) \neq g'(x_1^+), g(x)g(x) is not differentiable at x=x1x = x_1.

  • At x=x2x = x_2: g(x2)=6g'(x_2^-) = 6 g(x2+)=6x2=6(1+13)=6+23g'(x_2^+) = 6x_2 = 6\left(1 + \frac{1}{\sqrt{3}}\right) = 6 + 2\sqrt{3} Since g(x2)g(x2+)g'(x_2^-) \neq g'(x_2^+), g(x)g(x) is not differentiable at x=x2x = x_2.

At all other points x(π,π){x1,x2}x \in (-\pi, \pi) \setminus \{x_1, x_2\}, g(x)g(x) is smooth and differentiable.


Step 2: Differentiability of h(x)h(x)

Using the property that cos(t)=cos(t)\cos(-t) = \cos(t) for all tRt \in \mathbb{R}, we have: cosx214=cos(x214)\cos \left| x^2 - \frac{1}{4} \right| = \cos \left( x^2 - \frac{1}{4} \right)

Let k(x)=cos(x214)k(x) = \cos \left( x^2 - \frac{1}{4} \right), which is a composition of smooth functions and is thus infinitely differentiable everywhere on R\mathbb{R}.

Therefore, h(x)=x1k(x)h(x) = |x - 1| k(x):

  • At x=1x = 1: k(1)=cos(114)=cos(34)0k(1) = \cos \left( 1 - \frac{1}{4} \right) = \cos \left( \frac{3}{4} \right) \neq 0 The left-hand and right-hand derivatives of h(x)h(x) at x=1x = 1 are: h(1)=limx1(x1)k(x)0x1=k(1)=cos(34)h'(1^-) = \lim_{x \to 1^-} \frac{-(x-1)k(x) - 0}{x - 1} = -k(1) = -\cos\left(\frac{3}{4}\right) h(1+)=limx1+(x1)k(x)0x1=k(1)=cos(34)h'(1^+) = \lim_{x \to 1^+} \frac{(x-1)k(x) - 0}{x - 1} = k(1) = \cos\left(\frac{3}{4}\right) Since h(1)h(1+)h'(1^-) \neq h'(1^+), h(x)h(x) is not differentiable at x=1x = 1.

  • For x1x \neq 1: Both x1|x - 1| and k(x)k(x) are differentiable, so h(x)h(x) is differentiable everywhere on (π,π){1}(-\pi, \pi) \setminus \{1\}.


Step 3: Differentiability of f(x)=g(x)+h(x)f(x) = g(x) + h(x)

Using the principle that the sum of a differentiable function and a non-differentiable function at a point is non-differentiable:

  1. At x=x1=113x = x_1 = 1 - \frac{1}{\sqrt{3}}: g(x)g(x) is non-differentiable, while h(x)h(x) is differentiable. Thus, f(x)f(x) is not differentiable.
  2. At x=x2=1+13x = x_2 = 1 + \frac{1}{\sqrt{3}}: g(x)g(x) is non-differentiable, while h(x)h(x) is differentiable. Thus, f(x)f(x) is not differentiable.
  3. At x=1x = 1: g(x)g(x) is differentiable (since 1x1,x21 \neq x_1, x_2), while h(x)h(x) is non-differentiable. Thus, f(x)f(x) is not differentiable.
  4. For all other x(π,π){x1,x2,1}x \in (-\pi, \pi) \setminus \{x_1, x_2, 1\}: Both g(x)g(x) and h(x)h(x) are differentiable, so f(x)f(x) is differentiable.

Checking the interval constraints: π<1130.423<1<1+131.577<π-\pi < 1 - \frac{1}{\sqrt{3}} \approx 0.423 < 1 < 1 + \frac{1}{\sqrt{3}} \approx 1.577 < \pi

All three non-differentiable points lie within (π,π)(-\pi, \pi).

Thus, the number of points at which f(x)f(x) is not differentiable is 3.

Number of Non-Differentiable Points for Piecewise Composite Function | Mathematics PYQ Solution - JEE Challenger