Finding Particular Integral for Non-Homogenous Differential Equation

  • Thread starter Thread starter Kawakaze
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around finding a particular integral for a non-homogenous differential equation involving trigonometric functions. The equation presented is of the form \(\frac{d^2y}{dx^2}+6\frac{dy}{dx}+10y=-6\sin(x)+9\cos(x)\), which falls under the subject area of differential equations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the form of the particular solution and derive derivatives, leading to simultaneous equations for coefficients. Some participants question the accuracy of terms and suggest re-evaluating steps. There are also inquiries about the general solution and its components, including the auxiliary equation.

Discussion Status

The discussion is active, with participants providing feedback on each other's attempts and clarifying misunderstandings. There is a mix of exploration regarding the particular integral and the general solution, with some participants expressing confusion about the relationship between the two. Guidance has been offered on differentiation and the application of initial conditions.

Contextual Notes

Participants mention the need to find initial values for the solution, specifically when \(y(0)=3\) and \(y'(0)=12\). There is an acknowledgment of the complexity involved in differentiating the general solution and applying initial conditions.

Kawakaze
Messages
144
Reaction score
0

Homework Statement



Find a particular integral of the non-homogenous differential equation

[tex]\frac{d^2y}{dx^2}+6\frac{dy}{dx}+10y=-6sin(x)+9cos(x)[/tex]

The Attempt at a Solution



Solution is of the sort
[tex]qsin(x)+pcos(x)[/tex]

Derivatives are
[tex]\frac{dy}{dx}=qcos(x)-psin(x)[/tex]

[tex]\frac{d^2y}{dx^2}=-qsin(x)-pcos(x)[/tex]

Substituting these in I eventually get that I require

[tex](6p+9p)cos(x)+(10q-7p)sin(x)=-6sin(x)+9cos(x)[/tex]

Comparing sin and cos terms I get

[tex]10q-7p=-6[/tex] (1)
[tex]6q+9p=9[/tex] (2)

Then I get the two simultaneous equations, rearranging 2 and putting it into 1 i get

[tex]p=\frac{21}{22}[/tex]

This isn't the nice round number I have come expect from "simple" examples, so i stopped here and ask you all to put me back on track please. :)
 
Last edited:
Physics news on Phys.org
I think you've done a mistake. Where did the 6q term come from ?
 
Yes you are correct, I typed the question in wrong. :S

Edited
 
Kawakaze said:

Homework Statement



Find a particular integral of the non-homogenous differential equation

[tex]\frac{d^2y}{dx^2}+6\frac{dy}{dx}+10y=-6sin(x)+9cos(x)[/tex]

The Attempt at a Solution



Solution is of the sort
[tex]qsin(x)+pcos(x)[/tex]

Derivatives are
[tex]\frac{dy}{dx}=qcos(x)-psin(x)[/tex]

[tex]\frac{d^2y}{dx^2}=-qsin(x)-pcos(x)[/tex]
so y''+ 6y'+ 10y= -q sin(x)- pcos(x)+ 6qcos(x)- 6psin(x)+ 10qsin(x)+ 10pcos(x)
= (-q- 6p+ 10q)sin(x)+ (-p+ 6q+ 10p)cos(x)
= (9q- 6p)sin(x)+ (6q+ 9p)cos(x)

Substituting these in I eventually get that I require

[tex](6p+9p)cos(x)+(10q-7p)sin(x)=-6sin(x)+9cos(x)[/tex]
Then I suggest you do that over again. You seem to have gotten a "p" and "q" confused in the coefficient of sin(x).

Comparing sin and cos terms I get

[tex]10q-7p=-6[/tex] (1)
[tex]6q+9p=9[/tex] (2)

Then I get the two simultaneous equations, rearranging 2 and putting it into 1 i get

[tex]p=\frac{21}{22}[/tex]

This isn't the nice round number I have come expect from "simple" examples, so i stopped here and ask you all to put me back on track please. :)
 
Thats great, thanks a lot. Its always the little things that are the hardest to track down.

I get p=1 and q=0

Does that tally at your end? :)
 
Oops forgot to ask, how does this apply to the general solution? I get

[tex]C + De^{6x} + cos(x)[/tex]
 
Kawakaze said:
Oops forgot to ask, how does this apply to the general solution? I get

[tex]C + De^{6x} + cos(x)[/tex]

Where did you get e^(6x) from ?
 
The 6 comes from the second term of the original equation. The b so to speak.
 
The solution of the homogenous ODE must include [itex]e^{\alpha x}[/itex] as solutions, where

[tex]\alpha^2 + 6\alpha + 10 = 0[/tex]

So I don't see any e^(6x) as 6 is not a solution of the quadratic.
 
  • #10
Sorry i don't understand, do i need to find the auxillary equation as well? Or is it simply

[tex]C + De^{x} + cos(x)[/tex]
 
  • #11
