This is a beta course, so its structure, chapters, and examples may continue to change.
Comprehensive Exercises on the Numerical Characteristics of Random Variables
Exercises
Exercise 1
Given the distribution law P(X=1)=0.2,P(X=2)=0.5,P(X=3)=0.3 of X, find E(X).
mathematical expectationdiscrete random variabledefinition and computation
Approach:
Use the definition of the mathematical expectation of a discrete random variable.
Steps:
- E(X)=∑i=1∞xipi
- =1×0.2+2×0.5+3×0.3
- =0.2+1.0+0.9=2.1
Answer: 2.1
Exercise 2
Given E(X)=2,D(X)=3, find E(3X−1) and D(3X−1).
mathematical expectationvarianceapplication of properties
Approach:
Use the properties of mathematical expectation and the variance.
Steps:
- E(3X−1)=3E(X)−1=3×2−1=5
- D(3X−1)=32D(X)=9×3=27
Answer: E(3X−1)=5, D(3X−1)=27
Exercise 3
Given that X,Y are independent with E(X)=1,E(Y)=2, find E(X+Y).
mathematical expectationlinearity of expectationcomputation
Approach:
Use the linearity of mathematical expectation.
Steps:
- E(X+Y)=E(X)+E(Y)
- =1+2=3
- The linearity of expectation holds for any random variables, so independence is not required as a premise in this step.
Answer: E(X+Y)=3.
Exercise 4
Given E(X)=1,E(Y)=2,Cov(X,Y)=3,σX=2,σY=1, find ρXY.
correlation coefficientdefinition and computationstandardization
Approach:
Use the definition of the correlation coefficient.
Steps:
- ρXY=σXσYCov(X,Y)
- =2×13=1.5
Answer: 1.5
Exercise 5
Given the distribution function F(x)=⎩⎨⎧0,x<0x,0≤x<11,x≥1 of X, find E(X).
mathematical expectationdistribution functioncontinuous random variable
Approach:
First find the density function, then compute the expectation.
Steps:
- f(x)=F′(x)={1,0,0≤x<1otherwise
- E(X)=∫01x⋅1dx=2x201=21
Answer: 21
Exercise 6
Given that the random variable X follows an exponential distribution with parameter λ, find E(X) and D(X).
mathematical expectationexponential distributionexpectation and variance
Approach:
Use the mathematical expectation and variance formulas of the exponential distribution.
Steps:
- The mathematical expectation of the exponential distribution: E(X)=λ1
- The variance of the exponential distribution: D(X)=λ21
Answer: E(X)=λ1, D(X)=λ21
Exercise 7
Given that the random variable X follows a binomial distribution with parameters n,p, find E(X) and D(X).
mathematical expectationbinomial distributionexpectation and variance
Approach:
Use the mathematical expectation and variance formulas of the binomial distribution.
Steps:
- The mathematical expectation of the binomial distribution: E(X)=np
- The variance of the binomial distribution: D(X)=np(1−p)
Answer: E(X)=np, D(X)=np(1−p)
Exercise 8
Given that the joint distribution law of the random variables X and Y is:
| X\Y | 0 | 1 |
|---|
| 0 | 0.3 | 0.2 |
| 1 | 0.2 | 0.3 |
Find Cov(X,Y).
covariancecomputation formulajoint distribution law
Approach:
Use the simplified computation formula for the covariance.
Steps:
- E(X)=0×0.5+1×0.5=0.5
- E(Y)=0×0.5+1×0.5=0.5
- E(XY)=0×0×0.3+0×1×0.2+1×0×0.2+1×1×0.3=0.3
- Cov(X,Y)=E(XY)−E(X)E(Y)=0.3−0.5×0.5=0.05
Answer: 0.05
Exercise 9
Given that X and Y are independent, D(X)=4, and D(Y)=9, find D(X+Y).
varianceindependence and additivityvariance computation
Approach:
Use the additivity of the variance for independent random variables.
Steps:
- If X and Y are independent, then D(X+Y)=D(X)+D(Y)
- =4+9=13
- Independence is exactly the premise of the additivity of the variance; here X and Y are independent, so the two variances can be added directly.
Answer: D(X+Y)=13.
Exercise 10
Given that the random variable X follows a Poisson distribution with parameter λ, find E(X) and D(X).
mathematical expectationPoisson distributionexpectation and variance
Approach:
Use the mathematical expectation and variance formulas of the Poisson distribution.
Steps:
- The mathematical expectation of the Poisson distribution: E(X)=λ
- The variance of the Poisson distribution: D(X)=λ
Answer: E(X)=λ, D(X)=λ
Exercise 11
Given that the random variable X follows a normal distribution with parameters μ,σ2, find E(X) and D(X).
mathematical expectationnormal distributionexpectation and variance
Approach:
Use the mathematical expectation and variance formulas of the normal distribution.
Steps:
- The mathematical expectation of the normal distribution: E(X)=μ
- The variance of the normal distribution: D(X)=σ2
Answer: E(X)=μ, D(X)=σ2
Exercise 12
Given that the correlation coefficient of the random variables X and Y is 0.8, D(X)=4, and D(Y)=9, find Cov(X,Y).
correlation coefficientdefinition and computationstandardization
Approach:
Use the definition of the correlation coefficient.
Steps:
- ρXY=D(X)D(Y)Cov(X,Y)
- 0.8=4×9Cov(X,Y)=6Cov(X,Y)
- Cov(X,Y)=0.8×6=4.8
Answer: 4.8
Exercise 13
Given that the random variable X follows the uniform distribution on the interval [a,b], find E(X) and D(X).
mathematical expectationuniform distributionexpectation and variance
Approach:
Use the mathematical expectation and variance formulas of the uniform distribution.
Steps:
- The mathematical expectation of the uniform distribution: E(X)=2a+b
- The variance of the uniform distribution: D(X)=12(b−a)2
Answer: E(X)=2a+b, D(X)=12(b−a)2
Exercise 14
Given the distribution law P(X=1)=0.2,P(X=2)=0.5,P(X=3)=0.3 of X, find D(X).
variancecovariance formulacomputation
Approach:
Use the simplified computation formula for the variance.
Steps:
- E(X)=1×0.2+2×0.5+3×0.3=2.1
- E(X2)=12×0.2+22×0.5+32×0.3=0.2+2.0+2.7=4.9
- D(X)=E(X2)−[E(X)]2=4.9−(2.1)2=4.9−4.41=0.49
Answer: 0.49
Exercise 15
Prove that if X and Y are independent, then ρXY=0.
correlation coefficientindependenceproof
Approach:
Use the fact that the covariance of independent random variables is zero.
Steps:
- If X and Y are independent, then Cov(X,Y)=0
- Hence ρXY=D(X)D(Y)Cov(X,Y)=D(X)D(Y)0=0
Answer: the proof is complete