Why can't I make the substitution $ u = sin (ax + b) $ to evaluate $ int sin (ax + b) cos (ax + b) dx$?












2












$begingroup$


Evaluate $ int sin (ax + b) cos (ax + b) dx$?



To do this, I started of by substituting $ u = sin (ax + b) $. That made $ du = cos (ax + b) cdot a $ and wrote the integral as $ frac 1a int u du $ to get the final answer as: $$ frac 1{2a} sin^2 (ax + b) $$
This answer however, is wrong. My textbook uses a different method and arrives at a different answer. I understand how to arrive at the (right) answer but I want to know why I can't get the same answer by substitution here.



My textbook starts off by rewriting the expression as $ frac {sin 2 (ax + b)}{2} $ and then substitutes $ 2 (ax + b) = u $ to get this answer: $$ - frac { cos 2 (ax + b) } {4a } $$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    What you found is indeed an antiderivative of $sin(ax+b)cos(ax+b)$.
    $endgroup$
    – drhab
    Jan 21 at 9:12






  • 1




    $begingroup$
    They used the identity $sin(2u)=2sin(u)cos(u)$
    $endgroup$
    – coreyman317
    Jan 21 at 9:13








  • 4




    $begingroup$
    The answers differ by a constant (the "C" that you omitted).
    $endgroup$
    – David Mitra
    Jan 21 at 9:13






  • 2




    $begingroup$
    $sin^2(ax+b)=dfrac{1-cos(2(ax+b))}2$; the $1/2$ gets absorbed in the arbitrary constant
    $endgroup$
    – Shubham Johri
    Jan 21 at 9:16








  • 3




    $begingroup$
    Possible duplicate of Integral of $sin x cos x$ using two methods differs by a constant?
    $endgroup$
    – Hans Lundmark
    Jan 21 at 9:18
















2












$begingroup$


Evaluate $ int sin (ax + b) cos (ax + b) dx$?



To do this, I started of by substituting $ u = sin (ax + b) $. That made $ du = cos (ax + b) cdot a $ and wrote the integral as $ frac 1a int u du $ to get the final answer as: $$ frac 1{2a} sin^2 (ax + b) $$
This answer however, is wrong. My textbook uses a different method and arrives at a different answer. I understand how to arrive at the (right) answer but I want to know why I can't get the same answer by substitution here.



My textbook starts off by rewriting the expression as $ frac {sin 2 (ax + b)}{2} $ and then substitutes $ 2 (ax + b) = u $ to get this answer: $$ - frac { cos 2 (ax + b) } {4a } $$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    What you found is indeed an antiderivative of $sin(ax+b)cos(ax+b)$.
    $endgroup$
    – drhab
    Jan 21 at 9:12






  • 1




    $begingroup$
    They used the identity $sin(2u)=2sin(u)cos(u)$
    $endgroup$
    – coreyman317
    Jan 21 at 9:13








  • 4




    $begingroup$
    The answers differ by a constant (the "C" that you omitted).
    $endgroup$
    – David Mitra
    Jan 21 at 9:13






  • 2




    $begingroup$
    $sin^2(ax+b)=dfrac{1-cos(2(ax+b))}2$; the $1/2$ gets absorbed in the arbitrary constant
    $endgroup$
    – Shubham Johri
    Jan 21 at 9:16








  • 3




    $begingroup$
    Possible duplicate of Integral of $sin x cos x$ using two methods differs by a constant?
    $endgroup$
    – Hans Lundmark
    Jan 21 at 9:18














2












2








2





$begingroup$


Evaluate $ int sin (ax + b) cos (ax + b) dx$?



To do this, I started of by substituting $ u = sin (ax + b) $. That made $ du = cos (ax + b) cdot a $ and wrote the integral as $ frac 1a int u du $ to get the final answer as: $$ frac 1{2a} sin^2 (ax + b) $$
This answer however, is wrong. My textbook uses a different method and arrives at a different answer. I understand how to arrive at the (right) answer but I want to know why I can't get the same answer by substitution here.



My textbook starts off by rewriting the expression as $ frac {sin 2 (ax + b)}{2} $ and then substitutes $ 2 (ax + b) = u $ to get this answer: $$ - frac { cos 2 (ax + b) } {4a } $$










share|cite|improve this question











$endgroup$




Evaluate $ int sin (ax + b) cos (ax + b) dx$?



To do this, I started of by substituting $ u = sin (ax + b) $. That made $ du = cos (ax + b) cdot a $ and wrote the integral as $ frac 1a int u du $ to get the final answer as: $$ frac 1{2a} sin^2 (ax + b) $$
This answer however, is wrong. My textbook uses a different method and arrives at a different answer. I understand how to arrive at the (right) answer but I want to know why I can't get the same answer by substitution here.



My textbook starts off by rewriting the expression as $ frac {sin 2 (ax + b)}{2} $ and then substitutes $ 2 (ax + b) = u $ to get this answer: $$ - frac { cos 2 (ax + b) } {4a } $$







indefinite-integrals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 21 at 9:12







WorldGov

















asked Jan 21 at 9:06









