Tuesday, May 11, 2010

how to prove it - ch3, sec3.4(Proofs Involving Conjunctions and Biconditionals) ex

Proof strategies for conjunctions and biconditionals introduced in this sections are pretty trivial. Here they are...

To prove a goal of the form PQ: simply prove P and Q separately

To prove a goal of the form PQ: simply prove PQ and QP separately

To use a given of the form PQ assume as if P and Q are both given. To use a given of the form PQ assume as if PQ and QP are both given.

Some times when proving PQ, steps to prove PQ and QP are same except the order is reversed. In those cases, to keep the proof concise, we can go direct PRQ where R is a common form that comes while proving PQ and QP

Other Notes:
This is Set specific. A = B can be proved by either proving (xAxB) or by proving (AB)(BA) where A and B are sets.

Another thing when proofs involve even/odd numbers, we can use following definitions for even/odd.
An integer x is even if kZ(x=2k)
An integer x is odd if kZ(x=2k+1)


========================================================================================

Ex-1
()Suppose x(P(x)Q(x)) is true. Let y be arbitrary, so P(y) is true. Since y is arbitrary, we can conclude xP(x) is true. By using similar argument we can prove that xQ(x) is also true. Hence xP(x)xQ(x) is true.
()Suppose xP(x)xQ(x) is true. Let y be arbitrary, it follows that P(y) is true and Q(y) is true as well, so P(y)Q(y) is true. Since y is arbitrary, we can conclude x(P(x)Q(x)) is true.


Ex-2
Suppose AB, AC and let x be an arbitrary element of A. Since AB, therefore xB. Also since AC, therefore xC also. So xBxC and therefore xBC. Since x is arbitrary, we can conclude ABC. Thus if AB and AC then ABC


Ex-3 Let C be an arbitrary set and x be an arbitrary element of C\B. It follows that xC and xB. Since AB, it means every element of A is an element of B also or in other words(the contrapositive) a element that is not in B is not in A also. Since xB, therefore xA. Since xC and xA, therefore xC\A. Since x is arbitrary, we can conclude C\BC\A


Ex-4 Suppose AB and ¬(AC). Since ¬(AC), there exists atleast one x s.t. x is in A but not in C. Since AB, x should be in B also. So x is in B but not in C, Thus ¬(BC).


Ex-5 Suppose AB\C and A is non-empty. Let a be an element of A. It follows that aB\C, that is aB and aC. We've found an element that is in B but not in C, so ¬(BC).


Ex-6
Let x be an arbitrary element of A\(BC). It follows
xA\(BC) iff
xA¬x(BC) iff
xA¬(xBxC) iff
xA(xBxC) iff
(xAxB)(xAxC) iff
(xA\B)(xA\C) iff
x(A\B)(A\C)
Since x is arbitrary, we can conclude A\(BC) = (A\B)(A\C)


Ex-7
()Suppose A and B are arbitrary sets, let x be an arbitrary element of P(AB). It follows that x(AB). Let y be an arbitrary element of x, then y(AB) and therefore yA and yB. Since y is arbitrary so xA and also xB, therefore xP(A) and xP(B). Thus, xP(A)P(B).
()Suppose A and B are arbitrary sets, let x be an arbitrary element of P(A)P(B). It follows that xP(A)xP(B), therefore xA and xB. Let y be an arbitrary element of x, then yA and yB. So, yAB. Since y is arbitrary, we conclude x(AB). Thus, xP(AB).


Ex-8
()Suppose AB. Let x be an arbitrary element of P(A), Since xP(A) it follows xA. Since AB, so xB also. Therefore xP(B). Since x is arbitrary, we can conclude P(A)P(B).
()Suppose P(A)P(B). Let x be an arbitrary element of A, so there should exist atleast one set y in P(A) s.t. xy. Since P(A)P(B), so yP(B). It means yB and xy, therefore xB also. Since x is arbitrary, we can conclude AB.


Ex-9 Suppose x and y are odd integers. So there exists a k1Z s.t. x=2k1+1 and a k2Z s.t. y=2k2+1. On multiplying both we get xy=2(2k1k2+k1+k2)+1. Since (2k1k2+k1+k2)Z, therefore xy is odd.


Ex-10 Let n be an arbitrary integer.
()We want to prove that If n3 is even then so is n. We'll prove the contrapositive that is, If n is odd then n3 is also odd. Suppose n is odd, then there exists a kZ s.t. n=2k+1. So n3=(2k+1)3 and then n3=8k3+1+6k(2k+1), then n3=8k3+12k2+6k+1, then n3=2(4k3+6k2+3k)+1. Since (4k3+6k2+3k)Z, so n3 is odd.
()Suppose n is even, then there exists a kZ s.t. n=2k, so n3=2(4k3). Since 4k3Z, so n3 is even.


