General solution to inhomogeneous second order equation

In summary, the solution to x'' + cx' = f(t), for a general f, can be found by first solving the homogeneous part (A + B*exp(-ct)) and then finding the particular solution using the formula (1/c)int((1-exp(c(s-t))f(s))ds, where the integral is between 0 and t. Alternatively, the differential equation can be rewritten as v'+ cv= f(t), where v= x', and using the integrating factor method to find the solution x(t)= C_1 e^{-ct}+ \int_{t_0}^t\left(e^{-cu}\int_{t_0}^u e^{cs}f(s)ds\right)
  • #1
NT123
28
0

Homework Statement

I need to find the solution to x'' + cx' = f(t), for a general f.

Homework Equations


The Attempt at a Solution



Obviously first I solve the homogeneous part to give me A + B*exp(-ct). I also know that the particular solution is written as (1/c)int((1-exp(c(s-t))f(s))ds where the integral is between 0 and t. However I am not sure why this is so, any help would be much appreciated.
 
Physics news on Phys.org
  • #2
Have you learned about Fourier Transforms yet? If so, just transform both sides of the DE, solve the resulting algebraic equation for [itex]\tilde(x)(t)[/itex] and then take the inverse Fourier Transform.
 
  • #3
Oh, dear! Using "Fourer Series" for this is like using a shotgun to kill a fly!

Let v= x' and your differential equation becomes v'+ cv= f(t). That's a linear equation with "integrating factor" [itex]e^{ct}[/itex]. That is,
[tex]\frac{d(e^{ct}v)}{dx}= e^{ct}v'+ ce^{ct}v= e^{ct}f(t)[/tex]

Integrating both sides,
[tex]e^{ct}v= \int_{t_0}^t e^{cs}f(x)ds+ C[/tex]

From that,
[tex]v= x'= Ce^{-ct}+ e^{-ct}\int_{t_0}^t e^{cs}f(s)ds[/tex]

Now, integrate again:
[tex]x(t)= C_1 e^{-ct}+ \int_{t_0}^t\left(e^{-cu}\int_{t_0}^u e^{cs}f(s)ds\right)du+ C_2[/tex]
 

1. What is the difference between a homogeneous and inhomogeneous second order equation?

A homogeneous second order equation has a right-hand side equal to zero, while an inhomogeneous second order equation has a non-zero right-hand side.

2. What is a general solution to an inhomogeneous second order equation?

A general solution to an inhomogeneous second order equation is a solution that satisfies the equation for any given initial conditions and any given right-hand side. It is a combination of the complementary solution (solution to the associated homogeneous equation) and the particular solution (solution to the inhomogeneous equation).

3. How do you find the complementary solution to an inhomogeneous second order equation?

The complementary solution can be found by setting the right-hand side of the equation to zero and solving for the independent variable. This solution will satisfy the homogeneous equation.

4. How do you find the particular solution to an inhomogeneous second order equation?

The particular solution can be found by using the method of undetermined coefficients or the method of variation of parameters. These methods involve finding a particular solution that satisfies the inhomogeneous equation and then adding it to the complementary solution to get the general solution.

5. Can a general solution to an inhomogeneous second order equation always be found?

Yes, a general solution can always be found as long as the equation is linear and the coefficients are constant. However, in some cases, the particular solution may be difficult to find and require advanced techniques.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
559
  • Calculus and Beyond Homework Help
Replies
5
Views
894
  • Calculus and Beyond Homework Help
Replies
6
Views
219
  • Calculus and Beyond Homework Help
Replies
5
Views
896
  • Calculus and Beyond Homework Help
Replies
2
Views
155
  • Calculus and Beyond Homework Help
Replies
3
Views
597
  • Calculus and Beyond Homework Help
Replies
2
Views
296
  • Calculus and Beyond Homework Help
Replies
1
Views
692
  • Calculus and Beyond Homework Help
Replies
4
Views
485
  • Calculus and Beyond Homework Help
Replies
5
Views
269
Back
Top