Let $W_t$ be a standard Wiener process and $\tau_x (x > 0)$ be the first passage time to level $x (\tau_x = min \{t; W(t) = x\})$ .
What are the probability density function and the expected value of $\tau_x$?
My attempt
$P(\tau_x \leq t) = P(\tau_x \leq t, w_t < x) + P(\tau_x \leq t, w_t > x) = 2 \int_{x}^{\infty} \frac{1}{\sqrt{2\pi t}} e ^{-\frac{x^2}{2t}} dx$
set $v = \frac{x}{\sqrt{t}}$
then $dv = \frac{1}{\sqrt{t}}dx$
$P(\tau_x \leq t) = 2 \int_{v}^{\infty} \frac{1}{\sqrt{2\pi}} e ^{-\frac{v^2}{2}} dv $
Then I am stuck at the following. I am not quite sure how to take the probability with respect to t
$\frac{dP(\tau_x \leq t)}{dt} = $
Thank you for your time.
Let $x\geq 0$ and $t\geq 0$. Note that by symmetry $P(W_t \geq x | \tau_x \leq t) = 1/2$. Also $P(W_t\geq x) = P(W_t\geq x |\tau_x\leq t)P(\tau_x\leq t) + P(W_t\geq x |\tau_x> t)P(\tau_x> t) = P(W_t\geq x |\tau_a\leq t)P(\tau_x\leq t)+0= P(W_t\geq x |\tau_a\leq t)P(\tau_x\leq t)$.
Hence $P(\tau_x \leq t) = 2P(W_t\geq x)$, you can calculate the last probability and so the distribution and density of $\tau_x$.