Find a Particular Solution of 9y''+5y'+2y=sin^2(x)

  • Thread starter Thread starter Tom McCurdy
  • Start date Start date
Click For Summary

Homework Help Overview

The discussion revolves around finding a particular solution \( y_p \) for the differential equation \( 9y'' + 5y' + 2y = \sin^2(x) \) using the Method of Undetermined Coefficients. The original poster presents their attempts and calculations, including the substitution of \( \sin^2(x) \) and the derivatives of \( y_p \).

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to derive coefficients \( A \), \( B \), and \( C \) for the particular solution by substituting their expression back into the modified differential equation. Some participants question the accuracy of the coefficients derived, particularly \( A \), \( B \), and \( C \), and suggest verifying the solution by substitution into the original equation.

Discussion Status

Participants are actively engaging with the calculations, with some confirming the results of others. There is a mix of agreement and questioning regarding the values of \( B \) and \( C \), indicating a collaborative effort to verify the correctness of the solution.

Contextual Notes

There are indications of potential errors in the calculations, particularly with the coefficients, and participants express a need for clarity on these points. The discussion reflects a focus on ensuring the accuracy of the derived solution before concluding the problem.

Tom McCurdy
Messages
1,021
Reaction score
1
What did I do Wrong??

Homework Statement



Find a particular solution yp of the differential equation
[tex]9y''+5y'+2y=sin^2(x)[/tex]

using the Method of Undetermined Coefficients. Primes denote derivatives with respect to x.

Homework Equations



[tex]sin^2(x) = \frac{1-cos(2x)}{2}[/tex]

The Attempt at a Solution



Possible derivatives
  • A
  • B cos(2x)
  • C sin(2x)

[tex]y_p = A + Bcos(2x) + Csin(2x)[/tex]

[tex]y_p' = -2Bsin(2x) + 2Ccos(2x)[/tex]

[tex]y_p'' = -4Bcos(2x) + -4Csin(2x)[/tex]

Sub back into original modified with cos substitution on the right

[tex]9y''+5y'+2y = \frac{1-cos(2x)}{2}[/tex]

Becomes

[tex]9[-4Bcos(2x) + -4Csin(2x)] + 5[-2Bsin(2x) + 2Ccos(2x)] + 2[A + Bcos(2x) + Csin(2x)] = \frac{1-cos(2x)}{2}[/tex]

From that I get
2A = 1/2 => A=1/4

-36B + 10C + 2B = -1/2
-36C + -10B + 2C = 0

Solving for B and C
Leads to

[tex]y_p = (1/4)+(17/1056)*cos(2*x)+(5/1056)*sin(2*x)[/tex]

Where
B = 17/1056
and
C = 5/1056
 
Last edited:
Physics news on Phys.org
Spare us the decimals. Please!
 
Did you check your answer by plugging it into the diff. eq.? (I'm sure you will see that A is wrong at least.)
 
I realized I type it wrong when i had A defined, but i had it correct or so I thought in the equation A=1/4
 
-36B + 10C + 2B = -1/2
-36C + -10B + 2C = 0

Where
B = 17/1056
and
C = 5/1056
You solved for A correctly, but B and C are wrong.
 
-36B + 10C + 2B = -1/2
-36C + -10B + 2C = 0

-34B + 10 C = -1/2
-10B + -34C = 0

34B + 115.6C = 0
125.6C=-1/2

C = -5/1256

Therefore B equal

-10B + -34C = 0

B = 17/1256


I am down to one final attempt at this problem can someone confirm this correct?


[tex]y_p = (1/4)+(17/1256)*cos(2*x)+(-5/1256)*sin(2*x)[/tex]
 
That's what I get.
 
Algerbra FTW

... eh wow I feel stupid

it worked!
 

Similar threads

Replies
5
Views
3K
Replies
5
Views
2K
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K