Is this 2nd Differential Equation Answer Correct?

In summary, the homework statement is that r^2 + 9 = 0. r^2 = -9 and r = 3i. The Attempt at a Solution is that y = c1 e^x cos(3x) + c2 e^x sin(3x) and y' = c1 e^x cos(3x) - 3c1 e^x sin(3x) + c2 e^x sin(3x) + 3c2 e^x cos(3x). The solution is that y= 3cos(3x) - sin(3x).
  • #1
jonnejon
27
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
  • #2
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:)
 
  • #3
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)??
 
  • #4
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:)
 
  • #5
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:
  • #6
Mark44 said:
As Compuchip already pointed out, y = -3cos(3x) - sin(3x)

Hi Compuchip! :smile:

Didn't know you were there! :biggrin:
 
  • #8
We look alike in the dark! :biggrin:
 
  • #9
Well, it's dark here, so that's good enough for me.
 

1. What is a 2nd differential equation?

A 2nd differential equation is a mathematical equation that involves the second derivative of an unknown function. It is commonly used to model physical phenomena and describe the relationship between a variable and its rate of change.

2. How do you solve a 2nd differential equation?

Solving a 2nd differential equation involves finding the function that satisfies the equation. This can be done through various methods such as separation of variables, variation of parameters, and using specific formulas for different types of equations.

3. Is there a specific formula for solving all 2nd differential equations?

No, there is no one-size-fits-all formula for solving 2nd differential equations. The method used to solve an equation depends on its specific form and characteristics.

4. How do you know if your answer to a 2nd differential equation is correct?

The best way to check the correctness of your answer is to substitute it back into the original equation and see if it satisfies the equation. Additionally, you can compare your solution with known solutions or use mathematical software to verify your answer.

5. Can a 2nd differential equation have multiple solutions?

Yes, a 2nd differential equation can have multiple solutions. This is because there are often multiple functions that can satisfy the equation. However, the number of solutions can also depend on the initial conditions given in the problem.

Similar threads

  • Calculus and Beyond Homework Help
Replies
11
Views
351
  • Calculus and Beyond Homework Help
Replies
8
Views
872
  • Calculus and Beyond Homework Help
Replies
1
Views
532
  • Calculus and Beyond Homework Help
Replies
25
Views
332
  • Calculus and Beyond Homework Help
Replies
7
Views
778
  • Calculus and Beyond Homework Help
Replies
5
Views
680
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
260
  • Calculus and Beyond Homework Help
Replies
4
Views
956
  • Calculus and Beyond Homework Help
Replies
5
Views
2K
Back
Top