Skip to main content
Back to Limits, Continuity & Differentiability
JEE Main 2019
Limits, Continuity & Differentiability
Limits, Continuity and Differentiability
Hard

Question

If f : R \to R is a function defined by f(x)= [x - 1] cos(2x12)π\cos \left( {{{2x - 1} \over 2}} \right)\pi , where [.] denotes the greatest integer function, then f is :

Options

Solution

Key Concepts and Formulas

  • Continuity of a Function: A function f(x)f(x) is continuous at a point x=cx=c if the following three conditions are met:
    1. f(c)f(c) is defined.
    2. limxcf(x)\lim_{x \to c} f(x) exists.
    3. limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c).
  • Greatest Integer Function: The greatest integer function, denoted by [x][x], gives the largest integer less than or equal to xx. It is discontinuous at every integer value of xx.
  • Trigonometric Functions: The cosine function, cos(θ)\cos(\theta), is continuous for all real values of θ\theta.
  • Continuity of Product of Functions: If two functions g(x)g(x) and h(x)h(x) are continuous at a point x=cx=c, then their product p(x)=g(x)h(x)p(x) = g(x)h(x) is also continuous at x=cx=c.

Step-by-Step Solution

Step 1: Analyze the function and identify potential points of discontinuity. The given function is f(x)=[x1]cos(2x12)πf(x) = [x - 1]\cos \left( \frac{2x - 1}{2} \right)\pi. The function is a product of two functions: g(x)=[x1]g(x) = [x - 1] and h(x)=cos(2x12)πh(x) = \cos \left( \frac{2x - 1}{2} \right)\pi. The greatest integer function, [x1][x-1], is discontinuous at values where x1x-1 is an integer. This occurs when xx is an integer. The cosine function, cos(θ)\cos(\theta), is continuous everywhere. The argument of the cosine function, 2x12π\frac{2x-1}{2}\pi, is a linear function of xx multiplied by π\pi, which is also continuous for all real xx. Therefore, h(x)=cos(2x12)πh(x) = \cos \left( \frac{2x - 1}{2} \right)\pi is continuous for all real xx. The continuity of f(x)f(x) will depend on the continuity of g(x)g(x) and the behavior of h(x)h(x) at the points of discontinuity of g(x)g(x), i.e., at integer values of xx.

Step 2: Check the continuity of f(x)f(x) at integer values of xx. Let x=nx = n, where nn is an integer. We need to check if limxnf(x)=f(n)\lim_{x \to n} f(x) = f(n). First, let's evaluate f(n)f(n): f(n)=[n1]cos(2n12)πf(n) = [n - 1]\cos \left( \frac{2n - 1}{2} \right)\pi Since nn is an integer, n1n-1 is also an integer. Thus, [n1]=n1[n-1] = n-1. f(n)=(n1)cos(2n12)πf(n) = (n - 1)\cos \left( \frac{2n - 1}{2} \right)\pi

Now, let's evaluate the cosine term: cos(2n12)π=cos(nππ2)\cos \left( \frac{2n - 1}{2} \right)\pi = \cos \left( n\pi - \frac{\pi}{2} \right) Using the identity cos(AB)=cosAcosB+sinAsinB\cos(A - B) = \cos A \cos B + \sin A \sin B: cos(nππ2)=cos(nπ)cos(π2)+sin(nπ)sin(π2)\cos \left( n\pi - \frac{\pi}{2} \right) = \cos(n\pi)\cos(\frac{\pi}{2}) + \sin(n\pi)\sin(\frac{\pi}{2}) We know that cos(π2)=0\cos(\frac{\pi}{2}) = 0 and sin(π2)=1\sin(\frac{\pi}{2}) = 1. Also, sin(nπ)=0\sin(n\pi) = 0 for any integer nn. So, cos(nππ2)=cos(nπ)0+01=0\cos \left( n\pi - \frac{\pi}{2} \right) = \cos(n\pi) \cdot 0 + 0 \cdot 1 = 0.

