Docsity

Exam 2 Answers for CMSC 250 - Probability Theory - Prof. Jandelyn Dawn Plane, Exams of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Name (printed):
Student ID #:
Section # (or TA’s:
name and time)
CMSC 250 Exam #2 ANSWERS Thurs., April 22, 2004
Write all answers legibly on the paper provided. If you need extra paper, raise your hand and request a
blank paper – you must put your name on and hand-in any paper you receive. You can also use the back
of the last page which is blank. Clearly label any answers that appear on a paper different from where
the question appears. You must indicate the continuation of the answer on the paper where the question
is and on the paper where the answer is continued. The number of points possible for each question is
indicated in square brackets – the total number of points on the exam is 100, and you will have exactly
1.25 hours to complete this exam. In order to receive any partial credit, you must show your work, clearly
labled in the space provided. You may not use calculators, textbooks or any other external aids during
this exam. The formula sheet is attached - this can be removed from the back of the exam and does not
need to be handed in at the end.
Write the following University approved honor pledge and sign on the blank provided after you complete
the exam. This must be done before we make the “stop writing now announcement.
I pledge on my honor that I have not given or received any unauthorized assistance on this examination.
Sign Here:
**** This area is for grading purposes (points lost per page)- Do not write below this line ****
2 3 4 5 6 7 8 Total
1
pf3
pf4
pf5
pf8

Partial preview of the text

Download Exam 2 Answers for CMSC 250 - Probability Theory - Prof. Jandelyn Dawn Plane and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

Name (printed):

Student ID #:

Section # (or TA’s: name and time)

CMSC 250 Exam #2 ANSWERS Thurs., April 22, 2004

Write all answers legibly on the paper provided. If you need extra paper, raise your hand and request a blank paper – you must put your name on and hand-in any paper you receive. You can also use the back of the last page which is blank. Clearly label any answers that appear on a paper different from where the question appears. You must indicate the continuation of the answer on the paper where the question is and on the paper where the answer is continued. The number of points possible for each question is indicated in square brackets – the total number of points on the exam is 100, and you will have exactly 1.25 hours to complete this exam. In order to receive any partial credit, you must show your work, clearly labled in the space provided. You may not use calculators, textbooks or any other external aids during this exam. The formula sheet is attached - this can be removed from the back of the exam and does not need to be handed in at the end.

Write the following University approved honor pledge and sign on the blank provided after you complete the exam. This must be done before we make the “stop writing now announcement.

I pledge on my honor that I have not given or received any unauthorized assistance on this examination.

Sign Here:

**** This area is for grading purposes (points lost per page)- Do not write below this line ****

2 3 4 5 6 7 8 Total

  1. [24 pnts.] Assume there are 25 balls in an Urn. 9 of them are red, 6 are blue, 1 is yellow,5 are green and 4 are purple. Answer the following questions about those balls - You must assume for all parts of this question that balls of the same color are indistinguishable from each other. You do not have to do the arithmetic, but you do have to get each answer into a form that includes ONLY addition, subtraction, multiplication, division, factorials and/or exponents: (Be sure to clearly label each of your answers.)

a. [3 pnts.]If you were to draw all of the balls out of the urn one at a time placing them on the table in a straight line, how many different ways could that line look when you are done? ANSWER:

25! 9!6!1!5!4!

b. [3 pnts.]Assume one ball of each color fell off the table, and you were able to find 3 of them. How many different combinations of 3 balls might you have in your hand? (Assume the order you found the balls should not be considered here.) ANSWER: ( 5 3

)

c. [3 pnts.]This question is the same as part b with the one exception that this time you need to consider the order you found the three balls. ANSWER:

P (5, 3) =

d. [3 pnts.]Assume the original 25 balls are back in the urn. You draw two balls out at the same time (there is no order between them). How many different combinations of 2 balls could you have in your hand? ANSWER: ( 2 + 5 − 1 2

) − 1 =

  1. [23 pnts.] For each of the parts of this question: Either give a counter example to dispove (giving specific members for the sets A, B, C, D and U(universal) as needed and justification as to why it is a valid counter example) or prove the following statements concerning Sets. Be sure to give the name of the reason which justifies each step you give in the proof.

a. [7 pnts.] ∀A, B, C ∈ {sets}, A ⊆ B → (B ∩ C) ⊆ (A ∩ C)

ANSWER: FALSE Counter Example: A = { 1 }, B = { 1 }, C = ∅

Since { 1 } ⊆ { 1 }, A ⊆ B so the antecedent is true.

But B ∩ C = { 1 } and A ∩ C = ∅

B ∩ C 6 ⊆ A ∩ C since { 1 } 6 ⊆ ∅ so the consequent is false

Since the antecedent is true and the consequent is false, the implication is false and this is a valid counter example.

b. [16 pnts.]

∀A, B, C, D ∈ {sets}, (A × B) ⊆ (C × D) → [A × (B ∩ D)] ⊆ [(A ∩ C) × D]