WorldGovWorldGov

324111




324111








  • 1




    $begingroup$
    What you found is indeed an antiderivative of $sin(ax+b)cos(ax+b)$.
    $endgroup$
    – drhab
    Jan 21 at 9:12






  • 1




    $begingroup$
    They used the identity $sin(2u)=2sin(u)cos(u)$
    $endgroup$
    – coreyman317
    Jan 21 at 9:13








  • 4




    $begingroup$
    The answers differ by a constant (the "C" that you omitted).
    $endgroup$
    – David Mitra
    Jan 21 at 9:13






  • 2




    $begingroup$
    $sin^2(ax+b)=dfrac{1-cos(2(ax+b))}2$; the $1/2$ gets absorbed in the arbitrary constant
    $endgroup$
    – Shubham Johri
    Jan 21 at 9:16








  • 3




    $begingroup$
    Possible duplicate of Integral of $sin x cos x$ using two methods differs by a constant?
    $endgroup$
    – Hans Lundmark
    Jan 21 at 9:18














  • 1




    $begingroup$
    What you found is indeed an antiderivative of $sin(ax+b)cos(ax+b)$.
    $endgroup$
    – drhab
    Jan 21 at 9:12






  • 1




    $begingroup$
    They used the identity $sin(2u)=2sin(u)cos(u)$
    $endgroup$
    – coreyman317
    Jan 21 at 9:13








  • 4




    $begingroup$
    The answers differ by a constant (the "C" that you omitted).
    $endgroup$
    – David Mitra
    Jan 21 at 9:13






  • 2




    $begingroup$
    $sin^2(ax+b)=dfrac{1-cos(2(ax+b))}2$; the $1/2$ gets absorbed in the arbitrary constant
    $endgroup$
    – Shubham Johri
    Jan 21 at 9:16








  • 3




    $begingroup$
    Possible duplicate of Integral of $sin x cos x$ using two methods differs by a constant?
    $endgroup$
    – Hans Lundmark
    Jan 21 at 9:18








1




1




$begingroup$
What you found is indeed an antiderivative of $sin(ax+b)cos(ax+b)$.
$endgroup$
– drhab
Jan 21 at 9:12




$begingroup$
What you found is indeed an antiderivative of $sin(ax+b)cos(ax+b)$.
$endgroup$
– drhab
Jan 21 at 9:12




1




1




$begingroup$
They used the identity $sin(2u)=2sin(u)cos(u)$
$endgroup$
– coreyman317
Jan 21 at 9:13






$begingroup$
They used the identity $sin(2u)=2sin(u)cos(u)$
$endgroup$
– coreyman317
Jan 21 at 9:13






4




4




$begingroup$
The answers differ by a constant (the "C" that you omitted).
$endgroup$
– David Mitra
Jan 21 at 9:13




$begingroup$
The answers differ by a constant (the "C" that you omitted).
$endgroup$
– David Mitra
Jan 21 at 9:13




2




2




$begingroup$
$sin^2(ax+b)=dfrac{1-cos(2(ax+b))}2$; the $1/2$ gets absorbed in the arbitrary constant
$endgroup$
– Shubham Johri
Jan 21 at 9:16






$begingroup$
$sin^2(ax+b)=dfrac{1-cos(2(ax+b))}2$; the $1/2$ gets absorbed in the arbitrary constant
$endgroup$
– Shubham Johri
Jan 21 at 9:16






3




3




$begingroup$
Possible duplicate of Integral of $sin x cos x$ using two methods differs by a constant?
$endgroup$
– Hans Lundmark
Jan 21 at 9:18




$begingroup$
Possible duplicate of Integral of $sin x cos x$ using two methods differs by a constant?
$endgroup$
– Hans Lundmark
Jan 21 at 9:18










3 Answers
3






active

oldest

votes


















5












$begingroup$

Note that $$1-cos2(ax+b)=2sin^2(ax+b)$$



So the textbook gives almost the same as your outcome and the difference is constant.



That is allowed because to be found is an antiderivative (not an integral).






share|cite|improve this answer









