Discrete Mathematics and Its Applications ( 8th International Edition ) ISBN:9781260091991
8th Edition
ISBN: 9781259676512
Author: Kenneth H Rosen
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 7, Problem 7RQ
- Explain how the average-case computational complexitj' of an algorithm, with finitely many possible input values, can be interpreted as an expected value.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
6. A genetically engineered species of rabbit is left on an island. Each pair of rabbits produces
two new pairs of rabbits at the age of 1 month and six new pairs of rabbits at the age of 2
months and every month afterward. None of the rabbits ever die or leave the island.
(a) Make a table to determine how many pairs of rabbits are on the island after n months,
where 0 ≤ n ≤ 5.
(b) It can be shown that a recurrence relation for the number of pairs of rabbits on the island
after n months is given by an = 3an-1 + 4an-2, n ≥ 2. Verify that this recurrence
relation is correct by checking 0 ≤ n ≤ 5 and observing that it matches your answer to
part (a)
(c) Solve the recurrence relation given in part (b).
(d) Find the number of rabbits on the island 2 years after the first pair is left.
There are exactly 365 students taking Algorithms this semester. Assume that each of these students is equally likely to be born on any of the 365 days of the year. For this problem, let’s assume that no one is born on February 29. Determine the probability that at most one student is born on June 15.
Yue Bing is a new intern at Linkedln. She has designed a new recommendation algorithm for
connecting LinkedIn users to other users, and wants to see if it will cause an increase the
average number of messages sent by Linkedln users. She will randomly sample one group of
users from the LinkedIn network and set up their accounts so that they use the new
recommendation algorithm. She will then randomly sample another group of users, who will
operate on the regular recommendation algorithm. She determines how many messages are
sent by users over the course of year.
She ends up assigning 23 users to the new algorithm, and 38 users to the old algorithm. She
provides you with some of her data, though it is incomplete.
Sample Size Sample Mean Standard Deviation
New23
34.4
??
Old 38
27.3
3.1
She insists all assumptions necessary for a confidence interval for a difference between two
appropriate means have been verified. What distribution would we use to determine the critical
value of a 95%…
Chapter 7 Solutions
Discrete Mathematics and Its Applications ( 8th International Edition ) ISBN:9781260091991
Ch. 7.1 - i. What is the probability that a card selected at...Ch. 7.1 - t istheprobability that a fair die comes up six...Ch. 7.1 - t is the probability that a randomly selected...Ch. 7.1 - What is the probability7that a randomly selected...Ch. 7.1 - t is the probability that the sum of the numbers...Ch. 7.1 - t is the probability that a card selected at...Ch. 7.1 - t is the probability that when a coin is flipped...Ch. 7.1 - t is the probability that a five-card poker hand...Ch. 7.1 - t is the probability that a five-card poker hand...Ch. 7.1 - t is the probability that a five-card poker hand...
Ch. 7.1 - Prob. 11ECh. 7.1 - t is the probability that afive-card poker hand...Ch. 7.1 - t is the probability tliat afive-card poker hand...Ch. 7.1 - t istheprobability that a five-card poker hand...Ch. 7.1 - t is theprobabilifrthatafive-cardpoker hand...Ch. 7.1 - t is the probability7that a five-card poker hand...Ch. 7.1 - Prob. 17ECh. 7.1 - Mat is the probability' that a five-card poker...Ch. 7.1 - Prob. 19ECh. 7.1 - probabihh’thatafiM^Ch. 7.1 - Prob. 21ECh. 7.1 - t is the probability that a positive integer not...Ch. 7.1 - t is the probability that a positive integer not...Ch. 7.1 - Prob. 24ECh. 7.1 - - Find the probability of winning a lottery by...Ch. 7.1 - 26.Find the pr obabilitj- of selecting none of the...Ch. 7.1 - Prob. 27ECh. 7.1 - Prob. 28ECh. 7.1 - Prob. 29ECh. 7.1 - Prob. 30ECh. 7.1 - Prob. 31ECh. 7.1 - Prob. 32ECh. 7.1 - i$theprobabilitytiiatAbby,Barry,andSy^...Ch. 7.1 - 34.Mat is the probability' that Bo, Colleen, Jeff,...Ch. 7.1 - roulette, a wheel with 38 numbers is spun. Of...Ch. 7.1 - ch is more likely: rolling a total of 8 when two...Ch. 7.1 - ch is more likely: rolling a total of 9 when hvo...Ch. 7.1 - A player in the Mega Millions lottery picks five...Ch. 7.1 - a player buys a Mega Millions ticket in many...Ch. 7.1 - A player in the Powerball lottery picks five...Ch. 7.1 - Aplayer in the Powerball lottery (see Exercise 40)...Ch. 7.1 - Two events E i and E2are calledindependentifp(Etfl...Ch. 7.1 - Prob. 43ECh. 7.1 - Suppose that instead of three doors, there are...Ch. 7.1 - s problem was posed by the Chevalier de Mere and...Ch. 7.2 - Prob. 1ECh. 7.2 - Prob. 2ECh. 7.2 - Prob. 3ECh. 7.2 - w that conditions (2) and (22) are met under...Ch. 7.2 - A pair of dice is loaded. The probability that a 4...Ch. 7.2 - t is the probability of these events when we...Ch. 7.2 - t is the probability of these events when we...Ch. 7.2 - 8.What is the probability of these events when we...Ch. 7.2 - t is the probability of these events when we...Ch. 7.2 - What is the probability of these events when we...Ch. 7.2 - pose, that £ and F are. events such that d(£)=0.7...Ch. 7.2 - pose that £ and Fare events such thatp(£) = 0.8...Ch. 7.2 - w that if £ and F are events, thenpfEn F) >p(E) +...Ch. 7.2 - Use mathematical induction to prove the following...Ch. 7.2 - w that if £x, £2,Enare events from afinite sample...Ch. 7.2 - Show that iff and f are independent events,...Ch. 7.2 - 17,It £ and F are independent events, prove or...Ch. 7.2 - What is the probability that hvo people chosen at...Ch. 7.2 - Mat is the probability that two people chosen at...Ch. 7.2 - Prob. 20ECh. 7.2 - Prob. 21ECh. 7.2 - February 29 occurs only inleap years, Years...Ch. 7.2 - ^Tiat is the conditional probabilitv that exactly...Ch. 7.2 - What is the. conditional probabilih' that exactly...Ch. 7.2 - Prob. 25ECh. 7.2 - Let Ebe the event that aranmly generated bit...Ch. 7.2 - Prob. 27ECh. 7.2 - a8. Assume that the probability a child is a boy...Ch. 7.2 - A group of six people play the game of “ odd...Ch. 7.2 - Find the probability that a randomly generated bit...Ch. 7.2 - Find the probability that a family with five...Ch. 7.2 - Prob. 32ECh. 7.2 - Prob. 33ECh. 7.2 - Find each of the following probabilities...Ch. 7.2 - d each of the following probabilities...Ch. 7.2 - Prob. 36ECh. 7.2 - Prob. 37ECh. 7.2 - 38.A pair of dice is rolled in a remote location...Ch. 7.2 - This exercise employs the probabilistic method to...Ch. 7.2 - Dense a Monte Carlo algorithm that determines...Ch. 7.2 - pseudocode to write out the probabilistic...Ch. 7.3 - i.Suppose that £ andFare events in a sample space...Ch. 7.3 - Suppose that Land Fare events in a sample space...Ch. 7.3 - 3.Suppose that Frida selects a ball by first...Ch. 7.3 - 4.Suppo s e that Ann selects a ball by first...Ch. 7.3 - Prob. 5ECh. 7.3 - Prob. 6ECh. 7.3 - Prob. 7ECh. 7.3 - 8,Suppose that one person in 10,000 people has a...Ch. 7.3 - Suppose that 8% of the patients tested in a clinic...Ch. 7.3 - io,Suppose that 4% of the patients tested in a...Ch. 7.3 - ...Ch. 7.3 - ...Ch. 7.3 - Prob. 13ECh. 7.3 - Prob. 14ECh. 7.3 - In this exercise we will use Bayes' theorem to...Ch. 7.3 - Prob. 16ECh. 7.3 - Prob. 17ECh. 7.3 - 18.Suppose that a Bayesian spam filter is trained...Ch. 7.3 - 19,Suppose that a Bayesian spam filter is trained...Ch. 7.3 - Prob. 20ECh. 7.3 - ,Suppose that a Bayesian spam filter is trained on...Ch. 7.3 - Suppose that we have prior information concerning...Ch. 7.3 - Prob. 23ECh. 7.4 - t is the expected number of heads that come up...Ch. 7.4 - t is the expected number of heads that come up...Ch. 7.4 - t is the expected number of times a 6 appears when...Ch. 7.4 - A coin is biased so that the probability a head...Ch. 7.4 - ^Tiat is the expected sum of the numbers that...Ch. 7.4 - Prob. 6ECh. 7.4 - final exam of a discrete mathematics course...Ch. 7.4 - t is the expected sum of the numbers that appear...Ch. 7.4 - Prob. 9ECh. 7.4 - Suppose that we flip a fair coin until either it...Ch. 7.4 - Suppose that we roll a fair die until a 6 conies...Ch. 7.4 - pose that we roll a fair die until a 6 comes up....Ch. 7.4 - pose thatwerollapairoffair dice...Ch. 7.4 - Show that the sum of the probabilities of a random...Ch. 7.4 - Show that if the random variable A'has the...Ch. 7.4 - Prob. 16ECh. 7.4 - Prob. 17ECh. 7.4 - Prob. 18ECh. 7.4 - Prob. 19ECh. 7.4 - Show that if J2,...,Xnare mutually independent...Ch. 7.4 - What is the expected value of the sum of the...Ch. 7.4 - as.Provethelaw of total expectations.Ch. 7.4 - Prob. 23ECh. 7.4 - Prob. 24ECh. 7.4 - A run is a maximal sequence of successes in a...Ch. 7.4 - a6.Let J(s) be a random variable, where I(s) is a...Ch. 7.4 - What is the variance of the number of heads that...Ch. 7.4 - t is the variance ot the number of times a 6...Ch. 7.4 - LetXnbe the random variable that equals the number...Ch. 7.4 - w that ifXand Fare independent random variables,...Ch. 7.4 - Prob. 31ECh. 7.4 - Pronde an example that shows that the variance of...Ch. 7.4 - pose that A\ andX2are independent Bernoulli trials...Ch. 7.4 - Prove the general caseofTheoremy. That is, show...Ch. 7.4 - Prob. 35ECh. 7.4 - Prob. 36ECh. 7.4 - Prob. 37ECh. 7.4 - pose that the number of cans of soda pop filled in...Ch. 7.4 - 39.Suppose that the number of aluminum cans...Ch. 7.4 - pose the probabilitvthatxis the...Ch. 7.4 - In this exercise we derive an estimate of the...Ch. 7.4 - Prob. 42ECh. 7.4 - to is the variance of the number of fixed...Ch. 7.4 - Prob. 44ECh. 7.4 - Prob. 45ECh. 7.4 - Prob. 46ECh. 7.4 - Prob. 47ECh. 7.4 - Prob. 48ECh. 7.4 - Prob. 49ECh. 7 - Define the probability of an event when all...Ch. 7 - WTiat conditions should be met by the...Ch. 7 - Define, the conditional probability’ of an event £...Ch. 7 - Prob. 4RQCh. 7 - tois a random variable? toare the possible values...Ch. 7 - Prob. 6RQCh. 7 - Explain how the average-case computational...Ch. 7 - Prob. 8RQCh. 7 - What does the linearity of expectations of random...Ch. 7 - Prob. 10RQCh. 7 - Prob. 11RQCh. 7 - Prob. 12RQCh. 7 - Prob. 13RQCh. 7 - What is the variance of the sum of n independent...Ch. 7 - Prob. 15RQCh. 7 - Prob. 1SECh. 7 - 2012, a player in the Mega Millions lottery picks...Ch. 7 - 2012, a player in the Powerball lottery picks five...Ch. 7 - t is the probability that a hand of 13 cards...Ch. 7 - t is the probability that a 13-card bridge hand...Ch. 7 - t is the probability that a seven-card poker hand...Ch. 7 - What is the expected value of the number that...Ch. 7 - What is the expected value of the number that...Ch. 7 - Suppose that a pair of fair octahedral dice is...Ch. 7 - io.Suppose that a pair offaiir dodecahedral diceis...Ch. 7 - ii.Supp o s e that a fair standard (cubic) die and...Ch. 7 - Prob. 12SECh. 7 - (mpeople!n>3!play“oddp™ut’todeadeMo^...Ch. 7 - Prob. 14SECh. 7 - posethatmandnarepositiYeintegers.Bat is...Ch. 7 - pose thatEt, E2,Enarenevents with p(£j) >o fori...Ch. 7 - Prob. 17SECh. 7 - t is the probability that when a fair coin is...Ch. 7 - t is the probability that a randomly selected bit...Ch. 7 - t is the probability that a randomly selected bit...Ch. 7 - sider the following game. A per son flips a coin...Ch. 7 - pose that n halls are tossed intobbins so that...Ch. 7 - posethatAandBareeventswthprobabilitiesp(A) =...Ch. 7 - posethat/l andB are events...Ch. 7 - all fromDefinition jinSection 7,2that the events...Ch. 7 - ...Ch. 7 - Prob. 27SECh. 7 - Prob. 28SECh. 7 - Prob. 29SECh. 7 - Prob. 30SECh. 7 - Prob. 31SECh. 7 - Prob. 32SECh. 7 - Prob. 33SECh. 7 - maximum satisfiability problemasks for an...Ch. 7 - Prob. 35SECh. 7 - The following method can be used to generate a...Ch. 7 - Prob. 1CPCh. 7 - Prob. 2CPCh. 7 - Prob. 3CPCh. 7 - Prob. 4CPCh. 7 - Prob. 5CPCh. 7 - ...Ch. 7 - Prob. 7CPCh. 7 - Prob. 8CPCh. 7 - Prob. 9CPCh. 7 - ulaterepeated trials oftheMoufr Hall Three-Door...Ch. 7 - Prob. 11CPCh. 7 - Prob. 1CAECh. 7 - Prob. 2CAECh. 7 - Prob. 3CAECh. 7 - Prob. 4CAECh. 7 - Prob. 5CAECh. 7 - Prob. 6CAECh. 7 - Prob. 7CAECh. 7 - Prob. 8CAECh. 7 - cribe the origins of probability theory and the...Ch. 7 - Prob. 2WPCh. 7 - 3.Discuss the probability' of winning when you...Ch. 7 - estigate the game of craps and discuss the...Ch. 7 - Prob. 5WPCh. 7 - Prob. 6WPCh. 7 - lain how Erdos and Renvi first used the...Ch. 7 - cuss the different types of probabilistic...
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, subject and related others by exploring similar questions and additional content below.Similar questions
- Consider a list of randomly generated 2-letter "words" printed on a paper. The letters cannot be repeated.(a) At least how many of these "words" should be printed to be sure of having at least 6 identical "words" on the list?Answer = (b) At least how many identical "words" are printed if there are 4551 "words" on the list?arrow_forwardDon't copy from any source.arrow_forwardA lake initially contains 1000 fish. Suppose that in the absence of predators or other causes of removal, the fish population increases by 10% each month. However, factoring in all causes, 80 fish are lost each month. Give a recurrence relation for the population of fish after n months. How many fish are there after 5 months? If your fish model predicts a non-integer number of fish, round down to the next lower integer.arrow_forward
- can you choose correct one for 2 of them (seperately)arrow_forwardSuppose I’m placing 6 volumes of a mathematics book series on my shelf, but I’m in ahurry and my office is a mess, so I just put them on the shelf randomly. Assume that allpossible orderings of the 6 volumes are equally likely to occur. Also, note that each volumeis numbered “Volume 1”, “Volume 2”, etc.Let X = the number of volumes that are in the correct spots before the first incorrectlyplaced volume. For example: X = 3 for the arrangement 1, 2, 3, 5, 4, 6, since the first3 volumes are placed correctly, then the 4th spot has Volume 5 in it. Another example:X = 0 for 2, 6, 3, 4, 5, 1, since the very first spot has the wrong volume in it!(a) Find the support for X.(b) Compute the probabilities that X = x for each value x in the support in X.(c) Use the probabilities to determine the formula for the PMF as a singlefunction pX (x) = P (X = x) with input xarrow_forwardData on the 4000 largest mutual funds shows which funds provided a high 5-year return and a high 10-year return. Of the 4000 mutualfunds surveyed, 3000 funds had a high 5-year return, 2000 had a high 10-yearreturn, and 1500 had both a high 5-year return and a high 10-year return Given that a mutual fund had a high 5-year return, what is theprobability of a mutual fund having a high 10-year return?arrow_forward
- Suppose we have information about the supermarket purchases of 100 million people. Each person goes to the supermarket 100 times in a year and buys 10 of the 1000 items that the supermarket sells. We believe that a pair of terrorists will buy exactly the same set of 10 items (perhaps the ingredients for a bomb?) at some time during the year. If we search for pairs of people who have bought the same set of items, would we expect that any such people found were truly terrorists? plz provide max possible explanatoon.arrow_forwardA source emits four colours {Red, Blue, Green, Yellow} with probabilities as 0.1, 0.2, 0.3, 0.4, respectively. Calculate the Entropy of the source. Find the Huffman code with minimum variance (i.e., average length) Draw the Greedy Algorithm showing fundamentals of creating a hierarchical node structure (Check details in Lecture saved as PowerPoint Slide show)arrow_forwardFind the solution of the recurrence relation a_(n)=18a_(n-1)-81a_(n-2)+22*7^(n),n>=2 with the initial conditions a0=5, a1=45.Explain your solution clearly and show all steps of your computations.arrow_forward
- Suppose we select 2 students randomly from a class of 20 students. The first student selected will analyze a data set on the computer and prepare summary tables, and the second student will present the results to the class. How many ways can the students be selected for these tasks? Is this a permutation, a combination, or neither?arrow_forwardSeveral researchers have found empirical evidence for a phenomenon known as the"other raceeffect" (ORE), where people are quicker and more accurate when identifying faces of their ownrace, relative to faces from other races. A single group of 35 Caucasian participants were showna series of faces (50 faces were Caucasian, 50 faces were Asian) in a learning phase. Next,participants were shown a total of 100 faces from each race, some of which were present in thelearning trials, Participants were asked to state whether or not a face was present or absent inthe learning trials. They compared the accuracy for memory of the Caucasian vs. Asian faces.If testing hypotheses about the effects of race on memory of faces, it would be most appropriateto calculate a..1)Independent- sample t-test 2)Paired sampled t-test3) One- sample t-test 4) Z-testarrow_forward(b) Some electronic devices are better used than new: The failure rate is higher when they are new than when they are six months old. For example, 52.90% of the personal music players of a particular brand have a flaw. If the player has the flaw, it dies in the first six months. If it does not have this flaw, then only 7.100% fail in the first six months. Yours died after you hadit for three months. What are the chances that it has this flaw?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Graph Theory: Euler Paths and Euler Circuits; Author: Mathispower4u;https://www.youtube.com/watch?v=5M-m62qTR-s;License: Standard YouTube License, CC-BY
WALK,TRIAL,CIRCUIT,PATH,CYCLE IN GRAPH THEORY; Author: DIVVELA SRINIVASA RAO;https://www.youtube.com/watch?v=iYVltZtnAik;License: Standard YouTube License, CC-BY