Expectation of a function of X and Y

Click For Summary
SUMMARY

The expectation of the function E[X^Y], where X and Y are independent uniform random variables on the interval [0,1], can be calculated using the formula E(X^Y) = ∫₀¹ ∫₀¹ x^y f_X(x) f_Y(y) dy dx. In this case, since both X and Y are uniform, their probability density functions f_X and f_Y equal 1. The correct evaluation of this double integral leads to a result that includes a logarithmic term, specifically involving the natural logarithm.

PREREQUISITES
  • Understanding of probability density functions (pdf) for continuous random variables
  • Knowledge of double integrals and their application in expectation calculations
  • Familiarity with the properties of uniform distributions
  • Basic calculus, particularly integration techniques
NEXT STEPS
  • Study the derivation of expectation values for functions of multiple random variables
  • Learn about the properties of uniform distributions and their applications in probability theory
  • Explore advanced integration techniques, particularly in the context of double integrals
  • Investigate the use of logarithmic functions in probability and statistics
USEFUL FOR

Students and professionals in statistics, data science, and mathematics who are working with random variables and their expectations, particularly in the context of continuous distributions.

gjones89
Messages
4
Reaction score
0

Homework Statement



Find E[X^Y], where X and Y are independent random variables which are uniform on [0,1].

Homework Equations



The Attempt at a Solution



I know that to get E[f(x)] for a function of one continuous random variable X, you integrate xf(x) between minus and plus infinity.

I tried to generalise this method for a function of two variables and integrate [x*y*f(x,y)] as a double integral for x and y between 0 and 1. So I have a double integral with [x*y*f(x,y) = (x^(y+1))*y] under the integral signs. When I solved this as a double integral (integrating with respect to y first), I ended up with an answer of 2ln(2/3) + 1. Am I using the right method?
 
Physics news on Phys.org
gjones89 said:
I know that to get E[f(x)] for a function of one continuous random variable X, you integrate xf(x) between minus and plus infinity.

This is incorrect. Suppose that X is a random variable, uniform on [0,1], with pdf [tex]f_X[/tex]. Then the expectation value of a function [tex]g(X)[/tex] is

[tex]E(g(X)) = \int_0^1 dx~g(x) f_X(x).[/tex]

There's no factor of [tex]x[/tex] inserted.

I tried to generalise this method for a function of two variables and integrate [x*y*f(x,y)] as a double integral for x and y between 0 and 1. So I have a double integral with [x*y*f(x,y) = (x^(y+1))*y] under the integral signs. When I solved this as a double integral (integrating with respect to y first), I ended up with an answer of 2ln(2/3) + 1. Am I using the right method?

No, if you use the correct formula above,

[tex]E(X^Y) = \int_0^1 dx \int_0^1 dy~ x^y f_X(x) f_Y(y).[/tex]

Since [tex]x,y[/tex] are uniform, [tex]f_X=f_Y=1[/tex]. The answer will still have a logarithm in it.
 

Similar threads

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