$A \in \mathbb{R}^+$; $s_o \in \mathbb{R}^+$; $s \in \mathbb{R}^+ \cup {\{0}\}$; $s$ - speed of a car.
Definiton of mean: $$\displaystyle<s> = \int_{-\infty}^{+\infty} sP(s)ds,$$ but in this case wouldn't it be
$$\displaystyle<s> = \int_{-\infty}^{+\infty} sP(s)ds = A\int_{-\infty}^{+\infty} s^2e^{\frac{-s}{s_0}}ds = \infty$$ ?
Clearly I don't understand something; any help will be appreciated.
edit
Can someone point out the mistake(s)? $$\displaystyle<s> = \int_{-\infty}^{+\infty} sP(s)ds = A\int_{-\infty}^{+\infty} s^2e^{\frac{-s}{s_0}}ds.$$ Let $$u = \frac{-s}{s_0} \Longrightarrow ds = -s_0du, \\ s = -\infty \Longrightarrow u = +\infty, \\ s = +\infty \Longrightarrow u = -\infty,$$ Then $$<s> = As_0^3\int_{-\infty}^{\infty} u^2e^udu = As_0^3 \bigg[ u^2e^u \bigg\rvert_{-\infty}^{+\infty} - 2\int_{-\infty}^{\infty} ue^udu\bigg] = As_0^3 \bigg[ u^2e^u \bigg\rvert_{-\infty}^{+\infty} - 2\bigg(ue^u\bigg\rvert_{-\infty}^{+\infty}-\int_{-\infty}^{\infty} e^udu\bigg)\bigg] = As_0^3 \bigg[ u^2e^u \bigg\rvert_{-\infty}^{+\infty} - 2ue^u\bigg\rvert_{-\infty}^{+\infty}+2e^u\bigg\rvert_{-\infty}^{+\infty}\bigg] =^? As_0^3\bigg[(\infty - 0)- (\infty - 0) + (\infty - 0)\bigg] = \infty, $$ i.e. it diverges.
edit
Ok, so the integral should be from $0$ to $\infty$, since $s \ge 0$, and such integral nicely converges to $$2As_0^3.$$
The mistake in your computation is not in the calculation, which is correct - that integral is divergent. The mistake is that $P(s) = 0$ for $s < 0$, and so the correct integral is
$$A \int_{0}^{\infty} s^2 e^{-s/s_0} \, ds$$
which you should easily find is convergent.