integration of absolute valueExposition On An Integral Of An Absolute Value FunctionFinding the average of...

Value of a limit.

Applying for mortgage when living together but only one will be on the mortgage

Why Macos creates file mounts for each app?

How do discovery writers hibernate?

If the Moon were impacted by a suitably sized meteor, how long would it take to impact the Earth?

PCB design using code instead of clicking a mouse?

Why do we need a voltage divider when we get the same voltage at the output as the input?

Applications of pure mathematics in operations research

How can a class have multiple methods without breaking the single responsibility principle

Why don't short runways use ramps for takeoff?

When did J.K. Rowling decide to make Ron and Hermione a couple?

Using Python in a Bash Script

How did Biff return to 2015 from 1955 without a lightning strike?

How and when is the best time to reveal to new hires you are trans?

Coworker mumbles to herself when working, how to ask her to stop?

Should I put my name first or last in the team members list?

How char is processed in math mode?

LWC: Removing a class name on scroll

Move arrows along a contour

What Marvel character has this 'W' symbol?

How to efficiently shred a lot of cabbage?

What does 「ちんちんかいかい」 mean?

Why is “deal 6 damage” a legit phrase?

Russian pronunciation of /etc (a directory)



integration of absolute value


Exposition On An Integral Of An Absolute Value FunctionFinding the average of the absolute value of a function?Integration by parts: $int xln x^2 ,dx$Finding the derivative of an absolute valueDouble Integral $intlimits_0^pi intlimits_0^pi|cos(x+y)|,dx,dy$Evaluating definite integral U substitutionAbsolute value and inequality in integralAbsolute max and minimum valuesContour integration with absolute valueantiderivatives of $frac1{x-1}$






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







4












$begingroup$


$$int_0^6 |x^2 - 6x +8| dx =$$
I know the answer to this problem is $frac{44}3$. But, how do you get that? How does the solution change based on the absolute value? Without the absolute value I got an answer of 12 - I found the anti-derivative:$frac{x^3}3-3x^2+8x$. I then solved it which got me 12. However, this is not the answer to the above problem. What should I be doing?










share|cite|improve this question









$endgroup$










  • 3




    $begingroup$
    Try graphing the function and see where does it take positive/negative values. For instance, begin by checking the roots.
    $endgroup$
    – Rick
    9 hours ago




















4












$begingroup$


$$int_0^6 |x^2 - 6x +8| dx =$$
I know the answer to this problem is $frac{44}3$. But, how do you get that? How does the solution change based on the absolute value? Without the absolute value I got an answer of 12 - I found the anti-derivative:$frac{x^3}3-3x^2+8x$. I then solved it which got me 12. However, this is not the answer to the above problem. What should I be doing?










share|cite|improve this question









$endgroup$










  • 3




    $begingroup$
    Try graphing the function and see where does it take positive/negative values. For instance, begin by checking the roots.
    $endgroup$
    – Rick
    9 hours ago
















4












4








4





$begingroup$


$$int_0^6 |x^2 - 6x +8| dx =$$
I know the answer to this problem is $frac{44}3$. But, how do you get that? How does the solution change based on the absolute value? Without the absolute value I got an answer of 12 - I found the anti-derivative:$frac{x^3}3-3x^2+8x$. I then solved it which got me 12. However, this is not the answer to the above problem. What should I be doing?










share|cite|improve this question









$endgroup$




$$int_0^6 |x^2 - 6x +8| dx =$$
I know the answer to this problem is $frac{44}3$. But, how do you get that? How does the solution change based on the absolute value? Without the absolute value I got an answer of 12 - I found the anti-derivative:$frac{x^3}3-3x^2+8x$. I then solved it which got me 12. However, this is not the answer to the above problem. What should I be doing?







calculus integration






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 9 hours ago









burtburt

19510 bronze badges




19510 bronze badges











  • 3




    $begingroup$
    Try graphing the function and see where does it take positive/negative values. For instance, begin by checking the roots.
    $endgroup$
    – Rick
    9 hours ago
















  • 3




    $begingroup$
    Try graphing the function and see where does it take positive/negative values. For instance, begin by checking the roots.
    $endgroup$
    – Rick
    9 hours ago










3




3




$begingroup$
Try graphing the function and see where does it take positive/negative values. For instance, begin by checking the roots.
$endgroup$
– Rick
9 hours ago






