Ksjahcdgcfkusdhcgy 6769
Ksjahcdgcfkusdhcgy 6769
MATHS 2
STATS 2
For such content or any doubt
related these subject you msg me on
my whatsapp group
whatsapp link
Made by – Unknown
                                         Week-7
                             Mathematics for Data Science - 2
                Affine subspace, Equivalence and Similarity of the matrices,
                            Length of a vector, Inner products
                                  Graded Assignment
                                             2
3. Let ⟨., .⟩ denote the standard inner product on R2 , i.e., ⟨(x1 , x2 ), (y1 , y2 )⟩ = x1 y1 + x2 y2 .
   Which one of the following options is (are) true for the vector γ ∈ R2 , such that ⟨α, γ⟩ = 4
   and ⟨β, γ⟩ = 8, where α = (3, 1) and β = (6, 2).
          ⃝ Option 1: No such γ exists.
          ⃝ Option 2: There are infinitely many such vectors which satisfy the properties
            of γ.
          ⃝ Option 3: γ is unique in R2 .
          ⃝ Option 4: Any vector in the set {(t, 4 − 3t) | t ∈ R} satisfies the properties
            of γ.
          ⃝ Option 5: (1, 1) is the only vector which satisfies the properties of γ.
                                                  3
4. Let ⟨., .⟩ denote the standard inner product on R2 , i.e., ⟨(x1 , x2 ), (y1 , y2 )⟩ = x1 y1 + x2 y2
   and let v ∈ R2 . Consider a linear transformation Tv : R2 → R defined as:
                                                 4
5. Let L and L′ be affine subspaces of R3 , where L = (0, 1, 1) + U and L′ = (0, 1, 0) + U ′ , for
   some vector subspaces U and U ′ of R3 . Let a basis for U be given by {(1, 1, 0), (1, 0, 1)}
   and a basis for U ′ be given by {(1, 0, 0)}. Suppose there is a linear transformation
   T : U → U ′ such that (1, 0, 1) ∈ ker(T ) and T (1, 1, 0) = (1, 0, 0). An affine mapping
   f : L → L′ is obtained by defining f ((0, 1, 1) + u) = (0, 1, 0) + T (u), for all u ∈ U . Which
   of the following options are true?
          ⃝ Option 1: L = {(x, y + 1, x − y + 1) | x, y ∈ R}.
          ⃝ Option 2: L′ = {(x, y + 1, 0) | x, y ∈ R}.
          ⃝ Option 3: L = {(x − y, y + 1, x − y + 1) | x, y ∈ R}.
          ⃝ Option 4: L = {(x, x + 1, y + 1) | x, y ∈ R}.
          ⃝ Option 5: f (x, y + 1, x − y + 1) = (y, 1, 0)
          ⃝ Option 6: f (x − y, y + 1, x − y + 1) = (x, y + 1, 0)
          ⃝ Option 7: f (x, x + 1, y + 1) = (y, 1, 0)
          ⃝ Option 8: f (x, y + 1, x − y + 1) = (0, 1, y)
                                               5
  2     Numerical Answer Type (NAT)
6. Let θ be the angle between the vectors u = (4, 7, 3) and v = (1, 2, −6), then what will
   be the value of cos(θ)?                                                     [Answer: 0]
                                           6
7. Consider a basis
                        {v1 = (1, 2, 0), v2 = (2, −1, 0), v3 = (0, 0, 2)}
  of R3 with usual inner product. Suppose v = (x, y, 3x+y  5
                                                              ) ∈ V is written as v = c1 v1 +
  c2 v2 + c3 v3 , such that c1 + c2 = 4. What will be the value of c3 ?          [Answer: 2]
                                             7
8. Let V = R2 be a vector space. Consider two inner products ⟨., .⟩1 and ⟨., .⟩2 on V defined
   as
                      ⟨(x1 , y1 ), (x2 , y2 )⟩1 = x1 x2 − x1 y2 − x2 y1 + 4y1 y2
   and
                              ⟨(x1 , y1 ), (x2 , y2 )⟩2 = 3x1 x2 + 2y1 y2 .
   If ⟨(a, b), (8, 9)⟩1 = 215 and ⟨(a, b), (8, 9)⟩2 = 360, then find the value a + 2b. [Ans: 25]
                                                 8
