<?xml version="1.0" encoding="iso-8859-1" ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" > 
<?xml-stylesheet type="text/css" href="489f10h5.css"?> 
<html  
xmlns="http://www.w3.org/1999/xhtml"  
><head><title>Math489/889
Stochastic Processes and
Advanced Mathematical Finance
Homework 5 </title> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> 
<!-- xhtml,mozilla --> 
<meta name="src" content="489f10h5.tex" /> 
<meta name="date" content="2010-09-28 21:30:00" /> 
<link rel="stylesheet" type="text/css" href="489f10h5.css" /> 
</head><body 
>
   <div class="maketitle">
                                                                          

                                                                          
                                                                          

                                                                          

<h2 class="titleHead">Math489/889<br />
Stochastic Processes and<br />
Advanced Mathematical Finance<br />
Homework 5 </h2>
<div class="author" ><span 
class="cmr-12x-x-120">Steve Dunbar</span></div><br />
<div class="date" ><span 
class="cmr-12x-x-120">Due Wed, October 6, 2010</span></div>
   </div>
      <ol  class="enumerate1" >
      <li 
  class="enumerate" id="x1-3x1">Use  a  fair  coin,  say  a  penny,  to  play  a  simple  coin-flipping  game,
      as described throughout the chapter. Use the chart in the section to
      record the outcomes of the game. Save your chart as you will use this
      random record several times later in the course to test and illustrate
      some of the theorems. Each &#x201C;gambler&#x201D; flips the coin, and records a
      <!--l. 25--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mo 
class="MathClass-bin">+</mo><mn>1</mn></mrow></math>
      (gains $1) if the coin comes up &#x201C;Heads&#x201D; and records <!--l. 26--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mo 
class="MathClass-bin">&#x2212;</mo><mn>1</mn></mrow></math>
      (loses $1) if the coin comes up &#x201C;Tails&#x201D;. On the chart, the player records
      the outcome of each flip by recording the flip number, the outcome as
      &#x201C;H&#x201D; or &#x201C;T&#x201D; and keeps track of the cumulative fortune of the gambler so
      far. It is best to keep these records in a neat chart, since we will refer to
      them later. Each &#x201C;gambler&#x201D; should record <!--l. 31--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mn>1</mn><mn>0</mn><mn>0</mn></mrow></math>
      flips, which takes about 10 to 20 minutes.
      <!--l. 34--><p class="noindent" >For the homework, to turn in:
                                                                          

                                                                          
           </p><ol  class="enumerate2" >
           <li 
  class="enumerate" id="x1-5x1">Record the total number of heads, the total number of tails, and
           the difference of the number of heads and tails.
           </li>
           <li 
  class="enumerate" id="x1-7x2">Record whether the coin flip game reached &#x201C;victory&#x201D; <!--l. 40--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mo 
class="MathClass-bin">+</mo><mn>1</mn><mn>0</mn></mrow></math>
           before reaching <!--l. 41--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mo 
class="MathClass-bin">&#x2212;</mo><mn>1</mn><mn>0</mn></mrow></math>,
           or &#x201C;ruin&#x201D; or conversely reached ruin before reaching &#x201C;victory&#x201D;, or
           reached neither in <!--l. 43--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mn>1</mn><mn>0</mn><mn>0</mn></mrow></math>
           flips.
           </li>
           <li 
  class="enumerate" id="x1-9x3">Record the number of flips to first reach either <!--l. 44--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mo 
class="MathClass-bin">+</mo><mn>1</mn><mn>0</mn></mrow></math>
           or <!--l. 45--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mo 
class="MathClass-bin">&#x2212;</mo><mn>1</mn><mn>0</mn></mrow></math>
           or state that the game reached neither.
           </li>
           <li 
  class="enumerate" id="x1-11x4">Record the total number of flips out of 100, i.e the total time, that
           the number of Heads exceeded the number of Tails.</li></ol>
      </li>
      <li 
  class="enumerate" id="x1-13x2">
           <ol  class="enumerate2" >
           <li 
  class="enumerate" id="x1-15x1">For <!--l. 54--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>T</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
> <mo 
class="MathClass-rel">=</mo> <mn>1</mn><mn>0</mn></math>
           and <!--l. 54--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>a</mi> <mo 
class="MathClass-rel">=</mo> <mn>2</mn><mn>0</mn></math>,
           draw a graph of the probability of ruin as a function of the probability
           <!--l. 55--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>q</mi></math>.
           </li>
           <li 
  class="enumerate" id="x1-17x2">For <!--l. 58--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>a</mi> <mo 
