Solve 2nd Order Diff Eq: y''=sin(3t)+4e^t, y(0)=1, y'(1)=0

  • Thread starter Thread starter Dissonance in E
  • Start date Start date
  • Tags Tags
    2nd order Diff eq
Dissonance in E
Messages
71
Reaction score
0

Homework Statement


find a general solution to the eq:
y''=sin(3t)+4e^t

Find a particular solution that satisfies
y(0) = 1
y'(1) = 0

Homework Equations





The Attempt at a Solution


ive figured the general solution to be
y(x)= -sin(3t)/9 + 4e^t + c + d
And thus
y'(x) = -cos(3t)/3 + 4e^t +c + d

I know the solution is the general solution + the specific values for c & d.

so we get 2 equations

-sin(3(0))/9 +4e^0 +c +d = 1
4+c+d=1
c+d=-3

-cos(3(1))/3 +4e^1 +c +d = 0
-cos(3)/3 + 4e +c +d =0
c+d = cos(3)/3 -4e

now what? if I try substituting values for c & d i end up eliminating both the c and d terms
eg: c = -3 -d
(-3 -d ) + d = cos(3)/3 -4e
-3 = cos(3)/3 -4e ?
 
Physics news on Phys.org
Instead of the way you chose, I would just integrate twice to get y(t).

You have y''(t) = sin(3t) + 4e^t
Integrate once to get y'(t) = -(1/3)cos(3t) + 4e^t + C
Use the fact that y'(1) = 0 to solve for C.
Now integrate y'(t) to get y(t), remembering to add a different constant of integration, say D. Use the initial condition y(0) = 0 to solve for D.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top