Trying to understand an inconsistency within basic error analysis equations












2












$begingroup$


While doing a physics lab, I noticed that the error analysis equation for multiplication $$R = frac{X*Y}{Z}$$ $$ delta R = |R|sqrt{left(frac{delta X}{X}right)^2+left(frac{delta Y}{Y}right)^2+left(frac{delta Z}{Z}right)^2}$$ is not algebraically equivalent to $$R = X^n$$ $$delta R = |n|*frac{delta X}{|X|}*|R|$$ For example, if we take $R = X*X$ then the first equation gives $sqrt{2}*left(frac{delta X}{|X|}right)*X^2$. But if we take $R = X^2$ then the second equation gives $2*left(frac{delta X}{|X|}right)*X^2$.



Why is this the case? I have feeling that I should only use the first equation for differing variables $X$ and $Y$, but I don't understand why.










share|cite|improve this question











$endgroup$

















    2












    $begingroup$


    While doing a physics lab, I noticed that the error analysis equation for multiplication $$R = frac{X*Y}{Z}$$ $$ delta R = |R|sqrt{left(frac{delta X}{X}right)^2+left(frac{delta Y}{Y}right)^2+left(frac{delta Z}{Z}right)^2}$$ is not algebraically equivalent to $$R = X^n$$ $$delta R = |n|*frac{delta X}{|X|}*|R|$$ For example, if we take $R = X*X$ then the first equation gives $sqrt{2}*left(frac{delta X}{|X|}right)*X^2$. But if we take $R = X^2$ then the second equation gives $2*left(frac{delta X}{|X|}right)*X^2$.



    Why is this the case? I have feeling that I should only use the first equation for differing variables $X$ and $Y$, but I don't understand why.










    share|cite|improve this question











    $endgroup$















      2












      2








      2





      $begingroup$


      While doing a physics lab, I noticed that the error analysis equation for multiplication $$R = frac{X*Y}{Z}$$ $$ delta R = |R|sqrt{left(frac{delta X}{X}right)^2+left(frac{delta Y}{Y}right)^2+left(frac{delta Z}{Z}right)^2}$$ is not algebraically equivalent to $$R = X^n$$ $$delta R = |n|*frac{delta X}{|X|}*|R|$$ For example, if we take $R = X*X$ then the first equation gives $sqrt{2}*left(frac{delta X}{|X|}right)*X^2$. But if we take $R = X^2$ then the second equation gives $2*left(frac{delta X}{|X|}right)*X^2$.



      Why is this the case? I have feeling that I should only use the first equation for differing variables $X$ and $Y$, but I don't understand why.










      share|cite|improve this question











      $endgroup$




      While doing a physics lab, I noticed that the error analysis equation for multiplication $$R = frac{X*Y}{Z}$$ $$ delta R = |R|sqrt{left(frac{delta X}{X}right)^2+left(frac{delta Y}{Y}right)^2+left(frac{delta Z}{Z}right)^2}$$ is not algebraically equivalent to $$R = X^n$$ $$delta R = |n|*frac{delta X}{|X|}*|R|$$ For example, if we take $R = X*X$ then the first equation gives $sqrt{2}*left(frac{delta X}{|X|}right)*X^2$. But if we take $R = X^2$ then the second equation gives $2*left(frac{delta X}{|X|}right)*X^2$.



      Why is this the case? I have feeling that I should only use the first equation for differing variables $X$ and $Y$, but I don't understand why.







      error-propagation






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 3 '18 at 3:14









      Robert Howard

      2,0101826




      2,0101826










      asked Dec 3 '18 at 2:29









      Ryan GreylingRyan Greyling

      3449




      3449






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          This comes down to correlation between $X$ and $Y$, and hence correlation in their errors.



          These formulas for calculating $delta X$ are in some sense talking about the standard deviation of the measurements of $X$.



          If $X$ and $Y$ are independent measurements, then we don't expect the error in $X+Y$ to be just the sum of errors (it is too pessimistic) because there's some chance a positive error in $X$ will be cancelled out by a negative error in $Y$. Statistically you can then recover $sqrt{left(delta Xright)^2+left(delta Yright)^2}$ as the expected (average) error.



          This reasoning completely fails when $X$ and $X$ are added. Whenever $X$ has a positive error, obviously $X$ (the second copy) also has positive error. There is no cancelling whatsoever, and the error of $2X$ is just twice the error of $X$.






          share|cite|improve this answer











          $endgroup$













            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%2f3023529%2ftrying-to-understand-an-inconsistency-within-basic-error-analysis-equations%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









            2












            $begingroup$

            This comes down to correlation between $X$ and $Y$, and hence correlation in their errors.



            These formulas for calculating $delta X$ are in some sense talking about the standard deviation of the measurements of $X$.



            If $X$ and $Y$ are independent measurements, then we don't expect the error in $X+Y$ to be just the sum of errors (it is too pessimistic) because there's some chance a positive error in $X$ will be cancelled out by a negative error in $Y$. Statistically you can then recover $sqrt{left(delta Xright)^2+left(delta Yright)^2}$ as the expected (average) error.



            This reasoning completely fails when $X$ and $X$ are added. Whenever $X$ has a positive error, obviously $X$ (the second copy) also has positive error. There is no cancelling whatsoever, and the error of $2X$ is just twice the error of $X$.






            share|cite|improve this answer











            $endgroup$


















              2












              $begingroup$

              This comes down to correlation between $X$ and $Y$, and hence correlation in their errors.



              These formulas for calculating $delta X$ are in some sense talking about the standard deviation of the measurements of $X$.



              If $X$ and $Y$ are independent measurements, then we don't expect the error in $X+Y$ to be just the sum of errors (it is too pessimistic) because there's some chance a positive error in $X$ will be cancelled out by a negative error in $Y$. Statistically you can then recover $sqrt{left(delta Xright)^2+left(delta Yright)^2}$ as the expected (average) error.



              This reasoning completely fails when $X$ and $X$ are added. Whenever $X$ has a positive error, obviously $X$ (the second copy) also has positive error. There is no cancelling whatsoever, and the error of $2X$ is just twice the error of $X$.






              share|cite|improve this answer











              $endgroup$
















                2












                2








                2





                $begingroup$

                This comes down to correlation between $X$ and $Y$, and hence correlation in their errors.



                These formulas for calculating $delta X$ are in some sense talking about the standard deviation of the measurements of $X$.



                If $X$ and $Y$ are independent measurements, then we don't expect the error in $X+Y$ to be just the sum of errors (it is too pessimistic) because there's some chance a positive error in $X$ will be cancelled out by a negative error in $Y$. Statistically you can then recover $sqrt{left(delta Xright)^2+left(delta Yright)^2}$ as the expected (average) error.



                This reasoning completely fails when $X$ and $X$ are added. Whenever $X$ has a positive error, obviously $X$ (the second copy) also has positive error. There is no cancelling whatsoever, and the error of $2X$ is just twice the error of $X$.






                share|cite|improve this answer











                $endgroup$



                This comes down to correlation between $X$ and $Y$, and hence correlation in their errors.



                These formulas for calculating $delta X$ are in some sense talking about the standard deviation of the measurements of $X$.



                If $X$ and $Y$ are independent measurements, then we don't expect the error in $X+Y$ to be just the sum of errors (it is too pessimistic) because there's some chance a positive error in $X$ will be cancelled out by a negative error in $Y$. Statistically you can then recover $sqrt{left(delta Xright)^2+left(delta Yright)^2}$ as the expected (average) error.



                This reasoning completely fails when $X$ and $X$ are added. Whenever $X$ has a positive error, obviously $X$ (the second copy) also has positive error. There is no cancelling whatsoever, and the error of $2X$ is just twice the error of $X$.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Dec 3 '18 at 2:46

























                answered Dec 3 '18 at 2:41









                obscuransobscurans

                1,152311




                1,152311






























                    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%2f3023529%2ftrying-to-understand-an-inconsistency-within-basic-error-analysis-equations%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

                    Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                    ComboBox Display Member on multiple fields

                    Is it possible to collect Nectar points via Trainline?