Calculating Expectation Values for Independent Random Variables

Click For Summary

Homework Help Overview

The discussion revolves around calculating expectation values and variances for independent random variables, specifically focusing on two variables, X1 and X2, with given means and variances.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the definitions and properties of expectation values and variances for independent random variables. Questions arise regarding the application of formulas for expectation and variance, as well as the interpretation of covariance in this context.

Discussion Status

Some participants have provided guidance on the correct formulas to use for expectation and variance. There is a recognition of the confusion stemming from the text, and clarification has been offered regarding the independence of the variables and the implications for calculations.

Contextual Notes

Participants express uncertainty about the definitions and calculations involved in expectation values, indicating a need for clearer explanations or examples from the textbook. The discussion reflects a mix of attempts to derive results and requests for hints or clarifications.

toothpaste666
Messages
517
Reaction score
20

Homework Statement


If X1 has mean -3 and variance 2 while X2 has mean 5 and variance 4 and the two are independent find
a) E(X1 - X2)
b) Var(X1 - X2)

The Attempt at a Solution


I am not very clear on what I am supposed to be doing for this problem. I don't fully understand this expectation value concept. Can someone help explain what they are asking me to do or give me a hint on how to get started please? Here is what I did so far but I don't know if its worth anything

they are independent so my book says the covariance is 0
so
E[(X1 - μ1)(X2 - μ2)] = 0
E[(X1 + 3)(X2 - 5)] = 0
E[X1X2 - 5X1 + 3X2 -15] = 0

I think that is equal to this but I may be wrong:

E[X1X2] - 5E[X1] + 3 E[X2] - 15 = 0

I don't know what to do from here though. Am I on the right track at all?
 
Physics news on Phys.org
Yes you are on the right track.

'The mean of X1' is defined to be E[X1].

As regards E[X1X2]: have they given you the rule for the expectation value of a product of independent variables?
If not, it's easy to derive. Start by writing the expectation as a double integral.
 
toothpaste666 said:

Homework Statement


If X1 has mean -3 and variance 2 while X2 has mean 5 and variance 4 and the two are independent find
a) E(X1 - X2)
b) Var(X1 - X2)

The Attempt at a Solution


I am not very clear on what I am supposed to be doing for this problem. I don't fully understand this expectation value concept. Can someone help explain what they are asking me to do or give me a hint on how to get started please? Here is what I did so far but I don't know if its worth anything

they are independent so my book says the covariance is 0
so
E[(X1 - μ1)(X2 - μ2)] = 0
E[(X1 + 3)(X2 - 5)] = 0
E[X1X2 - 5X1 + 3X2 -15] = 0

I think that is equal to this but I may be wrong:

E[X1X2] - 5E[X1] + 3 E[X2] - 15 = 0

I don't know what to do from here though. Am I on the right track at all?

No, I don't think you are on the right track. You are making it much too difficult. You don't need to do any calculations with covariance or the expectation of a product. Surely your text has formulas for the expected value and variance of a sum of independent random variables. Have you looked for such formulas?
 
Ok sorry my book is very confusingly written but I think I figured it out.
so E(aX1 + bX2) = aE(X1) + bE(X2)
for part a) a = 1 and b = -1
so E(X1-X2) = E(X1) - E(X2) = -3 - 5 = -8

for part b)
Var(aX1+bX2) = a^2Var(X1) + b^2Var(X2)
since a =1 and b = -1
Var(X1-X2) = Var(X1) + Var(X2) = 2 + 4 = 6

is this correct?
 
Yes that's correct. Just be careful not to forget that the formula you use in (b) only holds when the two random variables are independent. The formula in (a) holds regardless of dependence.
 
  • Like
Likes   Reactions: toothpaste666
thank you!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
30
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K