Find k for this probability density function to be valid.

TelusPig
Messages
15
Reaction score
0

Homework Statement



Find k such that the function f(x)=ke^{-\frac{x-\mu}{\theta}} is a probability density function (pdf), for x > \mu, \mu and \theta are constant.

Homework Equations



The property of a pdf says that the integral of f(x) from -\infty to \infty equals 1, that is \int\limits_{-\infty}^\infty f(x)dx=1

The Attempt at a Solution



\int\limits_{-\infty}^\infty ke^{-\frac{x-\mu}{\theta}}dx
=k\int\limits_{-\infty}^\infty e^{-\frac{x-\mu}{\theta}}dx
Let t=-\frac{x-\mu}{\theta} => -\theta dt=dx

=> -k\int\limits_\infty^{-\infty} e^t(-\theta)dt

=>k\theta\int\limits_{-\infty}^\infty e^tdt

But e^t would diverge going towards infinity? How could this integral be equal to 1. I am not sure what I'm doing wrong.
 
Physics news on Phys.org
TelusPig said:

Homework Statement



Find k such that the function f(x)=ke^{-\frac{x-\mu}{\theta}} is a probability density function (pdf), for x > \mu, \mu and \theta are constant.

Homework Equations



The property of a pdf says that the integral of f(x) from -\infty to \infty equals 1, that is \int\limits_{-\infty}^\infty f(x)dx=1

The Attempt at a Solution



\int\limits_{-\infty}^\infty ke^{-\frac{x-\mu}{\theta}}dx
=k\int\limits_{-\infty}^\infty e^{-\frac{x-\mu}{\theta}}dx
Let t=-\frac{x-\mu}{\theta} => -\theta dt=dx

=> -k\int\limits_\infty^{-\infty} e^t(-\theta)dt

=>k\theta\int\limits_{-\infty}^\infty e^tdt

But e^t would diverge going towards infinity? How could this integral be equal to 1. I am not sure what I'm doing wrong.

It's supposed to be a density function only for x>μ. You don't want to integrate from -infinity to +infinity. You want to integrate from μ to +infinity. The pdf will be zero for x<μ.
 
Ok I see what you mean. But even if I do that, the upper bound of infinity is giving me problems because e^(infinity) is infinity :S
 
Never mind! I finally figured it out... I had a -infinity instead. All is good :) I got k = 1/theta if anyone was interested
 
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