ANSWSER: True Proof: |Let A,B, C and D be arbitrary sets | | Assume A × B ⊆ C × D | | Let (x, y) ∈ U be arbitrary in the universe | | | Assume (x, y) ∈ A × (B ∩ D) | | | x ∈ A ∧ (y ∈ B ∩ D) by definition of Cart. Prod. | | | x ∈ A ∧ (y ∈ B ∧ y ∈ D) by definition of intersection | | | x ∈ A by conjunctive simplification | | | x ∈ A ∧ y ∈ B by associative and conjunctive simplification | | | (x, y) ∈ A × B by definition of Cart. Prod. | | | (x, y) ∈ C × D by definition of subset | | | x ∈ C ∧ y ∈ D by definition of Cart. Prod | | | y ∈ D by conjunctive simplification | | | x ∈ C by conjunctive simplification | | | x ∈ A ∧ x ∈ C by conjunctive addition | | | x ∈ A ∩ C by definition of intersection | | | x ∈ A ∩ C ∧ y ∈ D by conjunctive addition | | | (x, y) ∈ (A ∩ C) × D by definition of Cart. Prod. | | (x, y) ∈ A × (B ∩ D) → (x, y) ∈ (A ∩ C) × D by closing the conditional world | | ∀(x, y) ∈ U, (x, y) ∈ A × (B ∩ D) → (x, y) ∈ (A ∩ C) × D by gen. from the G. P. | | A × (B ∩ D) ⊆ (A ∩ C) × D by definition of subset |A × B ⊆ C × D → A × (B ∩ D) ⊆ (A ∩ C) × D by closing the conditional world |∀A, B, C, D ∈ {sets}, A×B ⊆ C ×D → A×(B ∩D) ⊆ (A∩C)×D by gen. from the Gen. Particular QED

  1. [39 pnts.] For both of the parts of this question: Either find a specific counter example or prove each of the following statements is true. When using induction to prove something true, you must only use strong induction if it is required by that problem – using strong induction to prove something that only required regular induction, will result in a loss of points.

a. [18 pnts.]Prove or give a counter-example to the following:

∀n ∈ Z+,

∑^ n

i=

i(2i) = 2 + (n − 1)2n+

ANSWER:

Base Case:(n = 1) LHS:

∑ 1 i=1 i( i) = 1(2 (^1) ) = 2 RHS:2 + (1 − 1)21+1^ = 2 + 0(2^2 ) = 2 + 0 = 2 LHS = RHS because 2 = 2 Inductive Hypothesis:(n = k) ∑k i=1 i( i) = 2 + (k − 1)2k+ Inductive Step:(n = k + 1) Show: (^) ∑ k+ i=1 i( i) = 2 + ((k + 1 − 1)2(k+1)+ ∑k+ i=1 i( i) = 2 + k(2k+2) simplification by algebra Proof: ∑k+ i=1 i( i) = ∑k i=1 i( i) + ∑k+ i=k+1 i(

i) = 2 + (k − 1)2k+1^ +

∑k+ i=k+1 i( i) by IH = 2 + (k − 1)2k+1^ + (k + 1)2k+1^ by expanding the summation = 2 + k(2k+1) − 2 k+1^ + k(2k+1) + 2k+1^ by algebra = 2 + k(2k+1) + k(2k+1) by cancellation = 2 + 2(k(2k+1))) by combining like terms = 2 + k(2^1 (2k+1)) by associativity and commutativity = 2 + k(2(k+1)+1) by adding exponents = 2 + k(2k+2) by algebraic simplification QED

b. [21 pnts.] Using the fact that

2 ≈ 1 .414. Assume the recurrence relation: a 0 = 1, a 1 = 1, a 2 = 1, ∀n ∈ Z≥^3 , an = an− 1 + an− 3 Prove or give a counter-example to the following: ∀x ∈ Z≥^0 , ax+2 ≥ (

2)x ANSWER: Base Case:(n = 0, n = 1, n = 2) x = 0: LHS: ax+2 = a0+2 = a 2 = 1 RHS: (

2)^0 = 1

LHS ≥ RHS

x = 1: LHS: ax+2 = a1+2 = a 3 = a 3 − 1 + a 3 − 3 = a 2 + a 0 = 1 + 1 = 2 RHS: (

2)^1 =

LHS ≥ RHS

x = 2: LHS: ax+2 = a2+2 = a 4 = a 4 − 1 + a 4 − 3 = a 3 + a 1 = 2 + 1 = 3 RHS: (

2)^2 = 2

LHS ≥ RHS

Inductive Hypothesis:(n = i∀i ∈ Z, 0 ≤ i < p) ai+2 ≥ (

2)i Inductive Step:(n = p) Show: ap+2 ≥ (

2)p Proof: PART 1: (Find the Between value) ap+2 = ap+1 + ap− 1 = a(p−1)+2 + a(p−3)+ Since p − 1 < p and p − 3 < p because we are subtracting a positive integer from the smaller side, and since p − 1 ≥ 0 and p − 3 ≥ 0 because the smallest value of p is 3, We know that we can apply the IH and get a(p−1)+2 ≥ (

2)p−^1 and a(p−3)+2 ≥ (

2)p−^3 by the IH So by substitution we get ap+2 ≥ (

2)p−^1 + (

2)p−^3 therefore let (

2)p−^1 + (

2)p−^3 be that between value

PART 2: (prove that it is an actual Between value) show: (

2)p−^1 + (

2)p−^3 ≥ (

2)p proof: Assume (

2)p−^1 + (

2)p−^3 < (

2)p (

2)(p−3)+2^ + (

2)p−^3 < (

2)p (

2)p−^3 ((

2)^2 + 1) < (

2)p 2 + 1 < (

2)^3

This is a contradiction since

2)p−^1 + (

2)p−^3 ≥ (

2)p^ by closing the conditional world with a contradiction

and from part 1 we know ap+2 ≥ (

2)p−^1 + (

2)p−^3

And so by the transitive property of ≥ we know: ap+2 ≥ (

2)p QED