Q.Show that the function defined by g(x)=x−[x] is discontinuous at all integral points. Here [x] denotes the greatest integer less than or equal to x.
🔒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 Continuity — the floor function [x] jumps at integers, so g(x)=x−[x] (the fractional part) also jumps there.
Reasoning:
- At an integer n, g(n)=n−[n]=n−n=0.
- For x→n−, [x]=n−1, so g(x)=x−(n−1)→n−(n−1)=1.
- For x→n+, [x]=n, so g(x)=x−n→n−n=0. …
The function g(x)=x−[x] is the fractional part of x, which jumps from 1 back to 0 at every integer. Because the left-hand limit and right-hand limit at any integer n are different (and the function value equals the right-hand limit), the limit does not exist — so g is discontinuous at every integer.
The core idea: what g(x) really is
The greatest integer function [x] returns the largest integer not exceeding x. So g(x)=x−[x] gives the fractional part of x — the distance from x down to the nearest integer below it.
For example:
- At x=2.3, [2.3]=2, so g(2.3)=0.3.
- At x=5, [5]=5, so g(5)=0.
- At x=−1.2, [−1.2]=−2, so g(−1.2)=0.8.
The graph of g is a “sawtooth”: it rises linearly from 0 to just below 1 on each interval [n,n+1), then drops sharply back to 0 at the next integer. That drop is the discontinuity.
Step-by-step reasoning
1. Pick an arbitrary integer n.
We need to check continuity at x=n. The definition of continuity requires:
limx→ng(x)=g(n)
If the two-sided limit does not exist (or exists but doesn’t match g(n)), then g is discontinuous at n.
2. Compute g(n) directly.
Since [n]=n,
g(n)=n−n=0
3. Find the right-hand limit as x→n+.
For x just greater than n, say x=n+h with h>0 small, the greatest integer less than or equal to x is still n (because x hasn’t reached n+1 yet). So [x]=n, and
g(x)=(n+h)−n=h
As h→0+, g(x)→0. Hence
limx→n+g(x)=0
4. Find the left-hand limit as x→n−.
For x just less than n, say x=n−h with h>0 small, the greatest integer less than or equal to x is n−1 (because x is between n−1 and n). So [x]=n−1, and
g(x)=(n−h)−(n−1)=1−h
As h→0+, g(x)→1. Hence
limx→n−g(x)=1 …
Method: Proving a Function Built From [x] Is Discontinuous at Every Integer
Use this whenever you must show a function involving the greatest integer function [x] (floor function) is discontinuous at integer points, by examining its behaviour on either side of a general integer n.
Steps
Step 1: Recall how [x] behaves near an integer
For an integer n: [n]=n. Just below n (i.e., x=n−h for small h>0), [x]=n−1. Just above n (i.e., x=n+h), [x]=n. This is the key fact the whole argument rests on — the floor value drops by exactly 1 the instant x crosses below an integer.
Step 2: Fix an arbitrary integer n and write the function value f(n)
Substitute [n]=n into the given expression to get f(n) in terms of n.
Step 3: Compute the right-hand limit as x→n+
Substitute [x]=n (valid for x slightly above n) into the function's formula and simplify as x→n. …
Common Mistakes
Mistake 1: Assuming [x]=n for x just below the integer n
Why it's wrong: the greatest integer function always rounds down; for x slightly less than n (like 2.999), [x]=n−1, not n. Correct approach: always test with a concrete example (is [1.9] equal to 1 or 2?) before writing the left-hand limit formula.
Mistake 2: Thinking the function is continuous because it's "defined at every real number"
Why it's wrong: [x] (and functions built from it) being defined everywhere says nothing about the limit existing — continuity needs the one-sided limits to also agree with each other and with the function value, not just that a value exists. Correct approach: explicitly compute both one-sided limits at the integer and compare them, rather than assuming "defined = continuous." …
Showing the 12 most recent of 25 on this concept.
- 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-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 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 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 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-25-AN1 markMCQQ.If [.] here denotes the greatest integer function, limx→0x7[x31]= (A) 1 (B) 0 (C) −1 (D) Does not exist
›Reveal solutionSolution
Splitting the greatest-integer function into its exact value minus a bounded fractional part shows the limit is 0. Answer: 0.
Concept and Intuition
For the greatest integer (floor) function, [y]=y−{y} where {y}∈[0,1) always, whatever the sign of y. This lets us replace an unwieldy floor expression with an exact term plus a bounded "error" term that is easy to control.
Step-by-Step Solution
- Let y=1/x3. Then [y]=y−{y}, with 0≤{y}<1.
- So x7[y]=x7y−x7{y}=x7⋅x31−x7{y}=x4−x7{y}.
- As x→0 (from either side), x4→0. …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.[x] denotes integral part of x. For n∈N, if f(x)=⎩⎨⎧[∣x∣[∣x∣1]],0,for ∣x∣=n1for ∣x∣=n1, then for ∣x∣=n1, f(x)= (A) 0 (B) 1 (C) n1 (D) n
›Reveal solutionSolution
For any x with ∣x∣=1/n, the quantity [∣x∣[1/∣x∣]] always simplifies to 0 — a classic floor-function identity. Answer: (A) 0.
Concept and Intuition
This is testing the identity [t[1/t]]=0 for all t>0 not of the form 1/n. The intuition: [1/t] is the largest integer n with n≤1/t (loosely), so nt≤1, and as long as t isn't exactly 1/n, the product nt stays strictly below 1 — never reaching the next integer — so its floor is always 0.
Step-by-Step Solution
- Let t=∣x∣>0, and suppose t=1/n for every positive integer n.
- Case t≥1: Then 0<1/t≤1. Since t=1 (which would be 1/n with n=1), we actually have 1/t<1, so [1/t]=0. Hence t⋅[1/t]=0 and [t[1/t]]=0.
- Case 0<t<1: Then 1/t>1. Let n=[1/t], an integer ≥1. By definition of floor, n≤1/t<n+1. Since t=1/n, the equality n=1/t cannot hold, so strictly n<1/t<n+1.
- Multiplying through by t>0: nt<1<(n+1)t. In particular 0<nt<1 (since nt>0 trivially and nt<1 from the left inequality). …
- 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 2023Set eng-2023-05-18-AN1 markMCQQ.Let [.] denote the greatest integer function. Assertion (A): limx→∞x[x]=1 Reason (R): f(x)=x−1, g(x)=[x], h(x)=x and limx→∞xf(x)=limx→∞xh(x)=1 (A) A is true, R is true; R is correct explanation of A (B) A, R are true; R is not the correct explanation of A (C) A is true, R is false (D) A is false, R is true
›Reveal solutionSolution
Both the assertion and reason are true, and the reason is exactly the squeeze/sandwich-theorem setup that proves the assertion.
Concept and Intuition
The greatest integer function satisfies x−1<[x]≤x for all real x. Dividing through by x>0 and letting x→∞, both bounding expressions tend to 1, so by the Sandwich (Squeeze) theorem the middle expression [x]/x is forced to tend to 1 as well.
Step-by-Step Solution
- Assertion A: for x−1<[x]≤x, dividing by x (positive, x→∞): 1−x1<x[x]≤1.
- As x→∞, 1−x1→1, so by squeeze x[x]→1 — A is true.
- Reason R defines f(x)=x−1, g(x)=[x], h(x)=x, satisfying f(x)≤g(x)≤h(x) for all x (the standard inequality above), and states limf(x)/x=limh(x)/x=1.
- This is exactly the hypothesis of the Sandwich theorem applied to g(x)/x=[x]/x, so R is true and directly explains why A holds. …
- AP EAPCET 2022Set eng-2022-07-08-AN1 markMCQQ.If [ . ] denotes greatest integer function, then x→2π+lim2[sinx]−[cosx]+1= (A) 0 (B) 2−1 (C) 21 (D) 1
›Reveal solutionSolution
Evaluate the floor of sinx and cosx just to the right of π/2 using the sign/magnitude behaviour there.
Concept and Intuition
[⋅] (greatest integer function) needs the actual numeric range of sinx,cosx near π/2+, not just their limiting values — floors are sensitive to which side of an integer a quantity approaches from.
Step-by-Step Solution
- For x=2π+ε (ε→0+): sinx=sin(2π+ε)=cosε, which is slightly less than 1 (in (0,1)), so [sinx]=0.
- cosx=cos(2π+ε)=−sinε, a small negative number (in (−1,0)), so [cosx]=−1.
- Substitute: 2[sinx]−[cosx]+1=20−(−1)+1=22=1.
Common Mistakes …
🎓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.