Analysis Chapter2
Analysis Chapter2
Analysis Chapter2
2.1 Functions
Our main tool to study real numbers, and our primary application
of these numbers, are functions. Before giving a formal definition of
functions, we give an intuitive one. If you give a function a number, it
gives you back a number.
2. The function that gives you the number you gave it.
4. The function that gives you 1 if you gave it 10, and gives you 2
otherwise.
1. f ( x ) = 21
2. f ( x ) = x
3. f ( x ) = x2
8
<1 if x = 10
4. f ( x ) =
:2 if x 6= 10
Polynomial functions
One type of function we will meet regularly is the polynomial function
(three of the four examples above are polynomials). A polynomial is
an expression
n 1
an x n + an 1x + · · · + a2 x2 + a1 x + a0 where ai 2 R and n 2 N.
6
f :D ! R
x 7! f (x)
f : [ 1, 1] ! R
1
x 7!
x2 +1
So in this example, although it is perfectly ok to evaluate the quantity
1
x 2 +1
when x = 2, the quantity f (2) is not defined. If you change the
domain of the function, you obtain a new function.
In the first examples, we didn’t define a domain. When the do-
main is not specified, we will use the convention that we are using
the natural domain. The natural domain of a function f is the subset
of all x 2 R for which f ( x ) is well-defined. If needed, we will write
dom( f ) for the natural domain of a function f . Here are some new
examples and their natural domains.
1. f ( x ) = x2 3x + 9, dom( f ) = R.
2. f ( x ) = 1x , dom( f ) = R ⇤ .
p
3. f ( x ) = x2 1, dom( f ) = R \] 1, 1[.
The codomain of a function is the set of allowed values for the func-
tion. For instance, for a real function, the codomain can always be
taken to be R. But we could choose to be more precise. For instance,
the function sin (that we will see below) only takes values between
1 and 1 so [ 1, 1] is a more precise codomain. More generally, the
image of a function f : D ! R is the set of values it takes. We denote
it f ( D ). More formally it is defined as folows:
f ( D ) = { y 2 R | y = f ( x ), x 2 D }.
Trigonometry
We will define the trigonometric functions in two related ways.
Consider the right-angled triangle with hypotenuse equal to 1;
We can define the Sine and Cosine functions in relation to this
triangle.
The domain is ]0, p/2[ as this is required for the triangle to have a
right-angle. If q is very close to zero then the adjacent side is very
close to length 1, and if q is very close to p/2 then the adjacent side
has length very close to 0. It follows that the codomains are ]0, 1[, as
above.
The circle
However, we can extend the domains of Sine and Cosine functions to
all of R. Consider the unit circle.
Let Pq be the point of intersection of the circle and a line starting
at the origin with counter-clockwise angle q from the x-axis. We
redefine the sine and cosine functions.
sin : R ! [ 1, 1],
q 7! y co-ordinate of Pq .
cos : R ! [ 1, 1],
q 7! x co-ordinate of Pq .
8
Combining functions
As with numbers, we can combine two functions in multiple ways to
create a new ones. Let f and g be two functions.
1. ( f + g)( x ) = f ( x ) + g( x ) = x2 + x 1
2. ( f g)( x ) = f ( x ) + g( x ) = x2 x+1
3. ( f g)( x ) = f ( x ) g( x ) = x2 ( x 1) = x 3 x
4. ( f /g)( x ) = f ( x )/g( x ) = x2 /( x 1)
5. ( f g)( x ) = f ( g( x )) = f ( x 1) = ( x 1)2 = x 2 2x + 1
2.2 Sequences
A sequence is a function f : N ! R.
{ ak }•
k=k0
1. 1, 2, 3, 4, . . .
2. 2, 4, 6, 8, . . .
3. 0,1, 4, 9, 16, . . .
5. 2, 0, 2, 0, 2, 0, 2, 0, 2, . . .
1. an = n or {n}•
n =1
2. an = 2n or {2n}•
n =1
3. an = n2 or { n2 } •
n =0
n+1 n n + 1 o•
4. an = or
n n n =1
5. an = 1 + ( 1) n
or {1 + ( 1) n } •
n =0
10
an = an 1 + an 2
Converging sequences
Definition 2.2.4. A sequence { an }•
n=1 converges to a real number
A 2 R when for each e > 0 there exists N > 0 such that for all n N
| an A| < e.
2.pdf 2.pdf
The first few terms of the sequence are 1, 1/4, 1/9, 1/16, . . . . So
the numbers look to be converging to 0, but the sign keeps switching.
The idea behind the proof remains the same.
lim an = A.
n!•
for all a, b 2 R | a + b | | a | + | b |.
Or that the size of the sum is no bigger than the sum of the sizes.
| 1 a| < 1 et |1 a| < 1.
2=| 1 1|
= |( 1 a) (1 a)|
| 1 a | + |1 a|
< 1+1
=2
This proof looks very similar to our previous proofs showing that
sequences converge. The key difference is that here we are showing
that an is bigger than something, and not that | an A| is less than
something.
Notice that the term “infinity” or the symbol “•” did not ap-
pear in our proof. This because the concept of “tending to infinity”
does not require us to enter into the messy business of calculations
involving •.
an = 2n n2 = (n 1)2 + 1
(N 1)2 + 1
< (1 B) + 1
= B.
Limit notation
We have given the definition of a sequence { an }•n=n0 that converges
to a number A, or tends to infinity, or tends to negative infinity.
The quicker way to write this is an ! A, an ! •, and an ! •
respectively. Another way to write these concepts is as follows
1 = lim an = 2,
n!•
14
| an A| + | an A0 | < 2z.
Now, for any e > 0, let z = e/2. In particular z > 0 so our statement
still holds.
For every e > 0 there exists some N > 0 such that for all n N
| an A| + | an A0 | < 2z = e.
|A A0 | = | ( an A) + ( an A0 )| | an A| + | an A0 | < e.
| a n + bn ( A + B)| < e
n > N ) | a n + bn ( A + B)|
= |( an A ) + ( bn B)|
| a n A | + | bn B|
e e
< +
2 2
=e
as required.