$begingroup$
Try graphing the function and see where does it take positive/negative values. For instance, begin by checking the roots.
$endgroup$
– Rick
9 hours ago












4 Answers
4






active

oldest

votes


















6












$begingroup$

The absolute value is a function that's very difficult to work with directly. But there's an easy way to deal with it:



$$
|y|=begin{cases} y &text{if }ygeq0\ -y &text{if }yleq0end{cases}
$$



So your first step is to find where the term inside the absolute value is positive and where negative. Then you break up the integral into pieces.






share|cite|improve this answer









$endgroup$











  • 1




    $begingroup$
    What is the best way to do that? Finding the roots and checking the values?
    $endgroup$
    – burt
    9 hours ago










  • $begingroup$
    @burt Yes, as in Rick's comment
    $endgroup$
    – Y. Forman
    9 hours ago



















6












$begingroup$

Hint : $x^2-6x+8=(x-4)(x-2)$



Can you break domain $ [0,6]$ to get rid of absolute value notation?






share|cite|improve this answer











$endgroup$















  • $begingroup$
    What is modulus
    $endgroup$
    – burt
    9 hours ago










  • $begingroup$
    @burt It refers to the magnitude $| |$
    $endgroup$
    – Ak19
    9 hours ago






  • 2




    $begingroup$
    @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
    $endgroup$
    – Y. Forman
    9 hours ago



















3












$begingroup$

If the integrand were given without the absolute value then it would be negative in the interval $(2,4)$ hence the given integral is equal to
$$int_0^2 f(x)mathrm{d}x-int_2^4f(x)mathrm{d}x+int_4^6f(x)mathrm{d}x$$
where $f(x)=x^2-6x+8$.






share|cite|improve this answer









