0. Then f(1/n) = 1. So, applying f to the sequence (xn) gives the constant sequence converging to 1
f(0). Hence f is not continuous at 0.
(ii) Take
= 1/2. Then any interval (-
,
) containing 0 contains points where f(x) = 1 and so we cannot have |f(x) - f(0)| <
for all the points in such an interval.
-
definition: given
> 0 we need to find
such that |x - 1| <
|x2- 1| <
.
< max{1,
/3} will do.

Z, look at a sequence (k - 1/n) approximating k from above and argue as in Question 1.
away from x for some 0
1/2. Then on the interval (x -
, x +
) the function is constant and hence continuous.

The [x] function (though be careful, because different references are by no means consistent!) is "x rounded towards zero and so has a graph:
The proof is similar to that above.
The fractional part {x} can be written as {x} = x - [x] and so has the same points of discontinuity as [x].
so that on the interval (p -
, p +
) we have h(x) = g(x) and so h is continuous since g is. Similarly if p < 0.
> 0, we can find
such that |f(x) - f(0)| <
and |g(x) - g(0)| <
in the interval (-
,
). Then we have |h(x) - h(0)| <
on this interval and so h is continuous.

f(x) and so is continuous.
|x| function. Hence it is continuous.

|sin (x) - sin(y)| is the length of the line DE and so the result follows for x, y < p/2. A little thought shows that the result still holds if x, y are in different quadrants.

Then using the
-
definition of continuity, we can take
=
and verify continuity at any point.

For the cosine function, either argue as above with |cos(x) - cos(y)| = the length of EC or (easier!) use cos(x) = sin(p/2 - x) and compose continuous functions.

The function tan(x) = sin(x)/cos(x) is then continuous wherever cos(x)
0. That is for x
(k + 1/2)p for k
Z.
