Professional Documents
Culture Documents
ProbStats Chapter123 Probability
ProbStats Chapter123 Probability
Hanoi, 2023
CONTENTS
3
Probability and Statistics
Problem 1. Nêu định nghĩa: phép thử, kết quả phép thử, không gian mẫu và biến
cố trong phép thử. Cho ví dụ.
Problem 2. Nêu định nghĩa tổng (hợp) và tích (giao) của hai biến cố, biến cố đối
của một biến cố. Cho ví dụ.
Problem 3. Thế nào là hai biến cố xung khắc, các biến cố loại trừ nhau. Cho ví
dụ.
Problem 5. Dựa trên các tiên đề xác suất, hãy chứng minh các công thức sau.
1. P (∅) = 0
3. A ⊂ B ⇒ P (A) ≤ P (B)
5. P (A ∪ B) ≤ P (A) + P (B)
11
1.1. Sample space and Events 12
Problem 6. An experiment consists of tossing a coin three times. What is the sam-
ple space of this experiment? Which event corresponds to the experiment resulting
in more heads than tails?
Problem 7. Xét phép thử tung một đồng xu ba lần. Không gian mẫu của phép
thử này là gì? Biến cố nào tương ứng với phép thử có kết quả số mặt ngửa (head)
nhiều hơn số mặt sấp (tail)?
Problem 8. Two dice are thrown. Let E be the event that the sum of the dice is
odd, let F be the event that the first die lands on 1, and let G be the event that the
sum is 5. Describe the events EF, E ∪ F, F G, EF c , EF G
Gieo một con xúc xắc hai lần. Gọi E là biến cố tổng mặt trên của hai con xúc
xắc là lẻ, gọi F là biến cố mặt trên của con xúc xắc đầu là 1, và gọi G là biến cố
tổng của hai con xúc xắc là 5. Hãy mô tả các biến cố EF, E ∪ F, F G, E F̄ , EF G
b. Suppose that the system will work if components 1 and 2 are both working,
or if components 3 and 4 are both working. Specify all the outcomes in the
event that the system works.
c. Let E be the event that components 1 and 3 are both failed. How many
outcomes are contained in event E ?
Hệ thống bao gồm bốn thành phần, mỗi thành phần trong số đó đang hoạt động
hoặc không hoạt động. Xét phép thử quan sát trạng thái của từng thành phần và
một kết quả trong phép thử được biểu diễn bởi một vecto (x1 , x2 , x3 , x4 ) trong đó xi
bằng 1 nếu thành phần i hoạt động và bằng 0 nếu thành phần i không hoạt động.
b. Giả sử rằng hệ thống sẽ hoạt động nếu thành phần thứ 1 và 2 cùng hoạt động,
hoặc nếu thành phần 3 và 4 cùng hoạt động. Xác định tất cả các kết quả trong
phép thử mà hệ thống hoạt động.
c. Gọi E là biến cố thành phần 1 và 3 đều không hoạt động. Có bao nhiêu kết
quả trong biến cố E?
Problem 10. Show that if E ⊂ F then P (E) ≤ P (F ). (Hint: Write F as the union
of two mutually exclusive events, one of them being E.)
Problem 12. If P (E) = .9 and P (F ) = .9, show that P (EF ) ≥ .8. In general,
prove Bonferroni’s inequality, namely that
P (EF ) ≥ P (E) + P (F ) − 1.
Problem 14. Show that the probability that exactly one of the events E or F
occurs is equal to P (E) + P (F ) − 2P (EF ).
P(A∪B∪C) = P(A)+P(B)+P(C)−P(A∩B)−P(B∩C)−P(A∩C)+P(A∩B∩C).
Problem 16. We draw the top 5 cards from a well-shuffled standard 52-card deck.
Find the probability that:
a. The 5 cards are 10, Jack, Queen, King and Ace with the same suit (Royal
flush).
b. The 5 cards are consecutive with the same suit (Straight flush excluding royal
flush).
c. The 5 cards include four with the same rank (four of a kind).
d. The 5 cards including three with the same rank and two with the same rank
(Full house).
e. The 5 cards with the same suit (Flush excluding royal and straight flush).
Bốc ngẫu nhiên 5 quân bài từ bộ bài 52 quân. Tính xác suất để trong 5 quân
bốc ra:
b. là các quân liên tiếp có cùng chất (Sảnh - trừ sảnh rồng).
Problem 17. A woman has 10 keys, of which one will open her door. If she tries
the keys at random, discarding those that do not work, what is the probability that
she will open the door on her 3rd try? What if she does not discard previously tried
keys?
Một phụ nữ có 10 chiếc chìa khóa giống hệt nhau trong đó chỉ có một chiếc là
mở được cửa. Nếu cô ấy thử các chìa khóa một cách ngẫu nhiên, tính xác suất để
cô ấy có thể mở được cửa ở lần thứ 3 nếu
Một chương trình truyền hình (được mô hình hóa tương tự chương trình được
dẫn bởi Monty Hall)có 3 cánh cửa giống hệt nhau, trong đó sau 2 cánh có một con
dê còn 1 cánh có ô tô. Một người chơi sẽ chọn một cửa bất kỳ trong ba ô và nhận
quà từ đó. Giả sử bạn thích ô tô hơn còn dê. Khi đó nếu không có thông tin gì thì
khả năng bạn chọn được cửa có ô tô là 1/3. Xét một tình huống như sau, bạn chọn
một cửa, chẳng hạn cửa 1, người dẫn chương trình mở một cửa có con dê, chẳng
hạn cửa 3 và đề nghị bạn đổi cửa bạn chọn lấy cửa số 2 còn lại. Bạn có đổi lựa chọn
của mình sang cửa thứ 2 hay vẫn giữ cửa 1?
Problem 19. Suppose that after 10 years of service, 40% of computers have prob-
lems with motherboards (MB), 30% have problems with hard drives (HD), and 15%
have problems with both MB and HD. What is the probability that a 10-year old
computer still has fully functioning MB and HD?
Giả sử rằng sau 10 năm sử dụng, 40% máy tính gặp sự cố với bảng mạch chính
(motherboards - MB), 30% gặp sự cố với ổ cứng (hard drives - HD) và 15% gặp sự
cố với cả MB và HD. Xác suất để một máy tính 10 tuổi vẫn còn MB và HD hoạt
động tốt là bao nhiêu?
Problem 20. A new computer virus can enter the system through e-mail or through
the internet. There is a 30% chance of receiving this virus through e-mail. There is
a 40% chance of receiving it through the internet. Also, the virus enters the system
simultaneously through e-mail and the internet with probability 0.15. What is the
probability that the virus does not enter the system at all?
Virus của một chiếc máy tính mới có thể xâm nhập vào hệ thống qua e-mail
hoặc qua internet. Người ta thấy có 30% khả năng nhận vi-rút này qua email, 40%
khả năng nhận được nó thông qua mạng Internet và vi rút xâm nhập vào hệ thống
đồng thời qua e-mail và Internet với xác suất 0.15. Tính xác suất vi rút không thể
xâm nhập vào hệ thống.
Problem 21. A shuttle’s launch depends on three key devices that may fail inde-
pendently of each other with probabilities 0.01, 0.02, and 0.02, respectively. If any
of the key devices fails, the launch will be postponed. Compute the probability for
the shuttle to be launched on time, according to its schedule.
Việc phóng tàu con thoi phụ thuộc vào ba thiết bị chính có thể hỏng với xác
suất tương ứng là 0.01, 0.02 và 0.02 một cách độc lập với nhau. Nếu bất kỳ thiết bị
quan trọng nào bị lỗi, việc phóng con tàu sẽ bị hoãn lại. Tính xác suất để tàu con
thoi được phóng đúng giờ, theo lịch trình của nó.
Problem 23. A spyware is trying to break into a system by guessing its password.
It does not give up until it tries 1 million different passwords. What is the probability
that it will guess the password and break in if by rules, the password must consist
of
Một phần mềm gián điệp đang cố gắng xâm nhập vào hệ thống bằng cách đoán
mật khẩu của nó. Nó không bỏ cuộc cho đến khi thử 1 triệu mật khẩu khác nhau.
Xác suất để nó đoán mật khẩu và đột nhập là bao nhiêu nếu theo quy tắc, mật
khẩu phải bao gồm
b. 6 chữ cái khác nhau, một số có thể viết hoa và phân biệt chữ hoa chữ thường.
c. 6 chữ cái bất kỳ, viết hoa hoặc viết thường và phân biệt chữ hoa chữ thường.
Problem 24 (De Mere’s puzzle). A 17th century gambler, the Chevalier de Méré,
made it to history by turning to Blaise Pascal for an explanation of his unexpectd
losses. Pascal combined his efforts with his friend Pierre de Fermat and the two of
them laid out mathematical foundations for the theory of probability.
Gamblers in the 1717 France were used to bet on the event (A) of getting at
least one 1 (ace) in four rolls of a dice. As a more trying variation, two die were
rolled 24 times with a bet on the event (B) of having at least one double ace.
According to the reasoning of Chevalier de Méré, two aces in two rolls are 1/6
as likely as 1 ace in one roll. (Which is correct.) To compensate, de Méré thought,
the two die should be rolled 6 times. And to achieve the probability of 1 ace in four
rolls, the number of the rolls should be increased four fold - to 24. Thus reasoned
Chevalier de Méré who expected a couple of aces to turn up in 24 double rolls with
the frequency of an ace in 4 single rolls. However, he lost consistently.
Calculate the probability of the event A and B and explain why "Méré lost
consistently!"
Chevalier de Méré, nhà văn, nhà triết học người Pháp là một nhân vật nghiện
đánh bạc. Ông đã đi vào lịch sử khi nhờ Blaise Pascal giải thích về những thua lỗ
không lường trước được của mình. Pascal đã cùng với người bạn của mình là Pierre
de Fermat cùng nhau nỗ lực trả lời câu hỏi của Méré và đã đặt ra nền tảng toán
học đầu tiên cho lý thuyết xác suất.
Những người đánh bạc ở Pháp năm 1717 thường đặt cược vào biến cố (A) nhận
được ít nhất một mặt 1 chấm (Ace) trong bốn lần gieo xúc xắc hoặc một dạng khác
là gieo một cặp con xúc xắc 24 lần và đặt cược cho biến cố (B) có ít nhất một lần
được cả hai mặt 1 chấm.
Theo lập luận của Chevalier de Méré, nhận 2 mặt 1 chấm trong hai gieo bằng
1/6 khả năng nhận được mặt 1 trong một lần gieo (Kết quả này được chỉ ra là
đúng.) Để bù lại, de Méré nghĩ, hai con xúc xắc cần được gieo 6 lần. Và để đạt được
xác suất xuất hiện mặt 1 chấm trong bốn lần gieo, số lần gieo phải tăng lên bốn
lần, tức là lên 24. Với lập luận này, Chevalier de Méré đã cho rằng tỷ lệ nhận được
một cặp 1 khi gieo một cặp xúc xắc 24 lần thì cũng bằng tỷ lệ nhận được mặt 1
chấm khi gieo một con xúc xắc 4 lần. Tuy nhiên, ông ấy đã thua liên tục.
Hãy tính xác suất của biến cố A và B và giải thích tại sao "Méré đã thua liên
tục!"
a. What is the probability that there are at least two have the same birthday?
Trong một bữa tiệc gồm có n người. Giả sử rằng mọi người trong bữa tiệc đều
có thể sinh vào một ngày bất kỳ trong năm một cách độc lập nhau và không có ai
sinh vào ngày 29 tháng Hai.
Problem 26. Giả sử một hệ thống gồm m thành phần. Giả sử xác suất để thành
phần thứ i hoạt động là pi . Đưa ra xác suất để hệ này hoạt động trong trường hợp:
Problem 27. In the following system, each component fails with probability 0.3
independently of other components. Compute the system’s reliability.
Trong hệ thống sau đây, mỗi thành phần không hoạt động với xác suất là 0.3
một cách độc lập nhau. Tính độ tin cậy của hệ thống.
Problem 28. Calculate the reliability of each system shown in the following Figure,
if components A, B, C, D, and E function properly with probabilities 0.9, 0.8, 0.7, 0.6,
and 0.5, respectively.
Tính độ tin cậy của mỗi hệ thống được cho trong hình dưới đây, nếu xác suất
để mỗi thành phần A, B, C, D, và E hoạt động lần lượt là 0.9, 0.8, 0.7, 0.6, và 0.5.
Problem 29. A group of 5 boys and 10 girls is lined up in random order — that
is, each of the 15! permutations is assumed to be equally likely.
a. What is the probability that the person in the 4th position is a boy?
Problem 30. A closet contains 8 pairs of shoes. If 4 shoes are randomly selected,
what is the probability that there will be
a. no complete pair.
Problem 31. Of three cards, one is painted red on both sides; one is painted black
on both sides; and one is painted red on one side and black on the other. A card
is randomly chosen and placed on a table. If the side facing up is red, what is the
probability that the other side is also red?
Problem 32. Ninety students, including Joe and Jane, are to be split into three
classes of equal size, and this is to be done at random. What is the probability that
Joe and Jane end up in the same class?
Problem 35. A building is examined by policemen with four dogs that are trained
to detect the scent of explosives. If there are explosives in a certain building, and
each dog detects them with probability 0.6, independently of other dogs, what is the
probability that the explosives will be detected by at least one dog?
Problem 38. Three highways connect city A with city B. Two highways connect
city B with city C. During a rush hour, each highway is blocked by a traffic accident
with probability 0.2, independently of other highways.
a. Compute the probability that there is at least one open route from A to C.
b. How will a new highway, also blocked with probability 0.2 independently of
other highways, change the probability in (a) if it is built
i. between A and B?
ii. between B and C?
iii. between A and C?
Problem 39. An electrical system consists of identical components that are oper-
ational with probability p independently of other components. The components are
connected in three subsystems, as shown in the figure. The system is operational if
there is a path that starts at point A, ends at point B, and consists of operational
components. This is the same as requiring that all three subsystems are operational.
What are the probabilities that the three subsystems, as well asthe entire system,
are operational?
Assume no tie games are possible and all games are independent.
b. Given that the second round is required, determine the conditional probabili-
ties that
c. Given that the second round was required and that it comprised only one
game, what is the conditional probability that it was Bo who won the first
round?
Problem 41. Out of the students in a class, 60% are geniuses, 70% love chocolate,
and 40% fall into both categories. Determine the probability that a randomly selected
student is neither a genius nor a chocolate lover.
Problem 42. A six-sided die is loaded in a way that each even face is twice as likely
as each odd face. All even faces are equally likely, as are all odd faces. Construct
a probabilistic model for a single roll of this die and find the probability that the
outcome is less than 4.
Problem 43. A four-sided die is rolled repeatedly, until the first time (if ever) that
an even number is obtained. What is the sample space for this experiment?
Problem 44. * You enter a special kind of chess tournament , in which you play
one game with each of three opponents, but you get to choose the order in which you
play your opponents, knowing the probability of a win against each. You win the
tournament if you win two games in a row, and you want to maximize the probability
of winning. Show that it is optimal to play the weakest opponent second, and that
the order of playing the other two opponents does not matter.
Problem 45. Phát biểu công thức tính xác suất có điều kiện, công thức nhân tổng
quát và cho ví dụ.
Problem 46. Thế nào là hai biến cố độc lập và cho ví dụ. Nêu những cách có thể
kiểm tra sự độc lập của hai biến cố.
Problem 47. We roll two fair 6-sided dice. Each one of the 36 possible outcomes
is assumed to be equally likely.
b. Given that the roll results in a sum of 4 or less, find the conditional probability
that doubles are rolled.
d. Given that the two dice land on different numbers, find the conditional prob-
ability that at least one die roll is a 6.
a. Tính xác suất mặt trên của hai con xúc xắc như nhau.
b. Tính xác suất hai mặt trên hai con xúc xắc như nhau biết tổng số chấm của
không vượt quá 4.
c. Tính xác suất mà ít nhất một mặt của con xúc xắc là 6.
d. Biết rằng mặt trên của hai con xúc xắc khác nhau, tính xác suất ít nhất một
mặt là 6.
Problem 48. Fifty-two percent of the students at a certain college are females.
Five percent of the students in this college are majoring in computer science. Two
percent of the students are women majoring in computer science. If a student is
selected at random, find the conditional probability that
a. this student is female, given that the student is majoring in computer science;
b. this student is majoring in computer science, given that the student is female.
Một trường đại học có 52% sinh viên là nữ, 5% sinh viên theo học ngành Khoa
học máy tính và 2% sinh viên nữ học ngành Khoa học máy tính. Một sinh viên được
chọn ngẫu nhiên, tính xác suất
a. sinh viên này là nữ biết bạn ấy học ngành Khoa học máy tính;
b. sinh viên này học ngành Khoa học máy tính biết bạn ấy là nữ.
Problem 49. Among employees of a certain firm, 70% know C/C++, 60% know
Fortran, and 50% know both languages. What portion of programmers
e. If someone knows Fortran, what is the probability that he/she knows C/C++
too?
f. If someone knows C/C++, what is the probability that he/she knows Fortran
too?
Trong các nhân viên của một công ty có 70% biết C/C + +, 60% biết Fortran
và 50% biết cả hai ngôn ngữ. Tính tỷ lệ nhân viên
e. Nếu một người biết Fortran, xác suất để nhận viên này cũng biết C/C++ là
bao nhiêu?
f. Nếu một người biết C/C + +, xác suất để người này cũng biết Fortran là bao
nhiêu?
Problem 50. A batch of one hundred items is inspected by testing four randomly
selected items. If one of the four is defective, the batch is rejected. What is the
probability that the batch is accepted if it contains five defectives?
Người ta kiểm tra một lô gồm 100 sản phẩm bằng cách chọn ngẫu nhiên ra 4
sản phẩm để kiểm tra. Nếu một trong 4 sản phẩm bị lỗi, lô hàng bị loại. Xác suất
để lô được chấp nhận là bao nhiêu nếu nó có 5 sản phẩm bị lỗi trong lô hàng?
Problem 51. A bin contains 5 defective (that immediately fail when put in use),
10 partially defective (that fail after a couple of hours of use), and 25 acceptable
transistors. A transistor is chosen at random from the bin and put into use. If it
does not immediately fail, what is the probability it is acceptable?
Một thùng bóng bán dẫn có 5 bị lỗi (hỏng ngay lập tức khi đưa vào sử dụng),
10 bị lỗi một phần (hỏng sau vài giờ sử dụng) và 25 có thể dùng được. Một bóng
bán dẫn được chọn ngẫu nhiên từ thùng và đưa vào sử dụng. Nếu nó không bị lỗi
ngay lập tức, thì xác suất nó có thể chấp nhận được là bao nhiêu?
Problem 52. There are two local factories that produce radios. Each radio produced
at factory A is defective with probability 0.05, whereas each one produced at factory
B is defective with probability 0.01. Suppose you purchase two radios that were
produced at the same factory, which is equally likely to have been either factory A
or factory B. If the first radio that you check is defective, what is the conditional
probability that the other one is also defective?
Có hai nhà máy địa phương sản xuất vô tuyến (radio). Mỗi chiếc vô tuyến được
sản xuất tại nhà máy A bị lỗi với xác suất 0.05, trong khi mỗi chiếc được sản xuất
tại nhà máy B bị lỗi với xác suất 0.01. Giả sử bạn mua hai bộ đàm được sản xuất
tại cùng một nhà máy, có khả năng như nhau là của nhà máy A hoặc nhà máy B.
Nếu chiếc radio đầu tiên mà bạn kiểm tra bị lỗi, thì xác suất có điều kiện là chiếc
kia cũng bị lỗi là bao nhiêu?
Problem 53. A pair of fair dice is rolled. Let E denote the event that the sum of
the dice is equal to 7.
a. Show that E is independent of the event that the first die lands on 4.
b. Show that E is independent of the event that the second die lands on 3.
Gieo hai con xúc xắc cân đối và đồng chất. Gọi E là biến cố tổng của hai con
xúc xắc là 7.
a. Chỉ ra rằng E độc lập với biến cố mặt trên của con xúc xắc đầu là 4.
b. Chỉ ra rằng E độc lập với biến cố mặt trên của con xúc xắc thứ hai là 3.
Problem 54. Events A and B are independent. Show, intuitively and mathemati-
cally, that:
Giả sử A và B là hai biến cố độc lập. Hãy chỉ ra về mặt trực giác và bằng toán
học các khẳng định sau.
c. Nếu A và B là vét cạn (hợp lại bằng không gian mẫu), thì P (A) = 1 hoặc
P (B) = 1.
Problem 56. A coin is tossed twice. Alice claims that the event of two heads is at
least as likely if we know that the first toss is a head than if we know that at least
one of the tosses is a head. Is she right? Does it make a difference if the coin is fair
or unfair? How can we generalize Alice’s reasoning?
Problem 57. We are given three coins: one has heads in both faces, the second has
tails in both faces, and the third has a head in one face and a tail in the other. We
choose a coin at random, toss it, and the result is heads. What is the probability
that the opposite face is tails?
Problem 58. The king’s sibling. The king has only one sibling. What is the proba-
bility that the sibling is male? Assume that every birth results in a boy with proba-
bility /2, independent of other births. Be careful to state any additional assumptions
you have to make in order to arrive at an answer.
Problem 59. * A power utility can supply electricity to a city from n different
power plants. Power plant i fails with probability pi , independent of the others.
(a) Suppose that any one plant can produce enough electricity to supply the entire
city. What is the probability that the city will experience a black-out? (b) Suppose
that two power plants are necessary to keep the city from a black-out. Find the
probability that the city will experience a black-out.
Problem 60. * A system composed of n separate components is said to be a parallel
system if it functions when at least one of the components functions. (See Figure
3.7.) For such a system, if component i, independent of other components, functions
with probability pi , i = 1, . . . , n, what is the probability the system functions?
Problem 61. Nêu định nghĩa về nhóm đầy đủ các biến cố. Phát biểu quy tắc xác
suất đầy đủ và công thức Bayes.
Problem 62. Suppose that an insurance company classifies people into one of three
classes — good risks, average risks, and bad risks. Their records indicate that the
probabilities that good, average, and bad risk persons will be involved in an accident
over a 1-year span are, respectively, .05, .15, and .30. If 20 percent of the population
are “good risks,” 50 percent are “average risks,” and 30 percent are “bad risks,”
what proportion of people have accidents in a fixed year? If policy holder A had no
accidents in 1987, what is the probability that he or she is a good (average) risk?
Giả sử một công ty bảo hiểm chia người dân ra ba nhóm: ít rủi ro, rủi ro trung
bình, rất rủi ro. Số liệu thu thập được cho thấy trong một năm một người thuộc
nhóm ít rủi ro, rủi ro trung bình, rất rủi ro có thể gặp tai nạn với xác suất là 0.05,
0.15, 0.30. Cho biết 20% số người dân thuộc nhóm ít rủi ro, 50% thuộc nhóm rủi ro
trung bình, và 30% thuộc nhóm rất rủi ro.
b. Nếu một người nào đó không bị tai nạn trong năm 2009, xác suất để người đó
thuộc nhóm ít rủi ro là bao nhiêu?
Problem 63. In answering a question on a multiple choice test, a student either
knows the answer or she guesses. Let p be the probability that she knows the answer
and 1 − p the probability that she guesses. Assume that a student who guesses at
the answer will be correct with probability 1/m, where m is the number of multiple
choice alternatives. What is the conditional probability that a student knew the
answer to a question given that she answered it correctly?
Trong một bài trắc nghiệm, một sinh viên có thể biết câu trả lời hoặc đoán đáp
án. Giả sử xác suất để cô ấy trả lời đúng câu hỏi là 0.9. Giả sử xác suất để sinh viên
trả lời đúng câu hỏi khi cô ấy đoán đáp án là 1/4. Tính xác suất để một sinh viên
biết câu đáp án khi cô ấy trả lời đúng.
Problem 64. All athletes at the Olympic games are tested for performance-enhancing
steroid drug use. The imperfect test gives positive results (indicating drug use) for
90% of all steroid-users but also (and incorrectly) for 2% of those who do not use
steroids. Suppose that 5% of all registered athletes use steroids. If an athlete is tested
negative, what is the probability that he/she uses steroids?
Tất cả các vận động viên tại Thế vận hội đều được kiểm tra xem có sử dụng
thuốc steroid để tăng cường thành tích hay không. Thử nghiệm không hoàn hảo cho
kết quả dương tính (cho thấy có sử dụng ma túy) cho 90% tất cả những người sử
dụng steroid và (không chính xác) đối với 2% những người không sử dụng steroid.
Giả sử rằng 5% các vận động viên tham gia thi đấu sử dụng steroid. Nếu một vận
động viên được xét nghiệm âm tính, xác suất người này sử dụng steroid là bao
nhiêu?
Problem 65. You ask your neighbor to water a sickly plant while you are on
vacation. Without water it will die with probability 0.8; with water it will die with
probability 0.15. You are 90 percent certain that your neighbor will remember to
water the plant.
a. What is the probability that the plant will be alive when you return?
Bạn nhờ hàng xóm của bạn tưới nước cho một cây hoa mới trồng của bạn khi
bạn đi du lịch. Loại cây này nếu không tưới nước sẽ bị chết với xác suất 0.8, nếu
được tưới nước thì xác suất bị chết là 0.15. Biết rằng người hàng xóm của bạn sẽ
tưới nước cho cây với xác suất 90%.
a. Xác suất để cây hoa của bạn vẫn còn sống khi bạn trở về là bao nhiêu?
b. Nếu cây hoa của bạn bị chết, xác suất để người hàng xóm đã quên tưới là bao
nhiêu?
a. Một người xét nghiệm có kết quả dương tính, tính xác suất để anh ta mắc bệnh?
b. Một người đi xét nghiệm có kết quả âm tính, tính xác suất để anh ta không mắc
bệnh.
Problem 67. Each of 2 balls is painted black or gold and then placed in an urn.
Suppose that each ball is colored black with probability 1/2, and that these events
are independent.
a. Suppose that you obtain information that the gold paint has been used (and
thus at least one of the balls is painted gold). Compute the conditional prob-
ability that both balls are painted gold.
b. Suppose, now, that the urn tips over and 1 ball falls out. It is painted gold.
What is the probability that both balls are gold in this case? Explain.
Có ba ngăn kéo, một ngăn có hai đồng tiền vàng, một ngăn có hai đồng tiền
bạc, và một ngăn có một đồng tiền vàng và một đồng tiền bạc. Rút ra một ngăn
kéo một cách ngẫu nhiên và từ ngăn kéo này lấy ngẫu nhiên ra một đồng tiền. Giả
sử được một đồng tiền vàng. Hỏi xác suất để ngăn kéo được rút ra là ngăn kéo chứa
hai đồng tiền vàng là bao nhiêu?
Problem 68 (Bonferroni’s inequality). a. Prove that for any two events A and
B, we have
P(A ∩ B) ≥ P(A) + P(B) − 1
Problem 70. A town contains 4 television repairmen. If 4 sets break down, what
is the probability that exactly 2 of the repairmen are called? What assumptions are
you making?
Problem 71. Let A and B be events such that A ⊂ B. Can A and B be indepen-
dent?
Problem 72. * Alice and Bob have 2n + 1 coins, each coin with probability of
heads equal to 1/2. Bob tosses n + 1 coins, while Alice tosses the remaining n coins.
Assuming independent coin tosses , show that the probability that after all coins
have been tossed , Bob will have gotten more heads than Alice is 1/2.
Problem 73. We deal from a well-shuffled 52-card deck. Calculate the probability
that the 13th card is the first king to be dealt.
Problem 74. A well-shuffled 52-card deck is dealt to 4 players. Find the probability
that each of the players gets an ace.
Problem 76. * Aparallel system functions whenever at least one of its components
works. Consider a parallel system of n components, and suppose that each com-
ponent independently works with probability 1/2. Find the conditional probability
that component 1 works, given that the system is functioning.
(a) What is the probability that the k th symbol is received correctly? (b) What
is the probability that the string of symbols 1011 is received correctly? (c) In an
effort to improve reliability, each symbol is transmitted three times and the received
string is decoded by majority rule. In other words, a 0 (or 1 ) is transmitted as 000
(or 111, respectively ), and it is decoded at the receiver as a (or 1) if and only if the
received three-symbol string contains at least two 0s (or Is, respectively). What is
the probability that a 0 is correctly decoded? (d) For what values of ϵ0 is there an
improvement in the probability of correct decoding of a 0 when the scheme of part
(c) is used? (e) Suppose that the scheme of part (c) is used. What is the probability
that a symbol was 0 given that the received string is 101?
a. how certain of the guilt of the suspect should the inspector now be if it turns
out that the suspect is among this group?
b. Let us now suppose that the new evidence is subject to different possible
interpretations, and in fact only shows that it is 90 percent likely that the
criminal possesses this certain characteristic. In this case, how likely would it be
that the suspect is guilty (assuming, as before, that he has this characteristic)?
Problem 79. Nêu định nghĩa biến ngẫu nhiên. Phân loại biến ngẫu nhiên và cho
ví dụ.
Problem 80. Định nghĩa hàm xác suất của biến ngẫu nhiên rời rạc và cho ví dụ.
Problem 81. Let X represent the difference between the number of heads and the
number of tails obtained when a coin is tossed n times. What are the possible values
of X?
Cho X là biến ngẫu nhiên chỉ hiệu giữa số mặt ngửa và số mặt sấp khi tung một
đồng xu n lần. Các giá trị có thể có của X là gì?
Problem 82. In Problem 81, if the coin is assumed fair, for n = 3, what are the
probabilities associated with the values that X can take on?
Trong Bài tập 81, nếu đồng xu cân đối đồng chất, với giá trị n = 3, thì xác suất
tương ứng với các giá trị mà X có thể nhận là bao nhiêu?
Problem 83. A computer virus is trying to corrupt two files. The first file will be
corrupted with probability 0.4. Independently of it, the second file will be corrupted
with probability 0.3.
Một vi-rút máy tính đang xâm nhập vào hai tệp. Tệp đầu tiên sẽ bị hỏng với
xác suất 0.4. Độc lập với nó, tệp thứ hai sẽ bị hỏng với xác suất 0.3.
b. Lập hàm phân phối (hàm xác suất tích lũy) và vẽ đồ thị của nó.
Problem 84. A family has 5 natural children and has adopted 2 girls. Each natural
child has equal probability of being a girl or a boy, independent of the other children.
Find the PMF of the number of girls out of the 7 children.
Một gia đình có 5 người con đẻ và nhận nuôi 2 bé gái. Mỗi đứa con đẻ có thể là
con gái hoặc con trai với xác suất như nhau, độc lập với những đứa trẻ khác. Tìm
hàm xác suất của biến ngẫu nhiên chỉ bé gái trong số 7 đứa trẻ.
Problem 85. You just rented a large house and the realtor gave you 5 keys, one for
each of the 5 doors of the house. Unfortunately, all keys look identical. so to open
the front door, you try them at random.
a. Find the PMF of the number of trials you will need to open the door, under
the following alternative assumptions: (1) after an unsuccessful trial. you mark
the corresponding key. so that you never try it again. and (2) at each trial you
are equally likely to choose any key.
b. Repeat part (a) for the case where the realtor gave you an extra duplicate key
for each of the 5 doors.
Bạn vừa thuê một căn nhà lớn và chủ nhà đưa cho bạn 5 chiếc chìa khóa để mở
5 chiếc cửa trong căn nhà. Thật không may, tất cả các chìa khóa trông giống hệt
nhau, do đó để mở cửa chính để vào, bạn phải thử chúng một cách ngẫu nhiên.
a. Tìm hàm xác suất cho số lần thử cần thiết để mở được cửa trong hai trường
hợp sau. (1) sau khi không mở được một chiếc, bạn đánh dấu và không mở lại
nó nữa. (2) sau khi thử một chiếc mà không mở được, bạn không đánh dấu và
có thể mở lại nó một lần nữa.
b. Làm lại những yêu cầu của câu (a) cho trường hợp chủ nhà đưa cho bạn 2
chìa khóa cho mỗi cánh cửa.
Problem 86. Định nghĩa kỳ vọng và phương sai của biến ngẫu nhiên rời rạc và cho
ví dụ.
Problem 87. Định nghĩa moment và nêu công thức tính bậc n của một biến ngẫu
nhiên rời rạc. Đưa ra công thức liên hệ giữa moment bậc 2 với kỳ vọng và phương
sai của một biến ngẫu nhiên.
Problem 88. Nêu những tính chất của kỳ vọng và phương sai.
Problem 89. Compute the expected value of the random variable in Problem 123.
Problem 90. Compute the expected value of the random variable in Problem 82.
Problem 91. Compute the mean and variance of the number of heads that appear
in 3 flips of a fair coin.
Problem 92. Ten balls are randomly chosen from an urn containing 17 white and
23 black balls. Let X denote the number of white balls chosen. Compute E[X].
Problem 93. A computer program contains one error. In order to find the error,
we split the program into 6 blocks and test two of them, selected at random. Let X
be the number of errors in these blocks. Compute E(X).
Một chương trình máy tính có một lỗi. Để tìm ra lỗi, họ chia chương trình thành
6 khối và kiểm tra hai khối được chọn ngẫu nhiên trong số chúng. Gọi X là số lỗi
trong các khối này. Tính E(X).
Problem 94. Computer user tries to recall her password. She knows it can be one
of 4 possible passwords. She tries her passwords until she finds the right one. Let
X be the number of wrong passwords she uses before she finds the right one. Find
E(X) and V ar(X).
Một người dùng máy tính cố gắng nhớ lại mật khẩu của mình. Cô ấy biết nó có
thể là một trong 4 mật khẩu khả thi. Cô ấy thử mật khẩu của mình cho đến khi
tìm được mật khẩu đúng. Gọi X là số mật khẩu sai trước khi tìm thấy mật khẩu
đúng. Tìm E(X) và V ar(X).
Problem 95. An insurance company writes a policy to the effect that an amount
of money A must be paid if some event E occurs within a year. If the company
estimates that E will occur within a year with probability p, what should it charge
the customer so that its expected profit will be 10 percent of A?
Một công ty bảo hiểm viết một chính sách có hiệu lực nếu một số sự kiện E xảy
ra trong vòng một năm thì phải thanh toán một số tiền là A. Nếu công ty ước tính
rằng E sẽ xảy ra trong vòng một năm với xác suất p, thì họ nên tính phí cho khách
hàng là bao nhiêu để lợi nhuận kỳ vọng của họ sẽ là 10% của A?
Problem 96. A total of 4 buses carrying 148 students from the same school arrive
at a football stadium. The buses carry, respectively, 40, 33, 25, and 50 students.
One of the students is randomly selected. Let X denote the number of students that
were on the bus carrying this randomly selected student. One of the 4 bus drivers
is also randomly selected. Let Y denote the number of students on her bus.
Có 4 chiếc xe buýt chở 148 học sinh cùng trường đến một sân vận động bóng đá.
Các xe buýt lần lượt chở 40, 33, 25 và 50 học sinh. Một học sinh được chọn ngẫu
nhiên. Gọi X là số học sinh trên chiếc xe buýt chở học sinh được chọn ngẫu nhiên
này. Chọn ngẫu nhiên một tài xế xe buýt. Gọi Y là số học sinh trên xe buýt của tài
xế này.
Problem 97. If E[X] = 2 and E [X 2 ] = 8, calculate (a) E [(2 + 4X)2 )] and (b)
E [X 2 + (X + 1)2 ]
Problem 98. Suppose that X is equally likely to take on any of the values 1, 2, 3, 4.
Compute E[X] and Var(X).
Problem 100. Every day, the number of network blackouts has a distribution (prob-
ability mass function)
x 0 1 2
P (x) 0.7 0.2 0.1
A small internet trading company estimates that each network blackout results in
a $500 loss. Compute expectation and variance of this company’s daily loss due to
blackouts.
Số lần mất mạng hàng ngày trong một hệ thống được cho trong bảng phân phối
xác suất sau.
x 0 1 2
P (x) 0.7 0.2 0.1
Một công ty kinh doanh internet nhỏ ước tính rằng mỗi lần mất mạng, công ty sẽ
bị lỗ 500$. Tính toán kỳ vọng và phương sai của khoản lỗ hàng ngày của công ty
này do mất điện.
Problem 101. There is one error in one of five blocks of a program. To find the
error, we test three randomly selected blocks. Let X be the number of errors in these
three blocks. Compute E(X) and Var(X).
Có một lỗi trong một trong năm khối của chương trình. Để tìm lỗi, người ta
kiểm tra ba khối được chọn ngẫu nhiên. Gọi X là số lỗi trong ba khối này. Tính
E(X) và Var(X).
b. What is the expected number of programs, out of the chosen four, that must
be upgraded?
Một gói phần mềm bao gồm 12 chương trình, trong đó có năm chương trình phải
được nâng cấp. Người ta chọn ngẫu nhiên 4 chương trình để thử nghiệm.
a. Tính xác suất để ít nhất hai trong số 4 chương trình phải được nâng cấp.
b. Tính kỳ vọng của số chương trình cần được nâng cấp trong 4 chương trình
được chọn ra.
Problem 103. The number of home runs scored by a certain team in one baseball
game is a random variable with the distribution
x 0 1 2
P (x) 0.4 0.4 0.2
The team plays 2 games. The number of home runs scored in one game is independent
of the number of home runs in the other game. Let Y be the total number of home
runs. Find E(Y ) and Var(Y ).
Số lần home runs scored (dùng để chỉ một cú đánh quả bóng xa đến độ người
đánh quả bóng có đủ thì giờ chạy quanh các gôn để trở về chỗ cũ và thắng điểm)
bởi một đội trong một trận bóng chày là một biến ngẫu nhiên có phân phối
x 0 1 2
P (x) 0.4 0.4 0.2
Đội bóng thi đấu 2 trận. Số lần home runs scored trong một trận độc lập với số lần
home runs trong một trận khác. Gọi Y là tổng số home runs. Tính E(Y ) và Var(Y ).
Problem 104. Định nghĩa hàm xác suất đồng thời của một véc tơ ngẫu nhiên hai
chiều (X, Y ). Nêu công thức tính hàm xác suất biên của X và Y từ hàm xác suất
đồng thời của (X, Y ).
Problem 105. Cho X và Y là hai biến ngẫu nhiên rời rạc xác định trên cùng một
không gian xác suất. Nêu định nghĩa hàm xác suất của X đối với Y .
Problem 106. Cho X và Y là hai biến ngẫu nhiên rời rạc xác định trên cùng một
không gian xác suất. Nêu định nghĩa hàm xác suất của X đối với Y .
Problem 107. Cho X và Y là hai biến ngẫu nhiên rời rạc xác định trên cùng một
không gian xác suất. Định nghĩa kỳ vọng điều kiện của biến ngẫu nhiên X đối với
Y.
Problem 108. Cho X và Y là hai biến ngẫu nhiên rời rạc xác định trên cùng một
không gian xác suất. Khi nào X và Y là hai biến ngẫu nhiên độc lập với nhau.
Problem 109. Consider two random variables X and Y with joint PMF given in
the following table.
Y =0 Y =1 Y =2
1 1 1
X=0
6 4 8
1 1 1
X=1
8 6 6
a. Find P (X = 0, Y ≤ 1).
c. Find P (Y = 1 | X = 0).
Problem 110. Consider two random variables X and Y with joint PMF given in
Table 5.3.
Y =2 Y =4 Y =5
1 1 1
X=1 12 24 24
1 1 1
X=2 6 12 8
1 1 1
X=3 4 8 12
a. Find P (X ≤ 2, Y ≤ 4).
c. Find P (Y = 2 | X = 1).
Problem 111. I have a bag containing 40 blue marbles and 60 red marbles. I choose
10 marbles (without replacement) at random. Let X be the number of blue marbles
and y be the number of red marbles. Find the joint PMF of X and Y .
Problem 112. The joint PMF of the random variables X and Y is given by the
following table:
y=3 c c 2c
y=2 2c 0 4c
y=1 3c c 6c
x=1 x=2 x=3
b. Find E [(X1 )] , E [(X2 )] , Var (X1 ) , Var (X2 ) , and Cov (X1 , X2 )
Problem 114. Cho X và Y là hai biến ngẫu nhiên. Định nghĩa hiệp phương sai
của X và Y . Dấu của hiệp phương sai liên hệ thế nào với sự biến thiên giữa X và
Y.
Problem 115. Cho X và Y là hai biến ngẫu nhiên. Định nghĩa hệ số tương quan
của X và Y . Nêu tính chất của hệ số tương quan.
Problem 116. Chứng minh các tính chất sau về hiệp phương sai và hệ số tương
quan của hai biến ngẫu nhiên X và Y .
• Cov(X, Y ) = Cov(Y, X)
• ρ(X, Y ) = ρ(Y, X)
In particular
• Var(aX + b) = a2 Var(X)
• Cov(aX + b, cY + d) = ac Cov(X, Y )
• ρ(aX + b, cY + d) = ρ(X, Y )
• Cov(X, Y ) = 0
Problem 117. Let X have variance σx2 and let Y have variance σy2 . Starting with
show that
−1 ≤ Corr(X, Y )
Now using that
0 ≤ Var (X/σx − Y /σy )
conclude that
−1 ≤ Corr(X, Y ) ≤ 1
Using the result that Var(Z) = 0 implies that Z is constant, argue that if Corr(X, Y ) =
1 or -1 then X and Y are related by
Y = a + bx
where the sign of b is positive when the correlation is 1 and negative when it is −1.
Problem 118. If X1 and X2 have the same probability distribution function, show
that
Cov (X1 − X2 , X1 + X2 ) = 0
Note that independence is not being assumed.
Problem 119. Suppose that X and Y are random variables with the same variance.
Show that X − Y and X + Y are uncorrelated.
and assume that W, X, Y.Z are pairwise uncorrelated. Find the correlation coeffi-
cients ρ(R.S) and ρ(R.T ). where R = W + X, S = X + Y. and T = Y + Z
E[X] = 0. E X 2 = 1, E X 3 = 0. E X 4 = 3
and let
Y = a + bX + cX 2
Find the correlation coefficient ρ(X.Y )
Problem 122. a. You roll a fair six-sided die, and then you flip a fair coin the
number of times shown by the die. Find the expected value and the variance
of the number of heads obtained.
b. Repeat part (a) for the case where you roll two dice, instead of one.
Problem 123. Five men and 5 women are ranked according to their scores on an
examination. Assume that no two scores are alike and all 10! possible rankings are
equally likely. Let X denote the highest ranking achieved by a woman (for instance,
X = 2 if the top-ranked person was male and the next-ranked person was female).
Find P (X = i), i = 1, 2, 3, ..., 8, 9, 10.
b. What is P X > 12 ?
c. What is P {2 < X ≤ 4} ?
e. What is P {X = 1}?
Problem 125. Let X be a random variable that takes values from 0 to 9 with equal
probability 1/10.
Problem 126. Two random variables, X and Y , have the joint distribution P (x, y),
x
P (x, y) 0 1
y 0 0.5 0.2
1 0.2 0.1
Problem 127. Two random variables X and Y have the joint distribution, P (0, 0) =
0.2, P (0, 2) = 0.3, P (1, 1) = 0.1, P (2, 0) = 0.3, P (2, 2) = 0.1, and P (x, y) = 0 for all
other pairs (x, y).
Problem 128. An internet service provider charges its customers for the time of
the internet use rounding it up to the nearest hour. The joint distribution of the
used time (X, hours) and the charge per hour (Y , cents) is given in the table below.
x
P (x, y)
1 2 3 4
1 0 0.06 0.06 0.10
y 2 0.10 0.10 0.04 0.04
3 0.40 0.10 0 0
Each customer is charged Z = X · Y cents, which is the number of hours multiplied
by the price of each hour. Find the distribution of Z.
Problem 129. Let X and Y be the number of hardware failures in two computer
labs in a given month. The joint distribution of X and Y is given in the table below.
b. From the given distribution, are X and Y independent? Why or why not?
Binom. Dist. Pois. Dist. Norm. Dist. Uniform Dist. Expon. Dist. Geom. Dist.
binom.rvs() poisson.rvs() norm.rvs() uniform.rvs() expon.rvs() geom.rvs()
binom.pmf() poisson.pmf() norm.pdf() uniform.pdf() expon.pdf() geom.pmf()
binom.cdf() poisson.cdf() norm.cdf() uniform.cdf() expon.cdf() geom.cdf()
binom.sf() poisson.sf() norm.sf() uniform.sf() expon.sf() geom.sf()
binom.ppf() poisson.ppf() norm.ppf() uniform.ppf() expon.ppf() geom.ppf()
binom.stats() poisson.stats() norm.stats() uniform.stats() expon.stats() geom.stats
Problem 131. Nêu định nghĩa phân phối nhị thức và kỳ vọng cùng với phương sai
của phân phối nhị thức.
Problem 132. Nêu định nghĩa phân phối Poisson và kỳ vọng cùng với phương sai
của phân phối Poisson.
Problem 133. Nêu định nghĩa phân phối hình học. Đưa ra kỳ vọng và phương sai
của phân phối hình học.
Problem 134. It is known that disks produced by a certain company will be defec-
tive with probability .01 independently of each other. The company sells the disks
in packages of 10 and offers a money-back guarantee that at most 1 of the 10 disks is
defective. What proportion of packages is returned? If someone buys three packages,
what is the probability that exactly one of them will be returned?
Problem 135. If the average number of claims handled daily by an insurance com-
pany is 5, what proportion of days have less than 3 claims? What is the probability
that there will be 4 claims in exactly 3 of the next 5 days? Assume that the number
of claims on different days is independent.
Problem 136. It has been established that the number of defective stereos produced
daily at a certain plant is Poisson distributed with mean 4. Over a 2−day span, what
is the probability that the number of defective stereos does not exceed 3?
Số lượng stereo bị lỗi được sản xuất tại một nhà máy được cho là tuân theo phân
phối Poisson với giá trị trung bình là 4.
a. Tính xác suất để stereo bị lỗi được sản xuất hàng ngày không vượt quá 4.
b. Tính xác suất để số lượng stereo bị lỗi được sản xuất trong vòng 2 ngày không
vượt quá 3 là bao nhiêu?
Problem 137 (Catching salmon). Every fall the salmon run occurs – this is the
time when salmon swim back upriver from the ocean to spawn. While swimming
back to the upper river (usually to the place where they were spawned), the fish
may encounter grizzly bears. Some of these bears can eat 18 salmon in 3 hours, and
they have a 0.0333 probability of success in their attempts to catch a fish.
We can model a grizzly bear catching salmon with a geometric distribution.
a. Calculate the probability that the bear will catch a salmon on its third attempt,
after failing two times.
b. Calculate the probability that the bear will get a salmon in less than 5 at-
tempts.
c. Calculate the probability that the bear will get a salmon in less than 21 at-
tempts.
d. Calculate how many attempts the bear has to make to have a 0.9 probability
of catching a salmon.
Vào mỗi mùa thu, cá hồi thường bơi ngược dòng từ đại dương để đẻ trứng và khi
bơi trở lại thượng nguồn sông (thường là nơi đẻ trứng), chúng có thể gặp phải gấu
xám Bắc Mỹ. Loại gấu này có thể ăn 18 con cá hồi trong 3 giờ và xác suất thành
công trong mỗi lần bắt cá của chúng là 0,0333.
Chúng ta có thể lập dạng mô hình một con gấu xám Bắc Mỹ đang bắt cá hồi
theo phân bố hình học.
a. Tính xác suất để một con gấu bắt được cá ở lần thử thứ ba, sau hai lần thất
bại.
b. Tính xác suất để một con gấu bắt được cá với ít hơn 5 lần thử.
c. Tính xác suất để một con gấu bắt được cá với ít hơn 21 lần thử.
d. Tính xem số lần cần thiết để một con gấu phải thử để có xác suất bắt được
cá là 0.9.
Problem 138. A satellite system consists of 4 components and can function ade-
quately if at least 2 of the 4 components are in working condition. If each component
is, independently, in working condition with probability .6, what is the probability
that the system functions adequately?
Problem 139. If each voter is for Proposition A with probability 0.7, what is the
probability that exactly 7 of 10 voters are for this proposition?
Find
a. P {X = 4}.
b. P {X > 12}.
Problem 142. If you buy a lottery ticket in 50 lotteries, in each of which your
chance of winning a prize is 1/100 , what is the (approximate) probability that you
will win a prize (a) at least once, (b) exactly once, and (c) at least twice?
Problem 143. The number of times that an individual contracts a cold in a given
year is a Poisson random variable with parameter λ = 3. Suppose a new wonder
drug (based on large quantities of vitamin C) has just been marketed that reduces
the Poisson parameter to λ = 2 for 75 percent of the population. For the other
25 percent of the population, the drug has no appreciable effect on colds. If an
individual tries the drug for a year and has 0 colds in that time, how likely is it that
the drug is beneficial for him or her?
Số lần một người bị cảm lạnh trong một năm được cho là tuân theo phân phối
Poisson với tham số λ = 3. Giả sử một loại thuốc kỳ diệu mới (dựa trên một lượng
lớn vitamin C) vừa được bán trên thị trường. Loại thuốc này có lợi cho 75% dân
số và làm giảm số lần cảm trung bình xuống 2, tức là tuân theo Poisson với λ = 2;
đối với 25% dân số còn lại, thuốc không có tác dụng đáng kể đối với cảm lạnh. Nếu
một người thử dùng thuốc trong một năm và không bị cảm lạnh trong thời gian đó,
khả năng thuốc đó có lợi cho người đó là bao nhiêu?
Problem 144. The probability of error in the transmission of a binary digit over
a communication channel is 1/103 . Write an expression for the exact probability of
more than 3 errors when transmitting a block of 103 bits. What is its approximate
value? Assume independence.
Problem 146. You arrive at a bus stop at 10 o’clock, knowing that the bus will
arrive at some time uniformly distributed between 10 and 10 : 30. What is the
probability that you will have to wait longer than 10 minutes? If at 10 : 15 the bus
has not yet arrived, what is the probability that you will have to wait at least an
additional 10 minutes?
Problem 148. * If X and Y are binomial random variables with respective param-
eters (n, p) and (n, 1 − p), verify and explain the following identities:
a. P {X ≤ i} = P {Y ≥ n − i}.
b. P {X = k} = P {Y = n − k}
p n−k
a. P {X = k + 1} = 1−p k+1
P {X = k}, k = 0, 1, . . . , n − 1
Problem 151. * Let Y denote the number of trials needed to obtain r successes.
Y is called a negative binomial random variable. Compute
d. Show that
E[Y ] = r/p
(Hint: Write Y = Y1 + . . . + Yr where Yi is the number of trials needed to go
from a total of i − 1 to a total of i successes. )
Problem 155. Cho X là biến ngẫu nhiên liên tục có hàm mật độ xác suất fX (x).
b. Viết các biểu thức tích phân tính các xác suất: P (X ≤ a), P (X ≥ a), P (a ≤
X ≤ b).
Problem 156. Cho X là biến ngẫu nhiên liên tục có hàm mật độ xác suất fX (x).
Định nghĩa kỳ vọng, phương sai và moment bậc n của X.
Problem 157. Suppose that X is a continuous random variable whose probability
density function is given by
(
C (4x − 2x2 ) 0 < x < 2,
f (x) =
0 otherwise.
57
58
What is the probability that a computer will function between 50 and 150 hours
before breaking down? What is the probability that it will function less than 100
hours?
Lượng thời gian, tính bằng giờ, mà một máy tính hoạt động trước khi bị hỏng
là một biến ngẫu nhiên liên tục với hàm mật độ xác suất được cho bởi
(
λe−x/100 x ≥ 0
f (x) =
0 x<0
b. Xác suất mà một máy tính sẽ hoạt động trong khoảng từ 50 đến 150 giờ trước
khi bị hỏng là bao nhiêu?
d. Giá trị kỳ vọng, phương sai và moment bậc 2 của X bằng bao nhiêu?
3
If E[X] = , find a, b.
5
Problem 161. The lifetime in hours of electronic tubes is a random variable having
a probability density function given by
Problem 162. The time it takes to repair a personal computer is a random variable
whose density, in hours, is given by
(
1
2
0<x<2
f (x) =
0 otherwise
√
The cost of the repair depends on the time it takes and is equal to 40 + 30 x when
the time is x. Compute the expected cost to repair a personal computer.
Thời gian tính theo giờ để sửa một chiếc máy tính cá nhân là một biến ngẫu
nhiên có hàm mật độ cho bởi
(
1
2
0<x<2
f (x) =
0 otherwise
Chi phí của việc sửa chữa phụ thuộc vào thời gian sửa và được ước tính bằng
√
40 + 30 x theo thời gian. Tính chi phí kỳ vọng để sửa một chiếc máy tính cá nhân.
Problem 163. * A random variable X, which represents the weight (in ounces) of
an article, has density function given by f (z)
(z − 8)
for 8 ≤ z ≤ 9
f (z) = (10 − z) for 9 < z ≤ 10
0 otherwise
b. The manufacturer sells the article for a fixed price of $2.00. He guarantees to
refund the purchase money to any customer who finds the weight of his article
to be less than 8.25 oz. His cost of production is related to the weight of the
article by the relation x/15 + .35. Find the expected profit per article.
Trọng lượng (tính bằng ounce) của một mặt hàng là một biến ngẫu nhiên X có
hàm mật độ f (z) được cho bởi
(z − 8)
for 8 ≤ z ≤ 9
f (z) = (10 − z) for 9 < z ≤ 10
0 otherwise
b. Nhà sản xuất bán mặt hàng này với giá cố định là 2$. Người bán hàng đảm
bảo sẽ hoàn lại tiền mua hàng cho bất kỳ khách hàng nào thấy trọng lượng
mặt hàng của mình dưới 8.25 oz. Chi phí sản xuất mặt hàng liên hệ với trọng
lượng theo hàm số x/15 + .35. Tìm lợi nhuận kỳ vọng trên mỗi mặt hàng.
If E[X] = 53 , find a, b.
Problem 165. The lifetime in hours of electronic tubes is a random variable having
a probability density function given by
b. What is P X > 12 ?
c. What is P {2 < X ≤ 4} ?
e. What is P {X = 1}?
b. We are told that the machine was functional on m out of the last n days. Find
the conditional PDF of Q. You may use the identity
Z 1
k!(n − k)!
pk (1 − p)n−k dp =
0 (n + 1)!
Binom. Dist. Pois. Dist. Norm. Dist. Uniform Dist. Expon. Dist. Geom. Dist.
binom.rvs() poisson.rvs() norm.rvs() uniform.rvs() expon.rvs() geom.rvs()
binom.pmf() poisson.pmf() norm.pdf() uniform.pdf() expon.pdf() geom.pmf()
binom.cdf() poisson.cdf() norm.cdf() uniform.cdf() expon.cdf() geom.cdf()
binom.sf() poisson.sf() norm.sf() uniform.sf() expon.sf() geom.sf()
binom.ppf() poisson.ppf() norm.ppf() uniform.ppf() expon.ppf() geom.ppf()
binom.stats() poisson.stats() norm.stats() uniform.stats() expon.stats() geom.stats
Problem 170. Nêu định nghĩa phân phối đều và kỳ vọng cùng với phương sai của
phân phối đều.
Problem 171. Nêu định nghĩa phân phối mũ và kỳ vọng cùng với phương sai của
phân phối mũ.
Problem 172. Nêu định nghĩa phân phối chuẩn. Đưa ra đặc điểm của đường mật
độ cũng như kỳ vọng và phương sai của phân phối chuẩn.
Problem 173. Buses arrive at a specified stop at 15− minute intervals starting at
7 A.M. That is, they arrive at 7, 7 : 15, 7 : 30, 7 : 45, and so on. If a passenger arrives
at the stop at a time that is uniformly distributed between 7 and 7 : 30, find the
probability that he waits
Problem 174. Data from the National Oceanic and Atmospheric Administration
indicate that the yearly precipitation in Los Angeles is a normal random variable
with a mean of 12.08 inches and a standard deviation of 3.1 inches.
a. Find the probability that the total precipitation during the next 2 years will
exceed 25 inches.
b. Find the probability that next year’s precipitation will exceed that of the
following year by more than 3 inches. Assume that the precipitation totals for
the next 2 years are independent.
Problem 175. Jones figures that the total number of thousands of miles that a
used auto can be driven before it would need to be junked is an exponential random
variable with parameter 1/20. Smith has a used car that he claims has been driven
only 10, 000 miles. If Jones purchases the car, what is the probability that she would
get at least 20, 000 additional miles out of it? Repeat under the assumption that
the lifetime mileage of the car is not exponentially distributed but rather is (in
thousands of miles) uniformly distributed over (0, 40).
Jones nhận thấy rằng tổng số nghìn dặm mà một chiếc ô tô có thể lái được cho
đến khi không sử dụng được nữa là một biến ngẫu nhiên có phân phỗi mũ với tham
số 1/20.
a. Tính số nghìn dặm trung bình mà một chiếc ô tô loại này đi được.
b. John mua một chiếc xe mới, tính xác suất để anh ấy đi xe được ít nhất 20
nghìn dặm.
c. Smith có một chiếc xe đã đi được 10 nghìn dặm, tính xác suất để John mua
xe của Smith và đi được thêm ít nhất 20 nghìn dặm nữa.
d. Tính lại các yêu cầu ở câu a, b, c với giả thiết số nghìn dặm mà ô tô đi được
không phải tuân theo phân phối mũ mà là phân phối đều trên [0, 40].
Problem 176. Suppose that a number of miles that a car can run before its battery
wears out is exponentially distributed with an average value of 10, 000 miles. If a
person desires to take a 5, 000− mile trip, what is the probability that she will be
able to complete her trip without having to replace her car battery? What can be
said when the distribution is not exponential?
Giả sử rằng số dặm mà ô tô có thể chạy trước khi hết pin được cho là có phân
phối mũ với giá trị trung bình là 10.000 dặm. Nếu một người mong muốn để thực
hiện chuyến đi dài 5.000 dặm, xác suất để cô ấy có thể hoàn thành chuyến đi của
mình mà không phải thay bình ắc quy ô tô là bao nhiêu? Có thể nói gì khi phân
phối không theo phân phối mũ?
Problem 177. You arrive at a bus stop at 10 o’clock, knowing that the bus will
arrive at some time uniformly distributed between 10 and 10 : 30. What is the
probability that you will have to wait longer than 10 minutes? If at 10 : 15 the bus
has not yet arrived, what is the probability that you will have to wait at least an
additional 10 minutes?
a. P {X > 5}.
c. P {X < 8}.
d. P {X < 20}.
e. P {X > 16}.
Problem 179. The Scholastic Aptitude Test mathematics test scores across the
population of high school seniors follow a normal distribution with mean 500 and
standard deviation 100. If five seniors are randomly chosen, find the probability that
b. What is the conditional probability that a repair takes at least 3 hours, given
that its duration exceeds 2 hours?
Problem 186. * If X and Y are binomial random variables with respective param-
eters (n, p) and (n, 1 − p), verify and explain the following identities:
a. P {X ≤ i} = P {Y ≥ n − i}.
b. P {X = k} = P {Y = n − k}
p n−k
a. P {X = k + 1} = 1−p k+1
P {X = k}, k = 0, 1, . . . , n − 1
Problem 189. * Let Y denote the number of trials needed to obtain r successes.
Y is called a negative binomial random variable. Compute
d. Show that
E[Y ] = r/p
(Hint: Write Y = Y1 + . . . + Yr where Yi is the number of trials needed to go
from a total of i − 1 to a total of i successes. )
Problem 194. Find the PDF of eX in terms of the PDF of X. Specialize the answer
to the case where X is uniformly distributed between 0 and 1 .
Problem 195. Find the PDFs of |X|1/3 and |X|1/4 in terms of the PDF of X.
Problem 196. Let X be a random variable with PDFfX . Find the PDF of the
random variable Y = |X|
(
1/3, if − 2 < x ≤ 1
a. when fX (x) =
0, otherwise
(
2e−2x , if x > 0
b. when fX (x) =
0, otherwise
Problem 197. The metro train arrives at the station near your home every quarter
hour starting at 6: 00 a.m. You walk into the station every morning between 7: 10
and 7: 30 a. m., with the time in this interval being a random variable with given
PDF (cf. Example 3.14, in Chapter 3 ). Let X be the elapsed time, in minutes,
between 7: 10 and the time of your arrival. Let Y be the time that you have to wait
until you board a train. Calculate the CDF of Y in terms of the CDF of X and
differentiate to obtain a formula for the PDF of Y .
Problem 200. Two points are chosen randomly and independently from the interval
[0.1] according to a uniform distribution. Show that the expected distance between
the two points is 1/3.
Problem 201. Let X and Y be independent Poisson random variables with pa-
rameters λ1 and λ2 , respectively. Define λ = λ1 + λ2 and Z = X + Y . Claim that Z
is a Poisson random variable with parameter λ.
Problem 203. Let X and Y be independent, uniform random variables on [0, 1].
Find the density function and distribution function for X + Y .
Problem 204. Romeo and Juliet have a date at a given time, and each, indepen-
dently. Let us denote by X and Y the amounts by which Romeo and Juliet are
late, respectively. Assume that the random variables X and Y are independent and
exponentially distributed with different parameters λ and µ, respectively. Find the
PDF of X − Y .
Compute
b. P {X < Y };
c. P {X < a}
d. Find P (Y < 2X 2 ).
Problem 208. Let the random variables X and Y have a joint PDF which is
uniform over the triangle with vertices at (0, 0), (0, 1), and (1.0).
d. Find E[X | Y = y], and use the total expectation theorem to find E[X] in
terms of E[Y ].
Problem 209. Let X be a discrete random variable with PMFpX and let Y be a
continuous random variable, independent from X, with PDFfY . Derive a formula
for the PDF of the random variable X + Y
Problem 210. The random variables X and Y are described by a joint PDF which
is constant within the unit area quadrilateral with vertices (0, 0), (0, 1), (1, 2), and
(1, 1). Use the law of total variance to find the variance of X + Y .
Problem 211. A stock market trader buys 100 shares of stock A and 200 shares of
stock B. Let X and Y be the price changes of A and B respectively over a certain
time period and assume that the joint PMF of X and Y is uniform over the set of
integers x and y satisfying
−2 ≤ x ≤ 4, −1 ≤ y − x ≤ 1.
Problem 212. Problem 1. Let X be uniformly distributed in the unit interval [0, 1].
Consider the random variable Y = g(X), where
(
1. if x ≤ 1/3
g(x) =
2, if x > 1/3
Find the expected value of Y by first deriving its PMF. Verify the result using the
expected value rule.
Problem 213. Calamity Jane goes t o the bank to make a withdrawal, and i s
equally likely to find 0 or 1 customers ahead of her. The service time of the customer
ahead, if present, is exponentially distributed with parameter λ. What is the CDF
of Jane’s waiting time?
Problem 214. Let X and Y be normal random variables with means 0 and 1,
respectively, and variances 1 and 4, respectively.
Let X be a normal random variable with zero mean and standard deviation σ.
Use the normal tables to compute the probabilities of the events {X ≥ kσ} and
{|X| ≤ kσ} for k = 1, 2, 3
Problem 215. A city’s temperature is modeled as a normal random variable with
mean and standard deviation both equal to 10 degrees Celsius. What is the proba-
bility that the temperature at a randomly chosen time will be less than or equal to
59 degrees Fahrenheit?
Problem 216. Let X be a random variable with PDF
(
x/4, if 1 < x ≤ 3
fX (x) =
0, otherwise
and let A be the event {X ≥ 2}.
Problem 218. Suppose that 3 batteries are randomly chosen from a group of 3
new, 4 used but still working, and 5 defective batteries. If we let X and Y denote,
respectively, the number of new and used but still working batteries that are chosen,
find the joint probability mass function of X and Y .
Problem 219. Suppose that 15 percent of the families in a certain community have
no children, 20 percent have 1, 35 percent have 2, and 30 percent have 3 children;
suppose further that each child is equally likely (and independently) to be a boy or
a girl. If a family is chosen at random from this community, then B, the number of
boys, and G, find the joint probability mass function of the number of girls, in this
family.
Problem 220. The (zero mean) bivariate normal PDF is of the form
a. By completing the square, rewrite q(x, y) in the form (αx − βy)2 + γy 2 , for
some constants α, β, and γ.
b. Show that X and Y are zero mean normal random variables with variance σx2
and σy2 , respectively.
d. Show that the conditional PDF of X given that Y = y is normal, and identify
its conditional mean and variance.
f. Show that X and Y are independent if and only if they are uncorrelated.
g. Show that the estimation error E[X | Y ] − X is normal with mean zero and
variance (1 − ρ2 ) σx2 , and is independent from Y .