$y'' + y' -2y = x^2$, find $A, B$, & and $C$ such that $y = Ax^2+Bx+C$ satisfies this equation. ...

Closed form of recurrent arithmetic series summation

8 Prisoners wearing hats

Do I really need recursive chmod to restrict access to a folder?

What does "lightly crushed" mean for cardamon pods?

How to answer "Have you ever been terminated?"

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Is the Standard Deduction better than Itemized when both are the same amount?

Can a new player join a group only when a new campaign starts?

Extracting terms with certain heads in a function

How to tell that you are a giant?

Do wooden building fires get hotter than 600°C?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Is "Reachable Object" really an NP-complete problem?

Most bit efficient text communication method?

How do pianists reach extremely loud dynamics?

Using et al. for a last / senior author rather than for a first author

Circuit to "zoom in" on mV fluctuations of a DC signal?

What is homebrew?

Is safe to use va_start macro with this as parameter?

Can an alien society believe that their star system is the universe?

Is there a kind of relay only consumes power when switching?

In what way is everyone not a utilitarian

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

What do you call the main part of a joke?



$y'' + y' -2y = x^2$, find $A, B$, & and $C$ such that $y = Ax^2+Bx+C$ satisfies this equation.



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Show that Bessel function $J_n(x)$ satisfies Bessel's differential equation.Find tangent line at given points, no function equationFokker-Planck equation - find probability density functionFind the value of $n$ such that the Maclaurin polynomial error is within a boundGet the general solution for this differential equationA differentiable function satisfies given conditions. Find the approximated valuesShow that this function satisfies the Laplace EquationShow that a given function satisfies a given equationFind Polar Differential Equation that satisfies Bifurcation DiagramThe differentiable equation satisfies the equation…












2












$begingroup$


I am doing an extra credit problem for college. I don't expect anyone to solve it for me, but I would really appreciate being given some hints.



The problem:




$y'' + y' -2y = x^2$, find $A, B$, & and $C$ such that the function $y = Ax^2+Bx+C$ satisfies this equation.




I understand how to find derivatives if I know the function, but this is stumping me.










share|cite|improve this question









