Is there a mistake in the assignment?

4 replies · 2K views · last reply
kostoglotov
Messages
231
Reaction score
6

Homework Statement



I'm actually a tutor, and a student of mine at uni has the following differential equation with initial conditions to solve

Second-order differential equation y'' + 9y = 0 with initial conditions y(0) + y'(0) = 0 and y(pi) - y'(pi) = 0.


imgur link: http://i.imgur.com/ptuymQv.gif

From [itex]y(t) = c_1sin(3t) + c_2cos(3t)[/itex], it is not possible to solve for the constants using the given initial conditions. I always wind up with [itex]-c_2 = -3c_1[/itex] and [itex]c_2 = -3c_1[/itex].

Am I missing something or are those init conditions NP?

Homework Equations

The Attempt at a Solution

 
kostoglotov said:

Homework Statement



I'm actually a tutor, and a student of mine at uni has the following differential equation with initial conditions to solve

Boundary value problem: y'' + 9y = 0, with y(0) + y'(0) = 0 and y(pi) - y'(pi) = 0.


imgur link: http://i.imgur.com/ptuymQv.gif

From [itex]y(t) = c_1sin(3t) + c_2cos(3t)[/itex], it is not possible to solve for the constants using the given initial conditions. I always wind up with [itex]-c_2 = -3c_1[/itex] and [itex]c_2 = -3c_1[/itex].

Am I missing something or are those init conditions NP?

Homework Equations

The Attempt at a Solution

If you continue with your work, you get ##c_1 = c_2 = 0##. That means that the solution to the DE is ##y(t) = 0\sin(3t) + 0\cos(3t) \equiv 0##.
That might not have been what the author of the problem intended, but it's a valid solution.
 
Last edited:
This response may well be more advanced than what the OP needs, but I'm giving it for others that might read this thread.

Those boundary conditions look like Sturm-Liouville type B.C.'s, and you wouldn't normally expect a non-zero solution for any old value of the constant, which is ##9## in this problem. For example, consider the eigenvalue problem$$
y''+\mu^2 y = 0$$ $$y(0)+y'(0) = 0,~~y(\pi)-y'(\pi)=0$$Sturm-Liouville theory tells us there should be infinitely many eigenvalues ##\lambda_n=\mu_n^2##, with corresponding non-zero eigenfunctions (solutions). Is one of the eigenvalues ##\lambda = 9##? The answer is "no". Without boring you with the details, if you work out the details, the ##\mu_n## are solutions of the equation$$\tan(\pi \mu) = \frac{2\mu}{1-\mu^2}$$They can be found numerically and are where the functions ##\tan(\pi \mu)## and ##\frac{2\mu}{1-\mu^2}## in the picture below cross.
Plot of the red curve 2mu/(1-mu^2) and green vertical asymptotes of tan(pi mu) against x from 0 to 5; the curves intersect at several points, with the red curve descending from near 0 toward -4 near x=1.


Unfortunately, ##9## isn't one of the eigenvalues, which is why there is only the trivial solution.
[Edit, added]: Note ##\lambda = 9## would correspond to ##\mu = 3##.
 
Last edited:
  • Like
Likes   Reactions: pasmith
LCKurtz said:
View attachment 107655

Unfortunately, ##9## isn't one of the eigenvalues, which is why there is only the trivial solution.

Unfortunate that the graph doesn't clearly demonstrate this by having the horizontal axis include [itex]\mu = 9[/itex].
 
pasmith said:
Unfortunate that the graph doesn't clearly demonstrate this by having the horizontal axis include [itex]\mu = 9[/itex].

[Edit] This may need correcting, stay tuned...
OK, the below is corrected.
@pasmith: I was apparently asleep when I first replied. For ##\lambda = 9## we need ##\mu## near ##3##, which is illustrated in my previous post. The ##\mu## value nearest ##3## is 2.780188423. This leads to a solution of y = sin(2.780188423*x)-2.780188423*cos(2.780188423*x). Here's a graph:

Graph of a red sinusoidal curve over x from 0 to about 3.1, with y ranging from about -2.8 to 2.8; it crosses the x-axis near 0.5, 1.6 and 2.7, with a peak near x = 1 and a trough near x = 2.2.
 
Last edited: