Optimizing Expected Cost for Traveling to an Appointment

twoski
Messages
177
Reaction score
2

Homework Statement



Suppose that if you are s minutes early for an appointment, then you incur cost s * $3,
while if you are s minutes late, you incur cost s * $5. Suppose the travel time from your
present location and the location of the appointment is a continuous random variable with
pdf f(x) such that f(x) = (1/10)e-x/10 if x ≥ 0 and f(x) = 0 if x < 0. How many minutes before your appointment should you depart in order to minimize your expected cost?


The Attempt at a Solution



So i want to find E[X] and then the variance i assume...

E[X] = \int_{0}^{∞} x( 1/10e^{-x/10})

But if i evaluate this I'm going to get either 0 or infinity... So should this just be an indefinite integral?
 
Physics news on Phys.org
twoski said:

Homework Statement



Suppose that if you are s minutes early for an appointment, then you incur cost s * $3,
while if you are s minutes late, you incur cost s * $5. Suppose the travel time from your
present location and the location of the appointment is a continuous random variable with
pdf f(x) such that f(x) = (1/10)e-x/10 if x ≥ 0 and f(x) = 0 if x < 0. How many minutes before your appointment should you depart in order to minimize your expected cost?

The Attempt at a Solution



So i want to find E[X] and then the variance i assume...

E[X] = \int_{0}^{∞} x( 1/10e^{-x/10})

But if i evaluate this I'm going to get either 0 or infinity... So should this just be an indefinite integral?

Computing EX has nothing to do with the problem. You want to look at expected COST, which will depend on when you leave. Write a formula for the cost function, given that you leave m minutes before your appointment and the trip takes x minutes. Then take the expected value of that cost function.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top