Is this 2nd Differential Equation Answer Correct?

Click For Summary
SUMMARY

The correct solution to the differential equation y'' + 9y = 0, given the initial conditions y(pi/3) = 3 and y'(pi/3) = 3, is y = -3cos(3x) - sin(3x). The characteristic equation r^2 + 9 = 0 leads to complex roots r = ±3i, resulting in a general solution of the form y = A cos(3x) + B sin(3x). By applying the initial conditions, the constants A and B are determined to be -3 and -1, respectively, confirming the final solution.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with characteristic equations and complex roots
  • Knowledge of initial value problems
  • Proficiency in trigonometric functions and their derivatives
NEXT STEPS
  • Study methods for solving second-order linear differential equations
  • Learn about the application of initial conditions in differential equations
  • Explore the use of complex numbers in differential equations
  • Investigate the role of trigonometric functions in oscillatory solutions
USEFUL FOR

Students studying differential equations, mathematicians focusing on applied mathematics, and educators teaching calculus and differential equations.

jonnejon
Messages
27
Reaction score
0

Homework Statement


y'' + 9y = 0 where y(pi/3) = y'(pi/3) = 3

Homework Equations



r^2 + 9 = 0
r^2 = -9
r = 3i

The Attempt at a Solution



y = c1 e^x cos (3x) + c2 e^x sin(3x)
y' = c1 e^x cos (3x) - 3c1 e^x sin (3x) + c2 e^x sin(3x) + 3c2 e^x cos(3x)

y = -c1 e^(pi/3) = 3 => c1 = -3e^(-pi/3)
y' = -c1 e^(pi/3) - 3c2 e^(pi/3) = 3
y' = -(-3e^(-pi/3))e^(pi/3) - 3c2 e^(pi/3) = 3
y' = 3 - 3c2e^(pi/3) = 3 ====> c2 = 0

so
y= -3e^(-pi/3) e^x cos(3x) + 0
 
Last edited:
Physics news on Phys.org
Hi jonnejon! :smile:

(have a pi: π and try using the X2 and X2 tags just above the Reply box :wink:)
jonnejon said:
r = 3i
y = c1 e^x cos (3x) + c2 e^x sin(3x)

Noooo :redface: … r = ±3i gives you Ae3ix + Be-3ix (or Acos3x + Bsin3x).

(Your solution would be for r = 1 ± 3i. :wink:)
 
So,

y = A cos(3x) + B sin(3x)
y' = -3A sin(3x) + 3B sin(3x)

y = -A = 3 => A = -3
y'= -3B = 3 => B = -1

So the solution is: y= 3cos(3x) - sin(3x)??
 
jonnejon said:
So,

y = A cos(3x) + B sin(3x)
y' = -3A sin(3x) + 3B sin(3x)

y = -A = 3 => A = -3
y'= -3B = 3 => B = -1

So the solution is: y= 3cos(3x) - sin(3x)??

Yup! :smile:

(except you left out the - in -3 :wink:)
 
jonnejon said:
So,

y = A cos(3x) + B sin(3x)
y' = -3A sin(3x) + 3B sin(3x)
For y' it should by y' = -3A sin(3x) + 3B cos(3x)
If I can jump in here, the next two lines are where you're using your initial conditions to solve for A and B in the equations above.
jonnejon said:
y = -A = 3 => A = -3
y'= -3B = 3 => B = -1
What you should say in the first equation is that since y(pi/3) = 3, then
Acos(pi) + Bsin(pi) = 3, so A*(-1) = 3, or A = -3

Since y'(pi/3) = 3, and A = -3,
9sin(pi) + 3B cos(pi) = 3, so 3B(-1) = 3, so B = -1

jonnejon said:
So the solution is: y= 3cos(3x) - sin(3x)??
As tiny-tim already pointed out, y = -3cos(3x) - sin(3x)
 
Last edited:
Mark44 said:
As Compuchip already pointed out, y = -3cos(3x) - sin(3x)

Hi Compuchip! :smile:

Didn't know you were there! :biggrin:
 
Sorry about that, tiny-tim.
 
We look alike in the dark! :biggrin:
 
Well, it's dark here, so that's good enough for me.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K