Calculate E(g(X)) for Random Variable X with E(X)=6.2, Var(X)=0.8

Click For Summary

Discussion Overview

The discussion revolves around calculating the expected value of a function g(X) for a random variable X, given its expected value and variance. The specific function is g(x) = 7x + 2, and participants explore the necessary steps and concepts involved in this calculation.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Exploratory

Main Points Raised

  • One participant expresses uncertainty about how to approach the problem of calculating E(g(X)) given E(X) and Var(X).
  • Another participant provides a formula for expected value involving the probability density function (pdf) of X, suggesting integration as a method to find E[g(X)].
  • A participant questions how to proceed with integration without knowing the specific form of f(x), the pdf of X.
  • Further clarification is offered on how to break down the integral of g(x) into manageable parts, emphasizing the use of properties of expected values.
  • One participant identifies that the integral of x*f(x) relates to the mean, suggesting the substitution of E(X) = 6.2, while expressing uncertainty about the term involving the integral of f(x).
  • Another participant confirms that the integral of the pdf over its entire range equals 1, and reiterates a property of expected values for linear transformations.
  • A participant shares a resource for understanding the basics of expected values for different distributions.
  • Finally, one participant proposes a numerical answer based on their calculations, suggesting that E(g(X)) equals 45.4.

Areas of Agreement / Disagreement

Participants engage in a collaborative exploration of the problem, with some expressing uncertainty about specific steps. There is no consensus on the final answer, as it is presented as a participant's calculation rather than an agreed conclusion.

Contextual Notes

Participants discuss the implications of not knowing the pdf f(x) and how it affects the integration process. There is also mention of properties of expected values that may not be universally applicable without additional context.

das1
Messages
40
Reaction score
0
This problem:

A random variable X has expected value E(X) = 6.2 and variance Var(X) = 0.8. Calculate the expected value of g(X) where g(x) = 7x + 2.

Do I just plug in numbers here? I've never seen this kind of problem before.
 
Physics news on Phys.org
Here's a useful fact: if $f(x)$ is the pdf of a continuous random variable then $$E[g(x)]=\int_{-\infty}^{\infty}g(x)f(x)dx$$

Substitute in $g(x)$ and use rules for integration to try to see what you can do.
 
E(7x+2) = ∫(7x+2)*f(x) dx
I'm still stuck at integrating (7x + 2)*f(x). If we don't know what f(x) is, I don't know what to integrate. When you refer to the rules of integration, is there a certain rule you are referring to? Is there a particular way to write ∫f(x) dx when you don't know what f(x) is?
 
Not in general, but in this case we can use some tricks.

Multiply through and you get:

$$\int_{-\infty}^{\infty}7x \cdot f(x)+2 \cdot f(x)dx=\int_{-\infty}^{\infty}7x \cdot f(x)dx+\int_{-\infty}^{\infty} 2 \cdot f(x)dx=7\int_{-\infty}^{\infty}x \cdot f(x)dx+2\int_{-\infty}^{\infty}f(x)dx$$

Now use some definitions that you have been given to proceed. :)
 
OK right, I recognize ∫x*f(x) dx as the mean, so can I just plug in 6.2 for that? But what about 2*∫f(x) dx? I suspect that's related to the variance but nothing jumps out at me.
 
If $f(x)$ is a proper pdf for a continuous random variable, then by definition $$\int_{-\infty}^{\infty}f(x)=1$$.

We kind of did this the long way, but it's good for understanding. It's also a property that: $$E[aX+b]=E[aX]+E=aE[X]+b$$, where $X$ is a continuous random variable and $a,b$ are real numbers.
 
Yes. Here is a page that covers the basics for discrete and continuous distributions.
 
OK thank you, that clears it up.
So the answer would just be 7*6.2+2*1 = 45.4?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K