Solving Differential Equations with Undetermined Coefficients

Click For Summary

Homework Help Overview

The discussion revolves around solving two differential equations: the first is a third-order linear differential equation with a sine function as the non-homogeneous part, and the second is a second-order linear homogeneous equation. Participants are exploring methods for finding particular solutions using the method of undetermined coefficients.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • The original poster attempts to find the particular solution for the first equation using the method of undetermined coefficients, initially proposing a form that includes terms multiplied by t. They later revise their assumption to a simpler form involving sine and cosine functions. Questions arise regarding the correctness of their approach and the values of coefficients A1 and A2.

Discussion Status

Participants are actively engaging with the original poster's attempts, with some suggesting alternative approaches and others encouraging verification of the derived solutions by substituting back into the original equations. There is no explicit consensus on the correctness of the solutions presented.

Contextual Notes

The original poster expresses uncertainty about their solution for the first differential equation and seeks confirmation on their work for the second equation. There is an indication of potential confusion regarding the application of the method of undetermined coefficients.

EugP
Messages
104
Reaction score
0

Homework Statement



1) [tex]y''' - y' = 2\sin{t}[/tex], find the general solution.

2) [tex]x^2y'' + 3xy' + 5y = 0[/tex], find the general solution.

I'm pretty sure I did #2 correct, but I'm stuck on #1. I can't find the particular solution. I would, however, like to know if I did #2 right.

Homework Equations



[tex]F(r) = r^2 + (\alpha - 1)r + \beta = 0[/tex]

For [tex]r_1 \ and \ r_2[/tex] Complex conjugates:

[tex]y = C_1x^{\lambda}\cos(\mu\ln{x}) + C_2x^{\lambda}\cos(\mu\ln{x})[/tex]

The Attempt at a Solution



1) First I found the homogenous solution:

[tex]y''' - y' = 0[/tex]

[tex]r^3 - r = 0[/tex]

[tex]r(r + 1)(r - 1) = 0[/tex]

[tex]r_1 = 0, \ r_2 = -1, \ r_3 = 1[/tex]

[tex]y = C_1 + C_2e^{-t} + C_3e^t[/tex]

Now I try finding the particular solution by using the method of undetermined coefficients. Since [tex]y''' - y' = 2\sin{t}[/tex], I will assume [tex]y_1 = A_1tcost + A_2tsint[/tex], from this:

[tex]y_1' = (A_1 + A_2t)\cos{t} + (A_2 - A_1t)\sin{t}[/tex]

[tex]y_1'' = (2A_2 - A_1t)\cose{t} - (2A_1 + A_2t)\sin{t}[/tex]

[tex]y_1''' = (A_1t - 3A_2)\sin{t} - (3A_1 + A_2t)\cos{t}[/tex]

Now I plug that into the original equation, simplify and get:

[tex](2A_1t - 4A_2)\sint{t} - 2(2A_1 + A_2t)\csot{t} = 2\sin{t}[/tex]

This is where I'm stuck. How do I find [tex]A_1[/tex] and [tex]A_2[/tex]?

2) [tex]x^2y'' + 3xy' + 5y = 0[/tex]

[tex]\alpha = 3, \ \beta = 5[/tex]

So:

[tex]F(r) = r^2 + (\alpha - 1)r + \beta = 0[/tex]

[tex]r^2 + 2r + 5 = 0[/tex]

[tex]r_1 = -1 + 2i, \\ r_2 = 1 - 2i[/tex]

So the general solution is:

[tex]y = C_1x^{-1}\cos(2\ln{x}) + C_2x^{-1}\sin(2\ln{x})[/tex]

Any help would be greatly appreciated.

EDIT: I changed my assumption in #1. Since [tex]cos t[/tex] and [tex]sin t[/tex] are not solutions of the homogenous equation, I chose:

[tex]y_1 = A_1\sin {t} + A_2\cos{t}[/tex]

[tex]y_1' = A_1\cos{t} - A_2\sin {t}[/tex]

[tex]y_1'' = -A_1\sin {t} - A_2\cos{t}[/tex]

[tex]y_1''' = -A_1\cos{t} + A_2\sin {t}[/tex]

Now I plug back in and get:

[tex]-A_1\cos{t} + A_2\sin{t} - (A_1\cos{t} - A_2\sin {t}) = 2\sin{t}[/tex]

[tex]2A_2\sin {t} - 2A_1\cos{t} = 2\sin {t}[/tex]

[tex]A_2 - A_1\cot{t} = 1[/tex]

So now I get [tex]A_1 = 0[/tex] and [tex]A_2 = 1[/tex]

Therefore:

[tex]y = C_1 + C_2e^{-t} + C_3e^t + \cos{t}[/tex][/tex]

Is this correct?
 
Last edited:
Physics news on Phys.org
Have you tried using just A1*sin(t) +A2*cos(t)?
 
daveb said:
Have you tried using just A1*sin(t) +A2*cos(t)?

Yes I just edited my first post to show that I did. Thanks.
 
Try differentiating y(t)= C1+ C2e-t+ C3et+ cos(t) three times and plug the result into the differential equation!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K