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

AI Thread Summary
The initial value problem y" + 4y = sin(3t) with conditions y(0) = 1 and y'(0) = 17/5 is solved using the annihilator method. The homogeneous solution is identified as y_h(t) = c_1 cos(2t) + c_2 sin(2t), while the particular solution is found to be y_p(t) = -1/5 sin(3t). By applying the initial conditions, the constants are determined as c_1 = 1 and c_2 = 2. The complete solution to the IVP is y(t) = cos(2t) + 2sin(2t) - (1/5)sin(3t).
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
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
Re: Joe Smalls' question at Yahoo! Answers regarding a linear ingomogenous 2nd order IVP

Hello Joe Smalls,

We are given to solve:

$$y"+4y=\sin(3t)$$ where $$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:

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

And the particular solution is of the form:

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

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

$$y_p''(t)=-9y_p(t)$$

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

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

Comparison of coefficients gives us:

$$A=0,\,B=-\frac{1}{5}$$

And so our particular solution is:

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

And thus the general solution by superposition is:

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

Hence:

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

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

$$y(0)=c_1=1$$

$$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:

$$y(t)=\cos(2t)+2\sin(2t)-\frac{1}{5}\sin(3t)$$
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top