# Continuity

## 1. Continuity

So far, we have proved three main results concerning limits and arithmetical operations +,,- and (with one important proviso) a similar result for divison. Because of the algebraic nature of addition, multiplication and division, such results are often grouped together under the title The Algebra Of Limits. I find this name very unfortunate for a number of reasons: first, it suggests the work here has been algebraic (it hasn't: it has been analytic); second, it suggests that the results are true because of the special algebraic nature of the operations on limits being considered; third, the initials are "AOL".

To really understand what is going on here we need to take a slightly more abstract view and look to see what addition, subtraction and multiplication have in common. These are all functions, defined on the real numbers, with two inputs or arguments. If (,) is the function + , or - , or then : 2 is a function with the following property. For all sequences ( ) and ( ) we have,

lim ( , ) =( lim , lim )

Where, by this we mean: if the limits on the right hand side exist in the reals then the limit on the left exists and equals the expression given. This is the main content of the last two web pages on sums of sequences and products of sequences.

Other functions have this property such as the distance function (,)= - . In fact there is no need for the function to have exactly two arguments, and the idea works just as well with one, two, three or more arguments. Some functions do not have the property though. Consider the integer part function, . If we define a sequence ( ) by =1-1 then lim =1 by the convergence of the constant sequence 1 to 1, the convergence of 1 to 0, and the result mentioned above on subtraction, that lim - = lim - lim where =1 and =1/ . But = 1-1 =0 for all , so lim =0 lim . In other words, limits cannot be pushed through integer-part signs. Examining the graph of = gives some intuition as to the reason. This graph has a jump at =1. In other words it is not continuous.

Definition.

Let : be a function and . We say that is continuous at if whenever ( ) is a sequence that converges to then the sequence ( ) defined by =( ) also converges and its limit is equal to () . We say that is continuous if it is continuous at all .

So for example, the function ()= is not continuous at for =,-2,-1,0,1,2, but the functions ()=2 and ()= 2 are continuous at all values of since lim 2 =2( lim ) and lim 2 =( lim )2 for all convergent sequences ( ) .

Definition.

Let : 2 be a function with two arguments and , . We say that is continuous at (,) if whenever ( ) and ( ) are sequences that converge to , respectively then the sequence ( ) defined by =( , ) also converges and its limit is equal to (,) . We say that is continuous if it is continuous at all (,) 2 .

Continuity is about pushing functions through limits and the most important continuous functions are the arithmetic ones such as plus and times. The following theorem covers the most important cases of these:

Continuity of plus, times, etc.

1. The addition function + with two real arguments is continuous.
2. The subtraction function - with two real arguments is continuous.
3. The multiplication function with two real arguments is continuous.
4. The division function / (i.e., the function defined by (,)=/ ) with two real arguments is continuous at all (,) 2 except when =0.
5. The square root function is continuous at all positive .
6. The absolute value function is continuous.

The first four parts of this have already been proved. We sketch the proof of the others here.

Proposition.

The square root function is continuous at all 0 .

Proof.

Let as , where the limit is positive. The by a previous proposition there is 0 such that /2 for all 0 . Thus the sequence ( ) is meaningful. We show that this sequence converges to .

Subproof.

Let 0 be arbitrary.

Subproof.

Let 1 such that 1 - .

Let =( 0, 1) .

Subproof.

Let be arbitrary.

Then 0 and - = - + =.

So - .

So - .

So 0 - .

Proposition.

The absolute value function is continuous at all .

Proof.

We have to prove that implies . We do this in the case when 0 . The other cases ( 0 and =0) are easy variations left as exercises.

Subproof.

Let 0 be arbitrary.

Subproof.

Let 0 such that 0 /2 .

Let 1 such that - .

Let =( 0, 1) .

Subproof.

Let be arbitrary.

Then and are both positive and so = , = , so - = - .

So - .

So - .

So 0 - .

These results can be combined to give other continuous functions.

The distance function (,)= - is continuous at all (,) 2 .

Proof.

Let and . Then ( , )= - . So, taking limits as ,

( , )= - = - ,

as is continuous, and this limit equals

- =( , ),

as- is continuous.

## 2. Examples

Continuity of the familiar functions we see here is useful in computing limits of what would otherwise be rather scary-looking sequences.

Example.

Let ( ) be defined by

= 3 3+2 +2 (+1)4- 4

We compute its limit as as follows.

= 3 3+2 +2 4 3+6 2+4+1 = 3+2 -3 +2 -1/2 4+6 -1+4 -2+ -3 3+0+0 4+0+0+0 = 32

as -1/2 , -1 , -2 , -3 all converge to 0, as + and scalar multiplication are continuous everywhere, as is continuous at 3 and 4 and division is continuous at (3,4).

Example.

Let the sequence ( ) be defined by 1=2=1, and

+2 = 3 +2 +1 +5 +1

Let us suppose that 0 as . Then ( +1) and ( +2) are subsequences of ( ) so by our assumption should tend to the same limit . By continuity of addition, scalar multiplication everywhere and division at (5,6) (noting our assumption 0 ) we have

3 +2 +1 +5 +1 3+2 +5 =56

But +2 so by the uniqueness of limits we must have =56 .

The conclusion is that if the sequence ( ) converges to some 0 then =56 . Of course this assumption is a big one and sequences defined in this sort of way need not converge at all. We therefore need to find ways to prove that a sequence converges without necessarily finding the limit: this is the subject of the next block of work.

## 3. Summary

Pushing limits through functions is a natural idea and can save an enormous amount of time in calculations and proofs. You have seen in this web page how it can be justified for some functions and not for others. The functions for which we can manipulate limits in this way are called continuous. Sometimes a function is continuous at some points but not others. The integer-part function and the division function are examples of these.

Implicitly assuming a function is continuous and pushing a limit through is one of the most common sources of errors in a mathematical argument. There are many fallacious arguments that prove that 0=1 or some such absurdity that reply on assuming a non-continuous function is continous to trick the reader. Please always state in your own work reasons for such arguments (and check the functions really are continuous).