How to Solve for the Trial Solution in Differential Equations?

In summary, the conversation discusses various methods for solving the equation y'' + y' - 12y = 4x^2 and determining the trial solution. The method of variation of parameters is suggested as a more general approach, but undetermined coefficients can also be used in this case. The conversation ends with the offer of further assistance if needed.
  • #1
frozen7
163
0
Solve :

[tex]y'' + y' - 12y = 4x^2[/tex]
The complementary equation I get is [tex] y1 = C1 e^3x + C2 e^-4x [/tex]

But how to solve for the trial solution?
I do it in this way:

[tex] f(x) = 4x^2 [/tex]
[tex] y2 = D (Ax^2 + Bx + C )[/tex]...
What I want to know is whether my y2 is correct.
 
Last edited:
Physics news on Phys.org
  • #2
Are you familiar with the method of variation of parameters?
 
  • #3
You can certainly use undetermined coefficients since your RHS is just a polynomial. Since its degree is 2, your suggestion for a solution should be a general second degree polynomial as well.

Your y2 is fine, but it can be simplified a bit, the D isn't necessary. If you would work it out, you'd get ADx²+BDx+CD where 'AD', 'BD' and 'CD' are again just 3 constants so just using A, B and C is fine - then you have the most general second degree polynomial.

Find its first and second derivative, plug it into your DE and identify coefficients to solve for A, B and C :smile:
 
  • #4
i think you should try variation of parameters as tide suggested
 
  • #5
What is variation of parameters??
 
  • #6
frozen7 said:
What is variation of parameters??
You can google it, the method is described well in http://www.math.utah.edu/~gustafso/2250variation-of-parameters.pdf" .
This is certainly a method worth learning since it applies more generally than the method of undetermined coefficients (which only works for a limited number of RHS functions)

Just as a note: your method (undetermined coefficients) will work here as well!
 
Last edited by a moderator:
  • #7
Thanks a lot.
 
  • #8
You're welcome, don't hesitate to ask for help if you're stuck :smile:
 

FAQ: How to Solve for the Trial Solution in Differential Equations?

What is a differential equation?

A differential equation is a mathematical equation that relates a function with its derivatives. It describes how a system changes over time or space, and is commonly used to model physical phenomena in various fields such as physics, engineering, and biology.

What are the different types of differential equations?

There are several types of differential equations, including ordinary differential equations (ODEs) which involve one independent variable, and partial differential equations (PDEs) which involve multiple independent variables. ODEs can be further classified as linear or nonlinear, and PDEs can be classified based on the highest order of derivative present.

How are differential equations solved?

The method used to solve a differential equation depends on its type and complexity. Some commonly used techniques include separation of variables, substitution, and numerical methods. Advanced techniques like Laplace transforms and Fourier series can also be used for more complex equations.

What are some real-world applications of differential equations?

Differential equations have numerous applications in various fields of science and engineering. For example, they are used to model population growth, the spread of infectious diseases, heat transfer, and vibration analysis in mechanical systems. They are also used in economics, finance, and many other areas.

Are there any limitations to using differential equations?

While differential equations are a powerful tool for modeling and analyzing complex systems, they do have some limitations. For instance, some systems may not have a closed-form solution, making it difficult to solve the equation analytically. In addition, there may be uncertainties or errors in the initial conditions or parameters used, which can affect the accuracy of the results.

Back
Top