Discrete Mathematics and Its Applications ( 8th International Edition ) ISBN:9781260091991
Discrete Mathematics and Its Applications ( 8th International Edition ) ISBN:9781260091991
8th Edition
ISBN: 9781259676512
Author: Kenneth H Rosen
Publisher: McGraw-Hill Education
bartleby

Concept explainers

bartleby

Videos

Question
Book Icon
Chapter 7.4, Problem 42E
To determine

(a)

To prove:

The average number of comparisons used by the quick sort algorithm isE(X)(where the sample space is the set of alln ! permutations ofnintegers).

To determine

(b)

To prove:

X=k=2nj=1k1Ij,k.

To determine

(c)

To prove:

E(X)=k=2nj=1k1p

To determine

(d)

To prove:

>p>p(thejthsmallest element and thekthsmallest element are compared),wherek >j, equals 2 /(k-j+ 1)..

To determine

(e)

To prove:

Use parts (c) and (d) to show that E(X)=2(n+1)(i=2n1i)2(n1)

To determine

(f)

Conclude from part (e) and the fact that j=1n1/jlnn+γ, where γ=0.57721 is Euler’sconstant, that the average number of comparisons used by the quick sort algorithm is Θ(nlogn).

Blurred answer
Students have asked these similar questions
Hammerhead produces heavy-duty nails, which are purchased by Modulo, a maker of prefabricated housing. Modulo buys the nails in lots of 10,000and subjects a sample to destructive testing to determine the acceptabilityof the lot. Modulo has established an AQL of 1 percent and an LTPD of10 percent.a. Assuming a single sampling plan with n = 100 and c = 2, find α and β.b. Derive the sequential sampling plan that achieves the same values of α and β as the single sampling plan derived in part (a).c. By estimating the ASN curve, find the maximum value of the expectedsample size Modulo will require if it uses the sequential plan derived inpart (b).d. Suppose that the sequential sampling plan derived in part (b) is used. One hundred nails are tested with the following result: The first 80 are acceptable, the 81st is defective, and the remaining 19 are acceptable. By graphing the acceptance and the rejection regions, determine whether the sequential sampling plan derived in part (b) would…
An 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.
A systems analyst tests a new algorithm designed to work faster than the currently-used algorithm. Each algorithm is applied to a group of 7373 sample problems. The new algorithm completes the sample problems with a mean time of 24.2824.28 hours. The current algorithm completes the sample problems with a mean time of 26.9726.97 hours. Assume the population standard deviation for the new algorithm is 3.5873.587 hours, while the current algorithm has a population standard deviation of 4.0394.039 hours. Conduct a hypothesis test at the 0.050.05 level of significance of the claim that the new algorithm has a lower mean completion time than the current algorithm. Let μ1μ1 be the true mean completion time for the new algorithm and μ2μ2 be the true mean completion time for the current algorithm. Step 3 of 4 :  Determine the decision rule for rejecting the null hypothesis H0H0. Round the numerical portion of your answer to three decimal places.

Chapter 7 Solutions

Discrete Mathematics and Its Applications ( 8th International Edition ) ISBN:9781260091991

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
Background pattern image
Math
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
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Discrete Mathematics and Its Applications ( 8th I...
Math
ISBN:9781259676512
Author:Kenneth H Rosen
Publisher:McGraw-Hill Education
Text book image
Mathematics for Elementary Teachers with Activiti...
Math
ISBN:9780134392790
Author:Beckmann, Sybilla
Publisher:PEARSON
Text book image
Calculus Volume 1
Math
ISBN:9781938168024
Author:Strang, Gilbert
Publisher:OpenStax College
Text book image
Thinking Mathematically (7th Edition)
Math
ISBN:9780134683713
Author:Robert F. Blitzer
Publisher:PEARSON
Text book image
Discrete Mathematics With Applications
Math
ISBN:9781337694193
Author:EPP, Susanna S.
Publisher:Cengage Learning,
Text book image
Pathways To Math Literacy (looseleaf)
Math
ISBN:9781259985607
Author:David Sobecki Professor, Brian A. Mercer
Publisher:McGraw-Hill Education
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