Ex-11
(a) The flaw is in chosing the same k for both m and n.
(b) It is incorrect. A counterexample is n = 5, m = 2.


Ex-12 Suppose x is an arbitrary real number.
() Suppose, for a particular real number y, (x + y = xy)
=> y = xx-1
it is defined only when (x-1)0, that is x1. Since x is arbitrary, we can conclude that xRyR((x+y=xy)(x1))

() Suppose, x1, Let us take a real number y = xx-1. It is defined because x1 and hence (x-1)0.
Now check (x + y)
= x+xx-1
= x(x-1)+xx-1
= x2x-1
= xy
Since x is arbitrary, we can conclude that xRyR((x1)(x+y=xy))


Ex-13 Let z = 1, and now prove
xR+[yR(y-x=yx)x1]

Suppose x be arbitrary positive real number and then we need to prove following
yR(y-x=yx)x1

() yR(y-x=yx)x1
we prove the contrapositive
which is , x=1yR(y-xyx)
Suppose, x = 1 and y be arbitrary real number. clearly y-1y. So, that establishes first half of the biconditional statement.

() x1yR(y-x=yx)
clearly, given that x1, then you can choose real number y=x2x-1 for which y-x=yx. So, that establishes second half of the biconditional statement.

Ex-14 Let x be an arbitrary element of {A\BAF}. It follows that there exists a set aF s.t. xa\B. Moreover, ¬(aB) is true otherwise a\B will be empty. Since ¬(aB), so aP(B). Since aF and aP(B), so aF\P(B) and hence x(F\P(B)). Since x is arbitrary, we can conclude {A\BAF}(F\P(B))


Ex-15
given: every element of F is disjoint from some element of G
goal: F and G are disjoint xF(yGxy)

Formal Proof:
Let x be an arbitrary element of F, so there exists a set fF s.t. xf. Let y be an arbitrary element of G, so y is in every set in G. Since every element of F is disjoint from some element of G, so there exists a gG s.t. f and g are disjoint. But yg also as y is in every set in G and since xf and f and g are disjoint, therefore xy. Since x and y are arbitrary, we can conclude that F and G are disjoint.


Ex-16 We will prove that AP(A) and also P(A)A.
Let us prove AP(A). Let x be an arbitrary element of A. Since AP(A), so by definition of P(A), x should be an element of P(A) also. Since x is arbitrary, AP(A).
Let us prove P(A)A. Let x be an arbitrary element of P(A), so there exists an aP(A) s.t. xa. Since aP(A), therefore aA and hence xA also. Since x is arbitrary we can conclude that P(A)A.
Thus A=P(A).


Ex-17
(a) Let x be an arbitrary element of (FG). It follows, there exists a set A(FG) s.t. xA. Since A(FG), so AF and hence xF also. By similar argument xG also. Since xF and xG, therefore x(F)(G). Since x is arbitrary, we can conclude (FG)(F)(G)

(b) The flaw is in the fact that we are chosing the same A in both families.

(c) F = { {1},{2} } and G = { {2}, {1,2} }
FG = { {2} }
(FG) = { 2 }... (i)

F = { 1,2 }
G = { 1,2 }
(F)(G) = { 1,2 }... (ii)

clearly (i) and (ii) are not same.

Note: How I found it?
I realized for x(F)(G), x(F)x(G) and hence there exist particular fF and gG s.t. xf and xg. Note that f and g could be *different* sets.
However for x(FG), there exist a particular a(FG) s.t. xa. Note that for this case the *same* set a has to be in both the families.


Ex-18
()
given:
goal: If (F)(G)(FG) then AFBG(AB(FG))

Assume the hypotheses

given: (F)(G)(FG)
goal: AFBG(AB(FG))

Let A be an arbitrary element of F and B be an arbitrary element of G.

given: (F)(G)(FG)
goal: AB(FG) x(x(AB)x(FG))

Let x be arbitrary

given: (F)(G)(FG)
goal: x(AB)x(FG)

Assume the hypotheses

given: (F)(G)(FG) , x(AB)
goal: x(FG)

Formal Proof:
Suppose (F)(G)(FG). Let A be an arbitrary element of F and B be an arbitrary element of G and x be an arbitrary element of AB. It follows xA and xB. Since xA and AF, so xF. Similarly, xG. So x(F)(G). Since (F)(G)(FG), hence x(FG). Since x is arbitrary, we can conclude that AB(FG). And since A and B are arbitrary, therefore AFBG(AB(FG))

