Let Y be an exponential random variable with parameter $\tau > 0$. Compute the cdf and pdf of $F_W$ where $W = Y^3$
The solution states the cdf as $1 - e^{\frac{-y^\frac{1}{3}}{t}}$ because $F_Y =1 - e^{\frac{y}{\tau}}$. $P[W \leq w] = P[Y^3 \leq w] = P[Y \leq y^{\frac{1}{3}}] = 1 - e^{\frac{-y^\frac{1}{3}}{t}}$
I tried achieving the same results with the following logic: $P[W \leq w] = P[Y^3 \leq w] = P[Y \leq w^{\frac{1}{3}}] = \int_{0}^{w^\frac{1}{3}} \frac{1}{\tau} e^{-\frac{y}{\tau}}dy =\left(e^{-\frac{\sqrt[3]{w}}{\tau}}-1\right)\tau+\frac{\sqrt[3]{w}}{\tau}$
However this does not return the same result. Does anyone know why my method did not return the correct result?