Find k for this probability density function to be valid.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
TelusPig
Messages
15
Reaction score
0

Homework Statement



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

Homework Equations



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

The Attempt at a Solution



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

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

[itex]=>k\theta\int\limits_{-\infty}^\infty e^tdt[/itex]

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

Homework Statement



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

Homework Equations



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

The Attempt at a Solution



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

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

[itex]=>k\theta\int\limits_{-\infty}^\infty e^tdt[/itex]

But [itex]e^t[/itex] 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