$endgroup$

















    2












    $begingroup$


    I am doing an extra credit problem for college. I don't expect anyone to solve it for me, but I would really appreciate being given some hints.



    The problem:




    $y'' + y' -2y = x^2$, find $A, B$, & and $C$ such that the function $y = Ax^2+Bx+C$ satisfies this equation.




    I understand how to find derivatives if I know the function, but this is stumping me.










    share|cite|improve this question









    $endgroup$















      2












      2








      2


      1



      $begingroup$


      I am doing an extra credit problem for college. I don't expect anyone to solve it for me, but I would really appreciate being given some hints.



      The problem:




      $y'' + y' -2y = x^2$, find $A, B$, & and $C$ such that the function $y = Ax^2+Bx+C$ satisfies this equation.




      I understand how to find derivatives if I know the function, but this is stumping me.










      share|cite|improve this question









      $endgroup$




      I am doing an extra credit problem for college. I don't expect anyone to solve it for me, but I would really appreciate being given some hints.



      The problem:




      $y'' + y' -2y = x^2$, find $A, B$, & and $C$ such that the function $y = Ax^2+Bx+C$ satisfies this equation.




      I understand how to find derivatives if I know the function, but this is stumping me.







      calculus ordinary-differential-equations derivatives






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 24 at 19:25









      LuminousNutriaLuminousNutria

      57612




      57612






















          4 Answers
          4






          active

          oldest

          votes


















          2












          $begingroup$

          Assuming that $y = y(x)$ is of the given form, we need only substitute $y$ into the differential equation
          $$
          y^{primeprime} + y^prime - 2y = x^2
          $$

          and solve for $A,B$ and $C$. Now, we have
          begin{align}label{eq:1}tag{1}
          y^prime(x) = 2Ax + B quad text{and} quad y^{primeprime}(x) = 2A.
          end{align}

          So, if $y$ solves the differential equation, then
          begin{align}
          x^2 = y^{primeprime} + y^prime - 2y &= 2A + (2Ax+B) -2left(Ax^2 + Bx + C right)label{eq:2}tag{2}\
          &= -2Ax^2 + (2A-2B)x + left( 2A + B -2Cright)label{eq:3}tag{3}.
          end{align}

          Comparing the coefficients of this equation, we find that
          begin{align*}
          begin{cases}
          -2A = 1,\
          2A-2B = 0,\
          2A+B-2C = 0.
          end{cases}
          end{align*}

          Solving this system will give the explicit values of $A,B$ and $C$ required.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
            $endgroup$
            – LuminousNutria
            Mar 24 at 19:40












          • $begingroup$
            I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
            $endgroup$
            – rolandcyp
            Mar 24 at 19:42










          • $begingroup$
            Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
            $endgroup$
            – LuminousNutria
            Mar 24 at 19:43










          • $begingroup$
            Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
            $endgroup$
            – rolandcyp
            Mar 24 at 19:44






          • 1




            $begingroup$
            ohh! I get it! thank you!
            $endgroup$
            – LuminousNutria
            Mar 24 at 19:56



















          2












          $begingroup$

          If you plug the quadratic polynomial into your differential equation you will get



          $$2A+(2Ax+B)-2(Ax^2+Bx+C)=x^2.$$



          Compare the coefficients and determine $A$, $B$, $C$.






          share|cite|improve this answer









          $endgroup$





















            1












            $begingroup$

            With



            $y = Ax^2 + Bx + C, tag 1$



            we may substitute $y$, $y'$, and $y''$ into



            $y'' + y' - 2y = x^2, tag 2$



            viz,



            $y' = 2Ax + B, tag 3$



            $y'' = 2A, tag 4$



            $y'' + y' - 2y = 2A + (2Ax + B) - 2(Ax^2 + Bx + C) = x^2; tag 5$



            we group together like powers of $x$:



            $-2Ax^2 + 2(A - B) x + (2A + B -2C) = x^2, tag 5$



            from which we infer



            $-2A = 1, tag 6$



            $2(A - B) = 0, tag 7$



            $2A + B - 2C = 0; tag 8$



            thus



            $A = B = -dfrac{1}{2}, tag 9$



            $C = -dfrac{3}{4}, tag{10}$



            and of course



            $y = -dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}. tag{11}$



            We Check:



            From (11),



            $y' = -x - dfrac{1}{2}, tag{12}$



            $y'' = -1, tag{13}$



            $y'' + y' - 2y$
            $= -1 - x - dfrac{1}{2} - 2(-dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}) = -1 - x - dfrac{1}{2} + x^2 + x + dfrac{3}{2} = x^2. tag{14}$






            share|cite|improve this answer











            $endgroup$









            • 1




              $begingroup$
              How did you do steps 6, 7, and 8?
              $endgroup$
              – LuminousNutria
              Mar 24 at 20:35






            • 1




              $begingroup$
              @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
              $endgroup$
              – Robert Lewis
              Mar 24 at 20:40










            • $begingroup$
              So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
              $endgroup$
              – LuminousNutria
              Mar 24 at 20:55








            • 1




              $begingroup$
              @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
              $endgroup$
              – Robert Lewis
              Mar 24 at 21:05



















            1












            $begingroup$

            Consider $z^2+z-2=(z+2)(z-1)=-2(1+frac{1}{2}z)(1-z)$. Its inverse (as a formal power series) is
            $$
            -frac{1}{2}(1+z+z^2+dotsb)left(1-frac{1}{2}z+frac{1}{4}z^2+dotsbright)
            =-dfrac{1}{2}-dfrac{1}{4}z-dfrac{3}{8}z^2+dotsb
            $$

            Interpret $z$ as the differentiation operator and “multiply” by $x^2$ (that's why we can discard higher order terms):
            $$
            -dfrac{1}{2}x^2-dfrac{1}{4}2x-dfrac{3}{8}2=-dfrac{1}{2}x^2-dfrac{1}{2}x-dfrac{3}{4}
            $$






            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%2f3160924%2fy-y-2y-x2-find-a-b-and-c-such-that-y-ax2bxc-satisfies%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









              2












              $begingroup$

              Assuming that $y = y(x)$ is of the given form, we need only substitute $y$ into the differential equation
              $$
              y^{primeprime} + y^prime - 2y = x^2
              $$

              and solve for $A,B$ and $C$. Now, we have
              begin{align}label{eq:1}tag{1}
              y^prime(x) = 2Ax + B quad text{and} quad y^{primeprime}(x) = 2A.
              end{align}

              So, if $y$ solves the differential equation, then
              begin{align}
              x^2 = y^{primeprime} + y^prime - 2y &= 2A + (2Ax+B) -2left(Ax^2 + Bx + C right)label{eq:2}tag{2}\
              &= -2Ax^2 + (2A-2B)x + left( 2A + B -2Cright)label{eq:3}tag{3}.
              end{align}

              Comparing the coefficients of this equation, we find that
              begin{align*}
              begin{cases}
              -2A = 1,\
              2A-2B = 0,\
              2A+B-2C = 0.
              end{cases}
              end{align*}

              Solving this system will give the explicit values of $A,B$ and $C$ required.






              share|cite|improve this answer











              $endgroup$













              • $begingroup$
                What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:40












              • $begingroup$
                I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:42










              • $begingroup$
                Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:43










              • $begingroup$
                Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:44






              • 1




                $begingroup$
                ohh! I get it! thank you!
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:56
















              2












              $begingroup$

              Assuming that $y = y(x)$ is of the given form, we need only substitute $y$ into the differential equation
              $$
              y^{primeprime} + y^prime - 2y = x^2
              $$

              and solve for $A,B$ and $C$. Now, we have
              begin{align}label{eq:1}tag{1}
              y^prime(x) = 2Ax + B quad text{and} quad y^{primeprime}(x) = 2A.
              end{align}

              So, if $y$ solves the differential equation, then
              begin{align}
              x^2 = y^{primeprime} + y^prime - 2y &= 2A + (2Ax+B) -2left(Ax^2 + Bx + C right)label{eq:2}tag{2}\
              &= -2Ax^2 + (2A-2B)x + left( 2A + B -2Cright)label{eq:3}tag{3}.
              end{align}

              Comparing the coefficients of this equation, we find that
              begin{align*}
              begin{cases}
              -2A = 1,\
              2A-2B = 0,\
              2A+B-2C = 0.
              end{cases}
              end{align*}

              Solving this system will give the explicit values of $A,B$ and $C$ required.






              share|cite|improve this answer











              $endgroup$













              • $begingroup$
                What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:40












              • $begingroup$
                I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:42










              • $begingroup$
                Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:43










              • $begingroup$
                Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:44






              • 1




                $begingroup$
                ohh! I get it! thank you!
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:56














              2












              2








              2





              $begingroup$

              Assuming that $y = y(x)$ is of the given form, we need only substitute $y$ into the differential equation
              $$
              y^{primeprime} + y^prime - 2y = x^2
              $$

              and solve for $A,B$ and $C$. Now, we have
              begin{align}label{eq:1}tag{1}
              y^prime(x) = 2Ax + B quad text{and} quad y^{primeprime}(x) = 2A.
              end{align}

              So, if $y$ solves the differential equation, then
              begin{align}
              x^2 = y^{primeprime} + y^prime - 2y &= 2A + (2Ax+B) -2left(Ax^2 + Bx + C right)label{eq:2}tag{2}\
              &= -2Ax^2 + (2A-2B)x + left( 2A + B -2Cright)label{eq:3}tag{3}.
              end{align}

              Comparing the coefficients of this equation, we find that
              begin{align*}
              begin{cases}
              -2A = 1,\
              2A-2B = 0,\
              2A+B-2C = 0.
              end{cases}
              end{align*}

              Solving this system will give the explicit values of $A,B$ and $C$ required.






              share|cite|improve this answer











              $endgroup$



              Assuming that $y = y(x)$ is of the given form, we need only substitute $y$ into the differential equation
              $$
              y^{primeprime} + y^prime - 2y = x^2
              $$

              and solve for $A,B$ and $C$. Now, we have
              begin{align}label{eq:1}tag{1}
              y^prime(x) = 2Ax + B quad text{and} quad y^{primeprime}(x) = 2A.
              end{align}

              So, if $y$ solves the differential equation, then
              begin{align}
              x^2 = y^{primeprime} + y^prime - 2y &= 2A + (2Ax+B) -2left(Ax^2 + Bx + C right)label{eq:2}tag{2}\
              &= -2Ax^2 + (2A-2B)x + left( 2A + B -2Cright)label{eq:3}tag{3}.
              end{align}

              Comparing the coefficients of this equation, we find that
              begin{align*}
              begin{cases}
              -2A = 1,\
              2A-2B = 0,\
              2A+B-2C = 0.
              end{cases}
              end{align*}

              Solving this system will give the explicit values of $A,B$ and $C$ required.







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited Mar 24 at 19:49

























              answered Mar 24 at 19:29









              rolandcyprolandcyp

              2,149422




              2,149422












              • $begingroup$
                What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:40












              • $begingroup$
                I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:42










              • $begingroup$
                Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:43










              • $begingroup$
                Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:44






              • 1




                $begingroup$
                ohh! I get it! thank you!
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:56


















              • $begingroup$
                What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:40












              • $begingroup$
                I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:42










              • $begingroup$
                Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:43










              • $begingroup$
                Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
                $endgroup$
                – rolandcyp
                Mar 24 at 19:44






              • 1




                $begingroup$
                ohh! I get it! thank you!
                $endgroup$
                – LuminousNutria
                Mar 24 at 19:56
















              $begingroup$
              What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
              $endgroup$
              – LuminousNutria
              Mar 24 at 19:40






              $begingroup$
              What do you replace $y^{primeprime} + y^prime - 2y = x^2$ with, when you solve for $A, B$, and $C$?
              $endgroup$
              – LuminousNutria
              Mar 24 at 19:40














              $begingroup$
              I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
              $endgroup$
              – rolandcyp
              Mar 24 at 19:42




              $begingroup$
              I substitute in the expressions for $y,y^prime$ and $y^{primeprime}$ in terms of $x$, respectively.
              $endgroup$
              – rolandcyp
              Mar 24 at 19:42












              $begingroup$
              Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
              $endgroup$
              – LuminousNutria
              Mar 24 at 19:43




              $begingroup$
              Oh, so you do $y''(x) + y'(x) - 2y(x) = x^2$ then get rid of $x^2$ and solve for $y'(x)$ and $y''(x)$ respectively?
              $endgroup$
              – LuminousNutria
              Mar 24 at 19:43












              $begingroup$
              Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
              $endgroup$
              – rolandcyp
              Mar 24 at 19:44




              $begingroup$
              Not exactly. I'm not getting rid of anything, I am only comparing coefficients. If two polynomials are everywhere equal, then their coefficients must agree. Using this, I'm solving for $A,B$ and $C$.
              $endgroup$
              – rolandcyp
              Mar 24 at 19:44




              1




              1




              $begingroup$
              ohh! I get it! thank you!
              $endgroup$
              – LuminousNutria
              Mar 24 at 19:56




              $begingroup$
              ohh! I get it! thank you!
              $endgroup$
              – LuminousNutria
              Mar 24 at 19:56











              2












              $begingroup$

              If you plug the quadratic polynomial into your differential equation you will get



              $$2A+(2Ax+B)-2(Ax^2+Bx+C)=x^2.$$



              Compare the coefficients and determine $A$, $B$, $C$.






              share|cite|improve this answer









              $endgroup$


















                2












                $begingroup$

                If you plug the quadratic polynomial into your differential equation you will get



                $$2A+(2Ax+B)-2(Ax^2+Bx+C)=x^2.$$



                Compare the coefficients and determine $A$, $B$, $C$.






                share|cite|improve this answer









                $endgroup$
















                  2












                  2








                  2





                  $begingroup$

                  If you plug the quadratic polynomial into your differential equation you will get



                  $$2A+(2Ax+B)-2(Ax^2+Bx+C)=x^2.$$



                  Compare the coefficients and determine $A$, $B$, $C$.






                  share|cite|improve this answer









                  $endgroup$



                  If you plug the quadratic polynomial into your differential equation you will get



                  $$2A+(2Ax+B)-2(Ax^2+Bx+C)=x^2.$$



                  Compare the coefficients and determine $A$, $B$, $C$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Mar 24 at 19:29









                  MachineLearnerMachineLearner

                  1,493212




                  1,493212























                      1












                      $begingroup$

                      With



                      $y = Ax^2 + Bx + C, tag 1$



                      we may substitute $y$, $y'$, and $y''$ into



                      $y'' + y' - 2y = x^2, tag 2$



                      viz,



                      $y' = 2Ax + B, tag 3$



                      $y'' = 2A, tag 4$



                      $y'' + y' - 2y = 2A + (2Ax + B) - 2(Ax^2 + Bx + C) = x^2; tag 5$



                      we group together like powers of $x$:



                      $-2Ax^2 + 2(A - B) x + (2A + B -2C) = x^2, tag 5$



                      from which we infer



                      $-2A = 1, tag 6$



                      $2(A - B) = 0, tag 7$



                      $2A + B - 2C = 0; tag 8$



                      thus



                      $A = B = -dfrac{1}{2}, tag 9$



                      $C = -dfrac{3}{4}, tag{10}$



                      and of course



                      $y = -dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}. tag{11}$



                      We Check:



                      From (11),



                      $y' = -x - dfrac{1}{2}, tag{12}$



                      $y'' = -1, tag{13}$



                      $y'' + y' - 2y$
                      $= -1 - x - dfrac{1}{2} - 2(-dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}) = -1 - x - dfrac{1}{2} + x^2 + x + dfrac{3}{2} = x^2. tag{14}$






                      share|cite|improve this answer











                      $endgroup$









                      • 1




                        $begingroup$
                        How did you do steps 6, 7, and 8?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:35






                      • 1




                        $begingroup$
                        @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 20:40










                      • $begingroup$
                        So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:55








                      • 1




                        $begingroup$
                        @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 21:05
















                      1












                      $begingroup$

                      With



                      $y = Ax^2 + Bx + C, tag 1$



                      we may substitute $y$, $y'$, and $y''$ into



                      $y'' + y' - 2y = x^2, tag 2$



                      viz,



                      $y' = 2Ax + B, tag 3$



                      $y'' = 2A, tag 4$



                      $y'' + y' - 2y = 2A + (2Ax + B) - 2(Ax^2 + Bx + C) = x^2; tag 5$



                      we group together like powers of $x$:



                      $-2Ax^2 + 2(A - B) x + (2A + B -2C) = x^2, tag 5$



                      from which we infer



                      $-2A = 1, tag 6$



                      $2(A - B) = 0, tag 7$



                      $2A + B - 2C = 0; tag 8$



                      thus



                      $A = B = -dfrac{1}{2}, tag 9$



                      $C = -dfrac{3}{4}, tag{10}$



                      and of course



                      $y = -dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}. tag{11}$



                      We Check:



                      From (11),



                      $y' = -x - dfrac{1}{2}, tag{12}$



                      $y'' = -1, tag{13}$



                      $y'' + y' - 2y$
                      $= -1 - x - dfrac{1}{2} - 2(-dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}) = -1 - x - dfrac{1}{2} + x^2 + x + dfrac{3}{2} = x^2. tag{14}$






                      share|cite|improve this answer











                      $endgroup$









                      • 1




                        $begingroup$
                        How did you do steps 6, 7, and 8?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:35






                      • 1




                        $begingroup$
                        @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 20:40










                      • $begingroup$
                        So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:55








                      • 1




                        $begingroup$
                        @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 21:05














                      1












                      1








                      1





                      $begingroup$

                      With



                      $y = Ax^2 + Bx + C, tag 1$



                      we may substitute $y$, $y'$, and $y''$ into



                      $y'' + y' - 2y = x^2, tag 2$



                      viz,



                      $y' = 2Ax + B, tag 3$



                      $y'' = 2A, tag 4$



                      $y'' + y' - 2y = 2A + (2Ax + B) - 2(Ax^2 + Bx + C) = x^2; tag 5$



                      we group together like powers of $x$:



                      $-2Ax^2 + 2(A - B) x + (2A + B -2C) = x^2, tag 5$



                      from which we infer



                      $-2A = 1, tag 6$



                      $2(A - B) = 0, tag 7$



                      $2A + B - 2C = 0; tag 8$



                      thus



                      $A = B = -dfrac{1}{2}, tag 9$



                      $C = -dfrac{3}{4}, tag{10}$



                      and of course



                      $y = -dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}. tag{11}$



                      We Check:



                      From (11),



                      $y' = -x - dfrac{1}{2}, tag{12}$



                      $y'' = -1, tag{13}$



                      $y'' + y' - 2y$
                      $= -1 - x - dfrac{1}{2} - 2(-dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}) = -1 - x - dfrac{1}{2} + x^2 + x + dfrac{3}{2} = x^2. tag{14}$






                      share|cite|improve this answer











                      $endgroup$



                      With



                      $y = Ax^2 + Bx + C, tag 1$



                      we may substitute $y$, $y'$, and $y''$ into



                      $y'' + y' - 2y = x^2, tag 2$



                      viz,



                      $y' = 2Ax + B, tag 3$



                      $y'' = 2A, tag 4$



                      $y'' + y' - 2y = 2A + (2Ax + B) - 2(Ax^2 + Bx + C) = x^2; tag 5$



                      we group together like powers of $x$:



                      $-2Ax^2 + 2(A - B) x + (2A + B -2C) = x^2, tag 5$



                      from which we infer



                      $-2A = 1, tag 6$



                      $2(A - B) = 0, tag 7$



                      $2A + B - 2C = 0; tag 8$



                      thus



                      $A = B = -dfrac{1}{2}, tag 9$



                      $C = -dfrac{3}{4}, tag{10}$



                      and of course



                      $y = -dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}. tag{11}$



                      We Check:



                      From (11),



                      $y' = -x - dfrac{1}{2}, tag{12}$



                      $y'' = -1, tag{13}$



                      $y'' + y' - 2y$
                      $= -1 - x - dfrac{1}{2} - 2(-dfrac{1}{2}x^2 - dfrac{1}{2}x - dfrac{3}{4}) = -1 - x - dfrac{1}{2} + x^2 + x + dfrac{3}{2} = x^2. tag{14}$







                      share|cite|improve this answer














                      share|cite|improve this answer



                      share|cite|improve this answer








                      edited Mar 24 at 20:30

























                      answered Mar 24 at 20:21









                      Robert LewisRobert Lewis

                      49k23168




                      49k23168








                      • 1




                        $begingroup$
                        How did you do steps 6, 7, and 8?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:35






                      • 1




                        $begingroup$
                        @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 20:40










                      • $begingroup$
                        So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:55








                      • 1




                        $begingroup$
                        @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 21:05














                      • 1




                        $begingroup$
                        How did you do steps 6, 7, and 8?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:35






                      • 1




                        $begingroup$
                        @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 20:40










                      • $begingroup$
                        So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
                        $endgroup$
                        – LuminousNutria
                        Mar 24 at 20:55








                      • 1




                        $begingroup$
                        @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
                        $endgroup$
                        – Robert Lewis
                        Mar 24 at 21:05








                      1




                      1




                      $begingroup$
                      How did you do steps 6, 7, and 8?
                      $endgroup$
                      – LuminousNutria
                      Mar 24 at 20:35




                      $begingroup$
                      How did you do steps 6, 7, and 8?
                      $endgroup$
                      – LuminousNutria
                      Mar 24 at 20:35




                      1




                      1




                      $begingroup$
                      @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
                      $endgroup$
                      – Robert Lewis
                      Mar 24 at 20:40




                      $begingroup$
                      @LuminousNutria: I simply took (5) and equated the coefficients of powers of $x$--$x^0 = 1, ; x^1, ; x^2$--occurring on each side.
                      $endgroup$
                      – Robert Lewis
                      Mar 24 at 20:40












                      $begingroup$
                      So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
                      $endgroup$
                      – LuminousNutria
                      Mar 24 at 20:55






                      $begingroup$
                      So, $-2A=1$ because the coefficient of $x^2$ is 1? And $2(A - B) = 0$ because the coefficients of $2x - 2x$ equal $1 - 1$ and are therefore zero? And $(2A+B-2C) = 0$ because it has no powers of x?
                      $endgroup$
                      – LuminousNutria
                      Mar 24 at 20:55






                      1




                      1




                      $begingroup$
                      @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
                      $endgroup$
                      – Robert Lewis
                      Mar 24 at 21:05




                      $begingroup$
                      @LuminousNutria: yes! Basically what we're doing is using the fact that each side is a quadratic polynomial in $x$, since they are equal, the coefficients have to be the same. Equal polynomials have equal coefficients! Cheers!
                      $endgroup$
                      – Robert Lewis
                      Mar 24 at 21:05











                      1












                      $begingroup$

                      Consider $z^2+z-2=(z+2)(z-1)=-2(1+frac{1}{2}z)(1-z)$. Its inverse (as a formal power series) is
                      $$
                      -frac{1}{2}(1+z+z^2+dotsb)left(1-frac{1}{2}z+frac{1}{4}z^2+dotsbright)
                      =-dfrac{1}{2}-dfrac{1}{4}z-dfrac{3}{8}z^2+dotsb
                      $$

                      Interpret $z$ as the differentiation operator and “multiply” by $x^2$ (that's why we can discard higher order terms):
                      $$
                      -dfrac{1}{2}x^2-dfrac{1}{4}2x-dfrac{3}{8}2=-dfrac{1}{2}x^2-dfrac{1}{2}x-dfrac{3}{4}
                      $$






                      share|cite|improve this answer









                      $endgroup$


















                        1












                        $begingroup$

                        Consider $z^2+z-2=(z+2)(z-1)=-2(1+frac{1}{2}z)(1-z)$. Its inverse (as a formal power series) is
                        $$
                        -frac{1}{2}(1+z+z^2+dotsb)left(1-frac{1}{2}z+frac{1}{4}z^2+dotsbright)
                        =-dfrac{1}{2}-dfrac{1}{4}z-dfrac{3}{8}z^2+dotsb
                        $$

                        Interpret $z$ as the differentiation operator and “multiply” by $x^2$ (that's why we can discard higher order terms):
                        $$
                        -dfrac{1}{2}x^2-dfrac{1}{4}2x-dfrac{3}{8}2=-dfrac{1}{2}x^2-dfrac{1}{2}x-dfrac{3}{4}
                        $$






                        share|cite|improve this answer









                        $endgroup$
















                          1












                          1








                          1





                          $begingroup$

                          Consider $z^2+z-2=(z+2)(z-1)=-2(1+frac{1}{2}z)(1-z)$. Its inverse (as a formal power series) is
                          $$
                          -frac{1}{2}(1+z+z^2+dotsb)left(1-frac{1}{2}z+frac{1}{4}z^2+dotsbright)
                          =-dfrac{1}{2}-dfrac{1}{4}z-dfrac{3}{8}z^2+dotsb
                          $$

                          Interpret $z$ as the differentiation operator and “multiply” by $x^2$ (that's why we can discard higher order terms):
                          $$
                          -dfrac{1}{2}x^2-dfrac{1}{4}2x-dfrac{3}{8}2=-dfrac{1}{2}x^2-dfrac{1}{2}x-dfrac{3}{4}
                          $$






                          share|cite|improve this answer









                          $endgroup$



                          Consider $z^2+z-2=(z+2)(z-1)=-2(1+frac{1}{2}z)(1-z)$. Its inverse (as a formal power series) is
                          $$
                          -frac{1}{2}(1+z+z^2+dotsb)left(1-frac{1}{2}z+frac{1}{4}z^2+dotsbright)
                          =-dfrac{1}{2}-dfrac{1}{4}z-dfrac{3}{8}z^2+dotsb
                          $$

                          Interpret $z$ as the differentiation operator and “multiply” by $x^2$ (that's why we can discard higher order terms):
                          $$
                          -dfrac{1}{2}x^2-dfrac{1}{4}2x-dfrac{3}{8}2=-dfrac{1}{2}x^2-dfrac{1}{2}x-dfrac{3}{4}
                          $$







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Mar 24 at 20:41









                          egregegreg

                          186k1486209




                          186k1486209






























                              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%2f3160924%2fy-y-2y-x2-find-a-b-and-c-such-that-y-ax2bxc-satisfies%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

                              六本木駅

                              Integral that is continuous and looks like it converges to a geometric seriesTesting if a geometric series converges by taking limit to infinitySummation of arithmetic-geometric series of higher orderGeometric series with polynomial exponentHow to Recognize a Geometric SeriesShowing an integral equality with series over the integersDiscontinuity of a series of continuous functionsReasons why a Series ConvergesSum of infinite geometric series with two terms in summationUsing geometric series for computing IntegralsLimit of geometric series sum when $r = 1$

                              Joseph Lister