class="MathClass-rel">=</mo> <mn>2</mn><mn>0</mn></math>
           and <!--l. 58--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn><mo 
class="MathClass-punc">.</mo><mn>5</mn><mn>5</mn></math>
           draw a graph of the probability ruin as a function of <!--l. 59--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>T</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>.
           </li>
           <li 
  class="enumerate" id="x1-19x3">For <!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>a</mi> <mo 
class="MathClass-rel">=</mo> <mn>2</mn><mn>0</mn></math>
           and <!--l. 61--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn><mo 
class="MathClass-punc">.</mo><mn>4</mn><mn>5</mn></math>
           draw a graph of the probability of ruin as a function of <!--l. 62--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><msub><mrow 
><mi 
>T</mi></mrow><mrow 
><mn>0</mn></mrow></msub 
></math>.</li></ol>
      </li>
      <li 
  class="enumerate" id="x1-21x3">A gambler starts with $2 and wants to win $2 more to get to a total of $4
      before being ruined by losing all his money. He plays a coin-flipping game,
      with a coin that changes with his fortune.
                                                                          

                                                                          
           <ol  class="enumerate2" >
           <li 
  class="enumerate" id="x1-23x1">If the gambler has $2 he plays with a coin that gives probability
           <!--l. 73--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>p</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>2</mn></math>
           of winning a dollar and probability <!--l. 74--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>2</mn></math>
           of losing a dollar.
           </li>
           <li 
  class="enumerate" id="x1-25x2">If the gambler has $3 he plays with a coin that gives probability
           <!--l. 77--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>p</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>4</mn></math>
           of winning a dollar and probability <!--l. 78--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>3</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>4</mn></math>
           of losing a dollar.
           </li>
           <li 
  class="enumerate" id="x1-27x3">If the gambler has $1 he plays with a coin that gives probability
           <!--l. 81--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>p</mi> <mo 
class="MathClass-rel">=</mo> <mn>3</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>4</mn></math>
           of winning a dollar and probability <!--l. 82--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn><mo 
class="MathClass-bin">&#x2215;</mo><mn>4</mn></math>
           of losing a dollar.</li></ol>
      <!--l. 84--><p class="noindent" >Use &#x201C;first step analysis&#x201D; to write three equations in three unknowns (with
      two additional boundary conditions) that give the probability that
      the gambler will be ruined. Solve the equations to find the ruin
      probability.
      </p></li>
      <li 
  class="enumerate" id="x1-29x4">A gambler plays a coin flipping game in which the probability of winning on a flip
      is <!--l. 91--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mi 
>p</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn><mo 
class="MathClass-punc">.</mo><mn>4</mn></mrow></math>
      and the probability of losing on a flip is
      <!--l. 92--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mi 
>q</mi> <mo 
class="MathClass-rel">=</mo> <mn>1</mn> <mo 
class="MathClass-bin">&#x2212;</mo> <mi 
>p</mi> <mo 
class="MathClass-rel">=</mo> <mn>0</mn><mo 
class="MathClass-punc">.</mo><mn>6</mn></mrow></math>.
      The gambler wants to reach the victory level of $16 before being ruined with
      a fortune of $0. The gambler starts with $8, bets $2 on each flip when the
      fortune is $6,$8,$10 and bets $4 when the fortune is $4 or $12 Compute the
      probability of ruin in this game.
      </li>
      <li 
  class="enumerate" id="x1-31x5">Use the ruin probability notation to show that in a random walk
      starting at the origin the probability of reaching the point
      <!--l. 101--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mi 
>a</mi> <mo 
class="MathClass-rel">&#x003E;</mo> <mn>0</mn></mrow></math>
      before the random walk returns to the origin is
      <!--l. 101--><math 
 xmlns="http://www.w3.org/1998/Math/MathML" display="inline" ><mrow 
><mi 
>p</mi><mrow ><mo 
class="MathClass-open">(</mo><mrow><mn>1</mn> <mo 
class="MathClass-bin">&#x2212;</mo> <msub><mrow 
><mi 
>q</mi></mrow><mrow 
><mn>1</mn></mrow></msub 
></mrow><mo 
class="MathClass-close">)</mo></mrow></mrow></math>.</li></ol>
    
</body> 
</html> 

                                                                          