9. Let V = R3 be the inner product space with usual inner product. If θ is the angle
   between (14, 11, 5) and (a, b, c) where 14a + 11b + 5c = 0 and (a2 + b2 + c2 ) ̸= 0, then
   find the value of cos θ.                                                          [Ans 0]
                                            9
10. Consider a vector v = (x − 11, 2, 1) ∈ R3 . Find the value of x so that the length of the
    vector v is minimum.                                                            [Ans: 11]
                                             10
                                       Week-8
                            Mathematics for Data Science - 2
              Projection, Gram-Schmidt process, Orthogonal transformation
                            Graded Assignment-Solutions
                                        ⟨., .⟩ : R3 × R3 → R
                           ⟨(x1 , x2 , x3 ), (y1 , y2 , y3 )⟩ = x1 y1 + x2 y2 + x3 y3 .
  Match the sets of vectors in column A with their properties of orthogonality or orthonor-
  mality in column B with respect to the above inner product.
b) { √12 (1, 0, −1), √12 (−1, 0, −1)} ii) Forms an orthogonal basis
      c)    {(2, 3, 4), (−1, 2, −1), (0, 4, −3)}       iii)   Orthogonal but not orthonormal,
                                                              and does not form a basis of R3
Table : M2W6G1
 a) ⟨(2, 3, 4), (−1, 2, −1)⟩ = −2 + 6 − 4 = 0 and ⟨(2, 3, 4), (2, 3, 4)⟩ ̸= 1. so the set is
    orthogonal but not orthonormal. Also, since there are only 2 vectors, it cannot
    form a basis for R3 . This matches with iii).
 b) ⟨ √12 (1, 0, −1), √12 (−1, 0, 1)⟩ = 0. Also ⟨ √12 (1, 0, −1), √12 (1, 0, −1)⟩ = 1 and
    ⟨ √12 (−1, 0, 1), √12 (−1, 0, 1)⟩ = 1. Thus these vectors are orthonormal. But this does
    not form a basis for R3 , since there are only two vectors. This matches with iv).
 c) ⟨(−1, 2, −1), (0, 4, −3)⟩ = 11 ̸= 0, so the set is not orthogonal. If we show that
    the set is linearly independent, then it forms a basis for R3 (this is because a lin-
    early independent set with number of elements equal to dim(V ) is a basis for V ).
    To show that the set is linearly independent. show that the system α(2, 3, 4) +
    β(−1, 2, −1) + γ(0, 4, −3) = 0 has only one solution α = β = γ = 0. This matches
    with i).
 d) ⟨(2, 3, 4), (−1, 2, −1)⟩ = ⟨(2, 3, 4), (11, 2, −7)⟩ = ⟨(−1, 2, −1), (11, 2, −7)⟩ = 0. So
    the set is orthogonal and hence is linearly independent. Thus it forms a basis (since
    the linearly independent set has 3(=dim(R3 )) elements). This matches with ii).
                                          2
2. Choose the set of correct options.
          ⃝ Option 1: Suppose β = {v1 , v2 , . . . , vn } is an orthogonal basis of an inner
            product space V . If there exists some v ∈ V , such that ⟨v, vi ⟩ = 0 for all
            i = 1, 2, . . . , n, then v = 0.
          ⃝ Option 2: There exists an orthonormal basis for Rn with the standard inner
            product.
          ⃝ Option 3: If PW denotes the linear transformation which projects the vec-
            tors of an inner product space V to a subspace W of V , then range(PW ) ∩
            null space(PW ) = {0}, where 0 denotes the zero vector of V .
                              
                          1 −1
          ⃝ Option 4:            cannot represent a matrix corresponding to some projec-
                          0 1
            tion.
  Solution: A linear transformation P is a projection if P 2 = P .
4. Let v ∈ R3 be a vector such that ||v|| = 5. If u is the vector obtained from v after the
   anti- clock wise rotation of XY-plane with angle 70◦ about the Z- axis, then find the
   length of the vector u.                                                         [Ans: 5]
                                                 3
5. Let v = (1, 2, 2) be a vector in R3 . If (a, b, c) is the vector obtained from v after the anti-
   clock wise rotation of YZ-plane with angle 60◦ about the X- axis, then find the value of
   a + b + c.                                                                              [Ans: 3]
                                    
                   1    0       0
   Solution: A = 0 cos(60) sin(60)  represents the rotation matrix of XY -plane with
                   0 sin(60) cos(60)
           ◦
   angle 60 about the X-axis.
                                                            
                         1    0        0       1     a          1√
                        0 cos(60) − sin(60) 2 =  b  = 1 − 3 .
                                                                 √
                         0 sin(60) cos(60)     2      c      1+ 3
   Hence a + b + c = 3.
6. Consider a vector space M2×2 (R) and a norm on the      vectorspace defined as
                                                           a    a
   ∥A∥ = max{|a11 | + |a21 |, |a12 | + |a22 |}, where A = 11 12 ∈ M2×2 (R).
                                                           a21 a22
                      √ 
                 x      2x
   Let B =                     be an orthogonal matrix i.e. BB T = B T B = I and assume
                √
             
              − 2y      y
   x, y > 0.
                                                √      √ 
                                                   3x    3x
   Then find the norm of the matrix C = √                    (i.e., ||C||)            [Ans: 2]
                                                        √
                                                   3y    3y
                                                 √               √         2        
                                            x       2x      x     − 2y         3x    0
   Solution: Note that BB T =  √                      
                                                          √
                                                                           =           . But
                                                                                       2
                                        − 2y        y       2x       y          0 3y
                                              T          2      2
                                                                             √      √
   since B is an orthogonal matrix, BB = I. So 3x = 3y = 1. Thus 3x = 3y = ±1.
   This gives ∥C∥ = max{2, 2} = 2.
7. Let V = R2 be the inner product space with usual inner product and a linear transfor-
   mation T : R2 → R2 defined as T (x, y) = ( √aa2 +4 x + √b21+1 y, √a22 +4 x + √b2b+1 y). If T is an
   orthogonal linear transformation, then find the value of a + 2b.                          [Ans: 0]
                                                  4
                         a + 2b
    Thus we get p           p          (u1 v2 +u2 v1 ) = 0. Since ⟨T u, T v⟩ = ⟨u, v⟩ is true for all
                    (a2+ 4) (b2 + 1)
                                                                                  a + 2b
    u, v, we can choose u = v = (1, 1). For this choice of u, v, we have p            p            =
                                                                             (a2 + 4) (b2 + 1)
    0. Thus a + 2b = 0.
With a particular frame of reference (in R3 ), position of a target is given as the vector
(3, 4, 5). Three shooters S1 , S2 , and S3 are moving along the lines x = y, x = −y, and
x = 2y, on the XY -plane (i.e., z = 0) to shoot the target. Suppose that, there is another
shooter S4 , who is moving on the plane x + y + z = 0. Suppose all of them shoot the target
so that the target is at the closest distance from the respective path or plane on which they
are travelling.
Answer questions 8,9 and 10 using the given information.
                                                 5
    Equation of line of motion of S3 is x = 2y (x−2y = 0). The subspace W3 = {(x, y, z)|x =
    2y, z = 0} is spanned by the vector (2, 1, 0). The projection of (3, 4, 5) onto W3 is
            1
    ⟨(2,1,0),(2,1,0)⟩
                      ⟨(3, 4, 5), (2, 1, 0)⟩(2, 1, 0) = (4, 2, 0).
 9. If (a, b, c) is the point from which the shooter S4 will shoot the target, then find the
    value of a + 2b + 3c.                                                           [Ans: 2]
    Solution: Equation of line of motion of S4 is x + y + z = 0. The subspace W4 =
    {(x, y, z)|x + y + z = 0} is spanned by the vectors (1, 0, −1) and (0, 1, −1). Using Gram
    Schmidt orthogonalization, we can get an orthonormal (orthogonal is sufficient) basis for
    W4 . {(1, 0, −1), (− 21 , 1, − 12 )} is an orthogonal basis for W4 . The projection of (3, 4, 5)
    onto W4 is
             1                                                           1
    ⟨(1,0,−1),(1,0,−1)⟩
                        ⟨(3, 4, 5), (1, 0, −1)⟩(1, 0, −1)+ ⟨(− 1 ,1,− 1 ),(− 1
                                                                               ,1,− 12 )⟩
                                                                                          ⟨(3, 4, 5), (− 21 , 1, − 12 )⟩(− 12 , 1, − 12 )
                                                               2      2      2
    = (−1, 0, 1) + (0, 0, 0) = (−1, 0, 1).
