Easy non-homogenous 2nd order diff.eq

  • Thread starter Dissonance in E
  • Start date
  • Tags
    2nd order
In summary, the general solution to the given problem is y = A + Bx + Csin(2x) + Dcos(2x). To find the particular solution that satisfies the given initial conditions, you can use the method of undetermined coefficients and solve for C and D. It is important to note that when the forcing function includes sin(kx) or cos(kx), the particular solution will also include both sin(kx) and cos(kx) terms.
  • #1
Dissonance in E
71
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
  • #2
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.
 
  • #3
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.
 

1. What is a non-homogenous 2nd order differential equation?

A non-homogenous 2nd order differential equation is an equation that involves a second derivative and contains a term that is not proportional to the dependent variable. This term is known as the non-homogenous term and can include functions such as constants, variables, or trigonometric functions.

2. How is a non-homogenous 2nd order differential equation different from a homogenous one?

In a homogenous 2nd order differential equation, the non-homogenous term is equal to zero, making the equation easier to solve. In a non-homogenous equation, the non-homogenous term adds complexity to the equation and requires additional techniques to solve.

3. What are some common techniques for solving non-homogenous 2nd order differential equations?

Some common techniques for solving non-homogenous 2nd order differential equations include the method of undetermined coefficients, variation of parameters, and Laplace transform. Each method has its own advantages and is used depending on the form of the non-homogenous term.

4. Can non-homogenous 2nd order differential equations be solved analytically?

Yes, non-homogenous 2nd order differential equations can be solved analytically using the methods mentioned above. However, in some cases, the equations may be too complex to solve analytically and numerical methods may be used instead.

5. What are some real-life applications of non-homogenous 2nd order differential equations?

Non-homogenous 2nd order differential equations have a wide range of applications in physics, engineering, and economics. Some examples include modeling the motion of a damped harmonic oscillator, predicting population growth, and analyzing the response of an electrical circuit to an external force.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
988
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
759
  • Calculus and Beyond Homework Help
Replies
11
Views
3K
  • Calculus and Beyond Homework Help
Replies
2
Views
269
  • Calculus and Beyond Homework Help
Replies
8
Views
226
  • Calculus and Beyond Homework Help
Replies
1
Views
274
  • Calculus and Beyond Homework Help
Replies
16
Views
558
  • Calculus and Beyond Homework Help
Replies
7
Views
824
  • Calculus and Beyond Homework Help
Replies
21
Views
836
Back
Top