Therefore, f(n)=(n1)0=0f(n) = (n - 1) \cdot 0 = 0 for any integer nn.

Step 3: Evaluate the Left-Hand Limit (LHL) at integer values of xx. Let xnx \to n^-. This means xx approaches nn from values slightly less than nn. So, x=nϵx = n - \epsilon, where ϵ>0\epsilon > 0 and ϵ0\epsilon \to 0. Then, x1=nϵ1=(n1)ϵx - 1 = n - \epsilon - 1 = (n - 1) - \epsilon. Since n1n-1 is an integer, for sufficiently small ϵ\epsilon, [x1]=[(n1)ϵ]=n2[x - 1] = [(n - 1) - \epsilon] = n - 2. Now consider the cosine term: cos(2x12)π=cos(2(nϵ)12)π=cos(2n2ϵ12)π\cos \left( \frac{2x - 1}{2} \right)\pi = \cos \left( \frac{2(n - \epsilon) - 1}{2} \right)\pi = \cos \left( \frac{2n - 2\epsilon - 1}{2} \right)\pi =cos(nπϵπ2)= \cos \left( n\pi - \epsilon - \frac{\pi}{2} \right) This can be written as cos((n12)πϵ)\cos \left( (n - \frac{1}{2})\pi - \epsilon \right). As ϵ0\epsilon \to 0, this approaches cos((n12)π)=cos(nππ2)=0\cos \left( (n - \frac{1}{2})\pi \right) = \cos \left( n\pi - \frac{\pi}{2} \right) = 0.

Therefore, LHL = limxn[x1]cos(2x12)π\mathop {\lim }\limits_{x \to {n^ - }} [x - 1]\cos \left( {{{2x - 1} \over 2}} \right)\pi =limxn(n2)cos(2x12)π= \mathop {\lim }\limits_{x \to {n^ - }} (n - 2) \cos \left( {{{2x - 1} \over 2}} \right)\pi Since cos(2x12)π0\cos \left( {{{2x - 1} \over 2}} \right)\pi \to 0 as xnx \to n^-, and (n2)(n-2) is a constant, the limit is: LHL = (n2)0=0(n - 2) \cdot 0 = 0.

Step 4: Evaluate the Right-Hand Limit (RHL) at integer values of xx. Let xn+x \to n^+. This means xx approaches nn from values slightly greater than nn. So, x=n+ϵx = n + \epsilon, where ϵ>0\epsilon > 0 and ϵ0\epsilon \to 0. Then, x1=n+ϵ1=(n1)+ϵx - 1 = n + \epsilon - 1 = (n - 1) + \epsilon. Since n1n-1 is an integer, for sufficiently small ϵ\epsilon, [x1]=[(n1)+ϵ]=n1[x - 1] = [(n - 1) + \epsilon] = n - 1. Now consider the cosine term: cos(2x12)π=cos(2(n+ϵ)12)π=cos(2n+2ϵ12)π\cos \left( \frac{2x - 1}{2} \right)\pi = \cos \left( \frac{2(n + \epsilon) - 1}{2} \right)\pi = \cos \left( \frac{2n + 2\epsilon - 1}{2} \right)\pi =cos(nπ+ϵπ2)= \cos \left( n\pi + \epsilon - \frac{\pi}{2} \right) This can be written as cos((n12)π+ϵ)\cos \left( (n - \frac{1}{2})\pi + \epsilon \right). As ϵ0\epsilon \to 0, this approaches cos((n12)π)=cos(nππ2)=0\cos \left( (n - \frac{1}{2})\pi \right) = \cos \left( n\pi - \frac{\pi}{2} \right) = 0.

Therefore, RHL = limxn+[x1]cos(2x12)π\mathop {\lim }\limits_{x \to {n^ + }} [x - 1]\cos \left( {{{2x - 1} \over 2}} \right)\pi =limxn+(n1)cos(2x12)π= \mathop {\lim }\limits_{x \to {n^ + }} (n - 1) \cos \left( {{{2x - 1} \over 2}} \right)\pi Since cos(2x12)π0\cos \left( {{{2x - 1} \over 2}} \right)\pi \to 0 as xn+x \to n^+, and (n1)(n-1) is a constant, the limit is: RHL = (n1)0=0(n - 1) \cdot 0 = 0.

