Solve Linear Inhomogeneous 2nd Order IVP: Joe Smalls' Question

In summary, we are given the initial value problem y"+4y=sin3t with initial conditions y(0)=1 and y'(0)=17/5. Using the annihilator method, we find the homogenous solution to be y_h(t)=c_1cos2t+c_2sin2t and the particular solution to be y_p(t)=-1/5sin3t. By superposition, the general solution is y(t)=c_1cos2t+c_2sin2t-1/5sin3t. Using the initial conditions, we find c_1=1 and c_2=2, giving us the final solution y(t)=cos2t+2sin
  • #1
MarkFL
Gold Member
MHB
13,288
12
Here is the question:

Solving this initial value problem?

So I'm trying to solve this:

y" + 4y = sin3t
y(0) =1
y'(0) = 17/5

I start by:

(D^2 + 4)(y) = sin3t
(D^2 + 9)(D^2 + 4)(y) = 0
y = C_1(cos3t) + C_2(sin3t) + C_3(cos2t) + C_4(sin2t)

Then I apply initial conditions:

1 = C_1 + C_3
17/5 = 3C_2 + 2C_4

After, I try to solve for a constant by plugging in the particular as y:

(D^2 + 9)(C_1(cos3t)) + C_2(sin3t)) = sin3t
-9C_1(cos3t) - 9C_2(sin3t) + 9C_1(cos3t) + 9C_2(sin3t) = sin3t
sin3t = 0

And that's where I'm stuck. The only thing I can think of is either that I made a mistake, or I can just assume C_1 = 0 because sin3t = 0 to make C_1(cos3t) + C_2(sin3t) = 0 be true. Any tips and help is appreciated!

If you must know, the answer is y = cos2t + 2sin2t - (1/5)(sin3t)

Also, if I can assume C_1 = 0, then I get C_3 = 1. But how do I solve for the other constants?

I have posted a link there to this thread so the OP can view my work.
 
Mathematics news on Phys.org
  • #2
Re: Joe Smalls' question at Yahoo! Answers regarding a linear ingomogenous 2nd order IVP

Hello Joe Smalls,

We are given to solve:

\(\displaystyle y"+4y=\sin(3t)\) where \(\displaystyle y(0)=1,\,y'(0)=\frac{17}{5}\)

You have correctly applied the annihilator method and from this we may conclude that the homogenous solution is:

\(\displaystyle y_h(t)=c_1\cos(2t)+c_2\sin(2t)\)

And the particular solution is of the form:

\(\displaystyle y_p(t)=A\cos(3t)+B\sin(3t)\)

Using the method of undetermined coefficients, we begin by observing that:

\(\displaystyle y_p''(t)=-9y_p(t)\)

And so, by substitution into the ODE, we obtain:

\(\displaystyle -5A\cos(3t)-5B\sin(3t)=0\cdot\cos(3t)+1\cdot\sin(3t)\)

Comparison of coefficients gives us:

\(\displaystyle A=0,\,B=-\frac{1}{5}\)

And so our particular solution is:

\(\displaystyle y_p(t)=-\frac{1}{5}\sin(3t)\)

And thus the general solution by superposition is:

\(\displaystyle y(t)=y_h(t)+y_p(t)=c_1\cos(2t)+c_2\sin(2t)-\frac{1}{5}\sin(3t)\)

Hence:

\(\displaystyle y'(t)=-2c_1\sin(2t)+2c_2\cos(2t)-\frac{3}{5}\cos(3t)\)

Now, using the initial values, we obtain the system:

\(\displaystyle y(0)=c_1=1\)

\(\displaystyle y'(0)=2c_2-\frac{3}{5}=\frac{17}{5}\implies c_2=2\)

And so we find the solution satisfying the given IVP is:

\(\displaystyle y(t)=\cos(2t)+2\sin(2t)-\frac{1}{5}\sin(3t)\)
 

FAQ: Solve Linear Inhomogeneous 2nd Order IVP: Joe Smalls' Question

What is a linear inhomogeneous 2nd order IVP?

A linear inhomogeneous 2nd order IVP (initial value problem) is a type of differential equation that involves a second order derivative and a non-zero function on the right side of the equation. It also includes initial conditions, which are values for the function and its derivatives at a specific point.

How do you solve a linear inhomogeneous 2nd order IVP?

To solve a linear inhomogeneous 2nd order IVP, you need to use techniques such as the method of undetermined coefficients or variation of parameters. These methods involve finding a particular solution that satisfies the non-homogeneous part of the equation, and then adding it to the general solution of the corresponding homogeneous equation.

What is the importance of solving a linear inhomogeneous 2nd order IVP?

Solving a linear inhomogeneous 2nd order IVP is important in many fields of science and engineering, as it allows us to model and understand various physical phenomena. It is also a fundamental skill in higher level mathematics courses, and is used in applications such as circuit analysis, population dynamics, and oscillation problems.

What is the difference between a linear inhomogeneous 2nd order IVP and a linear homogeneous 2nd order IVP?

The main difference between a linear inhomogeneous 2nd order IVP and a linear homogeneous 2nd order IVP is the presence of a non-zero function on the right side of the equation. In a homogeneous equation, this function would be equal to zero, making the equation easier to solve. Additionally, the initial conditions in a linear inhomogeneous IVP are specific values, while in a homogeneous IVP, they can be any constants.

Can you provide an example of a real-life situation where a linear inhomogeneous 2nd order IVP is used?

One example of a real-life situation where a linear inhomogeneous 2nd order IVP is used is in modeling the motion of a mass-spring system subject to external forces. The equation of motion for this system is a linear inhomogeneous 2nd order IVP, where the external force acts as the non-homogeneous term. Solving this equation allows us to predict the behavior of the system and optimize its design for various applications, such as in suspension systems or earthquake-resistant buildings.

Similar threads

Replies
2
Views
3K
Replies
3
Views
1K
Replies
5
Views
2K
Replies
4
Views
739
Replies
5
Views
2K
Replies
1
Views
854
Replies
3
Views
1K
Back
Top