Perhaps we're not speaking the same language here. The full solution of the ODE is a sum between the general solution (which I showed you how to find it) and the particular solution which was the purpose of this thread to which both Halls and me gave you some support.
 
  • #12
I just reread thngs again, i see what you mean. I am sorry for being a little slow, this stuff is new to me and its overloading my fragile little braincell. :) Thanks for your help I do really appreciate it.
 
  • #13
Take 2 :)

[tex]\alpha^2 + 6\alpha + 10 = 0[/tex]

This is the complimentary function right? I would solve this with the standard a, b, c formula. To save precious time I am using wolphram alpha :)

This gives x = -3 - i and x = -3 + i

How does this apply to my particular integral?
 
  • #14
Hi Kawakaze! :smile:
Kawakaze said:
This gives x = -3 - i and x = -3 + i

Yes, so your general solution is Ae(-3 + i)x + Be(-3 - i)x

you can simplify that to e-3x(Aeix + Be-ix),

which it's more convenient to write as e-3x(Ccosx + Dsinx) :wink:
 
  • #15
Bingo, I get it. Thanks guys for your patience. If it frustrates me to spend so long on what turns out to be relatively quick if i had know what to do, i don't know where you get your patience from. :)
 
  • #16
This question turns to an initial value problem now, the general solution is

[tex]y=e^{-3x}(Ccos(x)+Dsin(x))+cos(x)[/tex]

I need to find the initial values for when y(0)=3 and y'(0)=12

Differentiate general solution and plug in the values, get 2 simultaneous equations to solve? The reason i ask is that looks like a nightmare to differentiate.
 
  • #17
Kawakaze said:
I need to find the initial values for when y(0)=3 and y'(0)=12

Differentiate general solution and plug in the values, get 2 simultaneous equations to solve? The reason i ask is that looks like a nightmare to differentiate.

Scaredy-cat! :biggrin:
 
  • #18
tiny-tim said:
Scaredy-cat! :biggrin:

No arguments here! :P

[tex] \frac{dy}{dx}=-3e^{-3x}C-sin(x)+3e^{-3x}Dcos(x)-sin(x)[/tex]

close?
 
  • #19
Hi Kawakaze! :smile:

(just got up :zzz: …)

hmm … I think I'd better do this one for you, and then you can try d2y/dx2

to differentiate e-3x(Ccosx + Dsinx),

you use the product rule … differentiate the left bit on its own (and multiply by the right), then add on the result of differentiating the right bit on its own (and multiply by the left) …

so that's -3e-3x(Ccosx + Dsinx) + e-3x(Dcosx - Csinx),

= e-3x((D - 3C)cosx - (C + 3D)sinx) …

ok, now you try d2y/dx2 :wink:
 
  • #20
Good morning, sleeping beauty, is this a new meaning to sleeps with the fishes? :)

Product rule, *facepalm* yes its glaring me in the face, i know that one. Working a full 8hr day and then going on to 5am on an assessment that is due really shuts your brain down!

[tex] \frac{d^2y}{dy^2}=-3e^{-3x}((D - 3C)cosx - (C + 3D)sinx) + e^{-3x}((D - 3C)-sinx + (C + 3D)cosx)-cos(x)[/tex]

but where did the cos(x) go, from the end of the solution?
 
Last edited:
  • #21
Kawakaze said:
Good morning, sleeping beauty, is this a new meaning to sleeps with the fishes? :)

oh yes, I've heard of that saying …

we have a similar saying, "he sleeps with the apes!" :biggrin:
but where did the cos(x) go, from the end of the solution?

I knew you could do that, so I left it off :wink:

ok, now rearrange all the cos together, and all the sin together, inside that big bracket,

then go back to the original equation, put cos = 1, sin = 0, and e-3x = 1, and solve! :smile:
 
  • #22
tiny-tim said:
oh yes, I've heard of that saying …

we have a similar saying, "he sleeps with the apes!" :biggrin:

Not heard that one, I am sure my missus will agree that she sleeps with an ape :D

[tex] e^{-3x)(-3Dcos(x)+9Ccos(x)+3Ccos(x)+9Dsin(x)-Dsin(x)+3Csin(x)-Ccos(x)-3Dcos(x)-cos(x))[/tex]
[tex] e^{-3x}((-6D+11C)cos(x)+(8D+3C)sin(x)-cos(x))[/tex]

this is not what wolphram alpha gives me, :S
 
  • #23
tiny-tim said:
then go back to the original equation, put cos = 1, sin = 0, and e-3x = 1, and solve! :smile:

where does this come from?
 
  • #24
Kawakaze said:
where does this come from?

From putting x = 0 to get the initial values …
Kawakaze said:
I need to find the initial values for when y(0)=3 and y'(0)=12

(oh, you don't need y''(0) after all … it was on page 1, and I didn't check it :redface:)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
7
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K