1d. Problems: Proof Techniques Flashcards

1
Q
for ints a&b, if a&b are odd then ab = odd
   there exists x -> a = 2x+1
   there exists y -> b = 2y+1
must prove ab=odd, z -> ab = 2z + 1
This is an example of...
A
Proof by Construction
use multiplication to prove that z exists
ab = (2x+1)(2y+1)
=4π‘₯𝑦+2π‘₯+2𝑦+1 
=2(2π‘₯𝑦+π‘₯+𝑦)+1
z = 2xy + x + y
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Prove by Contradiction

A β‹‚ B=Ø, C βŠ† B, then [PROVE] A β‹‚ C = Ø

A

prove A&C have nothing in common
1.Assume y = false
Assume: Aβ‹‚C != Ø: there is an element (x) that’s in both A and C
2. since C βŠ† B, element (x) in C must be an element of B
3. from 1) x ∈ A
x ∈ A and x ∈ B implies A β‹‚ B != Ø which contradicts fact
therefore assumption in 1 is invalid bc A β‹‚ C = Ø

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Proof by Induction Example

summation from i=0 to n

A
= n(n+1) / 2
prove left = right
1.show expression is true for n = 0
2.assume true for n = k >=0
3.consider n = k=1
...confused
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

|A| = k, how many binary relations are there on A?

A

What is the size of the power set?

|P(AxA) = 2^k^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

G = undirected graph, k nodes, max number of edges(no self loops) can can have = ?

A

k
2

k choose 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

B1: Gold not here
B2: Gold not here
B3: Gold in box 2
only one is true, 2 are false

A
option 1 (b1 β‹‚!b2 β‹‚!b3)
option 2 (!b1 β‹‚ b2 β‹‚ !b3)
option 3 (!b1 β‹‚ !b2 β‹‚ !b3)
...
assume !b1 is correct β‹‚ !!b2 β‹‚ !b3
therefore b2 β‹‚ !b2 is always false
therefore gold in B2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly