Q.The function f:R→Z defined by f(x)=[x]; where [.] denotes the greatest integer function, is
(A) Continuous at x=2.5 but not differentiable at x=2.5
(B) Not Continuous at x=2.5 but differentiable at x=2.5
(C) Not Continuous at x=2.5 and not differentiable at x=2.5
(D) Continuous as well as differentiable at x=2.5
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Greatest Integer Continuity
Continuity of the Greatest Integer Function
The greatest integer function f(x)=⌊x⌋ returns the largest integer not exceeding x: ⌊2.3⌋=2, ⌊−1.2⌋=−2, ⌊4⌋=4. Its graph is a staircase — flat segments that jump up by 1 at every integer.
The intuition
Walk along the graph from left to right. Near a non-integer such as x=1.5 the function is flat at 1; nudge x a little either way and the value does not change, so nothing is broken there. But as you approach an integer like x=2 from the left the value is stuck at 1, and the instant you reach x=2 it leaps to 2. That sudden leap is a break.
⌊x⌋ is continuous at every non-integer and discontinuous at every integer.
Why integers fail
At an integer n the one-sided limits disagree:
limx→n−⌊x⌋=n−1,limx→n+⌊x⌋=n,⌊n⌋=n.
Since the left- and right-hand limits differ, limx→n⌊x⌋ does not exist, so continuity fails. This is a jump discontinuity, and the jump is always exactly 1. At a non-integer c there is a whole small interval on which f is constant equal to ⌊c⌋, so the limit exists and matches f(c) — the function is continuous.
How to test it …
Concept: Greatest Integer Function — it jumps at every integer, but is constant (hence continuous and differentiable) on every open interval between integers.
Reasoning:
- At x=2.5, the function f(x)=[x] equals 2 for all x in (2,3).
- Since 2.5 is not an integer, there is no jump at this point — the left-hand limit, right-hand limit, and f(2.5) all equal 2. …
The greatest integer function f(x)=[x] is constant on intervals like (2,3), so at x=2.5 it is continuous and differentiable — the correct option is (D).
The greatest integer function, [x], returns the largest integer less than or equal to x. For any non-integer point, the function is locally constant — it doesn't jump there. The only trouble spots are the integers themselves, where the floor "steps up" by 1.
At x=2.5, we are safely between 2 and 3. Let's check continuity and differentiability step by step.
-
Check continuity at x=2.5
For x in the open interval (2,3), [x]=2 exactly. So near x=2.5, the function is the constant function f(x)=2.
The left-hand limit: limx→2.5−f(x)=2.
The right-hand limit: limx→2.5+f(x)=2.
The function value: f(2.5)=[2.5]=2.
Since the limit equals the function value, f is continuous at x=2.5.
-
Check differentiability at x=2.5
Differentiability requires the derivative to exist, i.e., the limit
limh→0hf(2.5+h)−f(2.5)
must exist and be finite.
For any sufficiently small h (say ∣h∣<0.5), 2.5+h still lies in (2,3), so f(2.5+h)=2.
Hence the difference quotient is
h2−2=h0=0
for all such h=0. The limit as h→0 is clearly 0.
Therefore f′(2.5)=0, and the function is differentiable at x=2.5. …
Method: Testing Continuity and Differentiability of the Greatest Integer Function at a Given Point
Use this method whenever asked about continuity/differentiability of f(x)=[x] (or a similar step function) at a specific value.
Steps
Step 1: Check whether the given point is an integer
This is the single branching decision the whole method hinges on. Non-integers and integers behave completely differently for this function.
Step 2: If the point is NOT an integer, find its surrounding interval
For x0 strictly between two consecutive integers n and n+1, the function is constant, f(x)=n, throughout the open interval (n,n+1) — there is no jump anywhere inside this interval.
Step 3: Test continuity using the local constant value
Since f is locally constant near x0, the left-hand limit, right-hand limit, and f(x0) are all trivially equal to n, so continuity holds automatically.
Step 4: Test differentiability using the difference quotient …
Common Mistakes
Mistake 1: Assuming the greatest integer function is never differentiable
Because [x] is famous for its jumps, some students conclude it can't be differentiated anywhere. Why it's wrong: away from the integers, the function is locally constant, and a constant function is both continuous and differentiable (with derivative 0) — the jumps are confined strictly to integer points. Correct approach: always separate "what happens at integers" from "what happens between integers" before answering.
Mistake 2: Treating a non-integer point as if it needs a jump/one-sided-limit analysis …
Showing the 12 most recent of 25 on this concept.
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.Let [y] represent the greatest integer less than or equal to y. Then set of all x at which f(x)=Cos−1[4x+3] is differentiable is (A) R (B) [−1,1] (C) [−1,−41)−{−43,−21} (D) (−43,∞)
›Reveal solutionSolution
This tests domain + continuity of a composition with the greatest-integer function.
The domain of cos−1 forces [4x+3]∈{−1,0,1}, giving x∈[−1,−1/4); the
function is differentiable there except at the two points where the floor jumps.
Concept and Intuition
[y] denotes the greatest integer ≤y (the floor function) — it is an integer-valued
step function, constant on each interval [n,n+1) and jumping by 1 at every integer.
cos−1(t) needs t∈[−1,1]. So for f(x)=cos−1[4x+3] to even be defined,
the integer [4x+3] must lie in {−1,0,1} (the only integers in [−1,1]).
Differentiability requires first continuity — and a step function composed with a
continuous one is continuous only where the step itself doesn't jump.
Step-by-Step Solution
- Domain from [4x+3]=−1: −1≤4x+3<0⇒−4≤4x<−3⇒x∈[−1,−3/4).
- Domain from [4x+3]=0: 0≤4x+3<1⇒−3≤4x<−2⇒x∈[−3/4,−1/2).
- Domain from [4x+3]=1: 1≤4x+3<2⇒−2≤4x<−1⇒x∈[−1/2,−1/4).
- Union of all three: x∈[−1,−1/4) — this is the full domain of f.
- On [−1,−3/4), f(x)=cos−1(−1)=π (constant); on [−3/4,−1/2), f(x)=cos−1(0)=π/2 (constant); on [−1/2,−1/4), f(x)=cos−1(1)=0 (constant).
- At x=−3/4: f jumps from π to π/2 — discontinuous, so not differentiable. …
- AP EAPCET 2022Set eng-2022-07-06-AN1 markMCQQ.[.] represents the greatest integer function. At x=−1, dxdsinπ[x]= (A) 0 (B) 2 (C) -2 (D) 21
›Reveal solutionSolution
sin(π[x]) is identically zero for all x (since [x] is always an integer and sin of any integer multiple of π is 0), so its derivative is 0 everywhere, including at x=−1.
Concept and Intuition
The key insight is to evaluate the outer function first: no matter what real number x is, [x] (the greatest integer function) always returns an integer, and sin(nπ)=0 for every integer n. So the composite function sin(π[x]) never depends on the fine structure of [x]'s jumps at all — it's simply the zero function, constant everywhere.
Step-by-Step Solution
- For any real x, [x]∈Z.
- sin(π⋅n)=0 for every integer n.
- So sin(π[x])=0 for all x, not just near x=−1 — it's the identically-zero function.
- The derivative of a constant (here, the constant 0) is 0 everywhere it's differentiable, including at x=−1.
Common Mistakes …
- AP EAPCET 2021Set eng-2021-08-24-AN1 markMCQQ.If [.] denotes the Greatest integer function, then f(x)=[x]2−[x2] is discontinuous at ________ (A) All integers (B) All integers except 0 and 1 (C) All integers except 1 (D) All integers except 0
›Reveal solutionSolution
Testing f(x)=[x]2−[x2] around each integer shows the one-sided limits only agree with the function value at x=1; every other integer is a genuine discontinuity.
Concept and Intuition
The greatest integer function [x] itself is discontinuous at every integer, so a function built from [x] and [x2] needs care: near an integer n, [x] jumps but [x2] jumps at a different point (since x2 isn't linear), so the two jumps generally don't cancel. The only way f can stay continuous at an integer is if the jumps of [x]2 and [x2] happen to compensate exactly from both sides.
Step-by-Step Solution
- At an integer x=n: [n]=n and n2 is an integer, so [n2]=n2. Hence f(n)=n2−n2=0 always.
- Right-hand limit (x=n+h, h→0+): [x]=n so [x]2=n2 (constant). For n>0, x2=n2+2nh+h2 is slightly above n2, so [x2]=n2 too (for small h), giving f→n2−n2=0=f(n): right-continuous for every positive integer. But for n≤0 (n=0 or negative), 2nh≤0 makes x2 approach n2 from below (or stay at 0 in a way that flips the sign pattern), and one finds [x2]=n2−1, so f→n2−(n2−1)=1=f(n): right-discontinuous at n≤0 (check n=0 directly: x=−h from the left gives the real problem — see step 3).
- Left-hand limit (x=n−h, h→0+): [x]=n−1, so [x]2=(n−1)2. For n>0: x2=n2−2nh+h2 is slightly below n2, so [x2]=n2−1, giving f→(n−1)2−(n2−1)=2(1−n). This equals f(n)=0 only when n=1.
- For n=0: left side is x=−h→0−, so [x]=−1, [x]2=1; x2=h2→0+, so [x2]=0; f→1−0=1=f(0)=0 — discontinuous at 0. …
- AP EAPCET 2023Set eng-2023-05-17-FN1 markMCQQ.Let [t] represents the greatest integer not exceeding t and C=1−2e2. If the function f(x)=⎩⎨⎧[ex],aex+[x−2],[e−x]−C,x<00≤x<2x≥2 is continuous at x=2, then f(x) is discontinuous at (A) x=1 only (B) x=0 and x=1 (C) x=0 only (D) x=0, x=1 and x=21
›Reveal solutionSolution
Solving for a from continuity at x=2, then explicitly writing out f on each sub-interval (splitting the floor function [x−2] at its own jump inside [0,2)) shows the only actual discontinuity is at x=1.
Concept and Intuition
The greatest-integer function [t] jumps at every integer value of t. Wherever a formula involves [g(x)], the function can have discontinuities exactly where g(x) crosses an integer — so the middle piece aex+[x−2], valid on [0,2), itself has an internal jump at x=1 (where x−2=−1, an integer) that has nothing to do with the "continuity at x=2" condition used to find a.
Step-by-Step Solution
- Find a: For x<0, ex∈(0,1) so [ex]=0 always — f(x)=0 there.
- For x≥2, e−x∈(0,e−2]⊂(0,1) so [e−x]=0 — f(x)=−C=2e2−1 (constant) for all x≥2.
- Continuity at x=2: as x→2− (middle piece), x−2→0−, and for x∈[1,2), x−2∈[−1,0) so [x−2]=−1. So limx→2−f(x)=ae2−1. Setting equal to f(2)=2e2−1: ae2−1=2e2−1⇒a=2.
- Write f fully on [0,2): for x∈[0,1), x−2∈[−2,−1)⇒[x−2]=−2, so f(x)=2ex−2. For x∈[1,2), x−2∈[−1,0)⇒[x−2]=−1, so f(x)=2ex−1.
- Check x=0: left limit (x<0) is 0; f(0)=2e0−2=0. Continuous. …
- AP EAPCET 2026Set eng-2026-05-14-AN1 markMCQQ.The number of points of discontinuity of the function f(x)=[x]+∣x−2∣, −3<x<3 is (A) 5 (B) 3 (C) 4 (D) 2
›Reveal solutionSolution
Only the floor function contributes discontinuities (the absolute-value term is continuous everywhere); counting the integers strictly inside (−3,3) gives 5 points.
Concept and Intuition
A sum of functions is discontinuous exactly where at least one summand is discontinuous, unless the jumps happen to cancel exactly. Here ∣x−2∣ is continuous for all real x (it has a corner at x=2, but no jump), while [x] (the greatest integer / floor function) jumps by exactly 1 at every integer. Since ∣x−2∣ contributes no jump anywhere, none of the floor function's jumps can be cancelled, so the discontinuities of f are precisely the integers in the domain.
Step-by-Step Solution
- ∣x−2∣ is continuous for every real x (piecewise linear, no jump, only a kink at x=2).
- [x] (floor) is discontinuous at every integer n: as x→n−, [x]→n−1, but [n]=n — a jump of size 1.
- Since f(x)=[x]+∣x−2∣ and the second term never jumps, f is discontinuous at exactly the same points as [x], i.e. at every integer in the domain.
- List the integers strictly between −3 and 3: −2,−1,0,1,2 — that's 5 integers. …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.Let [t] represents the greatest integer not more than t. Then the number of discontinuous points of f(x)=[xx1] in (0,∞) is (A) 0 (B) 1 (C) 2 (D) ∞
›Reveal solutionSolution
Tracking x1/x across (0,∞) shows the floor function only jumps once, at x=1.
Concept and Intuition
Analyze g(x)=x1/x=e(logx)/x across (0,∞) and see how many times ⌊g(x)⌋ jumps.
Step-by-Step Solution
- For x∈(0,1): logx<0, so (logx)/x<0, giving g(x)<1; also g(x)>0 always. So 0<g(x)<1⇒⌊g(x)⌋=0.
- At x=1: g(1)=1⇒⌊g(1)⌋=1. This is a jump from the left-hand value 0.
- For x>1: logx>0 so g(x)>1. The function (logx)/x has a maximum at x=e (derivative (1−logx)/x2=0), giving g(e)=e1/e≈1.4447.
- As x→∞, (logx)/x→0+, so g(x)→1+ (approaching but never reaching 1, staying above it). …
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.Let f:R→R be defined by f(x)=⎩⎨⎧a−x−1sin[x−1]1b−[([x−1])3sin[x−1]−[x−1]]if x>1if x=1if x<1 where [t] denotes the greatest integer less than or equal to t. If f is continuous at x=1, then a+b= (A) 0 (B) 1 (C) 2 (D) 3
›Reveal solutionSolution
Evaluating the two one-sided limits (each becomes a constant, thanks to the floor function freezing [x−1] near x=1) and matching them to f(1)=1 gives a=1, b=0, so a+b=1.
Concept and Intuition
The trick with [x−1] (greatest integer of x−1) is that for x in a punctured neighbourhood of 1 (excluding 1 itself), x−1 never actually reaches an integer boundary except right at x=1 — so [x−1] is genuinely constant just to the right of 1 (equal to 0, since 0<x−1<1) and constant just to the left of 1 (equal to −1, since −1<x−1<0). This turns each piece of f into an ordinary constant near x=1, and continuity just becomes matching these constants (and the outer floor bracket) to f(1)=1.
Step-by-Step Solution
- Right-hand limit (x→1+): for x slightly greater than 1, x−1∈(0,1), so [x−1]=0.
f(x)=a−x−1sin[x−1]=a−x−1sin0=a−0=a
So x→1+limf(x)=a.
- Left-hand limit (x→1−): for x slightly less than 1, x−1∈(−1,0), so [x−1]=−1 throughout this range.
sin[x−1]−[x−1]=sin(−1)−(−1)=1−sin1
([x−1])3=(−1)3=−1
([x−1])3sin[x−1]−[x−1]=−11−sin1=sin1−1
Since sin1≈0.8415, this equals ≈−0.1585, a constant strictly between −1 and 0, so its greatest integer (the outer [ ⋅ ]) is −1:
f(x)=b−[sin1−1]=b−(−1)=b+1 …
- AP EAPCET 2023Set eng-2023-05-15-AN1 markMCQQ.Let [x] represents the greatest integer not more than x. The discontinuous points of the function f(x)=11+[x]−62+[x]5+[x] lies in the interval (A) [0,∞) (B) [5,8] (C) [7,8) (D) [7,10)
›Reveal solutionSolution
A substitution u=2+[x] turns the messy nested radical into a perfect square (u−3)2; the denominator vanishes (making f undefined) exactly when [x]=7, i.e. on [7,8).
Concept and Intuition
Functions built from the greatest-integer function are step functions, constant on each interval [n,n+1). The real question here is where the formula itself breaks down (denominator zero), since that is where f fails to be defined/continuous outright, rather than merely jumping between integers.
Step-by-Step Solution
- Let n=[x] (so n is a fixed integer over x∈[n,n+1)), and require n≥−2 for 2+n to be real.
- Let u=2+n≥0, so n=u2−2.
- The quantity under the outer square root: 11+n−62+n=11+(u2−2)−6u=u2−6u+9=(u−3)2.
- So the denominator is (u−3)2=∣u−3∣.
- This is zero exactly when u=3, i.e. 2+n=3⇒n=7. …
- AP EAPCET 2023Set eng-2023-05-19-FN1 markMCQQ.Let [t] represents the greatest integer not exceeding t. Then the number of discontinuous points of [10x] in (0,10) is (A) 1010−1 (B) 1010 (C) 1010−2 (D) e10
›Reveal solutionSolution
The floor function jumps at integers; count how many integers 10x passes through as x ranges over (0,10).
Concept and Intuition
g(x)=10x is continuous and strictly increasing, so [g(x)] (the floor of g) is discontinuous exactly at those x for which g(x) is an integer — one discontinuity per integer value crossed.
Step-by-Step Solution
- As x ranges over the open interval (0,10), y=10x ranges over the open interval (100,1010)=(1,1010).
- [y] is discontinuous at every integer value of y in this range.
- Integers strictly between 1 and 1010: 2,3,…,1010−1.
- Count =(1010−1)−2+1=1010−2. …
- AP EAPCET 2024Set eng-2024-05-23-FN1 markMCQQ.Let [P] denote the greatest integer ≤P. If 0≤a≤2, then the number of integral values of 'a' such that limx→a([x2]−[x]2) does not exist is (A) 3 (B) 2 (C) 1 (D) 0
›Reveal solutionSolution
The greatest-integer function jumps at integers, so check the one-sided limits of [x2]−[x]2 at each of the three integral candidates 0,1,2 in [0,2] directly; the limit fails to exist wherever the two sides disagree.
Concept and Intuition
[x] jumps by 1 at every integer, and [x2] jumps whenever x2 crosses an integer. Near a non-special point these jumps align smoothly, but exactly at an integer a, both [x] and possibly [x2] can jump asymmetrically from the two sides, which can make the combination [x2]−[x]2 discontinuous with unequal one-sided limits.
Step-by-Step Solution
- At a=0: Left (x=−ϵ): [x]=−1⇒[x]2=1; x2=ϵ2⇒[x2]=0. So g→0−1=−1. Right (x=ϵ): [x]=0⇒[x]2=0; [x2]=0. So g→0−0=0. Left = Right ⇒ limit does not exist at a=0.
- At a=1: Left (x=1−ϵ): [x]=0,[x]2=0; x2≈1−2ϵ<1⇒[x2]=0. g→0. Right (x=1+ϵ): [x]=1,[x]2=1; x2≈1+2ϵ<2⇒[x2]=1. g→1−1=0. Both sides give 0 ⇒ limit exists at a=1.
- At a=2: Left (x=2−ϵ): [x]=1,[x]2=1; x2≈4−4ϵ<4, and ≥3⇒[x2]=3. g→3−1=2. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.The domain of the function f(x)=[x]−11, where [x] is greatest integer function of x is (A) R−(1,2) (B) R−{1} (C) R−{0,1} (D) R−[1,2)
›Reveal solutionSolution
The function is undefined whenever [x]=1; since [x]=1 for the whole interval x∈[1,2) (not just a single point), the excluded set is [1,2), not just {1}.
Concept and Intuition
For a function with [x] (the greatest integer / floor function) in the denominator, you must find every x for which the denominator vanishes — and because [x] is a step function, it stays constant (equal to the same integer) over a whole half-open interval, not just at isolated points. So "[x]=1" isn't a single forbidden value of x; it's an entire interval of forbidden x-values.
Step-by-Step Solution
- f(x)=[x]−11 is undefined whenever [x]−1=0, i.e., whenever [x]=1.
- Recall [x]=n (an integer) exactly for x∈[n,n+1). So [x]=1 exactly for x∈[1,2).
- Therefore f is undefined for every x in [1,2), and defined everywhere else. …
- AP EAPCET 2025Set eng-2025-05-26-AN1 markMCQQ.If a real valued function f(x)=⎩⎨⎧log(1+[x]),sin−1[x],k([x]+∣x∣),x≥0−1≤x<0x<−1 is continuous at x=−1, then k= (A) −π/2 (B) −π (C) π (D) π/2
›Reveal solutionSolution
Match the left-hand limit (from the x<−1 piece) to the function's actual value at x=−1 (from the −1≤x<0 piece). Answer: k=π/2.
Concept and Intuition
x=−1 belongs to the domain "−1≤x<0" of the function's definition, so f(−1) is computed from that piece. Continuity at x=−1 then requires the limit from the left (using the "x<−1" piece, which is the only piece active for x just below −1) to equal this value f(−1).
Step-by-Step Solution
- f(−1)=sin−1([−1])=sin−1(−1)=−2π (using the −1≤x<0 branch, since −1 satisfies −1≤−1<0).
- For x→−1− (i.e. x slightly less than −1, so x<−1), use the third branch k([x]+∣x∣).
- For such x (e.g. x=−1−ϵ, small ϵ>0): [x]=⌊−1−ϵ⌋=−2, and ∣x∣=1+ϵ→1.
- So x→−1−limk([x]+∣x∣)=k(−2+1)=−k. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.