Calculation of PDF of Y=g() 1. Calculate the CDF Fy of Y using the formula F,0)=P(g(X)≤y)= fx(x)dx Jx|g(x)≤y 2.Differentiate Fy to obtain the PDF fy of Y: f(y)= (y). dy
Calculation of PDF of 𝑌 = 𝑔(𝑋) 1. Calculate the CDF 𝐹𝑌 of 𝑌 using the formula 𝐹𝑌 𝑦 = 𝑃 𝑔 𝑋 ≤ 𝑦 = 𝑓𝑋(𝑥)𝑑𝑥 {𝑥|𝑔(𝑥)≤𝑦} 2. Differentiate 𝐹𝑌 to obtain the PDF 𝑓𝑌 of 𝑌: 𝑓𝑌 𝑦 = 𝑑𝐹𝑌 𝑑𝑦 𝑦
Example 1 Let X be uniform on [0,11,and let Y =VX. Note that for every y e [0,1],we have FY(y)=P(Y≤y) =P(VR≤y) =P(X≤y2) =y2
Example 1 Let 𝑋 be uniform on 0,1 , and let 𝑌 = 𝑋. Note that for every 𝑦 ∈ 0,1 , we have 𝐹𝑌 𝑦 = 𝑃 𝑌 ≤ 𝑦 = 𝑃 𝑋 ≤ 𝑦 = 𝑃 𝑋 ≤ 𝑦 2 = 𝑦 2
Example 1 We then differentiate and obtain the following (for0≤y≤1 fr(y)= d0y2)=2y, d0=“ay Outside the range [0,1]: The CDF Fy(y)is constant:Fy(y)= 8 fory≤0 fory≥1 Thus by differentiating,fy(y)=0 for y0,1]
Example 1 We then differentiate and obtain the following (for 0 ≤ 𝑦 ≤ 1) 𝑓𝑌 𝑦 = 𝑑𝐹𝑌 𝑑𝑦 𝑦 = 𝑑(𝑦 2 ) 𝑑𝑦 = 2𝑦, Outside the range 0,1 : The CDF 𝐹𝑌(𝑦) is constant: 𝐹𝑌(𝑦) = 0 for 𝑦 ≤ 0 1 for 𝑦 ≥ 1 Thus by differentiating, 𝑓𝑌 𝑦 = 0 for 𝑦 ∉ 0,1
Example 2 John Slow is driving from Boston to NYC,a distance of 180 miles. The driving speed is constant,whose value is uniformly distributed between 30 and 60 miles per hour. Question:What is the PDF of the duration of the trip?
Example 2 John Slow is driving from Boston to NYC, a distance of 180 miles. The driving speed is constant, whose value is uniformly distributed between 30 and 60 miles per hour. Question: What is the PDF of the duration of the trip?
Example 2 Let X be the speed and let Y =g(x)be the trip duration: 180 g(X)=X To find the CDF of Y,we must calculate pvs=(假y)=s
Example 2 Let 𝑋 be the speed and let 𝑌 = 𝑔(𝑋) be the trip duration: 𝑔 𝑋 = 180 𝑋 . To find the CDF of 𝑌, we must calculate 𝑃 𝑌 ≤ 𝑦 = 𝑃 180 𝑋 ≤ 𝑦 = 𝑃 180 𝑦 ≤ 𝑋