Solveeit Logo

Question

Question: Let f(x) = [n + p sin x], x ∈ (0, π), n ∈ l and p is a prime number, where [.] denotes the greatest ...

Let f(x) = [n + p sin x], x ∈ (0, π), n ∈ l and p is a prime number, where [.] denotes the greatest integer function. Then the number of points where f(x) is not differentiable, is:

A

p - 1

B

p + 1

C

2p + 1

D

2p - 1

Answer

2p - 1

Explanation

Solution

The function given is f(x)=[n+psinx]f(x) = [n + p \sin x], where x(0,π)x \in (0, \pi), nZn \in \mathbb{Z}, and pp is a prime number. We need to find the number of points where f(x)f(x) is not differentiable.

The greatest integer function [y][y] is not differentiable at points where yy is an integer. Let g(x)=n+psinxg(x) = n + p \sin x. The function f(x)=[g(x)]f(x) = [g(x)] is generally not differentiable when g(x)g(x) is an integer. Since nn is an integer, n+psinxn + p \sin x will be an integer if and only if psinxp \sin x is an integer.

Let k=psinxk = p \sin x, where kk is an integer.

  1. Determine the range of psinxp \sin x for x(0,π)x \in (0, \pi):
    For x(0,π)x \in (0, \pi), the value of sinx\sin x ranges from values just above 00 to 11. Specifically, sinx(0,1]\sin x \in (0, 1].
    Therefore, psinx(0,p]p \sin x \in (0, p].

  2. Identify possible integer values for kk:
    The integer values kk that psinxp \sin x can take are 1,2,3,,p1, 2, 3, \dots, p.

  3. Solve for xx for each integer value of kk:
    We need to solve sinx=kp\sin x = \frac{k}{p} for x(0,π)x \in (0, \pi).

    • Case 1: k{1,2,,p1}k \in \{1, 2, \dots, p-1\}
      For these values of kk, we have 0<kp<10 < \frac{k}{p} < 1.
      For each such value of sinx\sin x, there are two distinct solutions for xx in the interval (0,π)(0, \pi):
      x1=arcsin(kp)x_1 = \arcsin\left(\frac{k}{p}\right) and x2=πarcsin(kp)x_2 = \pi - \arcsin\left(\frac{k}{p}\right).
      Since there are (p1)(p-1) such values of kk, this gives 2×(p1)2 \times (p-1) points where psinxp \sin x is an integer.

    • Case 2: k=pk = p
      In this case, sinx=pp=1\sin x = \frac{p}{p} = 1.
      For x(0,π)x \in (0, \pi), there is only one solution: x=π2x = \frac{\pi}{2}.
      This gives 1 point where psinxp \sin x is an integer.

    In total, there are 2(p1)+1=2p12(p-1) + 1 = 2p - 1 points where n+psinxn + p \sin x is an integer.

  4. Check differentiability at these points:
    A function f(x)=[g(x)]f(x) = [g(x)] is not differentiable at x0x_0 if g(x0)g(x_0) is an integer and g(x0)0g'(x_0) \neq 0. If g(x0)=0g'(x_0) = 0, further analysis is required.
    Let g(x)=n+psinxg(x) = n + p \sin x. Then g(x)=pcosxg'(x) = p \cos x.

    • For xx values from Case 1 (sinx=kp\sin x = \frac{k}{p} where k{1,,p1}k \in \{1, \dots, p-1\}):
      At these points, sinx1\sin x \neq 1 and sinx0\sin x \neq 0. This implies cosx0\cos x \neq 0.
      Therefore, g(x)=pcosx0g'(x) = p \cos x \neq 0.
      At these 2(p1)2(p-1) points, f(x)f(x) has a jump discontinuity (as g(x)g(x) crosses an integer value with a non-zero slope), and thus f(x)f(x) is not differentiable.

    • For x=π2x = \frac{\pi}{2} (from Case 2):
      At x=π2x = \frac{\pi}{2}, g(π2)=n+psin(π2)=n+pg(\frac{\pi}{2}) = n + p \sin(\frac{\pi}{2}) = n+p, which is an integer.
      Now, let's check g(π2)=pcos(π2)=p×0=0g'(\frac{\pi}{2}) = p \cos(\frac{\pi}{2}) = p \times 0 = 0.
      Since g(π2)=0g'(\frac{\pi}{2}) = 0, we need to examine the function's behavior around x=π2x = \frac{\pi}{2}.
      g(x)=n+psinxg(x) = n + p \sin x.
      For xx near π2\frac{\pi}{2} (but xπ2x \neq \frac{\pi}{2}), sinx<1\sin x < 1.
      Therefore, n+psinx<n+pn + p \sin x < n+p.
      Since n+pn+p is an integer, for values of xx close to π2\frac{\pi}{2} (but not equal to π2\frac{\pi}{2}), the value of [n+psinx][n + p \sin x] will be [n+psmall positive number]=n+p1[n+p - \text{small positive number}] = n+p-1.
      So, f(x)=n+p1f(x) = n+p-1 for xπ2x \neq \frac{\pi}{2} in a neighborhood of π2\frac{\pi}{2}.
      However, at x=π2x = \frac{\pi}{2}, f(π2)=[n+p]=n+pf(\frac{\pi}{2}) = [n+p] = n+p.
      This shows that f(x)f(x) has a jump discontinuity at x=π2x = \frac{\pi}{2}. A function with a jump discontinuity is not differentiable at that point.
      Thus, x=π2x = \frac{\pi}{2} is also a point of non-differentiability.

  5. Total number of points of non-differentiability:
    Combining both cases, the total number of points where f(x)f(x) is not differentiable is 2(p1)+1=2p2+1=2p12(p-1) + 1 = 2p - 2 + 1 = 2p - 1.