SlideShare a Scribd company logo
Solution
Week 62 (11/17/03)
Leftover dental floss
Let (x, y) denote the occurrence where x segments have been cut off the left roll,
and y segments have been cut off the right roll. In solving this problem, we’ll need
to first calculate the probability that the process ends at (N, n), which leaves a
length (N − n)d on the right roll. For this to happen, the process must first get to
(N −1, n), and then the left roll must be chosen for the last segment. The probability
of reaching the point (N − 1, n) is
PN−1,n =
1
2N−1+n
N − 1 + n
n
, (1)
because the binomial coefficient gives the number of different ways the N − 1 + n
choices of roll (each of which occurs with probability 1/2) can to end up at the point
(N − 1, n). The probability of then choosing the left roll for the next piece is 1/2.
Therefore, the probability of ending the process at (N, n) is
Pend
N,n =
1
2N+n
N − 1 + n
n
. (2)
The leftover length in this case is (N −n)d, so we see that the average leftover length
at the end of the process is
= 2d
N−1
n=0
(N − n)Pend
N,n
= 2d
N−1
n=0
N − n
2N+n
N − 1 + n
n
, (3)
where the factor of 2 out front comes from the fact that either roll may be the one
that runs out.
In order to simplify this result, we will use the standard result that for large N,
a binomial coefficient can be approximated by a Gaussian function. From Problem
of the Week 58, we have, for large N and x N,
2M
M − x
≈
22M
√
πM
e−x2/M
. (4)
To make use of this, we’ll first need to rewrite eq. (3) as
= 2d
N−1
n=0
N − n
2N+n
N
N + n
N + n
n
= 2d
N
z=1
z
22N−z
N
2N − z
2N − z
N − z
(with z ≡ N − n)
= 2d
N
z=1
z
22N−z
N
2N − z
2(N − z/2)
(N − z/2) − z/2
. (5)
1
Using eq. (4) to rewrite the binomial coefficient gives (with M ≡ N − z/2, and
x ≡ z/2)
≈ 2d
N
z=1
Nz
2N − z
e−z2/4(N−z/2)
π(N − z/2)
≈
d
√
πN
N
z=0
ze−z2/(4N)
≈
d
√
πN
∞
0
ze−z2/(4N)
dz
= 2d
N
π
. (6)
In obtaining the second line above, we have kept only the terms of leading order
in N. The exponential factor guarantees that only z values up to order
√
N will
contribute. Hence, z is negligible when added to N.
Without doing all the calculations, it’s a good bet that the answer should go like√
N d, but it takes some effort to show that the exact coefficient is 2/
√
π.
In terms of the initial length of floss, L ≡ Nd, the average leftover amount can
be written as ≈ (2/
√
π)
√
Ld. So we see that is proportional to the geometric
mean of L and d.
2

More Related Content

What's hot

Atividade de força elétrica
Atividade de força elétricaAtividade de força elétrica
Atividade de força elétrica
viriginia
 
第二次作業
第二次作業第二次作業
第二次作業
Kuan-Lun Wang
 
On Solving Covering Problems
On Solving Covering ProblemsOn Solving Covering Problems
On Solving Covering Problems
Olivier Coudert
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
Er Ashish Bansode
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 
Derivatives
DerivativesDerivatives
Derivatives
gregorblanco
 
Computing DFT using Matrix method
Computing DFT using Matrix methodComputing DFT using Matrix method
Computing DFT using Matrix method
Sarang Joshi
 
Section4 stochastic
Section4 stochasticSection4 stochastic
Section4 stochastic
cairo university
 
Core 2 differentiation
Core 2 differentiationCore 2 differentiation
Core 2 differentiation
JJkedst
 
MET 304 Welded joints example-3-solution
MET 304 Welded joints example-3-solutionMET 304 Welded joints example-3-solution
MET 304 Welded joints example-3-solutionhotman1991
 
Toukei ~20210605
Toukei ~20210605Toukei ~20210605
Toukei ~20210605
RyuichiSeto
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular Convolution
Sarang Joshi
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research
2013901097
 
factoring trinomials
factoring trinomialsfactoring trinomials
factoring trinomialsguest566e66ae
 
Quadratic equations
Quadratic equationsQuadratic equations
Quadratic equationsestelav
 

What's hot (18)

Atividade de força elétrica
Atividade de força elétricaAtividade de força elétrica
Atividade de força elétrica
 
第二次作業
第二次作業第二次作業
第二次作業
 
