MATH Solutions to Probability Exercises

Similar documents
Math 151. Rumbos Fall Solutions to Review Problems for Exam 2. Pr(X = 1) = ) = Pr(X = 2) = Pr(X = 3) = p X. (k) =

Arkansas Tech University MATH 3513: Applied Statistics I Dr. Marcel B. Finan

EXAM. Exam #1. Math 3342 Summer II, July 21, 2000 ANSWERS

Bell-shaped curves, variance

Random Variables. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

Puzzle 1 Puzzle 2 Puzzle 3 Puzzle 4 Puzzle 5 /10 /10 /10 /10 /10

Math 122L. Additional Homework Problems. Prepared by Sarah Schott

MATH115. Indeterminate Forms and Improper Integrals. Paolo Lorenzo Bautista. June 24, De La Salle University

Lecture 8: Continuous random variables, expectation and variance

MATH 3510: PROBABILITY AND STATS July 1, 2011 FINAL EXAM

Random variables (discrete)

Summary of basic probability theory Math 218, Mathematical Statistics D Joyce, Spring 2016

Topic 4: Continuous random variables

Name: Firas Rassoul-Agha

Math 21B - Homework Set 8

Statistics and Econometrics I

Topic 4: Continuous random variables

6.041/6.431 Fall 2010 Quiz 2 Solutions

1 INFO Sep 05

Probability concepts. Math 10A. October 33, 2017

Math 106: Review for Exam II - SOLUTIONS

More on Distribution Function

Course: ESO-209 Home Work: 1 Instructor: Debasis Kundu

Exercises with solutions (Set D)

MATH Notebook 5 Fall 2018/2019

Math 106 Fall 2014 Exam 2.1 October 31, ln(x) x 3 dx = 1. 2 x 2 ln(x) + = 1 2 x 2 ln(x) + 1. = 1 2 x 2 ln(x) 1 4 x 2 + C

Test 2 - Answer Key Version A

Math 105 Course Outline

Chapter 7: Techniques of Integration

Random Variables. Random variables. A numerically valued map X of an outcome ω from a sample space Ω to the real line R

Continuous Random Variables

Probability theory for Networks (Part 1) CS 249B: Science of Networks Week 02: Monday, 02/04/08 Daniel Bilar Wellesley College Spring 2008

Math 106: Review for Exam II - SOLUTIONS

Integration by Parts

Review of Probability. CS1538: Introduction to Simulations

Chapter 2. Random Variable. Define single random variables in terms of their PDF and CDF, and calculate moments such as the mean and variance.

18.440: Lecture 19 Normal random variables

Fundamental Tools - Probability Theory II

Distributions of Functions of Random Variables. 5.1 Functions of One Random Variable

Outline PMF, CDF and PDF Mean, Variance and Percentiles Some Common Distributions. Week 5 Random Variables and Their Distributions

Recitation 2: Probability

Single Maths B: Introduction to Probability

Random Variables. Statistics 110. Summer Copyright c 2006 by Mark E. Irwin

Section 5.6. Integration By Parts. MATH 126 (Section 5.6) Integration By Parts The University of Kansas 1 / 10

Probability and random variables

EE514A Information Theory I Fall 2013

Lesson Objectives: we will learn:

Twelfth Problem Assignment

Algorithms for Uncertainty Quantification

Topic 3: The Expectation of a Random Variable

Part IA Probability. Definitions. Based on lectures by R. Weber Notes taken by Dexter Chua. Lent 2015

Section 7.4 #1, 5, 6, 8, 12, 13, 44, 53; Section 7.5 #7, 10, 11, 20, 22; Section 7.7 #1, 4, 10, 15, 22, 44

Lecture Notes 3 Convergence (Chapter 5)

8 Laws of large numbers

Econ 113. Lecture Module 2

Mu Sequences and Series Topic Test Solutions FAMAT State Convention 2018

STAT2201. Analysis of Engineering & Scientific Data. Unit 3

STAT 430/510 Probability Lecture 7: Random Variable and Expectation

Probability Distributions

1 Solution to Problem 2.1

Math 162: Calculus IIA

Statistics 100A Homework 5 Solutions

MATH1120 Calculus II Solution to Supplementary Exercises on Improper Integrals Alex Fok November 2, 2013

Random Variables and Expectations

18.440: Lecture 26 Conditional expectation

Practice Questions for Final

Expectation, Variance and Standard Deviation for Continuous Random Variables Class 6, Jeremy Orloff and Jonathan Bloom

MATH 1242 FINAL EXAM Spring,

A brief review of basics of probabilities