()
Suppose AFBG(AB(FG)). Let x be an arbitrary element of (F)(G). Then xF, it follows that there exists a set fF s.t. xf. Similarly there exists a set gG s.t. xg. So xfg. Since AFBG(AB(FG)), so (fg)(FG) and hence x(FG). Since x is arbitrary, we conclude that (F)(G)(FG)


Ex-19
()We will prove it by contradiction. Suppose F and G are disjoint. Let A be an arbitrary element of F and B be an arbitrary element of G and A and B are not disjoint. Then, there exists a x s.t. xA and xB. Since xA and AF, so xF and similarly xG also. This means F and G have a common element x and hence not disjoint and that contradicts our assumption. Hence A and B have to be disjoint. Since A and B are arbitrary, we conclude that for all AF and BG, A and B are disjoint.
()We will prove it by contradiction. Suppose for all AF and BG, A and B are disjoint. Assume F and G are not disjoint, then there exists a x s.t. xF and xG. It follows there exist AF and BG s.t. xA as well as xB but this contradicts our earlier assumption. Hence F and G are disjoint.


Ex-20
(a) Suppose x be an arbitrary element of (F)\(G). It follows that xF and xG. Since xF, therefore there exists AF s.t. xA. Since xG, x can not be an element of any set in G. Since xA, so AG. Since AF and AG, so AF\G. Since xA and AF\G, therefore x(F\G). Since x is arbitrary, we can conclude (F)\(G)(F\G)

(b) The flaw is in the statement, "Since xA and AG, xG". On the contrary, Since A is a particular set in G and there *can* be another set BG s.t. xB and in that case xG.

(c)
()
given:
goal: If (F\G)(F)\(G) then A(F\G)BG(AB=)

Assume the hypotheses

given: (F\G)(F)\(G)
goal: A(F\G)BG(AB=)

Let A be an arbitrary element of F\G and B be an arbitrary element of G.

given: (F\G)(F)\(G)
goal: AB= x(xA)(xB)

Let x be arbitrary

given: (F\G)(F)\(G)
gaol: (xA)(xB) xAxB

Assume the hypotheses

given: (F\G)(F)\(G) , xA
goal: xB

Formal Proof:
Suppose (F\G)(F)\(G). Let A be an arbitrary element of F\G and B be an arbitrary element of G and x be an arbitrary element of A. Since xA and A(F\G), therefore x(F\G). Since (F\G)(F)\(G), therefore x(F)\(G), therefore x(G). It means x is not an element of any element in G. Hence x can not be element of B or xB. Thus xAxB, therefore xAxB, therefore ¬(xAxB), therefore x(AB). Since x is arbitrary, we can conclude AB=

()
given:
goal: If A(F\G)BG(AB=) then (F\G)(F)\(G)

Assume the hypotheses

given: A(F\G)BG(AB=)
goal:
(F\G)(F)\(G)
x(x(F\G)x(F)\(G))

Let x be arbitrary

given: A(F\G)BG(AB=)
goal: x(F\G)x(F)\(G)

Assume the hypotheses

given: A(F\G)BG(AB=) , x(F\G)
goal: x(F)\(G)

Formal Proof:
Suppose A(F\G)BG(AB=). Let x be an arbitrary element of (F\G). It follows that there exists a set yF\G s.t. xy.
Since yF\G, so yF. Also xy, hence xF.
Since yF\G, so y is disjoint from every set in G because of our assumpion made in the starting of the proof and hence x can not belong to any set in G. Thus, xG.
As we've proven that xF and xG, so x(F)\(G). Since x is arbitrary, we can conclude (F\G)(F)\(G)

(d)
F = { {1}, {1,2} }
G = { {1} }
F\G = { {1,2} }
(F\G) = {1,2) ...(i)

F = {1,2}
G = {1}
(F)\(G) = {2} ...(ii)

clearly (i) and (ii) are not same.


Ex-21 We will prove the contrapositive, which says If for all AF there exists some BG s.t. AB then FG. Suppose for all AF there exists some BG s.t. AB. Let x be an arbitrary element of F. It follows that there exists some AF s.t. xA. But, there has to exist a BG s.t. AB. Then xB. So we have xB and BG, therefore xB. Since x is arbitrary, we can conclude FG


Ex-22
(a) Following strategies have been used...
To prove a goal of the form xP(x)
To prove a goal of the form PQ
To use a given of the form PQ

(b) Let x be an arbitrary element of B\(iIAi). Then
xB\(iIAi) iff
xB¬(x(iIAi)) iff
xB¬(iI(xAi)) iff
xB(iI(xAi)) iff
iI(xB)(xAi) iff
iI(xB\Ai) iff
xiI(B\Ai)

