Question
Question: In [1, 3], the function $[x^2 + 1] + [x]$, $[x]$ denoting the greatest integer function, is continuo...
In [1, 3], the function [x2+1]+[x], [x] denoting the greatest integer function, is continuous

for all x
for all x except at nine points
for all x except at seven points
for all x except at eight points.
for all x except at nine points
Solution
The function is given by f(x)=[x2+1]+[x], where [y] denotes the greatest integer function. We need to find the points of discontinuity of f(x) in the interval [1,3].
The greatest integer function [y] is discontinuous when y is an integer. The function f(x) is a sum of two functions, g(x)=[x2+1] and h(x)=[x]. The function f(x) is discontinuous at points where either g(x) or h(x) is discontinuous.
Consider h(x)=[x]. In the interval [1,3], h(x) is discontinuous at integer values of x. The integer values in [1,3] are 1,2,3.
At x=1, limx→1−[x]=0, limx→1+[x]=1. Discontinuous. At x=2, limx→2−[x]=1, limx→2+[x]=2. Discontinuous. At x=3, limx→3−[x]=2, limx→3+[x]=3. Discontinuous. So, h(x) is discontinuous at x∈{1,2,3} in the interval [1,3].
Consider g(x)=[x2+1]. g(x) is discontinuous when x2+1 is an integer. Let x2+1=k, where k is an integer. So x2=k−1. For x∈[1,3], x2∈[12,32]=[1,9]. So, x2+1∈[1+1,9+1]=[2,10]. The integer values of x2+1 in this range are 2,3,4,5,6,7,8,9,10. The corresponding values of x in [1,3] are: x2+1=2⟹x2=1⟹x=1. x2+1=3⟹x2=2⟹x=2. x2+1=4⟹x2=3⟹x=3. x2+1=5⟹x2=4⟹x=2. x2+1=6⟹x2=5⟹x=5. x2+1=7⟹x2=6⟹x=6. x2+1=8⟹x2=7⟹x=7. x2+1=9⟹x2=8⟹x=8=22. x2+1=10⟹x2=9⟹x=3. The values of x in [1,3] where g(x) is potentially discontinuous are {1,2,3,2,5,6,7,8,3}. Let x0 be one of these values. As x→x0−, x2+1→x02+1=k−, so [x2+1]→k−1. As x→x0+, x2+1→x02+1=k+, so [x2+1]→k. Since the left and right limits are different, g(x) is discontinuous at these 9 points.
The points of discontinuity of f(x) are the union of the points of discontinuity of g(x) and h(x). Points of discontinuity for h(x) in [1,3]: Dh={1,2,3}. Points of discontinuity for g(x) in [1,3]: Dg={1,2,3,2,5,6,7,8,3}. The set of points of discontinuity for f(x) in [1,3] is Df=Dh∪Dg. Df={1,2,3}∪{1,2,3,2,5,6,7,8,3}. Df={1,2,3,2,5,6,7,8,3}. These are 9 distinct points. Let's check if the discontinuities cancel out at the common points {1,2,3}.
At x=1: limx→1−f(x)=limx→1−[x2+1]+limx→1−[x]=[2−]+[1−]=1+0=1. limx→1+f(x)=limx→1+[x2+1]+limx→1+[x]=[2+]+[1+]=2+1=3. Since the limits are different, f(x) is discontinuous at x=1.
At x=2: limx→2−f(x)=limx→2−[x2+1]+limx→2−[x]=[5−]+[2−]=4+1=5. limx→2+f(x)=limx→2+[x2+1]+limx→2+[x]=[5+]+[2+]=5+2=7. Since the limits are different, f(x) is discontinuous at x=2.
At x=3: We check the left limit as we are at the right endpoint of the interval [1,3]. limx→3−f(x)=limx→3−[x2+1]+limx→3−[x]=[10−]+[3−]=9+2=11. f(3)=[32+1]+[3]=[10]+[3]=10+3=13. Since the left limit is not equal to the function value, f(x) is discontinuous at x=3.
For the points in Dg that are not in Dh, i.e., {2,3,5,6,7,8}, g(x) is discontinuous and h(x) is continuous. The sum of a discontinuous function and a continuous function is discontinuous. So f(x) is discontinuous at these 6 points.
The set of points of discontinuity for f(x) in [1,3] is {1,2,3,2,5,6,7,8,3}. These are 9 distinct points. The function is continuous for all x in [1,3] except at these 9 points.