KILLER 2nd ODE (inhomogeneous) XD

  • Thread starter Zomboy
  • Start date
  • Tags
    Ode
In summary, the student attempted to solve an equation for a specific solution but ran into a problem with simultaneous equations.
  • #1
Zomboy
6
0
Ok, here goes:

Homework Statement

So I've come across this 2nd ODE which I am to "solve ... for a general solution":

d^2y / dx^2 - dy/dx + y = cos(x) - sin(x) :-p

and then evaluate the "particular solution" using the boundary conditions y=L when x=0 (also, dy/dx = 0)

The Attempt at a Solution



I can't type out the whole of my working because its really long and would be impossible to follow so I'll try and sum up what I've got:
1) found the general solution of the * equivalent* homogeneous equation... which came out with imaginary values. I then converted this into trigonometric form (as opposed to using imaginary exponentials) which is in the form of:

exp(1/2 x) ( C sin((sqrt(3)/2)x) + D cos("") )
2) I then guessed at the particular solution which I'm thinking looks like:

(a-b)( cos(x) - sin (x) ) :rolleyes:
3) Added ^^these^^ together to get the "General Solution" (y=...) of the original equation. Which looks something like (but with more coefficients and stuff:

e^... (cos + sin) + ( cos - sin ) {you get the idea} :bugeye:4) Trying to evaluate this however lead me to some nasty unsolvable simultaneous equations...

any advice? can you spot my mistake? do I actually just need to solve "2)" to get the answer, I'm confused now...

this is driving me absolutely crazy.
 
Physics news on Phys.org
  • #2
The particular solution should be of the form:
[tex]
Y_p(x) = A \, \cos x + B \, \sin x
[/tex]

Determine A and B by plugging this in the ODE. Tell us what you get.
 
  • #3
Zomboy said:
Ok, here goes:

Homework Statement




So I've come across this 2nd ODE which I am to "solve ... for a general solution":

d^2y / dx^2 - dy/dx + y = cos(x) - sin(x) :-p

and then evaluate the "particular solution" using the boundary conditions y=L when x=0 (also, dy/dx = 0)




The Attempt at a Solution



I can't type out the whole of my working because its really long and would be impossible to follow so I'll try and sum up what I've got:



1) found the general solution of the * equivalent* homogeneous equation... which came out with imaginary values. I then converted this into trigonometric form (as opposed to using imaginary exponentials) which is in the form of:

exp(1/2 x) ( C sin((sqrt(3)/2)x) + D cos("") )



2) I then guessed at the particular solution which I'm thinking looks like:

(a-b)( cos(x) - sin (x) ) :rolleyes:



3) Added ^^these^^ together to get the "General Solution" (y=...) of the original equation. Which looks something like (but with more coefficients and stuff:

e^... (cos + sin) + ( cos - sin ) {you get the idea} :bugeye:





4) Trying to evaluate this however lead me to some nasty unsolvable simultaneous equations...

any advice? can you spot my mistake? do I actually just need to solve "2)" to get the answer, I'm confused now...

this is driving me absolutely crazy.

Suggestions:
(1) Use a Green's function method http://www.math.umn.edu/~olver/pd_/gf.pdf ; or
(2) Use Variation of Parameters http://en.wikipedia.org/wiki/Variation_of_parameters

Both methods are standard, but (2) is probably better known.

RGV
 
Last edited by a moderator:

FAQ: KILLER 2nd ODE (inhomogeneous) XD

What is the "KILLER 2nd ODE (inhomogeneous) XD"?

The "KILLER 2nd ODE (inhomogeneous) XD" is a specific type of second order ordinary differential equation (ODE) that has a non-zero forcing term, making it an inhomogeneous equation.

What are the characteristics of the "KILLER 2nd ODE (inhomogeneous) XD"?

The "KILLER 2nd ODE (inhomogeneous) XD" typically has two distinct solutions, one for the homogeneous part and one for the particular solution. It also has a unique solution that satisfies both the initial conditions and the non-zero forcing term.

How do you solve the "KILLER 2nd ODE (inhomogeneous) XD"?

Solving the "KILLER 2nd ODE (inhomogeneous) XD" involves using techniques such as the method of undetermined coefficients or variation of parameters. These methods allow you to find the particular solution, which can then be combined with the homogeneous solution to get the final solution.

What are some real-world applications of the "KILLER 2nd ODE (inhomogeneous) XD"?

The "KILLER 2nd ODE (inhomogeneous) XD" can be used to model various physical phenomena, such as the motion of a pendulum or the growth of a population. It is also commonly used in engineering and economics to model systems that are influenced by external factors.

Are there any challenges or limitations when dealing with the "KILLER 2nd ODE (inhomogeneous) XD"?

One challenge when dealing with the "KILLER 2nd ODE (inhomogeneous) XD" is finding the particular solution, which can be a complex and time-consuming process. Additionally, the solutions to this type of ODE can be sensitive to changes in the initial conditions or forcing term, making it difficult to accurately predict the behavior of the system in the long term.

Back
Top