On Solving Covering Problems
On Solving Covering ProblemsOn Solving Covering Problems
On Solving Covering Problems
 
LINEAR PROGRAMMING
LINEAR PROGRAMMINGLINEAR PROGRAMMING
LINEAR PROGRAMMING
 
Operations Research - The Big M Method
Operations Research - The Big M MethodOperations Research - The Big M Method
Operations Research - The Big M Method
 
Derivatives
DerivativesDerivatives
Derivatives
 
Computing DFT using Matrix method
Computing DFT using Matrix methodComputing DFT using Matrix method
Computing DFT using Matrix method
 
Section4 stochastic
Section4 stochasticSection4 stochastic
Section4 stochastic
 
Core 2 differentiation
Core 2 differentiationCore 2 differentiation
Core 2 differentiation
 
MET 304 Welded joints example-3-solution
MET 304 Welded joints example-3-solutionMET 304 Welded joints example-3-solution
MET 304 Welded joints example-3-solution
 
Artificial variable technique big m method (1)
Artificial variable technique big m method (1)Artificial variable technique big m method (1)
Artificial variable technique big m method (1)
 
Toukei ~20210605
Toukei ~20210605Toukei ~20210605
Toukei ~20210605
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular Convolution
 
Sol83
Sol83Sol83
Sol83
 
The Big M Method - Operation Research
The Big M Method - Operation ResearchThe Big M Method - Operation Research
The Big M Method - Operation Research
 
factoring trinomials
factoring trinomialsfactoring trinomials
factoring trinomials
 
Ch02 2
Ch02 2Ch02 2
Ch02 2
 
Quadratic equations
Quadratic equationsQuadratic equations
Quadratic equations
 

Viewers also liked

Fisica
FisicaFisica
Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...
Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...
Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...
NCVO - National Council for Voluntary Organisations
 
resume_A Busel 3_23_15
resume_A Busel 3_23_15resume_A Busel 3_23_15
resume_A Busel 3_23_15Alex Busel
 
Tugas matematika 1 (semester 2) @Polman Babel
Tugas matematika 1 (semester 2) @Polman BabelTugas matematika 1 (semester 2) @Polman Babel
Tugas matematika 1 (semester 2) @Polman Babel
mizhaphisari
 

Viewers also liked (20)

Sol56
Sol56Sol56
Sol56
 
Sol65
Sol65Sol65
Sol65
 
Sol44
Sol44Sol44
Sol44
 
Fisica
FisicaFisica
Fisica
 
Sol40
Sol40Sol40
Sol40
 
Sol42
Sol42Sol42
Sol42
 
Sol64
Sol64Sol64
Sol64
 
Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...
Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...
Learn and Share event 25th February 2015 NCVO volunteering in care homes proj...
 
Criminalistica
CriminalisticaCriminalistica
Criminalistica
 
Sol58
Sol58Sol58
Sol58
 
Sol54
Sol54Sol54
Sol54
 
resume_A Busel 3_23_15
resume_A Busel 3_23_15resume_A Busel 3_23_15
resume_A Busel 3_23_15
 
Tugas matematika 1 (semester 2) @Polman Babel
Tugas matematika 1 (semester 2) @Polman BabelTugas matematika 1 (semester 2) @Polman Babel
Tugas matematika 1 (semester 2) @Polman Babel
 
Sol43
Sol43Sol43
Sol43
 
Sol47
Sol47Sol47
Sol47
 
Sol52
Sol52Sol52
Sol52
 
Sol41
Sol41Sol41
Sol41
 
Cert82093621427
Cert82093621427Cert82093621427
Cert82093621427
 
Green Dentistry
Green DentistryGreen Dentistry
Green Dentistry
 
Sol60
Sol60Sol60
Sol60
 

Similar to Sol62

Bayes gauss
Bayes gaussBayes gauss
numerical.ppt
numerical.pptnumerical.ppt
numerical.ppt
SuyashPatil72
 
NUMERICAL METHODS
NUMERICAL METHODSNUMERICAL METHODS
NUMERICAL METHODS
mathematicssac
 
Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
nmahi96
 
Advanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfAdvanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdf
Whitney Anderson
 
Hypothesis of Riemann's (Comprehensive Analysis)
 Hypothesis of Riemann's (Comprehensive Analysis) Hypothesis of Riemann's (Comprehensive Analysis)
Hypothesis of Riemann's (Comprehensive Analysis)
nikos mantzakouras
 
E041046051
E041046051E041046051
E041046051
inventy
 