$endgroup$





















    2












    $begingroup$

    The other method probably is that $int sin (ax+b) cos (ax+b) dx=frac{1}{2}int sin (2ax+2b) dx= frac{1}{2} cdot frac{1}{2a}(-cos(2ax+2b))+c=frac{1}{4a}(2 sin^2(ax+b)-1)+c)= frac{1}{2a} sin^2(ax+b)+c$



    using $cos(2x)=1-2sin^2(x)$ and putting $-frac{1}{4a}$ inside the constant






    share|cite|improve this answer









    $endgroup$





















      -1












      $begingroup$

      You can solve with the substitution
      u=sin(ax+b) then,
      du=acos(ax+b)dx so,
      ∫sin(ax+b)cos(ax+b)dx=∫(u/a)du=(u^2)/(2a)=sin^2(ax+b)/(2a)
      which is same with your answer-1/4a






      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%2f3081656%2fwhy-cant-i-make-the-substitution-u-sin-ax-b-to-evaluate-int-sin%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        5












        $begingroup$

        Note that $$1-cos2(ax+b)=2sin^2(ax+b)$$



        So the textbook gives almost the same as your outcome and the difference is constant.



        That is allowed because to be found is an antiderivative (not an integral).






        share|cite|improve this answer









        $endgroup$


















          5












          $begingroup$

          Note that $$1-cos2(ax+b)=2sin^2(ax+b)$$



          So the textbook gives almost the same as your outcome and the difference is constant.



          That is allowed because to be found is an antiderivative (not an integral).






          share|cite|improve this answer









          $endgroup$
















            5












            5








            5





            $begingroup$

            Note that $$1-cos2(ax+b)=2sin^2(ax+b)$$



            So the textbook gives almost the same as your outcome and the difference is constant.



            That is allowed because to be found is an antiderivative (not an integral).






            share|cite|improve this answer









            $endgroup$



            Note that $$1-cos2(ax+b)=2sin^2(ax+b)$$



            So the textbook gives almost the same as your outcome and the difference is constant.



            That is allowed because to be found is an antiderivative (not an integral).







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 21 at 9:15









            drhabdrhab

            102k545136




            102k545136























                2












                $begingroup$

                The other method probably is that $int sin (ax+b) cos (ax+b) dx=frac{1}{2}int sin (2ax+2b) dx= frac{1}{2} cdot frac{1}{2a}(-cos(2ax+2b))+c=frac{1}{4a}(2 sin^2(ax+b)-1)+c)= frac{1}{2a} sin^2(ax+b)+c$



                using $cos(2x)=1-2sin^2(x)$ and putting $-frac{1}{4a}$ inside the constant






                share|cite|improve this answer









                $endgroup$


















                  2












                  $begingroup$

                  The other method probably is that $int sin (ax+b) cos (ax+b) dx=frac{1}{2}int sin (2ax+2b) dx= frac{1}{2} cdot frac{1}{2a}(-cos(2ax+2b))+c=frac{1}{4a}(2 sin^2(ax+b)-1)+c)= frac{1}{2a} sin^2(ax+b)+c$



                  using $cos(2x)=1-2sin^2(x)$ and putting $-frac{1}{4a}$ inside the constant






                  share|cite|improve this answer









                  $endgroup$
















                    2












                    2








                    2





                    $begingroup$

                    The other method probably is that $int sin (ax+b) cos (ax+b) dx=frac{1}{2}int sin (2ax+2b) dx= frac{1}{2} cdot frac{1}{2a}(-cos(2ax+2b))+c=frac{1}{4a}(2 sin^2(ax+b)-1)+c)= frac{1}{2a} sin^2(ax+b)+c$



                    using $cos(2x)=1-2sin^2(x)$ and putting $-frac{1}{4a}$ inside the constant






                    share|cite|improve this answer









                    $endgroup$



                    The other method probably is that $int sin (ax+b) cos (ax+b) dx=frac{1}{2}int sin (2ax+2b) dx= frac{1}{2} cdot frac{1}{2a}(-cos(2ax+2b))+c=frac{1}{4a}(2 sin^2(ax+b)-1)+c)= frac{1}{2a} sin^2(ax+b)+c$



                    using $cos(2x)=1-2sin^2(x)$ and putting $-frac{1}{4a}$ inside the constant







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Jan 21 at 9:16









                    user289143user289143

                    1,002313




                    1,002313























                        -1












                        $begingroup$

                        You can solve with the substitution
                        u=sin(ax+b) then,
                        du=acos(ax+b)dx so,
                        ∫sin(ax+b)cos(ax+b)dx=∫(u/a)du=(u^2)/(2a)=sin^2(ax+b)/(2a)
                        which is same with your answer-1/4a






                        share|cite|improve this answer









                        $endgroup$


















                          -1












                          $begingroup$

                          You can solve with the substitution
                          u=sin(ax+b) then,
                          du=acos(ax+b)dx so,
                          ∫sin(ax+b)cos(ax+b)dx=∫(u/a)du=(u^2)/(2a)=sin^2(ax+b)/(2a)
                          which is same with your answer-1/4a






                          share|cite|improve this answer









                          $endgroup$
















                            -1












                            -1








                            -1





                            $begingroup$

                            You can solve with the substitution
                            u=sin(ax+b) then,
                            du=acos(ax+b)dx so,
                            ∫sin(ax+b)cos(ax+b)dx=∫(u/a)du=(u^2)/(2a)=sin^2(ax+b)/(2a)
                            which is same with your answer-1/4a






                            share|cite|improve this answer









                            $endgroup$



                            You can solve with the substitution
                            u=sin(ax+b) then,
                            du=acos(ax+b)dx so,
                            ∫sin(ax+b)cos(ax+b)dx=∫(u/a)du=(u^2)/(2a)=sin^2(ax+b)/(2a)
                            which is same with your answer-1/4a







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 21 at 9:24









                            kongmyeongkongmyeong

                            111




                            111






























                                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%2f3081656%2fwhy-cant-i-make-the-substitution-u-sin-ax-b-to-evaluate-int-sin%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