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
Concept explainers
Textbook Question
Chapter 7.4, Problem 41E
In this exercise we derive an estimate of the average-case complexity of the variant of the bubble sort algorithm that terminates once a pass has been made with no interchanges. Let Ibe the random variable on the set of permutations of a set ofndistinct integers {a j , a2,..an} with aj< a2< -< ansuch that A’(P) equals the number of comparisons used by the bubble sort to put these integers into increasing order.
- Show that, under the assumption that the input is equally likely to be any of the n! permutations of these integers, the average number of comparisons used by the bubble sort equals £(X).
to precedeajas it is for(ijto precede nj, in a permutation.]
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
b) Use the linear congruential method to generate a sequence of 5 random numbers with given seed of 27, increment 43 and constant multiplier 17, modulus 100c) i. If an M/M/1 queue has utilization of 90%, what do you think will be the average queue length and the average response time? If the arrival rate is 100 jobs per secondii. If an M/D/1 queue has utilization of 80% do you expect its mean queue length and response time to be less, same, or greater than that of an M/M/1? Explain your answer.
Consider a case in which X0 = 9,078. Using the mid-square method,i). Determine the first 10 random numbers.ii). Is this algorithm robust? Expound.
Q1. In a statistics class of 42 students, 28 have volunteered for community service in the past. If two students are selected at random from this class, Find the following probability for both parts a and b, that exactly one of them have volunteered for community service in the past? Draw a tree diagram for this problem.
a. Assuming selection with replacement.b. Assuming selection without replacement.
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 the following parameters:a = 1,298, Xo = 6,286, C = 9,807 and M = 341.i). Using the linear congruential method, determine the first 10 random numbers.ii). How robust is this algorithm?arrow_forwardProceeding similar to Example 4.8.7, use the accept–reject algorithm togenerate an observation from a t distribution with r > 1 degrees of freedom wheng(x) is the Cauchy pdf.arrow_forwardSuppose that 30% of applicants for an industry job are proficient at object-oriented programming (OOP). Applicants are interviewed sequentially and are selected at random from the pool. Given that five applicants have already been interviewed and none of them are proficient at OOP, what is the probability that five more applicants must be interviewed to find the first individual proficient at OOP?arrow_forward
- As Covid-19 restrictions end, a large international airport is concerned about too much air traffic Suppose a flight lands or departs every minute, on average, once travel restrictions are eased, and that movements of aircraft follow a Poisson process. What is the probability that two or more planes will take off or land every minute a. 0.632 b. 1 x 2/60 c. 0.264 d. 0.368arrow_forwardAbout 2% of the bulbs produced by a companydata are defective. A merchant receives a lot of 500of these bulbs. Using the Poisson approximation,find the probability...a) that there are 5 defective ones.b) there are 8 defective ones.c) there is at least one defective.arrow_forwardA graduate student conducted an experiment in which 23 ten-month-old babies were asked to watch a climber character attempt to ascend a hill. On two occasions, the baby witnesses the character fail to make the climb. On the third attempt, the baby witnesses either a helper toy push the character up the hill or a hinderer toy prevent the character from making the ascent. The helper and hinderer toys were shown to each baby in a random fashion for a fixed amount of time. The baby was then placed in front of each toy and allowed to choose which toy he or she wished to play with. In 20 of the 23 cases, the baby chose the helper toy. Use the binomial probability formula to determine the P-value for this test.arrow_forward
- A graduate student conducted an experiment in which 15 ten-month-old babies were asked to watch a climber character attempt to ascend a hill. On two occasions, the baby witnesses the character fail to make the climb. On the third attempt, the baby witnesses either a helper toy push the character up the hill or a hinderer toy prevent the character from making the ascent. The helper and hinderer toys were shown to each baby in a random fashion for a fixed amount of time. The baby was then placed in front of each toy and allowed to choose which toy he or she wished to play with. In 13 of the 15 cases, the baby chose the helper toy. Complete parts (a) through (d) below. (a) Why is it important to randomly expose the baby to the helper or hinderer toy first? A. The randomness in the order of exposure is important to make sure half the babies see the helper first and the other half see the hinderer first. B. The randomness in the order of exposure is important to…arrow_forwardA graduate student conducted an experiment in which 15 ten-month-old babies were asked to watch a climber character attempt to ascend a hill. On two occasions, the baby witnesses the character fail to make the climb. On the third attempt, the baby witnesses either a helper toy push the character up the hill or a hinderer toy prevent the character from making the ascent. The helper and hinderer toys were shown to each baby in a random fashion for a fixed amount of time. The baby was then placed in front of each toy and allowed to choose which toy he or she wished to play with. In 13 of the 15 cases, the baby chose the helper toy. Complete parts (a) through (d) below.arrow_forwardAn industry representative claims that 34 percent of all satellite dish owners subscribe to at least one premium movie channel. In an attempt to justify this claim, the representative will poll a randomly selected sample of dish owners. (a) Suppose that the representative's claim is true, and suppose that a sample of 4 dish owners is randomly selected. Assuming independence, use an appropriate formula to compute.arrow_forward
- assume that there are 9 boxes. person a randomly chooses 4 boxes to put a ball into each of the chosen boxes, and person b independently chooses 4 boxes to put a ball into each of the boxes. compute the expected number of the empty boxes using one of the formulas in chapter 12arrow_forwardColor blindness appears in 1% of the people in a certain population. How large must a sample be if the probability of its containing a color-blind person is to be .95 or more? (Assume that the population is large enough to be considered infinite, so that sampling can be considered to be with replacement.)......arrow_forwardA) In a recent year, 8,068,203 male students and 1,301,852 female students were enrolled as undergraduates. Receiving aid were 61.1% of the male students and 68% of the female students. Of those receiving aid, 42.9% of the males got federal aid and 52.6% of the females got federal aid. Choose 1 student at random. (Hint: Make a tree diagram.) Find the probability of selecting a student from the following. Carry your intermediate computations to at least 4 decimal places. Round the final answers to 3 decimal places. A female student with aid. P (female with aid)= B) Building a New Home In building new homes, a contractor finds that the probability of a home buyer selecting a two-car garage is 0.62 and of selecting a one-car garage is 0.24. Find the probability that the buyer will select no garage. The builder does not build houses with three-car or more garages. P (no garage)= Answer part A and Barrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Continuous Probability Distributions - Basic Introduction; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=QxqxdQ_g2uw;License: Standard YouTube License, CC-BY
Probability Density Function (p.d.f.) Finding k (Part 1) | ExamSolutions; Author: ExamSolutions;https://www.youtube.com/watch?v=RsuS2ehsTDM;License: Standard YouTube License, CC-BY
Find the value of k so that the Function is a Probability Density Function; Author: The Math Sorcerer;https://www.youtube.com/watch?v=QqoCZWrVnbA;License: Standard Youtube License