2nd order nonhomogeneos differential equations with initial conditions

Click For Summary

Homework Help Overview

The problem involves solving a second-order non-homogeneous differential equation of the form d²y/dt² + 15y = cos(4t) + 2sin(t) with initial conditions y(0) = y'(0) = 0. The subject area is differential equations, specifically focusing on methods for solving non-homogeneous equations.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the characteristic equation r² + 15 = 0 and the corresponding homogeneous solution. There are attempts to derive a particular solution using the method of undetermined coefficients, with varying suggestions for the form of the particular solution.

Discussion Status

There is ongoing exploration of the correct form for the particular solution, with some participants questioning the assumptions made about the non-homogeneous part. Several participants are providing corrections and clarifications regarding the homogeneous solution and the approach to finding the particular solution.

Contextual Notes

Participants are navigating through potential errors in their calculations and assumptions, particularly regarding the forms of the particular solution and the relationships between the terms in the differential equation. There is a focus on ensuring that the proposed solutions align with the original equation.

pedro123
Messages
14
Reaction score
0

Homework Statement



The problem states

d^2y/dt^2 +15y= cost4t + 2sin t

initial conditions y(0)=y'(0)=0




Homework Equations





The Attempt at a Solution



All I have is this r^2+15=0

making r(+-)=√15


and making yh= C1cos√15+C2√15


the next part includes solve for the nonhomogenous equation

cos4t + 2sint

but here is where I can't come with the particular solution can it be


yp= Acos2t +B sin2t
 
Physics news on Phys.org
pedro123 said:

Homework Statement



The problem states

d^2y/dt^2 +15y= cost4t + 2sin t

initial conditions y(0)=y'(0)=0




Homework Equations





The Attempt at a Solution



All I have is this r^2+15=0

making r(+-)=√15
No, r = ±√(-15) = ±i√(15).

But rather than working with eit√15 and e-it√15, it's much easier to work with cos(t√(15)) and sin(t√(15)).
pedro123 said:
and making yh= C1cos√15+C2√15
See above.

What would you have for yh, considering the corrections I made?
pedro123 said:
the next part includes solve for the nonhomogenous equation

cos4t + 2sint

but here is where I can't come with the particular solution can it be


yp= Acos2t +B sin2t

No, these won't work. You'll need four expressions for your particular solution, not two.
 
So yh= cos(t√(15)) + sin(t√(15))

and now I need to use the method of undetermined cooficients to come with a particular solution.

is Yp= Acos 2t +B sin 2t

Yp'=-2Asin 2t + 2B cos 2t
Yp''= -4Acos 2t - 4B sin 2t

right or did I make mistake and if it is right

it will make

d^2y/dt^2 +15Yp= -4Acos 2t - 4B sin 2t + 15 Acos 2t +15B sin 2t

d^2y/dt^2 +15Yp= 11cost + 11sint

is the particular solution right
 
pedro123 said:
So yh= cos(t√(15)) + sin(t√(15))

That is still not the full general solution to the homogeneous equation.

and now I need to use the method of undetermined cooficients to come with a particular solution.

is Yp= Acos 2t +B sin 2t

Yp'=-2Asin 2t + 2B cos 2t
Yp''= -4Acos 2t - 4B sin 2t

right or did I make mistake and if it is right

it will make

d^2y/dt^2 +15Yp= -4Acos 2t - 4B sin 2t + 15 Acos 2t +15B sin 2t
Could you explain more what you are doing here? In particular why are substituting a form where the argument of sin is 2t?
 
Your non-homogeneous part has sin(t) and sin(4t). Those do NOT "combine" to give sin(2t).
Look for a solution of the form A sin(t)+ B cos(t)+ C sin(4t)+ D cos(4t).
 
so you mean for the nonhomegenous part

yp=A sin(t)+ B cos(t)+ C sin(4t)+ D cos(4t).
yp'=A cos(t) - B sin(t) + 4C cos (4t) + - 4D sin (4t)
yp''= -A sin(t) - B cos(t) - 16C sin(4t) - 16D cos(4t)
 
Yes. Now substitute yp and its derivatives into your diff. equation to solve for A, B, C, and D.

For your general solution you will also need yh, which wasn't right in post #3.
 
so you mean Yp''-Yp'+15Yp=cost4t to solve

-A sin(t) - B cos(t) - 16C sin(4t) - 16D cos(4t) + 15A sin(t)+ 15B cos(t)+ 15C sin(4t)+ 15D cos(4t) = cos (4t ) + 2 sin(t)

-14 A sin(t) +14 B cos(t) -C sin(4t) -D cos(4t) = cos (4t) + 2 sin t

-C = 1 = -1

-D = 1 = -1

-14A = 1 = -1/14

14B = 1 = 1/14

are all these values for A B C and D right and my differential equation
 
pedro123 said:
so you mean Yp''-Yp'+15Yp=cost4t to solve

-A sin(t) - B cos(t) - 16C sin(4t) - 16D cos(4t) + 15A sin(t)+ 15B cos(t)+ 15C sin(4t)+ 15D cos(4t) = cos (4t ) + 2 sin(t)

-14 A sin(t) +14 B cos(t) -C sin(4t) -D cos(4t) = cos (4t) + 2 sin t

-C = 1 = -1

-D = 1 = -1
Don't write things like the above. You're saying that -C is equal to 1 and that 1 is equal to -1, which isn't true. You should write something like this
-C = 1, so C = -1
or
-C = 1 ##\Rightarrow## C = -1

pedro123 said:
-14A = 1 = -1/14

14B = 1 = 1/14

are all these values for A B C and D right and my differential equation
I don't know - check them and see.

If yp = (-1/14)sin(t) + (1/14)cos(t) - sin(4t) - cos(4t),
what is yp'' + 15yp? It better be equal to cos(4t) + 2sin(t).
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
Replies
2
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K