Maths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K MukhopadhyayMaths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K Mukhopadhyay
Dr. Asish K Mukhopadhyay
 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
Christos Loizos
 
How good are interior point methods? Klee–Minty cubes tighten iteration-compl...
How good are interior point methods? Klee–Minty cubes tighten iteration-compl...How good are interior point methods? Klee–Minty cubes tighten iteration-compl...
How good are interior point methods? Klee–Minty cubes tighten iteration-compl...
SSA KPI
 
Temp kgrindlerverthree
Temp kgrindlerverthreeTemp kgrindlerverthree
Temp kgrindlerverthree
foxtrot jp R
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
OlooPundit
 
Three Different Algorithms for GeneratingUniformly Distribut.docx
Three Different Algorithms for GeneratingUniformly Distribut.docxThree Different Algorithms for GeneratingUniformly Distribut.docx
Three Different Algorithms for GeneratingUniformly Distribut.docx
herthalearmont
 
Daa chapter 2
Daa chapter 2Daa chapter 2
Daa chapter 2
B.Kirron Reddi
 
Statistical Method In Economics
Statistical Method In EconomicsStatistical Method In Economics
Statistical Method In Economics
Economics Homework Helper
 

Similar to Sol62 (20)

Bayes gauss
Bayes gaussBayes gauss
Bayes gauss
 
Sol68
Sol68Sol68
Sol68
 
Sol68
Sol68Sol68
Sol68
 
numerical.ppt
numerical.pptnumerical.ppt
numerical.ppt
 
Fluids_Final
Fluids_FinalFluids_Final
Fluids_Final
 
NUMERICAL METHODS
NUMERICAL METHODSNUMERICAL METHODS
NUMERICAL METHODS
 
Matlab lab manual
Matlab lab manualMatlab lab manual
Matlab lab manual
 
Advanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdfAdvanced Engineering Mathematics Solutions Manual.pdf
Advanced Engineering Mathematics Solutions Manual.pdf
 
Hypothesis of Riemann's (Comprehensive Analysis)
 Hypothesis of Riemann's (Comprehensive Analysis) Hypothesis of Riemann's (Comprehensive Analysis)
Hypothesis of Riemann's (Comprehensive Analysis)
 
E041046051
E041046051E041046051
E041046051
 
Maths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K MukhopadhyayMaths iii quick review by Dr Asish K Mukhopadhyay
Maths iii quick review by Dr Asish K Mukhopadhyay
 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
 
How good are interior point methods? Klee–Minty cubes tighten iteration-compl...
How good are interior point methods? Klee–Minty cubes tighten iteration-compl...How good are interior point methods? Klee–Minty cubes tighten iteration-compl...
How good are interior point methods? Klee–Minty cubes tighten iteration-compl...
 
Temp kgrindlerverthree
Temp kgrindlerverthreeTemp kgrindlerverthree
Temp kgrindlerverthree
 
Sol10
Sol10Sol10
Sol10
 
Sol10
Sol10Sol10
Sol10
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
Three Different Algorithms for GeneratingUniformly Distribut.docx
Three Different Algorithms for GeneratingUniformly Distribut.docxThree Different Algorithms for GeneratingUniformly Distribut.docx
Three Different Algorithms for GeneratingUniformly Distribut.docx
 
Daa chapter 2
Daa chapter 2Daa chapter 2
Daa chapter 2
 
Statistical Method In Economics
Statistical Method In EconomicsStatistical Method In Economics
Statistical Method In Economics
 

More from eli priyatna laidan

Up ppg daljab latihan soal-pgsd-set-2
Up ppg daljab latihan soal-pgsd-set-2Up ppg daljab latihan soal-pgsd-set-2
Up ppg daljab latihan soal-pgsd-set-2
eli priyatna laidan
 
Soal utn plus kunci gurusd.net
Soal utn plus kunci gurusd.netSoal utn plus kunci gurusd.net
Soal utn plus kunci gurusd.net
eli priyatna laidan
 
Soal up sosial kepribadian pendidik 5
Soal up sosial kepribadian pendidik 5Soal up sosial kepribadian pendidik 5
Soal up sosial kepribadian pendidik 5
eli priyatna laidan
 
Soal up sosial kepribadian pendidik 4
Soal up sosial kepribadian pendidik 4Soal up sosial kepribadian pendidik 4
Soal up sosial kepribadian pendidik 4
eli priyatna laidan
 
