How to treat a constant when integrating

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I am wondering what to do when coming across an integral like this where $a$ is a constant:



$$int^1000_a (x-a)1over1000dx $$



As far as I can see, it should be ok to do this:



$$ left.1over 1000 left(x^2over2 -axright)right|^1000_a$$



But the book I am using does:



$$ left.1over 1000 left((x-a)^2over2right)right|^1000_a$$



Which also seems correct, but is different. How does one decide which way to integrate? (The actual question in the book is regarding expected value of probability, and I can copy it in full if it makes a difference.)







share|cite|improve this question

























    up vote
    3
    down vote

    favorite












    I am wondering what to do when coming across an integral like this where $a$ is a constant:



    $$int^1000_a (x-a)1over1000dx $$



    As far as I can see, it should be ok to do this:



    $$ left.1over 1000 left(x^2over2 -axright)right|^1000_a$$



    But the book I am using does:



    $$ left.1over 1000 left((x-a)^2over2right)right|^1000_a$$



    Which also seems correct, but is different. How does one decide which way to integrate? (The actual question in the book is regarding expected value of probability, and I can copy it in full if it makes a difference.)







    share|cite|improve this question























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I am wondering what to do when coming across an integral like this where $a$ is a constant:



      $$int^1000_a (x-a)1over1000dx $$



      As far as I can see, it should be ok to do this:



      $$ left.1over 1000 left(x^2over2 -axright)right|^1000_a$$



      But the book I am using does:



      $$ left.1over 1000 left((x-a)^2over2right)right|^1000_a$$



      Which also seems correct, but is different. How does one decide which way to integrate? (The actual question in the book is regarding expected value of probability, and I can copy it in full if it makes a difference.)







      share|cite|improve this question













      I am wondering what to do when coming across an integral like this where $a$ is a constant:



      $$int^1000_a (x-a)1over1000dx $$



      As far as I can see, it should be ok to do this:



      $$ left.1over 1000 left(x^2over2 -axright)right|^1000_a$$



      But the book I am using does:



      $$ left.1over 1000 left((x-a)^2over2right)right|^1000_a$$



      Which also seems correct, but is different. How does one decide which way to integrate? (The actual question in the book is regarding expected value of probability, and I can copy it in full if it makes a difference.)









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Aug 3 at 7:47









      Mutantoe

      52039




      52039









      asked Aug 3 at 3:42









      agblt

      547




      547




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          The two expressions are different only by a constant. When you take bounds, the constant vanishes, giving the same result.






          share|cite|improve this answer





















          • Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
            – agblt
            Aug 3 at 3:59










          • @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
            – Carmeister
            Aug 3 at 7:13


















          up vote
          3
          down vote













          $$dfrac(x-a)^22-left(dfracx^22-axright)=?$$ is independent of $x$ hence arbitrary constant






          share|cite|improve this answer





















          • @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
            – lab bhattacharjee
            Aug 3 at 3:54










          • I see it now, thank you.
            – agblt
            Aug 3 at 4:01










          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2870710%2fhow-to-treat-a-constant-when-integrating%23new-answer', 'question_page');

          );

          Post as a guest






























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          The two expressions are different only by a constant. When you take bounds, the constant vanishes, giving the same result.






          share|cite|improve this answer





















          • Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
            – agblt
            Aug 3 at 3:59










          • @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
            – Carmeister
            Aug 3 at 7:13















          up vote
          3
          down vote



          accepted










          The two expressions are different only by a constant. When you take bounds, the constant vanishes, giving the same result.






          share|cite|improve this answer





















          • Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
            – agblt
            Aug 3 at 3:59










          • @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
            – Carmeister
            Aug 3 at 7:13













          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          The two expressions are different only by a constant. When you take bounds, the constant vanishes, giving the same result.






          share|cite|improve this answer













          The two expressions are different only by a constant. When you take bounds, the constant vanishes, giving the same result.







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Aug 3 at 3:53









          Deepak

          15.9k11437




          15.9k11437











          • Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
            – agblt
            Aug 3 at 3:59










          • @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
            – Carmeister
            Aug 3 at 7:13

















          • Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
            – agblt
            Aug 3 at 3:59










          • @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
            – Carmeister
            Aug 3 at 7:13
















          Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
          – agblt
          Aug 3 at 3:59




          Thanks, my confusion was from the fact that I had made a different mistake, and mistakenly attributed the mistake to the method of integration, but now you cleared it up for me!
          – agblt
          Aug 3 at 3:59












          @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
          – Carmeister
          Aug 3 at 7:13





          @agblt Might be worth mentioning that the fact that there is an unknown constant $a$ makes no difference than if it were a known constant - e.g. $x+3$ could be integrated as $x^2/2+3x$ or $(x+3)^2/2$.
          – Carmeister
          Aug 3 at 7:13











          up vote
          3
          down vote













          $$dfrac(x-a)^22-left(dfracx^22-axright)=?$$ is independent of $x$ hence arbitrary constant






          share|cite|improve this answer





















          • @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
            – lab bhattacharjee
            Aug 3 at 3:54










          • I see it now, thank you.
            – agblt
            Aug 3 at 4:01














          up vote
          3
          down vote













          $$dfrac(x-a)^22-left(dfracx^22-axright)=?$$ is independent of $x$ hence arbitrary constant






          share|cite|improve this answer





















          • @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
            – lab bhattacharjee
            Aug 3 at 3:54










          • I see it now, thank you.
            – agblt
            Aug 3 at 4:01












          up vote
          3
          down vote










          up vote
          3
          down vote









          $$dfrac(x-a)^22-left(dfracx^22-axright)=?$$ is independent of $x$ hence arbitrary constant






          share|cite|improve this answer













          $$dfrac(x-a)^22-left(dfracx^22-axright)=?$$ is independent of $x$ hence arbitrary constant







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Aug 3 at 3:50









          lab bhattacharjee

          214k14152263




          214k14152263











          • @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
            – lab bhattacharjee
            Aug 3 at 3:54










          • I see it now, thank you.
            – agblt
            Aug 3 at 4:01
















          • @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
            – lab bhattacharjee
            Aug 3 at 3:54










          • I see it now, thank you.
            – agblt
            Aug 3 at 4:01















          @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
          – lab bhattacharjee
          Aug 3 at 3:54




          @agblt, If $f(x)=dfraca^22,$ $$f(1000)-f(a)=?$$
          – lab bhattacharjee
          Aug 3 at 3:54












          I see it now, thank you.
          – agblt
          Aug 3 at 4:01




          I see it now, thank you.
          – agblt
          Aug 3 at 4:01












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2870710%2fhow-to-treat-a-constant-when-integrating%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          What is the equation of a 3D cone with generalised tilt?

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?