Step 5: Compare LHL, RHL, and f(n)f(n) at integer values. From Step 2, f(n)=0f(n) = 0. From Step 3, LHL = 0. From Step 4, RHL = 0. Since LHL = RHL = f(n)f(n) for every integer nn, the function f(x)f(x) is continuous at all integer values of xx.

Step 6: Check continuity at non-integer values of xx. Let x0x_0 be a non-integer real number. Then x01x_0 - 1 is also a non-integer. For any xx in a small neighborhood around x0x_0 that does not contain an integer, [x1][x - 1] will be a constant integer value, say kk. So, in such a neighborhood, f(x)=kcos(2x12)πf(x) = k \cdot \cos \left( \frac{2x - 1}{2} \right)\pi. Since kk is a constant and cos(2x12)π\cos \left( \frac{2x - 1}{2} \right)\pi is continuous for all real xx, their product f(x)f(x) is continuous in this neighborhood. Specifically, at x=x0x = x_0 (a non-integer), f(x)f(x) is continuous because:

  1. f(x0)=[x01]cos(2x012)πf(x_0) = [x_0 - 1]\cos \left( \frac{2x_0 - 1}{2} \right)\pi is defined.
  2. limxx0f(x)=limxx0[x1]cos(2x12)π\lim_{x \to x_0} f(x) = \lim_{x \to x_0} [x - 1]\cos \left( \frac{2x - 1}{2} \right)\pi. Since [x1][x-1] is constant in a neighborhood of x0x_0, this limit is [x01]cos(2x012)π[x_0 - 1]\cos \left( \frac{2x_0 - 1}{2} \right)\pi.
  3. Thus, limxx0f(x)=f(x0)\lim_{x \to x_0} f(x) = f(x_0).

Therefore, the function f(x)f(x) is continuous at all non-integer values of xx.

Step 7: Conclude the continuity of the function. From Step 5, f(x)f(x) is continuous at all integer values of xx. From Step 6, f(x)f(x) is continuous at all non-integer values of xx. Combining these results, f(x)f(x) is continuous for every real xx.

Common Mistakes & Tips

  • Misinterpreting the Greatest Integer Function: A common mistake is to assume the greatest integer function is discontinuous at all real numbers. Remember it's only discontinuous at integer values.
  • Incorrectly Evaluating Limits of [x1][x-1]: When taking limits, ensure you correctly determine the value of [x1][x-1] as xx approaches an integer from the left or right. For xnx \to n^-, [x1][x-1] becomes n2n-2, and for xn+x \to n^+, [x1][x-1] becomes n1n-1.
  • Forgetting to Evaluate f(n)f(n): Always ensure all three conditions for continuity are met: the function value must exist, the limit must exist, and they must be equal.

Summary

The function f(x)=[x1]cos(2x12)πf(x) = [x - 1]\cos \left( \frac{2x - 1}{2} \right)\pi is a product of the greatest integer function [x1][x-1] and a continuous cosine function. The greatest integer function is discontinuous at integers. However, at integer values x=nx=n, the term cos(2n12)π\cos \left( \frac{2n - 1}{2} \right)\pi evaluates to 0. This makes f(n)=0f(n) = 0. The left-hand and right-hand limits at integer x=nx=n also evaluate to 0 due to the behavior of [x1][x-1] near nn and the fact that the cosine term approaches 0. Thus, the function is continuous at all integer points. For non-integer points, [x1][x-1] is constant in a small neighborhood, and since the cosine term is continuous, the product is also continuous. Therefore, the function is continuous for every real number.

The final answer is \boxed{A}.

Practice More Limits, Continuity & Differentiability Questions

View All Questions