Soal up sosial kepribadian pendidik 3
Soal up sosial kepribadian pendidik 3Soal up sosial kepribadian pendidik 3
Soal up sosial kepribadian pendidik 3
eli priyatna laidan
 
Soal up sosial kepribadian pendidik 2
Soal up sosial kepribadian pendidik 2Soal up sosial kepribadian pendidik 2
Soal up sosial kepribadian pendidik 2
eli priyatna laidan
 
Soal up sosial kepribadian pendidik 1
Soal up sosial kepribadian pendidik 1Soal up sosial kepribadian pendidik 1
Soal up sosial kepribadian pendidik 1
eli priyatna laidan
 
Soal up akmal
Soal up akmalSoal up akmal
Soal up akmal
eli priyatna laidan
 
Soal tkp serta kunci jawabannya
Soal tkp serta kunci jawabannyaSoal tkp serta kunci jawabannya
Soal tkp serta kunci jawabannya
eli priyatna laidan
 
Soal tes wawasan kebangsaan
Soal tes wawasan kebangsaanSoal tes wawasan kebangsaan
Soal tes wawasan kebangsaan
eli priyatna laidan
 
Soal sospri ukm ulang i 2017 1 (1)
Soal sospri ukm ulang i 2017 1 (1)Soal sospri ukm ulang i 2017 1 (1)
Soal sospri ukm ulang i 2017 1 (1)
eli priyatna laidan
 
Soal perkembangan kognitif peserta didik
Soal perkembangan kognitif peserta didikSoal perkembangan kognitif peserta didik
Soal perkembangan kognitif peserta didik
eli priyatna laidan
 
Soal latihan utn pedagogik plpg 2017
Soal latihan utn pedagogik plpg 2017Soal latihan utn pedagogik plpg 2017
Soal latihan utn pedagogik plpg 2017
eli priyatna laidan
 
Rekap soal kompetensi pedagogi
Rekap soal kompetensi pedagogiRekap soal kompetensi pedagogi
Rekap soal kompetensi pedagogi
eli priyatna laidan
 
Bank soal pedagogik terbaru 175 soal-v2
Bank soal pedagogik terbaru 175 soal-v2Bank soal pedagogik terbaru 175 soal-v2
Bank soal pedagogik terbaru 175 soal-v2
eli priyatna laidan
 
Bank soal ppg
Bank soal ppgBank soal ppg
Bank soal ppg
eli priyatna laidan
 
Soal cpns-paket-17
Soal cpns-paket-17Soal cpns-paket-17
Soal cpns-paket-17
eli priyatna laidan
 
Soal cpns-paket-14
Soal cpns-paket-14Soal cpns-paket-14
Soal cpns-paket-14
eli priyatna laidan
 
Soal cpns-paket-13
Soal cpns-paket-13Soal cpns-paket-13
Soal cpns-paket-13
eli priyatna laidan
 
Soal cpns-paket-12
Soal cpns-paket-12Soal cpns-paket-12
Soal cpns-paket-12
eli priyatna laidan
 

More from eli priyatna laidan (20)

Up ppg daljab latihan soal-pgsd-set-2
Up ppg daljab latihan soal-pgsd-set-2Up ppg daljab latihan soal-pgsd-set-2
Up ppg daljab latihan soal-pgsd-set-2
 
Soal utn plus kunci gurusd.net
Soal utn plus kunci gurusd.netSoal utn plus kunci gurusd.net
Soal utn plus kunci gurusd.net
 
Soal up sosial kepribadian pendidik 5
Soal up sosial kepribadian pendidik 5Soal up sosial kepribadian pendidik 5
Soal up sosial kepribadian pendidik 5
 
Soal up sosial kepribadian pendidik 4
Soal up sosial kepribadian pendidik 4Soal up sosial kepribadian pendidik 4
Soal up sosial kepribadian pendidik 4
 
Soal up sosial kepribadian pendidik 3
Soal up sosial kepribadian pendidik 3Soal up sosial kepribadian pendidik 3
Soal up sosial kepribadian pendidik 3
 
Soal up sosial kepribadian pendidik 2
Soal up sosial kepribadian pendidik 2Soal up sosial kepribadian pendidik 2
Soal up sosial kepribadian pendidik 2
 
Soal up sosial kepribadian pendidik 1
Soal up sosial kepribadian pendidik 1Soal up sosial kepribadian pendidik 1
Soal up sosial kepribadian pendidik 1
 
Soal up akmal
Soal up akmalSoal up akmal
Soal up akmal
 
Soal tkp serta kunci jawabannya
Soal tkp serta kunci jawabannyaSoal tkp serta kunci jawabannya
Soal tkp serta kunci jawabannya
 
Soal tes wawasan kebangsaan
Soal tes wawasan kebangsaanSoal tes wawasan kebangsaan
Soal tes wawasan kebangsaan
 
Soal sospri ukm ulang i 2017 1 (1)
Soal sospri ukm ulang i 2017 1 (1)Soal sospri ukm ulang i 2017 1 (1)
Soal sospri ukm ulang i 2017 1 (1)
 
Soal perkembangan kognitif peserta didik
Soal perkembangan kognitif peserta didikSoal perkembangan kognitif peserta didik
Soal perkembangan kognitif peserta didik
 
Soal latihan utn pedagogik plpg 2017
Soal latihan utn pedagogik plpg 2017Soal latihan utn pedagogik plpg 2017
Soal latihan utn pedagogik plpg 2017
 
Rekap soal kompetensi pedagogi
Rekap soal kompetensi pedagogiRekap soal kompetensi pedagogi
Rekap soal kompetensi pedagogi
 
Bank soal pedagogik terbaru 175 soal-v2
Bank soal pedagogik terbaru 175 soal-v2Bank soal pedagogik terbaru 175 soal-v2
Bank soal pedagogik terbaru 175 soal-v2
 
Bank soal ppg
Bank soal ppgBank soal ppg
Bank soal ppg
 
Soal cpns-paket-17
Soal cpns-paket-17Soal cpns-paket-17
Soal cpns-paket-17
 
Soal cpns-paket-14
Soal cpns-paket-14Soal cpns-paket-14
Soal cpns-paket-14
 
Soal cpns-paket-13
Soal cpns-paket-13Soal cpns-paket-13
Soal cpns-paket-13
 
Soal cpns-paket-12
Soal cpns-paket-12Soal cpns-paket-12
Soal cpns-paket-12
 

Sol62

  • 1. Solution Week 62 (11/17/03) Leftover dental floss Let (x, y) denote the occurrence where x segments have been cut off the left roll, and y segments have been cut off the right roll. In solving this problem, we’ll need to first calculate the probability that the process ends at (N, n), which leaves a length (N − n)d on the right roll. For this to happen, the process must first get to (N −1, n), and then the left roll must be chosen for the last segment. The probability of reaching the point (N − 1, n) is PN−1,n = 1 2N−1+n N − 1 + n n , (1) because the binomial coefficient gives the number of different ways the N − 1 + n choices of roll (each of which occurs with probability 1/2) can to end up at the point (N − 1, n). The probability of then choosing the left roll for the next piece is 1/2. Therefore, the probability of ending the process at (N, n) is Pend N,n = 1 2N+n N − 1 + n n . (2) The leftover length in this case is (N −n)d, so we see that the average leftover length at the end of the process is = 2d N−1 n=0 (N − n)Pend N,n = 2d N−1 n=0 N − n 2N+n N − 1 + n n , (3) where the factor of 2 out front comes from the fact that either roll may be the one that runs out. In order to simplify this result, we will use the standard result that for large N, a binomial coefficient can be approximated by a Gaussian function. From Problem of the Week 58, we have, for large N and x N, 2M M − x ≈ 22M √ πM e−x2/M . (4) To make use of this, we’ll first need to rewrite eq. (3) as = 2d N−1 n=0 N − n 2N+n N N + n N + n n = 2d N z=1 z 22N−z N 2N − z 2N − z N − z (with z ≡ N − n) = 2d N z=1 z 22N−z N 2N − z 2(N − z/2) (N − z/2) − z/2 . (5) 1
  • 2. Using eq. (4) to rewrite the binomial coefficient gives (with M ≡ N − z/2, and x ≡ z/2) ≈ 2d N z=1 Nz 2N − z e−z2/4(N−z/2) π(N − z/2) ≈ d √ πN N z=0 ze−z2/(4N) ≈ d √ πN ∞ 0 ze−z2/(4N) dz = 2d N π . (6) In obtaining the second line above, we have kept only the terms of leading order in N. The exponential factor guarantees that only z values up to order √ N will contribute. Hence, z is negligible when added to N. Without doing all the calculations, it’s a good bet that the answer should go like√ N d, but it takes some effort to show that the exact coefficient is 2/ √ π. In terms of the initial length of floss, L ≡ Nd, the average leftover amount can be written as ≈ (2/ √ π) √ Ld. So we see that is proportional to the geometric mean of L and d. 2