Final Flashcards
Inverse of p->q
!p ->!q
contrapositive of p->q
!q->!p
converse of p->q
q->p
!ExP(x) ->?
Ax!P(x)
!AxP(x) ->?
Ex!P(x)
!AxP(x) with negation inside
Ex!P(x)
Proof by contraposition
p->q = !q->!p then prove this to be true
perfect square x
for some int a; x=a^2
Proof by contradiction
assume false then find a case that makes it true
def: rational number
number can be stated in terms of a/b where a and b are integers and a and b are written in the lowest common term
def: irrational number
number can not be stated in terms of a/b where a and be are integeres
prove if n=ab then (a <= sqr(n))
proof by contradiction a>sqr(n) and b>sqr(n) a>sqr(n) > 0 b > sqr(n) > 0 s > x > 0 t > y > 0 st>xy ab>n contradiction
if n^2 is odd prove n is odd
suppose n is even
n=2k ; n^2 = 4k^2
2*(2k^2) so is even
proof by contraposition
prove sqr(2) is irrational by contradiction
suppose sqr(2) is rational sqr(2) = a/b 2 = a^2/b^2 2b^2 = a^2 so a is even a=2c 2b^2 = 4c^2 b^2=2c^2 so b is even then a and b share common factor b CONTRADICTION
prove sum of rational and irrational is irrational
contradiction:
x=r;y=i;z=r
x+y=z; y=z-x; x = z +(-x)
a/b + c/d = ad+cb/bd which is rational
prove product of 2 rational is rational
a/b * b/c = ab/bc which is rational
prove product of 2 irrational is irrational
sqr(2) * sqr(2) = 2 contradiction
if a < b prove average of a and b is > a
b = a + x
average = (a + a + x)/2
2a/2 + x/2 = a+x/2
x/2 > 0 so true
prove if x is rational x/2 is ratinal
x=a/b
2a/b is rational
prove if x is rational then 3x-1 is rational
x=a/b
3a/b -1
3a/b -b/b
3a-b/b is rational
Identify the following sets N: Z: Z+: Q: R: R+: C:
N: 0,1,2,3 Z:integers Z+: positive integers Q:rational numbers R:real numbers R+:real positive number C:complex numbers
def subset
every element of A is in B
def strict subset
every element of A is in B but there exists an element in B which is not in A
def: power set
all subsets of given set
{0,1} = {{o},{0},{1},{0,1}