Nonhomogeneous Semi-Linear PDE with the Characteristic Method











up vote
0
down vote

favorite
1












I need to solve this semi-linear PDE:



$u_x - 3u_y = sin (y) + cos (x)$



The initial condition provided is:



$ u (t,t)= t^2$



I need to use the Characteristic Method. I learned the method from this video.



I have reached an answer. However, I am not sure if it is wright. I am insecure in two different moments of my solution.



My intermediate steps are:



First constant: $c_1= y + 3x $



Second constant: $c_2= xcos y -cos x-u$



The second constant above is my first source of insecurity.



I needed to solve this equality as an ODE:



$frac{dx}{1}= frac{du}{sin x + cos y}$



I did so with this approach:



$int (sin x + cos y) dx = int 1 du $



Using integral properties:
$(int sin x dx) + (int cos y dx) = int 1 du $



Which results in:
$c_2= xcos y -cos x-u$



I am not sure if this is right. I don't know why, but I am affraid I can't treat cos y as a constant on the second integral.



Supposing this was correct, I tried to go on. So I used an arbitrary function G to make the relation between both constants. Hence, $c_2 =G(c_1) $ and we have that:



$ xcos y -cos x-u = G(y + 3x) $



With the initial condition we have:



$G(4x) = xcos y -cos x- x^2$



This result above is my second source of insecurity.



Before, I was dealing with clear arbitraty functions like $G(x)$ or $G(y)$.
Now, the result is different. I did some manipulation to put it on the more casual form. So:



$G(x) = frac{x}{4}cos y -cosfrac{x}{4}- frac{x^2}{16}$



After the definition of $G(x)$ above , I inputed the value of $c_1$ , having:



$G(y + 3x) = frac{y+3x}{4}cos y -cosfrac{y+3x}{4} - frac{(y+3x)^2}{16} $.



Finally, solving for $u$:



$u(x,y) = -frac{y+3x}{4}cos y +cosfrac{y+3x}{4} + frac{(y+3x)^2}{16} + xcos y -cos x $



Is this right?



If I did something wrong, what was it?



Thanks in advance!