$endgroup$























    2












    $begingroup$

    If $f(x)>0$ on an interval, then $|f(x)|=f(x)$ on that interval. If $f(x)<0$ on an interval, then $|f(x)|=-f(x)$ on that interval. That's basically the actual definition of the absolute value function.



    On the interval $[2,4]$, $x^2-6x+8<0$. Everywhere else it's positive. Thus, your original integral is equivalent to the sum of the following three integrals:



    $$
    int_{0}^{2}(x^2-6x+8),dx+int_{2}^{4}left[-(x^2-6x+8)right],dx+int_{4}^{6}(x^2-6x+8),dx.
    $$






    share|cite|improve this answer











    $endgroup$


















      Your Answer








      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%2f3310682%2fintegration-of-absolute-value%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      6












      $begingroup$

      The absolute value is a function that's very difficult to work with directly. But there's an easy way to deal with it:



      $$
      |y|=begin{cases} y &text{if }ygeq0\ -y &text{if }yleq0end{cases}
      $$



      So your first step is to find where the term inside the absolute value is positive and where negative. Then you break up the integral into pieces.






      share|cite|improve this answer









      $endgroup$











      • 1




        $begingroup$
        What is the best way to do that? Finding the roots and checking the values?
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt Yes, as in Rick's comment
        $endgroup$
        – Y. Forman
        9 hours ago
















      6












      $begingroup$

      The absolute value is a function that's very difficult to work with directly. But there's an easy way to deal with it:



      $$
      |y|=begin{cases} y &text{if }ygeq0\ -y &text{if }yleq0end{cases}
      $$



      So your first step is to find where the term inside the absolute value is positive and where negative. Then you break up the integral into pieces.






      share|cite|improve this answer









      $endgroup$











      • 1




        $begingroup$
        What is the best way to do that? Finding the roots and checking the values?
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt Yes, as in Rick's comment
        $endgroup$
        – Y. Forman
        9 hours ago














      6












      6








      6





      $begingroup$

      The absolute value is a function that's very difficult to work with directly. But there's an easy way to deal with it:



      $$
      |y|=begin{cases} y &text{if }ygeq0\ -y &text{if }yleq0end{cases}
      $$



      So your first step is to find where the term inside the absolute value is positive and where negative. Then you break up the integral into pieces.






      share|cite|improve this answer









      $endgroup$



      The absolute value is a function that's very difficult to work with directly. But there's an easy way to deal with it:



      $$
      |y|=begin{cases} y &text{if }ygeq0\ -y &text{if }yleq0end{cases}
      $$



      So your first step is to find where the term inside the absolute value is positive and where negative. Then you break up the integral into pieces.







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered 9 hours ago









      Y. FormanY. Forman

      11.8k5 silver badges23 bronze badges




      11.8k5 silver badges23 bronze badges











      • 1




        $begingroup$
        What is the best way to do that? Finding the roots and checking the values?
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt Yes, as in Rick's comment
        $endgroup$
        – Y. Forman
        9 hours ago














      • 1




        $begingroup$
        What is the best way to do that? Finding the roots and checking the values?
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt Yes, as in Rick's comment
        $endgroup$
        – Y. Forman
        9 hours ago








      1




      1




      $begingroup$
      What is the best way to do that? Finding the roots and checking the values?
      $endgroup$
      – burt
      9 hours ago




      $begingroup$
      What is the best way to do that? Finding the roots and checking the values?
      $endgroup$
      – burt
      9 hours ago












      $begingroup$
      @burt Yes, as in Rick's comment
      $endgroup$
      – Y. Forman
      9 hours ago




      $begingroup$
      @burt Yes, as in Rick's comment
      $endgroup$
      – Y. Forman
      9 hours ago













      6












      $begingroup$

      Hint : $x^2-6x+8=(x-4)(x-2)$



      Can you break domain $ [0,6]$ to get rid of absolute value notation?






      share|cite|improve this answer











      $endgroup$















      • $begingroup$
        What is modulus
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt It refers to the magnitude $| |$
        $endgroup$
        – Ak19
        9 hours ago






      • 2




        $begingroup$
        @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
        $endgroup$
        – Y. Forman
        9 hours ago
















      6












      $begingroup$

      Hint : $x^2-6x+8=(x-4)(x-2)$



      Can you break domain $ [0,6]$ to get rid of absolute value notation?






      share|cite|improve this answer











      $endgroup$















      • $begingroup$
        What is modulus
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt It refers to the magnitude $| |$
        $endgroup$
        – Ak19
        9 hours ago






      • 2




        $begingroup$
        @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
        $endgroup$
        – Y. Forman
        9 hours ago














      6












      6








      6





      $begingroup$

      Hint : $x^2-6x+8=(x-4)(x-2)$



      Can you break domain $ [0,6]$ to get rid of absolute value notation?






      share|cite|improve this answer











      $endgroup$



      Hint : $x^2-6x+8=(x-4)(x-2)$



      Can you break domain $ [0,6]$ to get rid of absolute value notation?







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited 9 hours ago

























      answered 9 hours ago









      Praphulla KoushikPraphulla Koushik

      2631 silver badge19 bronze badges




      2631 silver badge19 bronze badges















      • $begingroup$
        What is modulus
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt It refers to the magnitude $| |$
        $endgroup$
        – Ak19
        9 hours ago






      • 2




        $begingroup$
        @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
        $endgroup$
        – Y. Forman
        9 hours ago


















      • $begingroup$
        What is modulus
        $endgroup$
        – burt
        9 hours ago










      • $begingroup$
        @burt It refers to the magnitude $| |$
        $endgroup$
        – Ak19
        9 hours ago






      • 2




        $begingroup$
        @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
        $endgroup$
        – Y. Forman
        9 hours ago
















      $begingroup$
      What is modulus
      $endgroup$
      – burt
      9 hours ago




      $begingroup$
      What is modulus
      $endgroup$
      – burt
      9 hours ago












      $begingroup$
      @burt It refers to the magnitude $| |$
      $endgroup$
      – Ak19
      9 hours ago




      $begingroup$
      @burt It refers to the magnitude $| |$
      $endgroup$
      – Ak19
      9 hours ago




      2




      2




      $begingroup$
      @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
      $endgroup$
      – Y. Forman
      9 hours ago




      $begingroup$
      @burt "Modulus," "magnitude," and "absolute value" all mean the same thing.
      $endgroup$
      – Y. Forman
      9 hours ago











      3












      $begingroup$

      If the integrand were given without the absolute value then it would be negative in the interval $(2,4)$ hence the given integral is equal to
      $$int_0^2 f(x)mathrm{d}x-int_2^4f(x)mathrm{d}x+int_4^6f(x)mathrm{d}x$$
      where $f(x)=x^2-6x+8$.






      share|cite|improve this answer









      $endgroup$




















        3












        $begingroup$

        If the integrand were given without the absolute value then it would be negative in the interval $(2,4)$ hence the given integral is equal to
        $$int_0^2 f(x)mathrm{d}x-int_2^4f(x)mathrm{d}x+int_4^6f(x)mathrm{d}x$$
        where $f(x)=x^2-6x+8$.






        share|cite|improve this answer









        $endgroup$


















          3












          3








          3





          $begingroup$

          If the integrand were given without the absolute value then it would be negative in the interval $(2,4)$ hence the given integral is equal to
          $$int_0^2 f(x)mathrm{d}x-int_2^4f(x)mathrm{d}x+int_4^6f(x)mathrm{d}x$$
          where $f(x)=x^2-6x+8$.






          share|cite|improve this answer









          $endgroup$



          If the integrand were given without the absolute value then it would be negative in the interval $(2,4)$ hence the given integral is equal to
          $$int_0^2 f(x)mathrm{d}x-int_2^4f(x)mathrm{d}x+int_4^6f(x)mathrm{d}x$$
          where $f(x)=x^2-6x+8$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 9 hours ago









          Peter ForemanPeter Foreman

          13k1 gold badge5 silver badges29 bronze badges




          13k1 gold badge5 silver badges29 bronze badges


























              2












              $begingroup$

              If $f(x)>0$ on an interval, then $|f(x)|=f(x)$ on that interval. If $f(x)<0$ on an interval, then $|f(x)|=-f(x)$ on that interval. That's basically the actual definition of the absolute value function.



              On the interval $[2,4]$, $x^2-6x+8<0$. Everywhere else it's positive. Thus, your original integral is equivalent to the sum of the following three integrals:



              $$
              int_{0}^{2}(x^2-6x+8),dx+int_{2}^{4}left[-(x^2-6x+8)right],dx+int_{4}^{6}(x^2-6x+8),dx.
              $$






              share|cite|improve this answer











              $endgroup$




















                2












                $begingroup$

                If $f(x)>0$ on an interval, then $|f(x)|=f(x)$ on that interval. If $f(x)<0$ on an interval, then $|f(x)|=-f(x)$ on that interval. That's basically the actual definition of the absolute value function.



                On the interval $[2,4]$, $x^2-6x+8<0$. Everywhere else it's positive. Thus, your original integral is equivalent to the sum of the following three integrals:



                $$
                int_{0}^{2}(x^2-6x+8),dx+int_{2}^{4}left[-(x^2-6x+8)right],dx+int_{4}^{6}(x^2-6x+8),dx.
                $$






                share|cite|improve this answer











                $endgroup$


















                  2












                  2








                  2





                  $begingroup$

                  If $f(x)>0$ on an interval, then $|f(x)|=f(x)$ on that interval. If $f(x)<0$ on an interval, then $|f(x)|=-f(x)$ on that interval. That's basically the actual definition of the absolute value function.



                  On the interval $[2,4]$, $x^2-6x+8<0$. Everywhere else it's positive. Thus, your original integral is equivalent to the sum of the following three integrals:



                  $$
                  int_{0}^{2}(x^2-6x+8),dx+int_{2}^{4}left[-(x^2-6x+8)right],dx+int_{4}^{6}(x^2-6x+8),dx.
                  $$






                  share|cite|improve this answer











                  $endgroup$



                  If $f(x)>0$ on an interval, then $|f(x)|=f(x)$ on that interval. If $f(x)<0$ on an interval, then $|f(x)|=-f(x)$ on that interval. That's basically the actual definition of the absolute value function.



                  On the interval $[2,4]$, $x^2-6x+8<0$. Everywhere else it's positive. Thus, your original integral is equivalent to the sum of the following three integrals:



                  $$
                  int_{0}^{2}(x^2-6x+8),dx+int_{2}^{4}left[-(x^2-6x+8)right],dx+int_{4}^{6}(x^2-6x+8),dx.
                  $$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 9 hours ago

























                  answered 9 hours ago









                  Michael RybkinMichael Rybkin

                  5,9692 gold badges6 silver badges25 bronze badges




                  5,9692 gold badges6 silver badges25 bronze badges

































                      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%2f3310682%2fintegration-of-absolute-value%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

                      Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                      Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                      Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...