# Thread: Algebra with random variables

1. ## Algebra with random variables

I've done something strange, potentially bad, and i just wanted to check how bad.

So i have the p.d.f of waiting time as:

where lambda is the inverse arrival rate and mu the inverse departure rate from a queue.

What i'm interested in is finding the maximum arrival rate the system can cope with before we would expect over 5% of people to have to wait 15 minutes or longer.

I interpreted this as meaning i want to know when

when t=15

So i rearranged the first equation:

Then i used Lambert's W function to get:

Thus i found an arrival rate up to which we expect queueing system to be able to be able to see 95% of people within 15 minutes. It gave sensible sounding answers so i used it.

But i've never seen random variables jostled about as if they were normal variables in standard algebra, so i'm worried i may have been doing some very bad things (other than it probably would have been better if i had used inequalities).

2. ## Re: Algebra with random variables

Originally Posted by Prometheus
But i've never seen random variables jostled about as if they were normal variables in standard algebra
Where exactly did you do that?

As a side note I think you need to use curly braces when doing your exponents because you're dropping the t from the exponent and it looks to just be another value you're multiplying by.

3. ## Re: Algebra with random variables

Well this is the source of my confusion.

I started with

then i stated i want to find lambda such that:

and so i solved for lambda from the orginal p.d.f.

I guess at this point it is no longer random variable but a realisation? Doesn't feel right though.

4. ## Re: Algebra with random variables

Q is a random variable but it pretty much only relates to the problem in that it dictates what the distribution is that we're taking probabilities with respect to. Once we have that distribution though... Q is irrelevant to the problem. You aren't dealing with anything random. You aren't even dealing with realizations of this random process.

 Tweet

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts