Compute the distribution of the number of hours $T$ that we can use the flashlight.












0















We have a flashlight that uses two batteries and we have a package of
four new batteries. Suppose that each battery has an independent
exponential($lambda$) lifetime. Compute the distribution of the
number of hours $T$ that we can use the flashlight.




Try



Call $X$ the lifetime of each battery which given is that $X$ is Exp($lambda$). Let $T$ be number of hours we can use the flashlight.



LEt $Y$ be the lifetime of two batteries taking as single unit. So $(T leq t) = (Y leq t$). Thus ,



$$ P(Y leq t) = boxed{1 - e^{-lambda^2 t } }$$



is this the correct distribution?










share|cite|improve this question






















  • If you have two batteries in the flashlight, then typically, one would assume it stops working when one of the two battery dies, so the time until this happens is the minimum of two IID exponential RVs. You then have to take into account you’re replacing the batteries.
    – LoveTooNap29
    Nov 11 at 16:15












  • And when you replace the battery, can the one not used up yet continue to serve? (I know it is not quite practical) Then you got 3 batches as ${(1, 2), (2, 3), (3, 4)}$ until batttery $1, 2, 3$ all run out. If not, you can just sum the life time of two.
    – BGM
    Nov 22 at 6:54


















0















We have a flashlight that uses two batteries and we have a package of
four new batteries. Suppose that each battery has an independent
exponential($lambda$) lifetime. Compute the distribution of the
number of hours $T$ that we can use the flashlight.




Try



Call $X$ the lifetime of each battery which given is that $X$ is Exp($lambda$). Let $T$ be number of hours we can use the flashlight.



LEt $Y$ be the lifetime of two batteries taking as single unit. So $(T leq t) = (Y leq t$). Thus ,



$$ P(Y leq t) = boxed{1 - e^{-lambda^2 t } }$$



is this the correct distribution?










share|cite|improve this question






















  • If you have two batteries in the flashlight, then typically, one would assume it stops working when one of the two battery dies, so the time until this happens is the minimum of two IID exponential RVs. You then have to take into account you’re replacing the batteries.
    – LoveTooNap29
    Nov 11 at 16:15












  • And when you replace the battery, can the one not used up yet continue to serve? (I know it is not quite practical) Then you got 3 batches as ${(1, 2), (2, 3), (3, 4)}$ until batttery $1, 2, 3$ all run out. If not, you can just sum the life time of two.
    – BGM
    Nov 22 at 6:54
















0












0








0








We have a flashlight that uses two batteries and we have a package of
four new batteries. Suppose that each battery has an independent
exponential($lambda$) lifetime. Compute the distribution of the
number of hours $T$ that we can use the flashlight.




Try



Call $X$ the lifetime of each battery which given is that $X$ is Exp($lambda$). Let $T$ be number of hours we can use the flashlight.



LEt $Y$ be the lifetime of two batteries taking as single unit. So $(T leq t) = (Y leq t$). Thus ,



$$ P(Y leq t) = boxed{1 - e^{-lambda^2 t } }$$



is this the correct distribution?










share|cite|improve this question














We have a flashlight that uses two batteries and we have a package of
four new batteries. Suppose that each battery has an independent
exponential($lambda$) lifetime. Compute the distribution of the
number of hours $T$ that we can use the flashlight.




Try



Call $X$ the lifetime of each battery which given is that $X$ is Exp($lambda$). Let $T$ be number of hours we can use the flashlight.



LEt $Y$ be the lifetime of two batteries taking as single unit. So $(T leq t) = (Y leq t$). Thus ,



$$ P(Y leq t) = boxed{1 - e^{-lambda^2 t } }$$



is this the correct distribution?







probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 11 at 6:13









Jimmy Sabater

1,918218




1,918218












  • If you have two batteries in the flashlight, then typically, one would assume it stops working when one of the two battery dies, so the time until this happens is the minimum of two IID exponential RVs. You then have to take into account you’re replacing the batteries.
    – LoveTooNap29
    Nov 11 at 16:15












  • And when you replace the battery, can the one not used up yet continue to serve? (I know it is not quite practical) Then you got 3 batches as ${(1, 2), (2, 3), (3, 4)}$ until batttery $1, 2, 3$ all run out. If not, you can just sum the life time of two.
    – BGM
    Nov 22 at 6:54




















  • If you have two batteries in the flashlight, then typically, one would assume it stops working when one of the two battery dies, so the time until this happens is the minimum of two IID exponential RVs. You then have to take into account you’re replacing the batteries.
    – LoveTooNap29
    Nov 11 at 16:15












  • And when you replace the battery, can the one not used up yet continue to serve? (I know it is not quite practical) Then you got 3 batches as ${(1, 2), (2, 3), (3, 4)}$ until batttery $1, 2, 3$ all run out. If not, you can just sum the life time of two.
    – BGM
    Nov 22 at 6:54


















If you have two batteries in the flashlight, then typically, one would assume it stops working when one of the two battery dies, so the time until this happens is the minimum of two IID exponential RVs. You then have to take into account you’re replacing the batteries.
– LoveTooNap29
Nov 11 at 16:15






If you have two batteries in the flashlight, then typically, one would assume it stops working when one of the two battery dies, so the time until this happens is the minimum of two IID exponential RVs. You then have to take into account you’re replacing the batteries.
– LoveTooNap29
Nov 11 at 16:15














And when you replace the battery, can the one not used up yet continue to serve? (I know it is not quite practical) Then you got 3 batches as ${(1, 2), (2, 3), (3, 4)}$ until batttery $1, 2, 3$ all run out. If not, you can just sum the life time of two.
– BGM
Nov 22 at 6:54






And when you replace the battery, can the one not used up yet continue to serve? (I know it is not quite practical) Then you got 3 batches as ${(1, 2), (2, 3), (3, 4)}$ until batttery $1, 2, 3$ all run out. If not, you can just sum the life time of two.
– BGM
Nov 22 at 6:54












1 Answer
1






active

oldest

votes


















1





+50









To get the most out of the batteries, we'll put two batteries in the flashlight. Once one of them expires, we'll replace it (and only it) with the third. And when another battery expires (be it the second or the third), we'll replace it with the fourth.



Let $X sim Exp(lambda)$ and $Y sim Exp(lambda)$ be the expiry times of the initial two batteries. Let's consider the time one of them runs out and we replace it, and and let $Delta$ be the remaining lifetime of second. Then $Delta = |X - Y|$.



What's the distribution of $Delta$? To compute it, we'll need to consider the two cases, $X < Y$ and $X > Y$ in order to remove the absolute value.



$$begin{align}
mathbb{P}[Delta < x] &= mathbb{P}[Delta < x | X < Y]mathbb{P}[X < Y] + mathbb{P}[Delta < x | X > Y]mathbb{P}[X > Y] = \
&= frac{1}{2}mathbb{P}[Y - X < x | X < Y] + frac{1}{2}mathbb{P}[X - Y < x | X > Y] \
&=mathbb{P}[Y-X < x | X < Y]
end{align}$$



The last equality follows from symmetry: $mathbb{P}[Y-X < x | X < Y] = mathbb{P}[X - Y < x | X > Y]$.



To simplify this further, we can use the memotylessness of the exponential distribution.



$$mathbb{P}[Y - X < x | X < Y]$ = $mathbb{P}[Y < X + x | Y > X] =
1 - mathbb{P}[Y > X + x | Y > X] = \=1 - mathbb{P}[Y > x] = mathbb{P}[Y < x]$$



This essentially shows, if $Y>X$, then $Y-X$ has the same distribution as $X$ - exponential with parameter $lambda$. Therefore, $Delta sim Exp(lambda)$.



How is this significant?



We insert two batteries with lifetimes $X sim Exp(lambda)$ and $Ysim Exp(lambda)$. One of them runs out and we replace it with the third battery. Its lifetime is $Z sim Exp(lambda)$. At the time of replacement, the other has lifetime $Delta sim Exp(lambda)$ - the same distribution it initially had! So we're left in the same situation, just with only three batteries!



In conclusion: The time between the expiry of any two batteries is exponential with parameter $lambda$. Once three batteries expire, the flashlight stops working, as we only have one left, and it needs two. Therefore, the working time is the sum of three $Exp(lambda)$ random variables, which is (as seen here).



$$Gamma(3, lambda)$$.






share|cite|improve this answer





















    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%2f2993513%2fcompute-the-distribution-of-the-number-of-hours-t-that-we-can-use-the-flashlig%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1





    +50









    To get the most out of the batteries, we'll put two batteries in the flashlight. Once one of them expires, we'll replace it (and only it) with the third. And when another battery expires (be it the second or the third), we'll replace it with the fourth.



    Let $X sim Exp(lambda)$ and $Y sim Exp(lambda)$ be the expiry times of the initial two batteries. Let's consider the time one of them runs out and we replace it, and and let $Delta$ be the remaining lifetime of second. Then $Delta = |X - Y|$.



    What's the distribution of $Delta$? To compute it, we'll need to consider the two cases, $X < Y$ and $X > Y$ in order to remove the absolute value.



    $$begin{align}
    mathbb{P}[Delta < x] &= mathbb{P}[Delta < x | X < Y]mathbb{P}[X < Y] + mathbb{P}[Delta < x | X > Y]mathbb{P}[X > Y] = \
    &= frac{1}{2}mathbb{P}[Y - X < x | X < Y] + frac{1}{2}mathbb{P}[X - Y < x | X > Y] \
    &=mathbb{P}[Y-X < x | X < Y]
    end{align}$$



    The last equality follows from symmetry: $mathbb{P}[Y-X < x | X < Y] = mathbb{P}[X - Y < x | X > Y]$.



    To simplify this further, we can use the memotylessness of the exponential distribution.



    $$mathbb{P}[Y - X < x | X < Y]$ = $mathbb{P}[Y < X + x | Y > X] =
    1 - mathbb{P}[Y > X + x | Y > X] = \=1 - mathbb{P}[Y > x] = mathbb{P}[Y < x]$$



    This essentially shows, if $Y>X$, then $Y-X$ has the same distribution as $X$ - exponential with parameter $lambda$. Therefore, $Delta sim Exp(lambda)$.



    How is this significant?



    We insert two batteries with lifetimes $X sim Exp(lambda)$ and $Ysim Exp(lambda)$. One of them runs out and we replace it with the third battery. Its lifetime is $Z sim Exp(lambda)$. At the time of replacement, the other has lifetime $Delta sim Exp(lambda)$ - the same distribution it initially had! So we're left in the same situation, just with only three batteries!



    In conclusion: The time between the expiry of any two batteries is exponential with parameter $lambda$. Once three batteries expire, the flashlight stops working, as we only have one left, and it needs two. Therefore, the working time is the sum of three $Exp(lambda)$ random variables, which is (as seen here).



    $$Gamma(3, lambda)$$.






    share|cite|improve this answer


























      1





      +50









      To get the most out of the batteries, we'll put two batteries in the flashlight. Once one of them expires, we'll replace it (and only it) with the third. And when another battery expires (be it the second or the third), we'll replace it with the fourth.



      Let $X sim Exp(lambda)$ and $Y sim Exp(lambda)$ be the expiry times of the initial two batteries. Let's consider the time one of them runs out and we replace it, and and let $Delta$ be the remaining lifetime of second. Then $Delta = |X - Y|$.



      What's the distribution of $Delta$? To compute it, we'll need to consider the two cases, $X < Y$ and $X > Y$ in order to remove the absolute value.



      $$begin{align}
      mathbb{P}[Delta < x] &= mathbb{P}[Delta < x | X < Y]mathbb{P}[X < Y] + mathbb{P}[Delta < x | X > Y]mathbb{P}[X > Y] = \
      &= frac{1}{2}mathbb{P}[Y - X < x | X < Y] + frac{1}{2}mathbb{P}[X - Y < x | X > Y] \
      &=mathbb{P}[Y-X < x | X < Y]
      end{align}$$



      The last equality follows from symmetry: $mathbb{P}[Y-X < x | X < Y] = mathbb{P}[X - Y < x | X > Y]$.



      To simplify this further, we can use the memotylessness of the exponential distribution.



      $$mathbb{P}[Y - X < x | X < Y]$ = $mathbb{P}[Y < X + x | Y > X] =
      1 - mathbb{P}[Y > X + x | Y > X] = \=1 - mathbb{P}[Y > x] = mathbb{P}[Y < x]$$



      This essentially shows, if $Y>X$, then $Y-X$ has the same distribution as $X$ - exponential with parameter $lambda$. Therefore, $Delta sim Exp(lambda)$.



      How is this significant?



      We insert two batteries with lifetimes $X sim Exp(lambda)$ and $Ysim Exp(lambda)$. One of them runs out and we replace it with the third battery. Its lifetime is $Z sim Exp(lambda)$. At the time of replacement, the other has lifetime $Delta sim Exp(lambda)$ - the same distribution it initially had! So we're left in the same situation, just with only three batteries!



      In conclusion: The time between the expiry of any two batteries is exponential with parameter $lambda$. Once three batteries expire, the flashlight stops working, as we only have one left, and it needs two. Therefore, the working time is the sum of three $Exp(lambda)$ random variables, which is (as seen here).



      $$Gamma(3, lambda)$$.






      share|cite|improve this answer
























        1





        +50







        1





        +50



        1




        +50




        To get the most out of the batteries, we'll put two batteries in the flashlight. Once one of them expires, we'll replace it (and only it) with the third. And when another battery expires (be it the second or the third), we'll replace it with the fourth.



        Let $X sim Exp(lambda)$ and $Y sim Exp(lambda)$ be the expiry times of the initial two batteries. Let's consider the time one of them runs out and we replace it, and and let $Delta$ be the remaining lifetime of second. Then $Delta = |X - Y|$.



        What's the distribution of $Delta$? To compute it, we'll need to consider the two cases, $X < Y$ and $X > Y$ in order to remove the absolute value.



        $$begin{align}
        mathbb{P}[Delta < x] &= mathbb{P}[Delta < x | X < Y]mathbb{P}[X < Y] + mathbb{P}[Delta < x | X > Y]mathbb{P}[X > Y] = \
        &= frac{1}{2}mathbb{P}[Y - X < x | X < Y] + frac{1}{2}mathbb{P}[X - Y < x | X > Y] \
        &=mathbb{P}[Y-X < x | X < Y]
        end{align}$$



        The last equality follows from symmetry: $mathbb{P}[Y-X < x | X < Y] = mathbb{P}[X - Y < x | X > Y]$.



        To simplify this further, we can use the memotylessness of the exponential distribution.



        $$mathbb{P}[Y - X < x | X < Y]$ = $mathbb{P}[Y < X + x | Y > X] =
        1 - mathbb{P}[Y > X + x | Y > X] = \=1 - mathbb{P}[Y > x] = mathbb{P}[Y < x]$$



        This essentially shows, if $Y>X$, then $Y-X$ has the same distribution as $X$ - exponential with parameter $lambda$. Therefore, $Delta sim Exp(lambda)$.



        How is this significant?



        We insert two batteries with lifetimes $X sim Exp(lambda)$ and $Ysim Exp(lambda)$. One of them runs out and we replace it with the third battery. Its lifetime is $Z sim Exp(lambda)$. At the time of replacement, the other has lifetime $Delta sim Exp(lambda)$ - the same distribution it initially had! So we're left in the same situation, just with only three batteries!



        In conclusion: The time between the expiry of any two batteries is exponential with parameter $lambda$. Once three batteries expire, the flashlight stops working, as we only have one left, and it needs two. Therefore, the working time is the sum of three $Exp(lambda)$ random variables, which is (as seen here).



        $$Gamma(3, lambda)$$.






        share|cite|improve this answer












        To get the most out of the batteries, we'll put two batteries in the flashlight. Once one of them expires, we'll replace it (and only it) with the third. And when another battery expires (be it the second or the third), we'll replace it with the fourth.



        Let $X sim Exp(lambda)$ and $Y sim Exp(lambda)$ be the expiry times of the initial two batteries. Let's consider the time one of them runs out and we replace it, and and let $Delta$ be the remaining lifetime of second. Then $Delta = |X - Y|$.



        What's the distribution of $Delta$? To compute it, we'll need to consider the two cases, $X < Y$ and $X > Y$ in order to remove the absolute value.



        $$begin{align}
        mathbb{P}[Delta < x] &= mathbb{P}[Delta < x | X < Y]mathbb{P}[X < Y] + mathbb{P}[Delta < x | X > Y]mathbb{P}[X > Y] = \
        &= frac{1}{2}mathbb{P}[Y - X < x | X < Y] + frac{1}{2}mathbb{P}[X - Y < x | X > Y] \
        &=mathbb{P}[Y-X < x | X < Y]
        end{align}$$



        The last equality follows from symmetry: $mathbb{P}[Y-X < x | X < Y] = mathbb{P}[X - Y < x | X > Y]$.



        To simplify this further, we can use the memotylessness of the exponential distribution.



        $$mathbb{P}[Y - X < x | X < Y]$ = $mathbb{P}[Y < X + x | Y > X] =
        1 - mathbb{P}[Y > X + x | Y > X] = \=1 - mathbb{P}[Y > x] = mathbb{P}[Y < x]$$



        This essentially shows, if $Y>X$, then $Y-X$ has the same distribution as $X$ - exponential with parameter $lambda$. Therefore, $Delta sim Exp(lambda)$.



        How is this significant?



        We insert two batteries with lifetimes $X sim Exp(lambda)$ and $Ysim Exp(lambda)$. One of them runs out and we replace it with the third battery. Its lifetime is $Z sim Exp(lambda)$. At the time of replacement, the other has lifetime $Delta sim Exp(lambda)$ - the same distribution it initially had! So we're left in the same situation, just with only three batteries!



        In conclusion: The time between the expiry of any two batteries is exponential with parameter $lambda$. Once three batteries expire, the flashlight stops working, as we only have one left, and it needs two. Therefore, the working time is the sum of three $Exp(lambda)$ random variables, which is (as seen here).



        $$Gamma(3, lambda)$$.







        share|cite|improve this answer












        share|cite|improve this answer



        share|cite|improve this answer










        answered Nov 25 at 1:08









        Todor Markov

        76616




        76616






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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.


            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%2f2993513%2fcompute-the-distribution-of-the-number-of-hours-t-that-we-can-use-the-flashlig%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

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...