10. Let di be the distance of the target from the point where the shooter Si shoots the target,
    for i = 1,2,3,4 and let d be the minimum amongst the di . Find the value of d2 . [Ans:
    25.5]
                                                                       p
    Solution: Distanceq  between the  points   can be calculated using  (x1 − x2 )2 + (y1 − y2 )2 + (z1 − z2 )2 .
                                     q           √                √
    Thus we have d1 = 51    2
                              , d2 = 99 2
                                          , d3 = 30 and d4 = 4 3.
                                                             6
                          Statistics for Data Science - 2
                           Week 7 Graded assignment
1. Let X1 , X2 , X3 are three independent and identically distributed random variables with
   mean µ and variance σ 2 . Given below are 3 different formulations of sample mean.
   (Observe that E[A] = E[B] = E[C]).
                                    X1 + X2 + X3
                                 A=
                                          3
                                 B =0.1X1 + 0.3X2 + 0.6X3
                                 C =0.2X1 + 0.3X2 + 0.5X3
   Solution:
   Let X1 , X2 , X3 ∼ i.i.d.X, where E[X] = µ, Var(X) = σ 2
                                                      
                                         X1 + X 2 + X3
                           Var(A) =Var
                                                 3
                                    1
                                  = (Var[X1 ] + Var[X2 ] + Var[X3 ])
                                    9
                                    1         σ2
                                  = (3σ 2 ) =
                                    9         3
                                           1
2. A random sample of size 25 is collected from a normal population with mean of 50 and
   standard deviation of 5. Find the variance of the sample mean.
  Solution:
  We know that variance of the sample mean X is given by
                                                σ2
                                     Var[X] =
                                                n
                                                52
                                              =    =1
                                                25