Math 151. Rumbos Spring Solutions to Review Problems for Exam 3

Math 181, Exam 2, Study Guide 2 Problem 1 Solution. 1 + dx. 1 + (cos x)2 dx. 1 + cos2 xdx. = π ( 1 + cos π 2

Bandits, Experts, and Games

Joint Distribution of Two or More Random Variables

Relationship between probability set function and random variable - 2 -

Analysis of Engineering and Scientific Data. Semester

Math 180A. Lecture 16 Friday May 7 th. Expectation. Recall the three main probability density functions so far (1) Uniform (2) Exponential.

An random variable is a quantity that assumes different values with certain probabilities.

Introduction to Stochastic Processes

Sociology 6Z03 Topic 10: Probability (Part I)

Chapter 2: Random Variables

1. Let A be a 2 2 nonzero real matrix. Which of the following is true?

ECON Fundamentals of Probability

Math 151. Rumbos Spring Solutions to Review Problems for Exam 2

MAT 271E Probability and Statistics

Lecture 3. Discrete Random Variables

CSE 103 Homework 8: Solutions November 30, var(x) = np(1 p) = P r( X ) 0.95 P r( X ) 0.

Math 180 Written Homework Assignment #10 Due Tuesday, December 2nd at the beginning of your discussion class.

Math RE - Calculus II Antiderivatives and the Indefinite Integral Page 1 of 5

Guidelines for Solving Probability Problems

RVs and their probability distributions

Recap of Basic Probability Theory

Chapter 8 Indeterminate Forms and Improper Integrals Math Class Notes

Math 113 Winter 2005 Key

Chapter 3: Random Variables 1

MATH 19B FINAL EXAM PROBABILITY REVIEW PROBLEMS SPRING, 2010

CALCULUS II MATH Dr. Hyunju Ban

Recap of Basic Probability Theory

Substitutions and by Parts, Area Between Curves. Goals: The Method of Substitution Areas Integration by Parts

Probability. Lecture Notes. Adolfo J. Rumbos

Lecture 2: Repetition of probability theory and statistics

Transcription:

MATH 5 9 MATH 5 9 Problem. Suppose we flip a fair coin once and observe either T for tails or H for heads. Let X denote the random variable that equals when we observe tails and equals when we observe heads. This is called a Bernoulli random variable. a Make a table of the PDF of X and calculate EX and VarX. Solution: We have the following PDF table of X : The expected value is: EX = x PrX = x + =. The variance is: VarX = + =. b Now suppose that we flip a fair coin twice. We will observe one of four events: TT, TH, HT, or HH. Let X be the random variable that counts the number of heads we observe. So, X can take the values, or. Redo part a for this new random variable. Solution: We have the following PDF table of X : The expected value is: The variance is: VarX = EX = x PrX = x + + + + =. =. Page of

MATH 5 9 c Let X be the random variable that counts the number of heads we observe after three successive flips of a fair coin. Redo part a for this new random variable. Solution: We have the following PDF table of X : The expected value is: EX = + x PrX = x + + =. The variance is: VarX = + + + + =. d Do you notice any patterns in your calculations? Make a guess for the pdf table, the expectation and the variance of X, the random variable that counts the number of heads we observe after four successive flips of a fair coin, and then verify your guess by direct computation. Solution: We have the following PDF table of X : The expected value is: EX = 6 + x PrX = x 6 6 + + + =. 6 Page of

MATH 5 9 The variance is: VarX = + + 6 + + + =. 6 Problem 5. Recall the example of rolling a six-sided die. This is an example of a discrete uniform random variable, so named because the probability of observing each distinct outcome is the same, or uniform, for all outcomes. Let Y be the discrete uniform random variable that equals the face-value after a roll of an eight-sided die. The die has eight faces, each with number through. Calculate EY, VarY, and StdDevY. Solution: We have the following PDF table of Y : The expected value is: EY = x PrY = x 5 6 7 x PrY = x = x = 9 = 9. x= x= The variance is: VarY = x EY PrY = x = x 9 = =. x= x= The standard deviation is: StdDevY = VarY = =. Page of

MATH 5 9 Problem 9. Are the following functions PDF s? { x x if < x < a fx = if otherwise. b fx = Solution: fx is not a PDF because it fails the property that fx for all x R. In fact, for any < x <, we have that x > being an even power, but x <. So, for any < x <, For example, f = <. { x if x if otherwise.. fx = x x <. Solution: fx is a PDF because it satisfies the following two properties: If x, then fx = x, and if x >, then fx =, trivially. fx for all x R. Observe that we may rewrite fx in more explicit form as: + x if < x < fx = x if < x < if otherwise. So, fx dx =. fx dx = + x dx + = x + x + x dx x x = + + =. c fx = { π cosπx if x < if otherwise. Page of

MATH 5 9 Solution: fx is a PDF because it satisfies the following two properties: If x, then π πx π, which means that cosπx. Therefore, fx = π cosπx for x. If x >, then fx = trivially. fx for all x R. We have that: fx dx = fx dx =. π cosπx dx = sinπx = sin π sin π = + =. d fx = { if x if otherwise. Solution: fx is not a PDF because it fails to satisfy the property that. In fact, we have that: fx dx = dx fx dx = = x = =. fx dx =. Problem. What is the CDF of the density function π + x? Page 5 of

MATH 5 9 Solution: Recall that given a PDF fx, we can find the CDF as follows: F x = x a a a ft dt x a π + t dt π arctan t x a π arctan x π arctan a = π arctan x +. the CDF of the given density function is F x = π arctan x + for any x R. Problem 5. Show that px = e x on x R is a PDF. + e x Solution: To show that px is a PDF, we need to verify the following two properties: We observe that e x > being an exponential function, and +e x > being an even power for all x R. We have that: px = px dx = e x > for all x R. + e x px dx + px dx, if both improper integrals on the right hand side converge. Using direct substitution with u = + e x, and du = e x dx, we get: e x + e x dx = u du = u + C = + e x + C px dx = px dx lim a a b px dx = + =. px dx = lim + a e x a a + e = a, px dx + e x b + e b =, Page 6 of

MATH 5 9 So, px dx =. Therefore, px is a PDF. Problem 9. Let Z be a standard normal random variable the classic bell curve, given by the density: φx = π e x. Verify that EZ =. Solution: We have that: EZ = xφx dx = xφx dx + xφx dx, if both improper integrals on the right hand side converge. Using direct substitution with u = x and du = x dx to find an antiderivative of xφx, we get: xφx dx = xe x dx = e u du = e u + C = e x + C π π π π xφx dx = xφx dx lim a a b xφx dx = EZ = π + π =. lim e x a=, a π π xφx dx e x b =, π π Therefore, EZ =, as desired. Problem. Expectations and variances need not be finite. random variable given by the PDF: px =, for x R. π + x Let X be a Cauchy a Prove that EX does not exist i.e. the expectation is infinite. Page 7 of

MATH 5 9 Solution: We have that: EX = xfx dx = xfx dx + xfx dx, if both improper integrals on the right hand side converge. Using direct substitution with u = + x and du = x dx to find an antiderivative of xfx, we get: x xfx dx = π + x dx = π u du = ln u + C = π π ln + x + C Since xfx dx = lim a a xfx dx = lim a xfx dx diverges, the improper integral xfx dx also diverges. Therefore, the expectations EX does not exist. π ln + x a= lim a π ln + a = Problem. Let px = β e x β with parameter β. for x <, β >, an exponential random variable a Show that this density integrates to. Solution: We have that: px dx =, as desired. px dx = x β e b β dx x β e e x β b β dx e b β + =. b Calculate PrX, EX and StdDevX, for the exponential random variable X. Page of

MATH 5 9 Solution: We have that: PrX = = px dx x β e b PrX = e β. β dx x β e e x β b β dx e b β + e β Using integration by parts with u = x, du = dx, and dv = e x β dx, v = βe x β, we find that the expected value is: EX = = xpx dx x β xe β dx b x β xe β dx xe x β βe x β be b β βe b β + + β using L Hopital s Rule EX = β. b To find StdDevX, we first compute VarX as follows: VarX = = b x EX px dx = β x β e x β dx β x e x β xe x β + βe x β dx β x e x β xe x β + βe x β dx Using integration by parts twice on the first summand and integration by parts once Page 9 of

MATH 5 9 on the second summand, we get the following antiderivative of the integrand: b VarX β x e x β xe x β + βe x β dx β e x β x e x β b β e b β b e b β + β + using L Hopital s Rule VarX = β. Therefore, StdDevX = VarX = β = β, since β >. x R. Problem. Let X be a Laplace random variable given by the PDF: px = e x for a Verify that px is in fact a valid PDF. Solution: px is a valid PDF because it satisfies the following two properties: For any real number x, we have that e x being an exponential function. px = e x for all x R. Observe that we may rewrite px in more explicit form as: { px = ex if x < e x if x So, px dx = a a a ex dx + a = + =. px dx =. e x dx if both integrals converge b ex dx + lim e x dx ex a + lim e x b ea + lim e b Page of