Mathematical Techniques for Computer Science (COMP11120)
Class notes
Lecture Notes on Induction for the Natural Numbers and Introduction to Relations and Partial Functions (COMP11120)
6 views 0 purchase
Course
Mathematical Techniques for Computer Science (COMP11120)
Institution
The University Of Manchester (UOM)
Strengthen your understanding of mathematical induction and foundational concepts in relations and partial functions with these detailed lecture notes for COMP11120. Covering topics such as the principles of induction, properties of natural numbers, and an introduction to relations and partial func...
1 24 81632 n O 1 2 3 4 5
Gress fr = yh
16 64256512
In 1 ↑
base case fo = 2
base 1
=
20 + 1 case fo =
40
2 fn
=
-1
Step case finall =
ind hyp! 4
=
2(2n + 1) -
1 base case fr =
=
24
+1
+ 2 -
1
= m
=
2n
+1
+ 1 Step case final =
4 fn + 3 f(n 1) +
= 4(yn) + 3)yn
+
1) -
ind . hyp!
+1
1)
+
= yn + 3(yn
yn 1(1 3)
+
= +
*2
=
yn
Relations
Relations are a
way of connecting elements of sets
. Example : Consider the relation R from [W ,
X
,
Y , 2) to [10 , 15 , 203 that relates
Relations between two or more sets are used in databases
w
· to 10 , 13 and 20
Crolational databases) for example to capture student records
· I to 10 and
,
with entries such as
2 to 10 and 20
(name , id number degree type degree name).
·
, ,
W 10
Notation
A relation R from a set S to set T is a subset of
Z 15
SxT , i . e . RESxT Y 20
This is sometime written as 2
R : S 1 > T
We say
in fix notation ! R is a subset
of pairs from CW ,
K
, y, 23 x 410 ,
15 , 203
(s t) E R -
Rt &(w y
or
,
R = ,
10) ,
(2 , 15) , (W , 20) , (X, 10) , (2 , 10) , (2 , 20)
or S ~t
↑
symbol to
denote relation
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller jpxoi. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.21. You're not tied to anything after your purchase.