Cub11k's BIU Notes
Cub11k's BIU Notes
Assignments
Discrete-math
Discrete-math 1
Discrete-math 10
Discrete-math 11
Discrete-math 12
Discrete-math 2
Discrete-math 3
Discrete-math 4
Discrete-math 5
Discrete-math 6
Discrete-math 7
Discrete-math 8
Discrete-math 9
Infi-1
Infi-1 10
Infi-1 11
Infi-1 2
Infi-1 3
Infi-1 4
Infi-1 5
Infi-1 6
Infi-1 7
Infi-1 8
Infi-1 9
Linear-1
Linear-1 1
Linear-1 10
Linear-1 11
Linear-1 12
Linear-1 2
Linear-1 3
Linear-1 4
Linear-1 5
Linear-1 6
Linear-1 7
Linear-1 8
Linear-1 9
Linear-2
Linear-2 1
Lectures
Data-structures
Data-structures 1
Data-structures 2
Data-structures 3
Discrete-math
Discrete-math 10
Discrete-math 11
Discrete-math 12
Discrete-math 13
Discrete-math 14
Discrete-math 15
Discrete-math 16
Discrete-math 18
Discrete-math 19
Discrete-math 20
Discrete-math 21
Discrete-math 22
Discrete-math 23
Discrete-math 24
Discrete-math 25
Discrete-math 26
Discrete-math 3
Discrete-math 4
Discrete-math 5
Discrete-math 6
Discrete-math 7
Discrete-math 8
Discrete-math 9
Exam 2023 (2A)
Exam 2023 (2B)
Exam 2023 (A)
Exam 2023 (B)
Exam 2023 (C)
Exam 2024 (A)
Exam 2024 (B)
Exam 2024 (C)
Midterm
Infi-1
Exam 2022B (A)
Exam 2022B (B)
Exam 2023B (A)
Exam 2023B (B)
Exam 2024 (A)
Exam 2024 (B)
Exam 2025 (A)
Infi-1 10
Infi-1 12
Infi-1 13
Infi-1 14
Infi-1 15
Infi-1 16
Infi-1 17
Infi-1 19
Infi-1 20
Infi-1 21
Infi-1 22
Infi-1 23
Infi-1 24
Infi-1 25
Infi-1 26
Infi-1 5
Infi-1 6
Infi-1 7
Infi-1 9
Midterm
Theorems and proofs
Infi-2
Infi-2 1
Infi-2 10
Infi-2 11
Infi-2 12
Infi-2 13
Infi-2 14
Infi-2 15
Infi-2 16
Infi-2 17
Infi-2 2-3
Infi-2 3-4
Infi-2 5
Infi-2 6
Infi-2 7
Infi-2 8
Infi-2 9
Linear-1
Exam 2023 (B)
Exam 2023 (C)
Exam 2024 (A)
Exam 2024 (B)
Exam 2024 (C)
Exam 2025 (A)
Linear-1 11
Linear-1 12
Linear-1 13
Linear-1 4
Linear-1 5
Linear-1 6
Linear-1 7
Linear-1 8
Linear-1 9
Midterm
Random exams
Theorems and proofs
Linear-2
Linear-2 1
Linear-2 2
Linear-2 3
Linear-2 4
Linear-2 5
Linear-2 6
Linear-2 7
Linear-2 8
Seminars
CSI
CSI 2
Data-structures
Data-structures 1
Data-structures 2
Data-structures 3
Discrete-math
Discrete-math 1
Discrete-math 10
Discrete-math 11
Discrete-math 12
Discrete-math 2
Discrete-math 3
Discrete-math 4
Discrete-math 5
Discrete-math 6
Discrete-math 7
Discrete-math 8
Discrete-math 9
Infi-1
Infi-1 10
Infi-1 11
Infi-1 12
Infi-1 13
Infi-1 3
Infi-1 4
Infi-1 5
Infi-1 6
Infi-1 8
Infi-2
Infi-2 1
Infi-2 2
Infi-2 3
Infi-2 4
Infi-2 6
Infi-2 7
Infi-2 8
Linear-1
Linear-1 10
Linear-1 11
Linear-1 12
Linear-1 3
Linear-1 5
Linear-1 6
Linear-1 7
Linear-1 8
Linear-1 9
Linear-2
Linear-2 1
Linear-2 2
Linear-2 3
Linear-2 4
Linear-2 5
Linear-2 6
Linear-2 7
Templates
Lecture Template
Seminar Template
Home
Infi-1 9
Infi-1 9
Subsequence
#definition
Let
a
n
Let
a
k
n
:
∀
n
∈
N
:
k
n
<
k
n
+
1
For example:
a
n
=
{
1
2
,
1
4
,
1
8
,
1
16
,
…
}
a
2
n
=
{
1
4
,
1
16
,
1
64
,
…
}
,
k
n
=
2
n
:
2
<
4
<
6
<
…
a
n
+
7
=
{
1
256
,
1
512
,
…
}
k
n
=
n
+
7
:
8
<
9
<
10
<
…
Monotonic subsequence
#lemma
For any sequence there exists a monotonic subsequence
Proof:
Let
x
m
be a "peak" if
∀
n
>
m
:
x
n
≤
x
m
1.
There are infinitely many "peaks"
⟹
x
m
n
=
{
x
m
1
,
x
m
2
,
x
m
3
,
…
}
,
m
1
<
m
2
<
…
∀
m
a
,
m
b
:
m
a
<
m
b
⟹
x
m
a
≥
x
m
b
⟹
{
x
m
1
,
x
m
2
,
…
}
−
monotonically non-asscending
2.
There is a finite number of "peaks"
Let
x
n
1
be past all of them
x
n
1
is not a peak, then
∃
n
2
>
n
1
:
x
n
2
>
x
n
1
∀
a
>
n
2
:
x
n
a
is not a "peak"
⟹
∃
n
b
:
x
n
a
>
x
n
b
By induction, sequence
{
x
n
1
,
x
n
2
,
…
}
−
monotonically ascending
Bolzano-Weierstrass theorem
#theorem
Every bounded sequence has a convergent subsequence
Proof:
∃
a
k
n
:
a
k
n
monotonic and bounded
⟹
a
k
n
converges
Limit of subsequence
#lemma
Limit of any subsequence is equal to the limit of a sequence, if such exists
Proof:
…
Equal limits of odd/even subsequences
#lemma
If
a
2
n
,
a
2
n
−
1
converge to
L
, then
a
n
converges to
L
Proof:
∀
ε
>
0
:
∃
N
2
n
:
∀
2
n
>
N
2
n
:
|
a
2
n
−
L
|
<
ε
∀
ε
>
0
:
∃
N
2
n
−
1
:
∀
2
n
−
1
>
N
2
n
−
1
:
|
a
2
n
−
1
−
L
|
<
ε
⟹
∀
ε
>
0
:
∃
N
=
m
a
x
(
N
2
n
,
N
2
n
−
1
)
:
∀
n
>
N
:
|
a
n
−
L
|
<
ε
⟺
lim
n
→
∞
a
n
=
L
Partial limits
#definition
Let
a
n
,
c
∈
R
C
is called a partial limit of
a
n
if there exists a subsequence
a
k
n
converging to
C
Example
a
n
=
(
−
1
)
n
Set of partial limits of this sequence is
{
1
,
−
1
}
Example
a
n
=
{
1
,
1
2
,
1
,
1
2
,
1
3
,
…
}
Set of partial limits of this sequence is
{
1
n
∣
n
∈
N
}
∪
{
0
}
Limit superior
#definition
Supremum of the set of partial limits of
a
n
is called limit superior
−
l
i
m
s
u
p
(
a
n
)
or
lim
―
a
n
Limit inferior
#definition
Infimum of the set of partial limits of
a
n
is called limit superior
−
l
i
m
i
n
f
(
a
n
)
or
lim
―
a
n
Equal partial limits
#lemma
l
i
m
―
a
n
=
l
i
m
―
a
n
=
L
⟹
lim
n
→
∞
a
n
=
L
Note: also true for converging in the broadest sense
Proof:
…