3. A fair die is rolled 100 times. Let X denote the number of times six is obtained. Find
                                       X              1
   a bound for the probability that       differs from by less than 0.1 using weak law of
                                      100             6
   large numbers.
                5
   (a) at least
                36
                31
   (b) at least
                36
                 5
   (c) at most
                36
                31
   (d) at most
                36
  Solution:
  X denotes the number of times six is obtained on rolling a fair die 100 times.
  Let X1 , X2 , . . . , X100 be 100 i.i.d. samples such that
                                  (
                                    1 if six appears on rolling a fair die
                            Xi =
                                    0 otherwise
                1
  E[Xi ] = µ =    and
                6
                    5
  Var(Xi ) = σ 2 =
                   36
  Notice that X = X1 + X2 + X3 + . . . + X100
                                       !
                            X   1
  To find: Bound on P         −   < 0.1 .
                           100 6
                                          2
   By weak law of large numbers, we have
                                              σ2
                        P (|X − µ| < δ) ≥ 1 − 2
                                            ! nδ
                              X    1                     5
                       ⇒P        −    < 0.1 ≥ 1 −
                             100 6                36 × 100 × 0.01
                                            !
                              X    1               5    31
                       ⇒P        −    < 0.1 ≥ 1 −    =
                             100 6                36    36
   Solution:
                                    σ2  4
   E[X̄] = µ = 20 and Var[X̄] =        = = 0.8.
                                    n   5
                                            3
                                          n             
                                                     2
                                           P
                             2
                                   i=1(Xi − X̄) 
                         E[S ] =E               
                                         n      
                                       " n               #
                                   1    X
                                 = E         (Xi − X̄)2
                                   n
                                       " i=1
                                          n
                                                                   #
                                   1    X
                                 = E         (Xi2 + X̄ 2 − 2Xi X̄)
                                   n
                                       " i=1
                                          n                        n
                                                                         #
                                   1    X                         X
                                 = E         Xi2 + nX̄ 2 − 2nX̄       Xi
                                   n
                                       " i=1
                                          n
                                                                  i=1
                                                                  #
                                   1    X
                                 = E         Xi2 + nX̄ 2 − 2nX̄ 2
                                   n
                                       " i=1
                                          n
                                                         #
                                   1    X
                                 = E         Xi2 − nX̄ 2
                                   n
                                     " ni=1                    #
                                   1 X
                                 =         E[Xi2 ] − nE[X̄ 2 ]
                                   n i=1
                                     " n                    2        #
                                   1 X 2                    σ
                                 =        (σ + µ2 ) − n          + µ2
                                   n i=1                     n
                                   1
                                 = (nσ 2 + nµ2 ) − (σ 2 + nµ2 )
                                                                   
                                   n
                                   (n − 1)σ 2
                                 =
                                       n
                                       4
   Here, n = 5, therefore, E[S 2 ] =     × 4 = 3.2
                                       5
                             
                            1
5. Suppose Xi ∼ Normal 0, 2 , where i = 1, 2, . . . , 9 and X1 , X2 , . . . , X9 are indepen-
                            i
                                                                          X 9
   dent to each other. Let Y be a random variable defined as Y =               iXi . Find the
                                                                             i=1
   variance of Y .
   Answer: 9
                                               4
  Solution:
                                     9
                                                 !
                                     X
                     Var(Y ) =Var          iXi
                                     i=1
                             =Var(X1 + 2X2 + 3X3 + . . . + 9X9 )
                             =Var(X1 ) + Var(2X2 ) + . . . + Var(9X9 )
                             =Var(X1 ) + 4Var(X2 ) + . . . + 81Var(X9 )
                                                     
                               1       1                   1
                             = 2 + 4 2 + . . . + 81 2
                              1        2                  9
                             =9
                                           σ2
                         P (|X − µ| < δ) ≥ 1 −
                                          nδ 2
                                             12    73
                      ⇒P |X − µ| < 3 ≥ 1 −        =    = 0.9733
                                           50 × 9   75
7. Suppose a random sample is used to estimate the proportion of voters in a city. If the
   sample proportion is roughly 0.45, what sample size is necessary so that the standard
   deviation of the sample proportion is 0.02?
   Answer: 619
  Solution:
  Let the random variable X represents that the selected candidate is a voter.
  Let Xi be defined as
                           (
                            1, if the selected candidate is a voter
                      Xi =
                            0, otherwise
                                            5
  Define an event A as A : X = 1.
  It is given that P (A) = 0.45.
                                P (A)(1 − P (A))
  We know that Var(S(A)) =
                                       n
           r                        r
              p(1 − p)                (0.45)(0.55)
                       = 0.02 =⇒                   = 0.02 =⇒ n = 618.75 ≈ 619
                 n                         n
  Solution:
  Let the random variable X represents the life of an electronic watch.
  It is given that X ∼ Exp(1/2) and 50 such samples are taken.
  E[X] = µ = 2, Var(X) = σ 2 = 4
                                            σ2
                         P (|X − µ| < δ) ≥ 1 −
                                            nδ 2
                                               4    23
                       ⇒P |X − 2| < 1 ≥ 1 −        =    = 0.92
                                            50 × 1   25
                                          6
                           Statistics for Data Science - 2
                             Week 8 Graded assignment
                                                                        50
                                                                        P
1. Let X1 , X2 , . . . , X50 ∼ i.i.d. Poisson(0.04) and let Y =               Xi . Use Central Limit
                                                                        i=1
   theorem to find P (Y > 3). Enter the answer correct to 2 decimal places.
   Solution:
   Let X ∼ Poisson(0.04).
   Consider the samples X1 , X2 , . . . , X50 from X.
   E[X] = Var[X]
              50 =0.04                            50 
              P                                     P
   E[Y ] = E     Xi = 50 × 0.04 = 2, Var[Y ] = Var     Xi = 50 × 0.04 = 2
               i=1                                           i=1
                         P (Y > 3) = P (Y − 2 > 1)
                                                       
                                         Y −2      3−2
                                   =P     √ > √
                                             2       2
                                   = P (Z > 0.707)
                                   = 1 − FZ (0.707) = 1 − 0.76 = 0.24
                                  X      −2        −1   0    1     2
                                           1       3    3     1     7
                           P (X = x)       4       40   10   40    20
(a)
                                               1
                                X     −2        −1   0    1    2
                                        1       1    3     3    7
                         P (X = x)      4       40   10   40   20
(b)
                                X     −2        −1   0    1    2
                                        1       3    1     7    3
                         P (X = x)      4       10   40   20   40
(c)
                                X     −2        −1   0    1    2
                                        1       3    1     7    3
                         P (X = x)      4       40   40   20   10
(d)
  Solution:
  The MGF of a discrete random variable X with the PMF fX (x) = P (X = x), x ∈ TX
  is given by
                                MX (λ) = E[eλX ]
                                         X
                                       =     P (X = x)eλx
                                            x∈TX
                                X     −2        −1   0    1    2
                                        1       3    1     7    3
                         P (X = x)      4       10   40   20   40
3. A fair coin is tossed 1000 times. Use CLT to compute the probability that head appears
   at most 520 times. Enter the answer correct to 3 decimal places.
  Solution:
  Define a random variable X such that
                         (
                           1 if head appears on tossing a fair coin
                    X=
                           0 otherwise
                                            2
                         1
   Therefore, E[X] = µ = and
                         2
                  1 1   1
   Var(X) = σ 2 = . =
                  2 2   4
              0.5                    0.5
   E[Yi ] =       = 1 and Var[Yi ] =      = 2, for i : 1 → 500
              0.5                    0.25
                                               3
            250                     250
  E[Y ] =       = 500 and Var[Y ] =      = 1000
            0.5                     0.52
  Let X be a random variable having the gamma distribution with the parameters α = 2n
  and β = 1.
  Hint:
                                     α               α
    • If X ∼ Gamma(α, β), E[X] = and Var[X] = 2
                                     β               β
    • Sum of n independent Gamma(α, β) is Gamma(nα, β)
5. Use the Weak Law of Large number to find the value of n such that
                                                !
                                 X
                             P      − 1 > 0.01 < 0.01
                                 2n
   (a) 505000
   (b) 470000
   (c) 498000
   (d) 482000
  Solution:
  Given X ∼ Gamma(2n, 1)
  Let X = X1 + X2 + X3 + . . . + X2n , where Xi ∼ Gamma(1, 1).
                                         4
  E[X] = µ = 1 and Var(X) = σ 2 = 1
                           1
  E[X̄] = 1 and Var[X̄] =
                          2n
                                                       !
                                          X
  To find: The value of n such that P        − 1 > 0.01 < 0.01.
                                          2n
                                                σ2
                            P (|X − µ| > δ) ≤      2
                                                nδ
                                                 !
                                   X                           1
                          ⇒P          − 1 > 0.01       ≤
                                   2n                      2n × 0.012
                   1                       1
  Therefore,            2
                          < 0.01 =⇒ 2n >       =⇒ n > 500000.
               2n × 0.01                 0.013
   (a) 34570
   (b) 33500
   (c) 32500
   (d) 30000
  Solution:
  E[X1 + . . . + X2n ] = 2n and Var[X1 + . . . + X2n ] = 2n
                                                           !
                                           X
  To find: The value of n such that P          − 1 > 0.01 < 0.01.
                                          2n
                                          5
   Now,
                                                        !
                                            X
                                        P     − 1 > 0.01 < 0.01
                                           2n
                                                        !
                              X1 + . . . + Xn
                       =⇒ P                   − 1 > 0.01 < 0.01
                                       2n
                                                        !
                         X1 + . . . + Xn − 2n        √
                   =⇒ P           √            > 0.01 2n < 0.01
                                    2n
                                                      √
                                     =⇒ P (| Z |> 0.01 2n) < 0.01
                                                      √
                                      =⇒ 2P (Z > 0.01 2n) < 0.01
                                                      √      0.01
                                       =⇒ 1 − FZ (0.01 2n) <
                                                      √        2
                                          =⇒ FZ (0.01 2n) > 0.995
                                                      √
                                          =⇒ FZ (0.01 2n) > FZ (2.58)
                                                     =⇒ n > 33282
7. Let the time taken (in hours) for failure of an electric bulb follow the exponential distri-
   bution with the parameter 0.05. Suppose that 100 such light bulbs say L1 , L2 , . . . , L100
   are used in the following manner: For every i, as soon as the light Li fails, Li+1 be-
   comes operative, where i : 1 → 99 (i.e. If L1 fails, L2 becomes operative, if L2 fails, L3
   becomes operative, and so on). Let the total time of operation of 100 bulbs be denoted
   by T. Using CLT, compute the probability that T exceeds 2500 hours.
    (a) FZ (1.5)
    (b) 1 − FZ (1.5)
    (c) FZ (2.5)
    (d) 1 − FZ (2.5)
   Solution:
   Given, time to failure (in hours) of an electric bulb has the exponential distribution
   with the parameter λ = 0.05.
   Since, the bulbs are used in such a way, that as soon as light L1 fails, L2 becomes
   operative, L2 fails, L3 becomes operative, and so on.
   We know that if X ∼ Gamma(α, β) with parameter α = 1, then X ∼ Exp(β).
   Also, sum of n i.i.d. Exp(λ) is Gamma(n, λ).
   Since each of the Li ’s are exponentially distributed with parameter = 0.05, therefore
                   L1 + . . . + L100 ∼ Gamma(nα, β) = Gamma(100, 0.05)
                                             6
  Let T = L1 + . . . + L100
                   1                           1
  E[Li ] = µ =        = 20 and SD[Li ] = σ =      = 20
                 0.05                        0.05
  To find: P (T ≥ 2500)
  By CLT, we know that
                                    T − 100µ
                                       √     ∼ Normal(0, 1)
                                      σ n
                                      T − 2000
                                  ⇒      √     ∼ Normal(0, 1)
                                       20 100
  Now,
8. Suppose speeds of vehicles on a particular road are normally distributed with mean 36
   mph and standard deviation 2 mph. Find the probability that the mean speed X of
   20 randomly selected vehicles is between 35 and 38 mph.
            √          √
    (a) FZ ( 5) − FZ (− 5)
            √           √
    (b) FZ ( 20) − FZ (− 20)
            √           √
    (c) FZ ( 38) − FZ (− 35)
            √           √
    (d) FZ ( 20) − FZ (− 5)
  Solution:
  Let X denote the speed of a vehicle on a particular road.
  Given that X ∼ Normal(36, 22 ).
  Therefore, µ = 36 and σ = 2
   Select X1 , X2 , . . . X20 samples such that X1 , X2 , . . . X20 ∼ iid X
              X1 + X2 + . . . + X20
   Let X =                          and S = X1 + X2 + . . . + X20
                      20
                                               7
           X1 + X2 . . . + Xn − nE[X]
                       √               ∼ Normal(0, 1)
                          nσ
           S − nµ
         ⇒ √       ∼ Normal(0, 1)
               nσ
           (S − 36(20))
         ⇒      √         ∼ Normal(0, 1)
              (2 20)
Now,
                                S
       P (35 < X < 38) = P (35 <    < 38)
                                20
                                 S
                      = P (−1 <     − 36 < 2)
                                 20
                                 S − 36(20)
                      = P (−1 <             < 2)
                             √       20
                           − 20      S − 36(20) √
                      = P(        <     √      < 20)
                             2         2 20
                            √      S − 36(20) √
                      = P (− 5 <       √      < 20)
                                      2 20
                            √             √
                      = FZ ( 20) − FZ (− 5)