Easy non-homogenous 2nd order diff.eq

  • Thread starter Thread starter Dissonance in E
  • Start date Start date
  • Tags Tags
    2nd order
Click For Summary
SUMMARY

The discussion focuses on solving the second-order non-homogeneous differential equation y'' = sin(2x). The general solution is expressed as y = c1y1(x) + c2y2(x) + yp(x), where the homogeneous solution is yh = A + Bx. A particular solution is identified as yp = Csin(2x) + Dcos(2x), with the constants C and D determined by substituting initial conditions y(0) = −1/4 and y(π/4) = π/2. The necessity of including both sine and cosine terms in the particular solution is emphasized due to the nature of the forcing function.

PREREQUISITES
  • Understanding of second-order differential equations
  • Familiarity with homogeneous and non-homogeneous solutions
  • Knowledge of initial value problems
  • Basic trigonometric functions and their derivatives
NEXT STEPS
  • Study the method of undetermined coefficients for non-homogeneous differential equations
  • Learn about the characteristic equation and its implications for solutions
  • Explore the use of initial conditions in determining constants in differential equations
  • Investigate the role of complex roots in solving differential equations
USEFUL FOR

Students and educators in mathematics, particularly those studying differential equations, as well as anyone looking to deepen their understanding of non-homogeneous differential equations and their solutions.

Dissonance in E
Messages
71
Reaction score
0

Homework Statement



Find the general soulution to :
y'' = sin(2x)
and the particular solution that satisfies:
y(0) = −1/4, y(pi/4) = pi/2.

Homework Equations


y = c1y1(x) + c2y2(x) + yp(x)


The Attempt at a Solution


y'' = sin2x ----> y = -sin(2x)/4
-0.25C1sin(2x) - 0.25C2sin(2x)
Is there a more surefire method of finding the satisfying function than just simply intuition.

y(0) = -1/4
-0.25C1sin(2(0)) - 0.25C2sin(2(0)) + yp(0) = -1/4

yp(0) = -1/4
yp(pi/4) = pi/2

Id guess yp(x) is something like -0.25cos(x) as that would give -1/4 at yp(0)
However I am sure there's a formal pattern to finding these solutions so idk very much like to have that at my disposal. thanks
 
Physics news on Phys.org
This is a fairly simple linear, constant coefficient nonhomogeneous problem. In solving nonhomogeneous, you always look at the associated homogenous problem, which is y'' = 0. The solution to the homogeneous problem is yh = A + Bx. You can use the initial conditions to find A and B.

A particular solution to your nonhomogeneous problem is yp = Csin(2x) + Dcos(2x). Calculate yp'' and you should be able to solve for C and D.

Whenever your "forcing function" (the function that makes the equation nonhomogeneous) is either sin(kx) or cos(kx), the particular solution has to include both sin(kx) and cos(kx). The short explanation for this goes back to the characteristic equation having quadratic factors with complex or purely imaginary roots. These roots come in pairs, and this is related to the need for both sin(kx) and cos(kx) terms.
 
Just to add a point to Mark's comments. You don't want to use the initial conditions to find A and B before you have added the particular solution to the complementary solution, because until you do that, you don't have the general solution in the first place.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
5
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 11 ·
Replies
11
Views
3K