Since x is arbitrary, we can conclude B\(iIAi) = iI(B\Ai)

(c)
The theorem is, B\(iIAi) = iI(B\Ai)

Let x be an arbitrary element of B\(iIAi). Then
xB\(iIAi) iff
xB¬(x(iIAi)) iff
xB¬(iI(xAi)) iff
xB(iI(xAi)) iff
iI(xBxAi) iff
iI(xB\Ai) iff
xiI(B\Ai)

Since x is arbitrary, we can conclude B\(iIAi) = iI(B\Ai)


Ex-23
(a) Let x be an arbitrary element of iI(Ai\Bi). Then there exists iI s.t. xAi\Bi, that is xAi and xBi. Since iI and xAi, so xiIAi. Since iI and xBi, so xiIBi. Thus x(iIAi)\(iIBi). Since x is arbitrary, we can conclude that iI(Ai\Bi)(iIAi)\(iIBi)

Another method(WRONG):
Let x be an arbitrary element of iI(Ai\Bi). Then
xiI(Ai\Bi)
=> iI(xAi\Bi)
=> iI(xAixBi)
=> (iI(xAi))(iI(xBi)) (justify this step)
=> (xiIAi)¬(iI(xBi))
=> (xiIAi)¬(xiIBi)
=> x(iIAi)\(iIBi)

The reason this is wrong is that, what we've proven with this method is that
iI(Ai\Bi) = (iIAi)\(iIBi)
which is not true and that is why one of the steps in above analysis is not justifiable.

(b)
A1 = {1,2} A2 = {3}
B1 = {2} B2 = {5}

A1\B1 = {1}
A2\B2 = {3}
iI(Ai\Bi) = {1,3} ...(i)

iIAi = {1,2,3}
iIBi =
(iIAi)\(iIBi) = {1,2,3} ...(ii)

clearly (i) and (ii) are not same.


Ex-24
(a) Let x be an arbitrary element of iI(AiBi). It follows that there exists a iI s.t. xAi and xBi. Since we have a particular i s.t. xAi and iI, therefore xiIAi. By similar argument xiIBi as well. Thus x(iIAi)(xiIBi). Since x is arbitrary, we can conclude that iI(AiBi)(iIAi)(iIBi)

(b)
A1 = {1,3} A2 = {4}
B1 = {1} B2 = {3,4}

A1B1 = {1}
A2B2 = {4}
iI(AiBi) = {1,4} ...(i)

iIAi = {1,3,4}
iIBi = {1,3,4}
(iIAi)(iIBi) = {1,3,4} ...(ii)

Clearly, (i) and (ii) are not same.


Ex-25
Let us try c = ab. Since a and b are integers, so clearly a|c and b|c as well.

Ex-26
(a)
() Suppose 15|n, so there exists kZ s.t. n = 15k. So n = 3(5k). Since 5k is an integer so 3|n. Also n = 5(3k) and 3k is an integer, so 5|n. So if 15|n then 3|n and 5|n.
() Suppose 3|n and 5|n. So there exist kZ s.t.
n = 3k ...(i)
and lZ s.t. n = 5l ...(ii)
(sidenote: we want to find a and b s.t. 3a + 5b = 15(or some multiplie of it), on a few tries I came up with a = -5 and b = 6)

multiply (i) with -5, multiply (ii) with 6 and add them both
-5n + 6n = (-15k) + (30l)
=> n = 15(2l - k)
Since (2l - k) is also an integer, so 15|n

(b) It can be proven by finding just one counterexample. n = 30 is one and n = 90, 150 etc are also the counterexamples.

4 comments:

  1. Ex-13: There's no typo.

    Let z = 1.
    [Proof of ∀A ∈ R+[∃y ∈ R(y - x = y/x) ↔ x ≠ z] goes here.]
    Thus ∃z ∈ R∀A ∈ R+[∃y ∈ R(y - x = y/x) ↔ x ≠ z]

    ReplyDelete
  2. @Stavros : thanks, yes makes sense, updating the original post with full proof.

    ReplyDelete
  3. In 26) I found (p-q)/2 as the integer. If n is even, then for 3p = 5q = n, p and q must be even, p-q is even and so (p-q)/2 is an integer. If n is odd, then for 3p = 5q = n, p and q must be odd, so p-q is even (2x+1 - 2y - 1 = 2(x-y), which is always even), so (p-q)/2 is always ok.
    But then, one should prove these separatedly, in order not to clutter the proof...

    ReplyDelete
  4. Hi prove 3 and 6 start with for all set C and for all a,b and c set .... How is it different then every set example or exercise that start with suppose a is a set or suppose a b is a set

    ReplyDelete