Calculating Density of Y for a Given Function

  • Thread starter Thread starter sneaky666
  • Start date Start date
  • Tags Tags
    Change Variable
AI Thread Summary
To compute the density of Y for the function Y=sin(x) where X is uniformly distributed over [0, pi/2], the relationship between the densities f_X(x) and f_Y(y) is crucial. The transformation involves using arcsin(Y) to express X in terms of Y, leading to the formula f_Y(y) = f_X(x) / |dy/dx|. A suggested approach is to first find the cumulative distribution function F_Y(y) by determining P(Y ≤ y) in terms of X, specifically P(X ≤ arcsin(y)). After calculating F_Y(y), differentiating it will yield the desired density f_Y(y). This method may help identify any errors in the initial calculations.
sneaky666
Messages
64
Reaction score
0
Y=sin(x)
let X~uniform[0,pi/2]
compute density of fy(y) for Y.

my attempt
------------
arcsin(Y) = X

fx(arcsinY)
-------------- = sqrt(1-y^2) * fx(arcsinY)
(1/sqrt(1-y^2))

then

/\ arcsin(pi/2) sqrt(1-y^2) * fx(arcsinY) dy
\
.\
\/ arcsin(0)

/\ infinity sqrt(1-y^2) * fx(arcsinY) dy
\
.\
\/ 0

and i am stuck here as i cannot evaluate this, i probably did something wrong earlier...
 
Physics news on Phys.org
sneaky666 said:
Y=sin(x)
let X~uniform[0,pi/2]
compute density of fy(y) for Y.

my attempt
------------
arcsin(Y) = X

fx(arcsinY)
-------------- = sqrt(1-y^2) * fx(arcsinY)
(1/sqrt(1-y^2))
You're pretty much done at this point (though you need to check your algebra/calculus). The idea is that

f_X(x)\,dx = f_Y(y)\,dy

so that

f_Y(y) = \frac{f_X(x)}{|dy/dx|}

Then it's just a matter of expressing the righthand side in terms of y. You can simplify your result a bit by evaluating what fx(arcsin Y) is equal to.
then

/\ arcsin(pi/2) sqrt(1-y^2) * fx(arcsinY) dy
\
.\
\/ arcsin(0)

/\ infinity sqrt(1-y^2) * fx(arcsinY) dy
\
.\
\/ 0

and i am stuck here as i cannot evaluate this, i probably did something wrong earlier...
You're probably thinking of an alternate approach where you find the cumulative distribution function FY(y) first and then differentiate it to find fY(y). To find FY(y), you need to identify what Y≤y means in terms of X. In this case, you'd have

F_Y(y) = P(Y\le y) = P(X \le \arcsin y)

Since you know fX(x), you can work out P(X≤arcsin y) to find FY(y). Once you have that, differentiate it to find fY(y).

If you can't tell what the error I'm alluding to in your first attempt, you might try using this method and seeing what answer you get. The difference might help you identify where you went wrong in the first attempt.
 
Last edited:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top