Skip to main content
Back to Definite Integration
JEE Main 2018
Definite Integration
Definite Integration
Hard

Question

Let f:[0,)[0,)f:[0,\infty ) \to [0,\infty ) be defined as f(x)=0x[y]dyf(x) = \int_0^x {[y]dy} where [x] is the greatest integer less than or equal to x. Which of the following is true?

Options

Solution

Key Concepts and Formulas

  • Greatest Integer Function, [x][x]: This function is piecewise constant. For any integer nn, [x]=n[x] = n for x[n,n+1)x \in [n, n+1). It has jump discontinuities at every integer.
  • Continuity of a function ff at a point cc: limxcf(x)=limxc+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).
  • Differentiability of a function ff at a point cc: The left-hand derivative f(c)=limh0f(c+h)f(c)hf'(c^-) = \lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h} and the right-hand derivative f(c+)=limh0+f(c+h)f(c)hf'(c^+) = \lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h} must exist and be equal.
  • Fundamental Theorem of Calculus (FTC) Part 1: If F(x)=axg(t)dtF(x) = \int_a^x g(t) dt, then F(x)=g(x)F'(x) = g(x) if g(x)g(x) is continuous at xx. If g(x)g(x) is discontinuous at xx, we need to evaluate the derivative using limits.

Step-by-Step Solution

Step 1: Evaluate the definite integral f(x)f(x) We need to understand the behavior of f(x)=0x[y]dyf(x) = \int_0^x {[y]dy} for different values of xx. The integrand [y][y] changes its value at integer points. Let's consider intervals.

For x[0,1)x \in [0, 1): f(x)=0x[y]dy=0x0dy=0f(x) = \int_0^x {[y]dy} = \int_0^x 0 \, dy = 0.

For x[1,2)x \in [1, 2): f(x)=0x[y]dy=01[y]dy+1x[y]dy=010dy+1x1dy=0+[y]1x=x1f(x) = \int_0^x {[y]dy} = \int_0^1 {[y]dy} + \int_1^x {[y]dy} = \int_0^1 0 \, dy + \int_1^x 1 \, dy = 0 + [y]_1^x = x - 1.

For x[2,3)x \in [2, 3): f(x)=0x[y]dy=01[y]dy+12[y]dy+2x[y]dy=010dy+121dy+2x2dy=0+(21)+[2y]2x=1+2x4=2x3f(x) = \int_0^x {[y]dy} = \int_0^1 {[y]dy} + \int_1^2 {[y]dy} + \int_2^x {[y]dy} = \int_0^1 0 \, dy + \int_1^2 1 \, dy + \int_2^x 2 \, dy = 0 + (2-1) + [2y]_2^x = 1 + 2x - 4 = 2x - 3.

In general, for x[n,n+1)x \in [n, n+1) where nn is a non-negative integer: f(x)=0x[y]dy=k=0n1kk+1[y]dy+nx[y]dyf(x) = \int_0^x {[y]dy} = \sum_{k=0}^{n-1} \int_k^{k+1} {[y]dy} + \int_n^x {[y]dy} f(x)=k=0n1kk+1kdy+nxndyf(x) = \sum_{k=0}^{n-1} \int_k^{k+1} k \, dy + \int_n^x n \, dy f(x)=k=0n1k(k+1k)+n(xn)f(x) = \sum_{k=0}^{n-1} k(k+1-k) + n(x-n) f(x)=k=0n1k+n(xn)f(x) = \sum_{k=0}^{n-1} k + n(x-n) f(x)=(n1)n2+nxn2f(x) = \frac{(n-1)n}{2} + nx - n^2 f(x)=nxn(n+1)2f(x) = nx - \frac{n(n+1)}{2}.

