← Field notes
Mathematics / Note / 7 min read

Sets, sequences and series

Sets are a collection of distinct elements, we could specify a set by \{a, b, c, d\}: finite R: set of all real numbers infinite another way to specify a set is this notation: \…

Sets:

Sets are a collection of distinct elements, we could specify a set by {a,b,c,d}\{a, b, c, d\}: finite RR: set of all real numbers infinite another way to specify a set is this notation: {xR:cos(x)>1/2}\{ x \in R: \cos(x) > 1/2 \} we took a smaller of set of R that specifies the condition cos(x)>1/2\cos(x) > 1/2

we can also consider the universal set Ω\Omega which makes all of the sets subset of Ω\Omega and also it enable us to specify everything not belonging to our set which is for set SS is it's complement ScS^c formally Sc={xSc if xΩ, xS}S^c = \{x \in S^c \ if \ x \in \Omega,\ x \notin S\} in effect (Sc)c=S(S^c)^c = S

another set of interest is the empty set ϕ\phi which is the set that contains no elements in effect Ωc=ϕ\Omega^c = \phi

if we have a set inside a set we denote the following: ST : xS    xTS \subset T\ :\ x \in S \implies x \in T

Research figure

now when we have two sets we can talk about their unions and intersections. Research figure STS \cup T This is the union of SS and TT meaning xSTxS or xTx \in S \cup T \Leftrightarrow x \in S\ or\ x \in T STS \cap T This is the intersection of SS and TT meaning xSTxS and xTx \in S \cap T \Leftrightarrow x \in S\ and\ x \in T

And actually we can have an infinite number of sets with intersections and unions.

Research figure

Properties of Sets:

Research figure

De Morgan's laws:

Research figure

(nSn)c=nSnc,(nSn)c=nSnc\qquad \displaystyle {\Big(\bigcup _ n S_ n\Big)^ c=\bigcap _ n S_ n^ c,\qquad \Big(\bigcap _ n S_ n\Big)^ c=\bigcup _ n S_ n^ c}

De morgan's law are very useful they allow us to go back forth from unions to intersections.

Sequences:

So a sequence is nothing but some of collection of elements that are coming out of some set, and that collection of elements is indexed by natural numbers. a1,a2,a3,...a_1, a_2, a_3, ... we normally use this notation: sequence ai,{ai}a_i, \{a_i\} we have iN={1,2,3,...}i \in N = \{1, 2, 3, ...\} and aiSa_i \in S, SS can be the set of real numbers RR or RnR^n in which case we will be dealing with vectors but it also could be any other kind of set.

Formally a sequence is a function f:NSf:N\rightarrow S that means we feed the function a natural number and it returns an element of the set SS which is an element of the sequence. f(i)=aif(i) = a_i

Convergence and divergence

We typically care if a sequence converges to some number a and we often use this notation, aia as ia_i \rightarrow a\ as\ i \rightarrow \infty and a more formal notation we say that the limiai=alim_{i\to\infty} a_i = a but what does this mean? formally? let's plot it out! Research figure for any ε>0\varepsilon > 0 , there exists i0i_0, such that if ii0i \geq i_0 , then aia<ε|a_i - a| < \varepsilon What this definition is saying is that no matter what kind of band i take around my limit a, eventually, the sequence will be inside this band and will stay inside there.

Convergence of sequences has some very nice properties For example, if a sequence aia_i converges to aa and another sequence bib_i converges to bb then we have ai+bia+ba_i + b_i \rightarrow a+b which means ai+bia_i + b_i converges to a+ba+b similarly aibiaba_i b_i \rightarrow ab.

In addition, gg is a continuous function then g(ai)g(a)g(a_i) \rightarrow g(a) for example if aia    ai2a2a_i \rightarrow a \implies a_i^2 \rightarrow a^2

When does a sequence Converge?

there are two criteria there are commonly used, the first one deals with the case where we have a sequence of numbers that keep increasing, in that case those numbers may go up forever without any bound.

  • If aiai+1a_i \leq a_{i+1}, for all ii than either:
    • the sequence "Converges to \infty"
    • the sequence converges to some real number aa

another way of establishing convergence is to derive some bound on the distance of our sequence from the number we suspect be the limit if that distance become smaller and smaller (converges to 0) the it is guaranteed that since the distance goes down to then the sequence converges to a real number aa.

  • If aiabi|a_i - a| \leq b_i, for all ii, and bi0b_i \rightarrow 0, then aiaa_i \rightarrow a

A variation of this argument is the sandwich argument and it goes as follows if we have a sequence aia_i and a sequence cic_i they both converge to aa then our sequence bib_i that is between them must converge to aa.

Series:

Infinite Series:

we are given a sequence a of numbers aia_i indexed by ii where ii ranges from 1 to \infty, so it's an infinite sequence and we want to add the terms of that sequence together the resulting notation is the following: i=1ai=limni=1nai\sum_{i=1}^\infty a_i = \lim_{n \rightarrow \infty} \sum_{i=1}^n a_i provided limit exists

when does limit exists:

  • If ai0a_i \geq 0: limit exists
  • if terms aia_i do not all have the same sign:
    • limit need not exist
    • limit may exist but different if we sum in a different order
    • Fact: Limit exists and independent of order of summation if i=1ai<\sum_{i=1}^\infty |a_i| < \infty

Geometric Series:

The geometric shows up in many applications and problems, it is when we are given a number α\alpha and we want to sum all the powers of alpha, starting from the 0th power, which is equal to 1, this gives us an infinite series. S=i=0αi=1+α+α2+...S=\sum_{i=0}^\infty \alpha_i = 1 + \alpha + \alpha^2 + ... for this series to converge we need the terms to go down so we denote α<1|\alpha| < 1 this results into the following equation: Research figure

We use algebraic identity to derive this: (1α)(1+α+...+αn)=1αn+1(1-\alpha)(1+\alpha+...+\alpha^n)=1-\alpha^{n+1} and as nn \rightarrow \infty we use the notation from the infinite series we have (1α)S=1    S=1/1α(1-\alpha)S=1 \implies S=1/1-\alpha

Order of summation in series with multiple indices

Research figure

each one of those points corresponds to one of the terms that we want to add, so we can sum the different terms in some arbitrary order, as long the series converges to some term then this series will be well defined and in principle, those different orders might give us different kinds of results.

on the other hand, as long as the sum of the absolute values of all the terms tuns out to be finite, the particular order in which we're adding the different terms will turn out that it doesn't matter. aij<\sum |a_{ij}| < \infty

we can also do the summation by fixing a particular value of ii and adding all jj to infinity or vice versa. Research figure

so this aij<\sum |a_{ij}| < \infty guarantees no matter which is the order we are going to get same results.

This condition is not always satisfied suppose we have this particular sequence:

Research figure

and that every dot represents a zero, if we do the summation by fixing a j and adding over all i's we will have a sum of 0, but if we do the summation by fixing i and adding over all j's we will have 1.

let's now consider the case where we want to add the terms of a double sequence but over a limited range of indices for example: