Roughly speaking: a function is continuous if we can draw its graph without lifting our pencil from the paper. This "definition" makes little sense from a mathematical point of view, so we investigate it with greater detail.
First of all the formal definition:
Given a function
, and a point
c in the domain D, the function f is said to be
continuous at
c if either c is not an accumulation point for D, or, when
c is an
accumulation point,
.
Important remarks
The point c must be in the domain of the function.
The value l that we used in the definition of limit is now replaced by
f(c).
Unlike the case of limits, here we do not want to investigate the behaviour of a function as x gets closer and closer to a given point c; on the contrary we want to check if the function approaches exactly the value f(c) as x approaches c.
Observe that, if c is a left (right) end point in the domain, we need to check only
(
).
It's easy enough to prove that all elementary functions are continuous whatever point you take in the domain. So in order to find interesting examples we'll often use other kinds of functions, mainly functions defined in pieces.
. The question of continuity in
zero now makes sense, but the function is not continuous, as
. Now the question may be: can we
find a value a for which the function is continuous? The answer is again negative, because
the limit of the function can't exist, no matter what a is.
. Now, as we know from a fundamental limit already
discussed, the function is continuous in zero. Observe that if we change the value
f(0) to
something different the function is no more continuous: we have chosen f(0)=1 just to make
the function continuous.
. The function is continuous at zero: it is the product of
x, that
tends to zero, times a bounded function (see algebraic rules), so

Facts about continuous functions
As continuity is defined in terms of limits, it's obvious that sums, products, quotients and compositions of continuous functions are continuous.