# Probability question dealing with expected value shown below

a random variable X has a distribution ae^(-ax),  Let [x] denote the greatest integer function applied to the real number ?, that is, the largest integer among those not exceeding ?.
What is the correct expression for the expected value of ? =[x]? the answer should involve a

• Schwartstack

…should involve a what?

• Markgvanzalk

the constant a in the equation ae^(-ax)

Answers can be viewed only if
1. The questioner was satisfied and accepted the answer, or
2. The answer was disputed, but the judge evaluated it as 100% correct.
• Markgvanzalk

how did you get (e^(a) -1)e^(-a(w+1)) actually?

• Schwartstack

It's the derivative of 1−e ^(−a(w+1)). Chain rule.

• Markgvanzalk

if you simplify 1-e^(-aw-a) to 1-(e^-aw)(e^-a) then the derivative with respect to w is (ae^(-aw))(e^-a) right? says the same thing on symbolab https://www.symbolab.com/solver/step-by-step/%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial%20x%7D%5Cleft(1-e%5E%7B-ax-a%7D%5Cright)?or=input

• Schwartstack

You’re right. I realized you can just find the PMF directly with an integral. I’ve edited my answer.

• Markgvanzalk

okay, thanks