share|cite|improve this question




























    up vote
    0
    down vote

    favorite
    1












    I need to solve this semi-linear PDE:



    $u_x - 3u_y = sin (y) + cos (x)$



    The initial condition provided is:



    $ u (t,t)= t^2$



    I need to use the Characteristic Method. I learned the method from this video.



    I have reached an answer. However, I am not sure if it is wright. I am insecure in two different moments of my solution.



    My intermediate steps are:



    First constant: $c_1= y + 3x $



    Second constant: $c_2= xcos y -cos x-u$



    The second constant above is my first source of insecurity.



    I needed to solve this equality as an ODE:



    $frac{dx}{1}= frac{du}{sin x + cos y}$



    I did so with this approach:



    $int (sin x + cos y) dx = int 1 du $



    Using integral properties:
    $(int sin x dx) + (int cos y dx) = int 1 du $



    Which results in:
    $c_2= xcos y -cos x-u$



    I am not sure if this is right. I don't know why, but I am affraid I can't treat cos y as a constant on the second integral.



    Supposing this was correct, I tried to go on. So I used an arbitrary function G to make the relation between both constants. Hence, $c_2 =G(c_1) $ and we have that:



    $ xcos y -cos x-u = G(y + 3x) $



    With the initial condition we have:



    $G(4x) = xcos y -cos x- x^2$



    This result above is my second source of insecurity.



    Before, I was dealing with clear arbitraty functions like $G(x)$ or $G(y)$.
    Now, the result is different. I did some manipulation to put it on the more casual form. So:



    $G(x) = frac{x}{4}cos y -cosfrac{x}{4}- frac{x^2}{16}$



    After the definition of $G(x)$ above , I inputed the value of $c_1$ , having:



    $G(y + 3x) = frac{y+3x}{4}cos y -cosfrac{y+3x}{4} - frac{(y+3x)^2}{16} $.



    Finally, solving for $u$:



    $u(x,y) = -frac{y+3x}{4}cos y +cosfrac{y+3x}{4} + frac{(y+3x)^2}{16} + xcos y -cos x $



    Is this right?



    If I did something wrong, what was it?



    Thanks in advance!










    share|cite|improve this question


























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      I need to solve this semi-linear PDE:



      $u_x - 3u_y = sin (y) + cos (x)$



      The initial condition provided is:



      $ u (t,t)= t^2$



      I need to use the Characteristic Method. I learned the method from this video.



      I have reached an answer. However, I am not sure if it is wright. I am insecure in two different moments of my solution.



      My intermediate steps are:



      First constant: $c_1= y + 3x $



      Second constant: $c_2= xcos y -cos x-u$



      The second constant above is my first source of insecurity.



      I needed to solve this equality as an ODE:



      $frac{dx}{1}= frac{du}{sin x + cos y}$



      I did so with this approach:



      $int (sin x + cos y) dx = int 1 du $



      Using integral properties:
      $(int sin x dx) + (int cos y dx) = int 1 du $



      Which results in:
      $c_2= xcos y -cos x-u$



      I am not sure if this is right. I don't know why, but I am affraid I can't treat cos y as a constant on the second integral.



      Supposing this was correct, I tried to go on. So I used an arbitrary function G to make the relation between both constants. Hence, $c_2 =G(c_1) $ and we have that:



      $ xcos y -cos x-u = G(y + 3x) $



      With the initial condition we have:



      $G(4x) = xcos y -cos x- x^2$



      This result above is my second source of insecurity.



      Before, I was dealing with clear arbitraty functions like $G(x)$ or $G(y)$.
      Now, the result is different. I did some manipulation to put it on the more casual form. So:



      $G(x) = frac{x}{4}cos y -cosfrac{x}{4}- frac{x^2}{16}$



      After the definition of $G(x)$ above , I inputed the value of $c_1$ , having:



      $G(y + 3x) = frac{y+3x}{4}cos y -cosfrac{y+3x}{4} - frac{(y+3x)^2}{16} $.



      Finally, solving for $u$:



      $u(x,y) = -frac{y+3x}{4}cos y +cosfrac{y+3x}{4} + frac{(y+3x)^2}{16} + xcos y -cos x $



      Is this right?



      If I did something wrong, what was it?



      Thanks in advance!










      share|cite|improve this question















      I need to solve this semi-linear PDE:



      $u_x - 3u_y = sin (y) + cos (x)$



      The initial condition provided is:



      $ u (t,t)= t^2$



      I need to use the Characteristic Method. I learned the method from this video.



      I have reached an answer. However, I am not sure if it is wright. I am insecure in two different moments of my solution.



      My intermediate steps are:



      First constant: $c_1= y + 3x $



      Second constant: $c_2= xcos y -cos x-u$



      The second constant above is my first source of insecurity.



      I needed to solve this equality as an ODE:



      $frac{dx}{1}= frac{du}{sin x + cos y}$



      I did so with this approach:



      $int (sin x + cos y) dx = int 1 du $



      Using integral properties:
      $(int sin x dx) + (int cos y dx) = int 1 du $



      Which results in:
      $c_2= xcos y -cos x-u$



      I am not sure if this is right. I don't know why, but I am affraid I can't treat cos y as a constant on the second integral.



      Supposing this was correct, I tried to go on. So I used an arbitrary function G to make the relation between both constants. Hence, $c_2 =G(c_1) $ and we have that:



      $ xcos y -cos x-u = G(y + 3x) $



      With the initial condition we have:



      $G(4x) = xcos y -cos x- x^2$



      This result above is my second source of insecurity.



      Before, I was dealing with clear arbitraty functions like $G(x)$ or $G(y)$.
      Now, the result is different. I did some manipulation to put it on the more casual form. So:



      $G(x) = frac{x}{4}cos y -cosfrac{x}{4}- frac{x^2}{16}$



      After the definition of $G(x)$ above , I inputed the value of $c_1$ , having:



      $G(y + 3x) = frac{y+3x}{4}cos y -cosfrac{y+3x}{4} - frac{(y+3x)^2}{16} $.



      Finally, solving for $u$:



      $u(x,y) = -frac{y+3x}{4}cos y +cosfrac{y+3x}{4} + frac{(y+3x)^2}{16} + xcos y -cos x $



      Is this right?



      If I did something wrong, what was it?



      Thanks in advance!







      pde characteristics






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited yesterday

























      asked yesterday









      Pedro Delfino

      714




      714






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          $$u_x - 3u_y = sin (y) + cos (x),qquad (1)\
          u(t,t)=t^2 qquadqquadqquadqquadquad (2)$$

          Solution of $u_x - 3u_y =0$ is
          $$u_h=sin{(x)}+frac{cos{(y)}}{3}.$$
          Particular solution of $(1)$ is
          $$u_p=G(y+3x).$$
          Then general solution of $(1)$ is
          $$u=u_p+u_h=G(y+3x)+sin{(x)}+frac{cos{(y)}}{3}.$$
          From $(2)$ we get
          $$G(4t) +sin{(t)}+frac{cos{(t)}}{3}={{t}^{2}}.$$
          Then
          $$G(t)=frac{t^2}{16}-sinleft(frac{t}{4}right)-frac{cos{(frac{t}{4})}}{3}.$$



          Solution of problem $(1), (2)$ is
          $$u=frac{{{left( y+3 xright) }^{2}}}{16}-sin{left( frac{y+3 x}{4}right) }-frac{cos{left( frac{y+3 x}{4}right) }}{3}+sin{(x)}+frac{cos{(y)}}{3}$$






          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',
            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%2f3005243%2fnonhomogeneous-semi-linear-pde-with-the-characteristic-method%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








            up vote
            0
            down vote













            $$u_x - 3u_y = sin (y) + cos (x),qquad (1)\
            u(t,t)=t^2 qquadqquadqquadqquadquad (2)$$

            Solution of $u_x - 3u_y =0$ is
            $$u_h=sin{(x)}+frac{cos{(y)}}{3}.$$
            Particular solution of $(1)$ is
            $$u_p=G(y+3x).$$
            Then general solution of $(1)$ is
            $$u=u_p+u_h=G(y+3x)+sin{(x)}+frac{cos{(y)}}{3}.$$
            From $(2)$ we get
            $$G(4t) +sin{(t)}+frac{cos{(t)}}{3}={{t}^{2}}.$$
            Then
            $$G(t)=frac{t^2}{16}-sinleft(frac{t}{4}right)-frac{cos{(frac{t}{4})}}{3}.$$



            Solution of problem $(1), (2)$ is
            $$u=frac{{{left( y+3 xright) }^{2}}}{16}-sin{left( frac{y+3 x}{4}right) }-frac{cos{left( frac{y+3 x}{4}right) }}{3}+sin{(x)}+frac{cos{(y)}}{3}$$






            share|cite|improve this answer

























              up vote
              0
              down vote













              $$u_x - 3u_y = sin (y) + cos (x),qquad (1)\
              u(t,t)=t^2 qquadqquadqquadqquadquad (2)$$

              Solution of $u_x - 3u_y =0$ is
              $$u_h=sin{(x)}+frac{cos{(y)}}{3}.$$
              Particular solution of $(1)$ is
              $$u_p=G(y+3x).$$
              Then general solution of $(1)$ is
              $$u=u_p+u_h=G(y+3x)+sin{(x)}+frac{cos{(y)}}{3}.$$
              From $(2)$ we get
              $$G(4t) +sin{(t)}+frac{cos{(t)}}{3}={{t}^{2}}.$$
              Then
              $$G(t)=frac{t^2}{16}-sinleft(frac{t}{4}right)-frac{cos{(frac{t}{4})}}{3}.$$



              Solution of problem $(1), (2)$ is
              $$u=frac{{{left( y+3 xright) }^{2}}}{16}-sin{left( frac{y+3 x}{4}right) }-frac{cos{left( frac{y+3 x}{4}right) }}{3}+sin{(x)}+frac{cos{(y)}}{3}$$






              share|cite|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                $$u_x - 3u_y = sin (y) + cos (x),qquad (1)\
                u(t,t)=t^2 qquadqquadqquadqquadquad (2)$$

                Solution of $u_x - 3u_y =0$ is
                $$u_h=sin{(x)}+frac{cos{(y)}}{3}.$$
                Particular solution of $(1)$ is
                $$u_p=G(y+3x).$$
                Then general solution of $(1)$ is
                $$u=u_p+u_h=G(y+3x)+sin{(x)}+frac{cos{(y)}}{3}.$$
                From $(2)$ we get
                $$G(4t) +sin{(t)}+frac{cos{(t)}}{3}={{t}^{2}}.$$
                Then
                $$G(t)=frac{t^2}{16}-sinleft(frac{t}{4}right)-frac{cos{(frac{t}{4})}}{3}.$$



                Solution of problem $(1), (2)$ is
                $$u=frac{{{left( y+3 xright) }^{2}}}{16}-sin{left( frac{y+3 x}{4}right) }-frac{cos{left( frac{y+3 x}{4}right) }}{3}+sin{(x)}+frac{cos{(y)}}{3}$$






                share|cite|improve this answer












                $$u_x - 3u_y = sin (y) + cos (x),qquad (1)\
                u(t,t)=t^2 qquadqquadqquadqquadquad (2)$$

                Solution of $u_x - 3u_y =0$ is
                $$u_h=sin{(x)}+frac{cos{(y)}}{3}.$$
                Particular solution of $(1)$ is
                $$u_p=G(y+3x).$$
                Then general solution of $(1)$ is
                $$u=u_p+u_h=G(y+3x)+sin{(x)}+frac{cos{(y)}}{3}.$$
                From $(2)$ we get
                $$G(4t) +sin{(t)}+frac{cos{(t)}}{3}={{t}^{2}}.$$
                Then
                $$G(t)=frac{t^2}{16}-sinleft(frac{t}{4}right)-frac{cos{(frac{t}{4})}}{3}.$$



                Solution of problem $(1), (2)$ is
                $$u=frac{{{left( y+3 xright) }^{2}}}{16}-sin{left( frac{y+3 x}{4}right) }-frac{cos{left( frac{y+3 x}{4}right) }}{3}+sin{(x)}+frac{cos{(y)}}{3}$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered 5 hours ago









                Aleksas Domarkas

                7235




                7235






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3005243%2fnonhomogeneous-semi-linear-pde-with-the-characteristic-method%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