So, the function f(x)f(x) can be written piecewise as: f(x)={0if 0x<1x1if 1x<22x3if 2x<33x6if 3x<4nxn(n+1)2if nx<n+1f(x) = \begin{cases} 0 & \text{if } 0 \le x < 1 \\ x-1 & \text{if } 1 \le x < 2 \\ 2x-3 & \text{if } 2 \le x < 3 \\ 3x - 6 & \text{if } 3 \le x < 4 \\ \vdots & \\ nx - \frac{n(n+1)}{2} & \text{if } n \le x < n+1 \end{cases}

Step 2: Analyze the continuity of f(x)f(x) We need to check continuity at integer points. Let's check at an arbitrary integer n1n \ge 1. We need to compare limxnf(x)\lim_{x \to n^-} f(x), limxn+f(x)\lim_{x \to n^+} f(x), and f(n)f(n).

From Step 1, for x[n1,n)x \in [n-1, n): f(x)=(n1)x(n1)n2f(x) = (n-1)x - \frac{(n-1)n}{2}. So, limxnf(x)=(n1)n(n1)n2=(n1)n2\lim_{x \to n^-} f(x) = (n-1)n - \frac{(n-1)n}{2} = \frac{(n-1)n}{2}.

For x[n,n+1)x \in [n, n+1): f(x)=nxn(n+1)2f(x) = nx - \frac{n(n+1)}{2}. So, limxn+f(x)=nnn(n+1)2=n2n2+n2=2n2n2n2=n2n2=n(n1)2\lim_{x \to n^+} f(x) = n \cdot n - \frac{n(n+1)}{2} = n^2 - \frac{n^2+n}{2} = \frac{2n^2 - n^2 - n}{2} = \frac{n^2-n}{2} = \frac{n(n-1)}{2}.

Also, f(n)f(n) is calculated using the formula for x[n,n+1)x \in [n, n+1), so f(n)=nnn(n+1)2=n(n1)2f(n) = n \cdot n - \frac{n(n+1)}{2} = \frac{n(n-1)}{2}.

Since limxnf(x)=limxn+f(x)=f(n)=n(n1)2\lim_{x \to n^-} f(x) = \lim_{x \to n^+} f(x) = f(n) = \frac{n(n-1)}{2}, the function f(x)f(x) is continuous at every integer point n1n \ge 1. For x=0x=0, f(0)=0f(0) = 0. For x(0,1)x \in (0, 1), f(x)=0f(x)=0. So ff is continuous at x=0x=0. Therefore, f(x)f(x) is continuous at every point in [0,)[0, \infty).

Step 3: Analyze the differentiability of f(x)f(x) We need to check differentiability at integer points. Let's check at an arbitrary integer n1n \ge 1. We will calculate the left-hand derivative and the right-hand derivative at x=nx=n.

Left-hand derivative at x=nx=n: f(n)=limh0f(n+h)f(n)hf'(n^-) = \lim_{h \to 0^-} \frac{f(n+h) - f(n)}{h}. For h<0h < 0 and small, n+hn+h is in the interval [n1,n)[n-1, n). So, f(n+h)=(n1)(n+h)(n1)n2f(n+h) = (n-1)(n+h) - \frac{(n-1)n}{2}. And f(n)=nnn(n+1)2=n(n1)2f(n) = n \cdot n - \frac{n(n+1)}{2} = \frac{n(n-1)}{2}. f(n)=limh0(n1)(n+h)(n1)n2n(n1)2hf'(n^-) = \lim_{h \to 0^-} \frac{(n-1)(n+h) - \frac{(n-1)n}{2} - \frac{n(n-1)}{2}}{h} f(n)=limh0(n1)n+(n1)hn2n+n2n2hf'(n^-) = \lim_{h \to 0^-} \frac{(n-1)n + (n-1)h - \frac{n^2-n+n^2-n}{2}}{h} f(n)=limh0(n1)n+(n1)h2n22n2hf'(n^-) = \lim_{h \to 0^-} \frac{(n-1)n + (n-1)h - \frac{2n^2-2n}{2}}{h} f(n)=limh0(n1)n+(n1)h(n2n)hf'(n^-) = \lim_{h \to 0^-} \frac{(n-1)n + (n-1)h - (n^2-n)}{h} f(n)=limh0n2n+(n1)hn2+nh=limh0(n1)hh=n1f'(n^-) = \lim_{h \to 0^-} \frac{n^2-n + (n-1)h - n^2+n}{h} = \lim_{h \to 0^-} \frac{(n-1)h}{h} = n-1.

Right-hand derivative at x=nx=n: f(n+)=limh0+f(n+h)f(n)hf'(n^+) = \lim_{h \to 0^+} \frac{f(n+h) - f(n)}{h}. For h>0h > 0 and small, n+hn+h is in the interval [n,n+1)[n, n+1). So, f(n+h)=n(n+h)n(n+1)2f(n+h) = n(n+h) - \frac{n(n+1)}{2}. And f(n)=n(n1)2f(n) = \frac{n(n-1)}{2}. f(n+)=limh0+n(n+h)n(n+1)2n(n1)2hf'(n^+) = \lim_{h \to 0^+} \frac{n(n+h) - \frac{n(n+1)}{2} - \frac{n(n-1)}{2}}{h} f(n+)=limh0+n2+nhn2+n+n2n2hf'(n^+) = \lim_{h \to 0^+} \frac{n^2 + nh - \frac{n^2+n+n^2-n}{2}}{h} f(n+)=limh0+n2+nh2n22hf'(n^+) = \lim_{h \to 0^+} \frac{n^2 + nh - \frac{2n^2}{2}}{h} f(n+)=limh0+n2+nhn2h=limh0+nhh=nf'(n^+) = \lim_{h \to 0^+} \frac{n^2 + nh - n^2}{h} = \lim_{h \to 0^+} \frac{nh}{h} = n.

Since f(n)=n1f'(n^-) = n-1 and f(n+)=nf'(n^+) = n, and n1nn-1 \neq n for any integer nn, the function f(x)f(x) is not differentiable at any integer point n1n \ge 1. For x=0x=0, f(0)=0f(0)=0. For x(0,1)x \in (0,1), f(x)=0f(x)=0. The right-hand derivative at 00 is f(0+)=limh0+f(h)f(0)h=limh0+00h=0f'(0^+) = \lim_{h \to 0^+} \frac{f(h)-f(0)}{h} = \lim_{h \to 0^+} \frac{0-0}{h} = 0. The left-hand derivative is not applicable as the domain starts at 0. However, since the function is constant on [0,1)[0,1), it is differentiable on (0,1)(0,1) with derivative 0.

For xx not an integer, say x(n,n+1)x \in (n, n+1) for some integer n0n \ge 0. In this interval, f(x)=nxn(n+1)2f(x) = nx - \frac{n(n+1)}{2}. The derivative is f(x)=nf'(x) = n. Since the derivative is a constant value nn on each open interval (n,n+1)(n, n+1), f(x)f(x) is differentiable at every non-integer point.

Therefore, f(x)f(x) is continuous at every point in [0,)[0,\infty) and differentiable except at the integer points.

Step 4: Evaluate the options (A) ff is continuous at every point in [0,)[0,\infty) and differentiable except at the integer points. This matches our findings. (B) ff is both continuous and differentiable except at the integer points in [0,)[0,\infty). This is incorrect because ff is continuous at integer points. (C) ff is continuous everywhere except at the integer points in [0,)[0,\infty). This is incorrect because ff is continuous at integer points. (D) ff is differentiable at every point in [0,)[0,\infty). This is incorrect because ff is not differentiable at integer points.

Common Mistakes & Tips

  • Misinterpreting the FTC: The FTC part 1 states F(x)=g(x)F'(x) = g(x) if g(x)g(x) is continuous. Here, the integrand [y][y] is discontinuous at integers, so we cannot directly apply the FTC to find the derivative at integer points. We must use the definition of the derivative.
  • Confusing continuity and differentiability: A function can be continuous at a point but not differentiable there (e.g., x|x| at x=0x=0). In this case, f(x)f(x) is continuous at integers but not differentiable.
  • Careful evaluation of piecewise functions: When dealing with piecewise functions, especially those defined by integrals of step functions, it is crucial to correctly set up the integrals for each interval and then check the behavior at the boundaries.

Summary

We first evaluated the definite integral f(x)=0x[y]dyf(x) = \int_0^x {[y]dy} by considering intervals based on the greatest integer function. This resulted in a piecewise linear function. We then analyzed the continuity of f(x)f(x) at integer points by comparing the left-hand limit, right-hand limit, and function value. We found that f(x)f(x) is continuous everywhere. Next, we analyzed the differentiability at integer points by calculating the left-hand and right-hand derivatives and found they were not equal, meaning f(x)f(x) is not differentiable at integer points. For non-integer points, f(x)f(x) is differentiable. This leads to the conclusion that ff is continuous at every point in [0,)[0,\infty) and differentiable except at the integer points.

The final answer is \boxed{A}.

Practice More Definite Integration Questions

View All Questions