Find Density of z in Change of Variable Homework

  • Thread starter Thread starter autobot.d
  • Start date Start date
  • Tags Tags
    Change Variable
autobot.d
Messages
67
Reaction score
0

Homework Statement



Let x,y be iid and x, y \sim U(0,1) (uniform on the open set (0,1)) and let z = xy^2.
Find the density of z.


Homework Equations





The Attempt at a Solution



P(z \leq w) = P(xy^2 \leq w) = P(- \sqrt{\frac{w}{x}} \leq y \leq \sqrt{\frac{w}{x}}) = \int^{ \sqrt{\frac{w}{x}}}_{ -\sqrt{\frac{w}{x}}} dy = 2 \sqrt{\frac{w}{x}}<br />

Is this right. Seems like I am missing something, not sure.

Thanks.
 
Last edited:
Physics news on Phys.org
autobot.d said:

Homework Statement



Let x,y be iid and x, y \sim U(0,1) (uniform on the open set (0,1)) and let z = xy^2.
Find the density of z.


Homework Equations





The Attempt at a Solution



P(z \leq w) = P(xy^2 \leq w) = P(- \sqrt{\frac{w}{x}} \leq y \leq \sqrt{\frac{w}{x}}) = \int^{ \sqrt{\frac{w}{x}}}_{ -\sqrt{\frac{w}{x}}} dy = 2 \sqrt{\frac{w}{x}}<br />

Is this right. Seems like I am missing something, not sure.

Thanks.

No. Y cannot be < 0, so you cannot have the region ## - \sqrt{w/x} \leq y < 0##. Anyway, you need an answer that contains w only, so you still need to get rid of the 'x'.
 
autobot.d said:

Homework Statement



Let x,y be iid and x, y \sim U(0,1) (uniform on the open set (0,1)) and let z = xy^2.
Find the density of z.


Homework Equations





The Attempt at a Solution



P(z \leq w) = P(xy^2 \leq w) = P(- \sqrt{\frac{w}{x}} \leq y \leq \sqrt{\frac{w}{x}}) = \int^{ \sqrt{\frac{w}{x}}}_{ -\sqrt{\frac{w}{x}}} dy = 2 \sqrt{\frac{w}{x}}<br />

Is this right. Seems like I am missing something, not sure.

Thanks.

P(z \leq w) should be a function of w only, so something's wrong.

Fix x. Then P(y^2 \leq w/x) = P(0 \leq y \leq \sqrt{w/x}) = \min(1,\sqrt{w/x}) since 0 \leq y \leq 1. Then
<br /> P(z \leq w) = P(xy^2 \leq w) = \int_0^1 \min\left(1,\sqrt{\frac wx}\right)\,\mathrm{d}x<br /> = \int_0^w 1\,\mathrm{d}x + \int_w^1 \sqrt{\frac wx}\,\mathrm{d}x<br />
 
Makes sense it should be a function of w only. I do not understand though how the integral with the minimum is broken up into the two integrals at the end. Any insight?

Thanks for the help.
 
autobot.d said:
Makes sense it should be a function of w only. I do not understand though how the integral with the minimum is broken up into the two integrals at the end. Any insight?

Thanks for the help.

Look at the two cases x > w and x < w.
 
The first integral ranges from ##x=0## to ##x=w##, so the minimum is equal to 1. In the second integral, you have ##x\geq w##, and so the minimum is the square-root expression.
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top