Mean of exponential distribution is $$\frac{1}{\lambda}$$
What is mean of all samples greater than some value $S$?
Some context: A DC power supply (as used in a telecommunications installation) has a battery of limited capacity $S$. A failure of AC supply for less than $S$ hours does not drop power to equipment. A failure in excess of $S$ hours will cause whole site to go down.
AC supply Mean Time Between Outage is about 4000 hours. Mean outage duration is 2 hours.
Say a site's battery capacity is 8 hours so $S=8$. AC outages shorter than 8 hours do not impact site function, but AC outages longer than 8 hours cause a DC outage and hence a site outage.
To calculate effective DC unavailability I need to calculate mean outage time for all AC outages longer than 8 hours in this case.
Mean of exponential distribution is found by this integral: $$\int_{x=0}^\infty x\lambda e^{-\lambda x}.dx$$
I think I want this: $$\int_{x=S}^\infty x\lambda e^{-\lambda x}.dx$$
But this finds area under exponential curve from $S$ to $\infty$ - a smaller value than $S$ so I have confirmed that I have no idea what I am doing.