Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS 70 Discrete Mathematics and Probability Theory DIS 11A Solutions

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
14-04-2023
Written in
2022/2023

CS 70 Discrete Mathematics and Probability Theory Fall 2021 DIS 11A 1 Variance (a) Let X be a random variable representing the outcome of the roll of one fair 6-sided die. What is Var(X)? (b) Let Z be a random variable representing the average of n rolls of a fair die 6-sided die. What is Var(Z)? Solution: (a) Recall that Var(X) = E X 2 −E[X] 2 . We can compute each of the individual terms using the definition of expectation: E[X] = 1 6 (1+2+3+4+5+6) = 7 2 E X 2 = 1 6 1 2 +2 2 +3 2 +4 2 +5 2 +6 2  = 1 6 (1+4+9+16+25+36) = 91 6 Now, we plug back into the variance expression: Var(X) = E X 2 −E[X] 2 = 91 6 −  7 2 2 = 35 12 (b) Because each die roll is independent of the others, we can utilize the fact that for independent random variables X and Y, Var(X +Y) = V

Show more Read less
Institution
Course

Content preview

CS 70 Discrete Mathematics and Probability Theory
Fall 2021 DIS 11A

1 Variance
(a) Let X be a random variable representing the outcome of the roll of one fair 6-sided die. What
is Var (X)?

(b) Let Z be a random variable representing the average of n rolls of a fair die 6-sided die. What
is Var (Z)?

Solution:

(a) Recall that Var (X) = E X 2 − E[X]2 . We can compute each of the individual terms using the
 

definition of expectation:
1 7
E[X] =
(1 + 2 + 3 + 4 + 5 + 6) =
6 2
 2 1 2
E X = 1 + 22 + 32 + 42 + 52 + 62

6
1 91
= (1 + 4 + 9 + 16 + 25 + 36) =
6 6
Now, we plug back into the variance expression:

Var (X) = E X 2 − E[X]2
 
 2
91 7 35
= − =
6 2 12

(b) Because each die roll is independent of the others, we can utilize the fact that for independent
random variables X and Y , Var (X +Y ) = Var (X) + Var (Y ). Let Xi be a random variable




CS 70, Fall 2021, DIS 11A 1

This study source was downloaded by 100000850872992 from CourseHero.com on 04-14-2023 08:25:06 GMT -05:00


https://www.coursehero.com/file/116848366/dis11a-solpdf/

Written for

Course

Document information

Uploaded on
April 14, 2023
Number of pages
4
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$9.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ExamsConnoisseur Self
Follow You need to be logged in order to follow users or courses
Sold
587
Member since
3 year
Number of followers
344
Documents
1492
Last sold
1 week ago

4.2

68 reviews

5
40
4
11
3
13
2
1
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions