Nonhomogeneous Differential Equation

Click For Summary

Homework Help Overview

The discussion revolves around finding a particular solution to a nonhomogeneous differential equation of the form y'' + 9y = 2cos3x + 3sin3x. Participants are examining the derivation of the particular solution and comparing their results with a textbook answer.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to derive a particular solution using the method of undetermined coefficients but arrives at a different result than the textbook. Some participants question the substitution of derivatives into the equation and the inclusion of terms in their calculations.

Discussion Status

Participants are actively discussing their approaches to finding the particular solution, with some providing corrections and suggestions. There is a recognition of errors in the original calculations, and one participant expresses gratitude for the guidance received, indicating a productive exchange.

Contextual Notes

There are references to specific values and calculations that may not align with the textbook, highlighting potential misunderstandings or misapplications of the method. The discussion reflects the challenges of working with nonhomogeneous differential equations and the nuances involved in deriving particular solutions.

Zem
Messages
33
Reaction score
0
I got a particular solution y_p(x) that is different from what the book has.

y'' + 9y = 2cos3x + 3sin3x

Characteristic equation: r^2 + 9 = 0
(r+3i)(r-3i) = 0
y_c = c_1cos3x + c_2sin3x
y_p = Acos3x + Bsin3x (not linearly independent, so I'll try another y_p)
y_p = Axcos3x + Bxsin3x
y'_p = Acos3x - 3Axsin3x + Bsin3x + 3Bxcos3x
y''_p = -3Asin3x - 3Asin3x - 9Axcos3x + 3Bcos3x + 3Bcos3x - 9Bxsin3x
x = 0
y(x) = Acos3x + Bsin3x - 6Asin3x + 6Bcos3x + Acos3x + Bsin3x - 6Asin3x + 6Bcos3x = 2cos3x + 3sin3x

Acos3x + 6Bcos3x = 2cos3x
A + 6B = 1
Bsin3x - 6Asin3x = 3sin3x
-12A + 2B = 3

My ti89 says A = -8/37 , B = 15/74
y_p = (15/37sin3x - 8/37xcos3x)
But the book's answer is y_p = 1/6(2xsin3x - 3xcos3x)

What have I missed?
 
Physics news on Phys.org
Your derivatives look right but I don't think you substituted them well in the equation, where is the factor 9 of y_p? You need to do y''_p+9y_p = ...
 
And I should not have included y'_p (oops).
Here is my new solution.
y(x) = 6Bcos3x - 6Asin3x + 9Acos3x + 9Bsin3x = 2cos3x + 3sin3x
9A + 6B = 2
-2A + 3B = 1
[ 9 6 2 ]
[ -2 3 1 ]~

[ 1 (2/3) (2/9) ](2)
[ -2 3 1 ]~

[ 1 (2/3) (2/9) ] (13)
[ 0 (13/3) (13/9) ](-2) ~

[1 0 0 ]
[ 0 3 1 ]
A = 0, B= 1/3
The book says A = 1/2, B = 1/3. So I'm still a little off here, but can't see how. Thanks!
 
Actually, I did not include y_p is that x = 0, so y_p = A(0)cos3x + B(0)sin3x. I included my original try for y_p in my above answer. But you helped me find the solution. Thanks so much!

6Bcos3x = 2cos3x
3B = 1
-6Asin3x = 3sin3x
-2A = 1
y_p(x) = 1/6(2xsin3x - 3xcos3x)
 
Nice :smile:
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
2K
  • · Replies 52 ·
2
Replies
52
Views
9K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
2K