Show that $P(N geq n) = (1-e^{-lambda})^n/ lambda^n $












2












$begingroup$


The lifetime $X$ (in days) of a device has an exponential distribution with parameter $lambda.$ Moreover, the fraction of time which the device is used each day has a uniform distribution over the interval $[0,1],$ independent from one day to the other. Let $N$ be the number of complete days during which the device is in a working state.



(a) Show that $P[Ngeq n]=(1-e^{-lambda})^n/lambda^n,$ for $1,2,dots$



Also,



(b) $E(N mid N leq 2 )$



Attempt:



I believe the trick here is the law of total probability



$$ P(N geq n) = int_0^{infty} P(N geq n mid X leq x) f_X(x) dx $$



My trouble is in computing $P(N geq n mid X leq x)$. Im having difficulties on this part. How can we interpret it?



As for b), once we show a), we can just use the fact that $E(X) = sum P(X > x) $. To see that



$$ E(N leq N leq 2) = sum_{n=1}^2 P(N geq n) = frac{1-e^{-lambda}}{lambda} + frac{(1-e^{-lambda})^2}{lambda^2} $$



am I on the right track so far?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Sorry but you are rather far from the solution (and I am not sure to understand what you think you are doing). Why not take seriously what is said in the text of the exercise? Hence, start from the fact that, for every $n$, $Ngeqslant n$ iff $Xgeqslantsumlimits_{k=1}^nU_k$ for some $(U_k)$ i.i.d. uniform on $(0,1)$. Now, $P(Xgeqslant x)=e^{-lambda x}$ for every $x>0$ hence, by independence of $(U_k)$ from $X$, and by independence of $(U_k)$, $$P(Ngeqslant n)=Eleft(expleft(-lambdasum_{k=1}^nU_kright)right)=E(e^{-lambda U})^n=cdots$$
    $endgroup$
    – Did
    Jan 28 at 16:38












  • $begingroup$
    @Did so U_k is the fraction of time that device works during the day the kth day correct ?
    $endgroup$
    – Mikey Spivak
    Jan 28 at 16:54










  • $begingroup$
    Yes, the fraction of time during which the device is used on day k.
    $endgroup$
    – Did
    Jan 28 at 17:00










  • $begingroup$
    I dont understand yet why $P(N geq n$ equals the expectation of the exponentials
    $endgroup$
    – Mikey Spivak
    Jan 28 at 17:47










  • $begingroup$
    Well... how to say that... this (a principle) is exactly what my first comment explains.
    $endgroup$
    – Did
    Jan 31 at 16:08
















2












$begingroup$


The lifetime $X$ (in days) of a device has an exponential distribution with parameter $lambda.$ Moreover, the fraction of time which the device is used each day has a uniform distribution over the interval $[0,1],$ independent from one day to the other. Let $N$ be the number of complete days during which the device is in a working state.



(a) Show that $P[Ngeq n]=(1-e^{-lambda})^n/lambda^n,$ for $1,2,dots$



Also,



(b) $E(N mid N leq 2 )$



Attempt:



I believe the trick here is the law of total probability



$$ P(N geq n) = int_0^{infty} P(N geq n mid X leq x) f_X(x) dx $$



My trouble is in computing $P(N geq n mid X leq x)$. Im having difficulties on this part. How can we interpret it?



As for b), once we show a), we can just use the fact that $E(X) = sum P(X > x) $. To see that



$$ E(N leq N leq 2) = sum_{n=1}^2 P(N geq n) = frac{1-e^{-lambda}}{lambda} + frac{(1-e^{-lambda})^2}{lambda^2} $$



am I on the right track so far?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    Sorry but you are rather far from the solution (and I am not sure to understand what you think you are doing). Why not take seriously what is said in the text of the exercise? Hence, start from the fact that, for every $n$, $Ngeqslant n$ iff $Xgeqslantsumlimits_{k=1}^nU_k$ for some $(U_k)$ i.i.d. uniform on $(0,1)$. Now, $P(Xgeqslant x)=e^{-lambda x}$ for every $x>0$ hence, by independence of $(U_k)$ from $X$, and by independence of $(U_k)$, $$P(Ngeqslant n)=Eleft(expleft(-lambdasum_{k=1}^nU_kright)right)=E(e^{-lambda U})^n=cdots$$
    $endgroup$
    – Did
    Jan 28 at 16:38












  • $begingroup$
    @Did so U_k is the fraction of time that device works during the day the kth day correct ?
    $endgroup$
    – Mikey Spivak
    Jan 28 at 16:54










  • $begingroup$
    Yes, the fraction of time during which the device is used on day k.
    $endgroup$
    – Did
    Jan 28 at 17:00










  • $begingroup$
    I dont understand yet why $P(N geq n$ equals the expectation of the exponentials
    $endgroup$
    – Mikey Spivak
    Jan 28 at 17:47










  • $begingroup$
    Well... how to say that... this (a principle) is exactly what my first comment explains.
    $endgroup$
    – Did
    Jan 31 at 16:08














2












2








2


1



$begingroup$


The lifetime $X$ (in days) of a device has an exponential distribution with parameter $lambda.$ Moreover, the fraction of time which the device is used each day has a uniform distribution over the interval $[0,1],$ independent from one day to the other. Let $N$ be the number of complete days during which the device is in a working state.



(a) Show that $P[Ngeq n]=(1-e^{-lambda})^n/lambda^n,$ for $1,2,dots$



Also,



(b) $E(N mid N leq 2 )$



Attempt:



I believe the trick here is the law of total probability



$$ P(N geq n) = int_0^{infty} P(N geq n mid X leq x) f_X(x) dx $$



My trouble is in computing $P(N geq n mid X leq x)$. Im having difficulties on this part. How can we interpret it?



As for b), once we show a), we can just use the fact that $E(X) = sum P(X > x) $. To see that



$$ E(N leq N leq 2) = sum_{n=1}^2 P(N geq n) = frac{1-e^{-lambda}}{lambda} + frac{(1-e^{-lambda})^2}{lambda^2} $$



am I on the right track so far?










share|cite|improve this question











$endgroup$




The lifetime $X$ (in days) of a device has an exponential distribution with parameter $lambda.$ Moreover, the fraction of time which the device is used each day has a uniform distribution over the interval $[0,1],$ independent from one day to the other. Let $N$ be the number of complete days during which the device is in a working state.



(a) Show that $P[Ngeq n]=(1-e^{-lambda})^n/lambda^n,$ for $1,2,dots$



Also,



(b) $E(N mid N leq 2 )$



Attempt:



I believe the trick here is the law of total probability



$$ P(N geq n) = int_0^{infty} P(N geq n mid X leq x) f_X(x) dx $$



My trouble is in computing $P(N geq n mid X leq x)$. Im having difficulties on this part. How can we interpret it?



As for b), once we show a), we can just use the fact that $E(X) = sum P(X > x) $. To see that



$$ E(N leq N leq 2) = sum_{n=1}^2 P(N geq n) = frac{1-e^{-lambda}}{lambda} + frac{(1-e^{-lambda})^2}{lambda^2} $$



am I on the right track so far?







probability-theory uniform-distribution exponential-distribution






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 29 at 0:52









Antoni Parellada

3,10421341




3,10421341










asked Jan 28 at 16:31









Mikey SpivakMikey Spivak

390215




390215








  • 1




    $begingroup$
    Sorry but you are rather far from the solution (and I am not sure to understand what you think you are doing). Why not take seriously what is said in the text of the exercise? Hence, start from the fact that, for every $n$, $Ngeqslant n$ iff $Xgeqslantsumlimits_{k=1}^nU_k$ for some $(U_k)$ i.i.d. uniform on $(0,1)$. Now, $P(Xgeqslant x)=e^{-lambda x}$ for every $x>0$ hence, by independence of $(U_k)$ from $X$, and by independence of $(U_k)$, $$P(Ngeqslant n)=Eleft(expleft(-lambdasum_{k=1}^nU_kright)right)=E(e^{-lambda U})^n=cdots$$
    $endgroup$
    – Did
    Jan 28 at 16:38












  • $begingroup$
    @Did so U_k is the fraction of time that device works during the day the kth day correct ?
    $endgroup$
    – Mikey Spivak
    Jan 28 at 16:54










  • $begingroup$
    Yes, the fraction of time during which the device is used on day k.
    $endgroup$
    – Did
    Jan 28 at 17:00










  • $begingroup$
    I dont understand yet why $P(N geq n$ equals the expectation of the exponentials
    $endgroup$
    – Mikey Spivak
    Jan 28 at 17:47










  • $begingroup$
    Well... how to say that... this (a principle) is exactly what my first comment explains.
    $endgroup$
    – Did
    Jan 31 at 16:08














  • 1




    $begingroup$
    Sorry but you are rather far from the solution (and I am not sure to understand what you think you are doing). Why not take seriously what is said in the text of the exercise? Hence, start from the fact that, for every $n$, $Ngeqslant n$ iff $Xgeqslantsumlimits_{k=1}^nU_k$ for some $(U_k)$ i.i.d. uniform on $(0,1)$. Now, $P(Xgeqslant x)=e^{-lambda x}$ for every $x>0$ hence, by independence of $(U_k)$ from $X$, and by independence of $(U_k)$, $$P(Ngeqslant n)=Eleft(expleft(-lambdasum_{k=1}^nU_kright)right)=E(e^{-lambda U})^n=cdots$$
    $endgroup$
    – Did
    Jan 28 at 16:38












  • $begingroup$
    @Did so U_k is the fraction of time that device works during the day the kth day correct ?
    $endgroup$
    – Mikey Spivak
    Jan 28 at 16:54










  • $begingroup$
    Yes, the fraction of time during which the device is used on day k.
    $endgroup$
    – Did
    Jan 28 at 17:00










  • $begingroup$
    I dont understand yet why $P(N geq n$ equals the expectation of the exponentials
    $endgroup$
    – Mikey Spivak
    Jan 28 at 17:47










  • $begingroup$
    Well... how to say that... this (a principle) is exactly what my first comment explains.
    $endgroup$
    – Did
    Jan 31 at 16:08








1




1




$begingroup$
Sorry but you are rather far from the solution (and I am not sure to understand what you think you are doing). Why not take seriously what is said in the text of the exercise? Hence, start from the fact that, for every $n$, $Ngeqslant n$ iff $Xgeqslantsumlimits_{k=1}^nU_k$ for some $(U_k)$ i.i.d. uniform on $(0,1)$. Now, $P(Xgeqslant x)=e^{-lambda x}$ for every $x>0$ hence, by independence of $(U_k)$ from $X$, and by independence of $(U_k)$, $$P(Ngeqslant n)=Eleft(expleft(-lambdasum_{k=1}^nU_kright)right)=E(e^{-lambda U})^n=cdots$$
$endgroup$
– Did
Jan 28 at 16:38






$begingroup$
Sorry but you are rather far from the solution (and I am not sure to understand what you think you are doing). Why not take seriously what is said in the text of the exercise? Hence, start from the fact that, for every $n$, $Ngeqslant n$ iff $Xgeqslantsumlimits_{k=1}^nU_k$ for some $(U_k)$ i.i.d. uniform on $(0,1)$. Now, $P(Xgeqslant x)=e^{-lambda x}$ for every $x>0$ hence, by independence of $(U_k)$ from $X$, and by independence of $(U_k)$, $$P(Ngeqslant n)=Eleft(expleft(-lambdasum_{k=1}^nU_kright)right)=E(e^{-lambda U})^n=cdots$$
$endgroup$
– Did
Jan 28 at 16:38














$begingroup$
@Did so U_k is the fraction of time that device works during the day the kth day correct ?
$endgroup$
– Mikey Spivak
Jan 28 at 16:54




$begingroup$
@Did so U_k is the fraction of time that device works during the day the kth day correct ?
$endgroup$
– Mikey Spivak
Jan 28 at 16:54












$begingroup$
Yes, the fraction of time during which the device is used on day k.
$endgroup$
– Did
Jan 28 at 17:00




$begingroup$
Yes, the fraction of time during which the device is used on day k.
$endgroup$
– Did
Jan 28 at 17:00












$begingroup$
I dont understand yet why $P(N geq n$ equals the expectation of the exponentials
$endgroup$
– Mikey Spivak
Jan 28 at 17:47




$begingroup$
I dont understand yet why $P(N geq n$ equals the expectation of the exponentials
$endgroup$
– Mikey Spivak
Jan 28 at 17:47












$begingroup$
Well... how to say that... this (a principle) is exactly what my first comment explains.
$endgroup$
– Did
Jan 31 at 16:08




$begingroup$
Well... how to say that... this (a principle) is exactly what my first comment explains.
$endgroup$
– Did
Jan 31 at 16:08










0






active

oldest

votes












Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3091086%2fshow-that-pn-geq-n-1-e-lambdan-lambdan%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3091086%2fshow-that-pn-geq-n-1-e-lambdan-lambdan%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith