Solving Second Order Linear Diff Eqns: Proving Theorems & More

In summary: Ay_1(x)+ By_2(x). That is, the general solution to that differential equation is y(x)= Ay_1(x)+ By_2(x) where A and B are arbitrary constants.In summary, when dealing with second order linear differential equations, there are various methods for finding solutions and determining the general solution. This includes the trial solution method using erx, which is effective when P, Q, and R are constants, but different methods may need to be used for other cases. Additionally, a theorem states that if y1 and y2 are linearly independent solutions and P(x) is never 0, then the general solution is given by y = c1y1 +
  • #1
anachin6000
51
3
So, I had studied oscillatory motion for a while and I found it unpleasant to have to remember the various different solutions for the equations of motion. I began to learn about second order linear differential equations and now I know how to solve this kind of stuff. But there is a problem:

For the next considerations, this is the general form of the equation:
P(x)y'' + Q(x)y'+ R(x)y = 0 , where P,Q,R are functions of x

Firstly, I watched some videos and that guy said there is theorem that says the solution it's always formed by erx, where r is a constant (but he gave no proof). And by replacing this function in the equation you can find r and then form the general solution. My first problem is: how do you show that there is no other function except the erx which does that?

Then I found a book where there was this theorem:
" If y1 and y2 are linearly independent solutions of equation, and P(x) is never 0, then the general solution is given by
y = c1y1 + c2y2
where c1 and c2 are arbitrary constants."
But the authors give no proof. So my second problem is how do you actually prove this theorem.

The next questions are related to the case P(x)=a, Q(x)=b, R(x)=c, where a,b,c are real constants.

If you have b2 = 4ac, you may assume that y = f(x)erx is a solution and you will get that f''(x)=0. Now it is obvious that f(x) = cx +c' satisfies f''(x)=0, where c and c' are some constants.
So here are two questions:
1. Why you take y = f(x)erx and not other function?
2. Is f(x) = cx +c' the only solution for f''(x)=0?

I'd also be very grateful if someone would suggest a book on differential equations that really studies them deeply.
 
Physics news on Phys.org
  • #2
anachin6000 said:
So, I had studied oscillatory motion for a while and I found it unpleasant to have to remember the various different solutions for the equations of motion. I began to learn about second order linear differential equations and now I know how to solve this kind of stuff. But there is a problem:

For the next considerations, this is the general form of the equation:
P(x)y'' + Q(x)y'+ R(x)y = 0 , where P,Q,R are functions of x

Firstly, I watched some videos and that guy said there is theorem that says the solution it's always formed by erx, where r is a constant (but he gave no proof). And by replacing this function in the equation you can find r and then form the general solution. My first problem is: how do you show that there is no other function except the erx which does that?

The trial solution y = erx works only when P, Q, and R are constants. When P, Q, or R are not constants, a different solution approach must be used, sometimes involving the case where y = infinite series in x.

The trial solution y = erx is often the easiest to use because y' = r ⋅ erx; y" = r2 ⋅ erx; etc. Notice the common factor erx. Since the original ODE is homogeneous, erx can easily be eliminated to find the characteristic equation of the original ODE.

This trial solution also has the advantage that erx never is zero, so you don't run into any messy situations about dividing zero by zero when eliminating erx to find the characteristic equation of the original ODE.

For certain types of equations, different trial solutions may work, but it can be shown that these other solutions can be transformed into exponential functions of some sort.

http://tutorial.math.lamar.edu/Classes/DE/SecondOrderConcepts.aspx
Then I found a book where there was this theorem:
" If y1 and y2 are linearly independent solutions of equation, and P(x) is never 0, then the general solution is given by
y = c1y1 + c2y2
where c1 and c2 are arbitrary constants."
But the authors give no proof. So my second problem is how do you actually prove this theorem.

The next questions are related to the case P(x)=a, Q(x)=b, R(x)=c, where a,b,c are real constants.

If you have b2 = 4ac, you may assume that y = f(x)erx is a solution and you will get that f''(x)=0. Now it is obvious that f(x) = cx +c' satisfies f''(x)=0, where c and c' are some constants.
So here are two questions:
1. Why you take y = f(x)erx and not other function?
2. Is f(x) = cx +c' the only solution for f''(x)=0?
When b2 = 4ac, the characteristic equation has two identical roots.

This article shows what happens in this case:

http://tutorial.math.lamar.edu/Classes/DE/RepeatedRoots.aspx

I'd also be very grateful if someone would suggest a book on differential equations that really studies them deeply.
Just about any DE text should explain the material above.

Boyce & DiPrima has been used as a college text for many years (an earlier edition of it was the text I used waaay back when):

http://www.wiley.com/WileyCDA/WileyTitle/productCd-EHEP002451.html
 
  • Like
Likes anachin6000
  • #3
This is really helpful, thanks.
 
  • #4
The crucial point about "linear ordinary homogeneous differential equations" in general is this: "The set of all solutions to an nth degree linear ordinary homogeneous differential equation form a vector space of dimension n". That can be proven by looking at the "fundamental solutions", the solutions to the differential equation satisfying initial conditions y(0)= 1, y'(0)= 0, y''(0)= 0, ...; y(0)= 0, y'(0)= 1, y''(0)= 0, ...; y(0)= 0, y'(0)= 0, y''(0)= 1, ... and showing that any solution to that differential equation can be written as a linear combination of those n "fundamental solutions". In particular, if we have a second degree linear homogenous differential equation, we define the two "fundamental solutions" to be the solutions, [itex]y_1(x)[/itex] and [itex]y_2(x)[/itex] satisfying [itex]y_1(0)= 1[/itex], [itex]y_1'(0)= 0[/itex] and [itex]y_2(0)= 0[/itex], [itex]y_2(0)= 1[/itex]. Then it is easy to show that if y(x) is a solution to that differential equation, satisfying y(0)= A, y'(0)= B, then [itex]y(x)= Ay_1(x)+ By_2(x)[/itex].
 
  • Like
Likes anachin6000
  • #5
The constant coefficient case is quite nice and simple. The point is that if we consider differentiating as an operator D, then solving say ay'' + by' + cy = 0, is the same as asking which y satisfy (aD^2 + bD + c)y = 0. (We might as well divide out by a and have lead coefficient 1.) So let's solve y'' + by' + cy = (D^2 + bD+c)y = 0.

Now the nice part about constant coefficients is that the quadratic operator on the left factors just as in high school algebra into a composition ("product") of two linear operators, namely by the quadratic formula there are (complex) constants p and q, such that D^2+bD+c = (D-p)(D-q), and these linear operators commute! So if we solve them separately we get two solutions, and that's all we need.

I.e. if (D-p)y1 = 0, then also (D-q)(D-p)y1 = (D-q)(0) = 0. Similarly if (D-q)y2 = 0, then also (D-p)(D-q)y2 = (D-q)(0) = 0. So we will have to basic solutions y1 and y2. And since the operator is linear, any linear combination of y1 and y2 will also be a solution. So evertuything boils down to solving (D-p)y = 0.

But that is easy! I.e. (D-p)y = 0 if and only if Dy = py, i.e. iff the derivative of y is a constant times y, and we know the exponential function is the only such function. I.e. we know D(e^pt) = p.e^pt, so y = e^pt is a solution. Moreover if y is any solution of Dy = py, then dividing y by e^pt and differentiating gives D(y/e^pt) = [Dy.e^pt - y.D(e^pt)]/e^2pt = [py.e^pt - y.p.e^pt]/e^2pt = 0. so y/e^pt is a constant so y = constant.e^pt, and those are the onlty solutions.

Now composing two such operators, i.e. applying (D-p)(D-q), the number of solutions can only go up by one dimension so it goes up from a one diml space of solutions to a two diml space. Since we already have the solutions e^pt and e^qt, hence all combinations namely r.e^pt + s.e^qt for all numbers r,s, we have them all.

There is one special case where the operators are squared, i.e. solving (D-p)(D-p)y = 0. In this case you have to look for a function y such that (D-p)y = r.e^pt. I.e. D-p does not kill this function but it sets it up to be killed by another application of D-p. It is easy to see by integration by parts I guess, that another such solution is t.e^pt. voila!

Oh and my favorite DE text by far is by Martin Braun. I never liked Boyce and dePrima in spite of its woide spread popularity and long use record. So if you have the same reaction you might try Braun.
 
Last edited:
  • #6
Ross is also great.
 

1. What is a second order linear differential equation?

A second order linear differential equation is a mathematical equation that involves a function and its first and second derivatives. It can be written in the form: a(x)y'' + b(x)y' + c(x)y = g(x), where a(x), b(x), and c(x) are functions of x and g(x) is a function of x.

2. How do you solve a second order linear differential equation?

To solve a second order linear differential equation, you can use the method of undetermined coefficients or the method of variation of parameters. In the method of undetermined coefficients, you assume that the solution has a specific form and solve for the coefficients. In the method of variation of parameters, you assume that the solution has the form y = u1(x)y1 + u2(x)y2, where y1 and y2 are known solutions to the homogeneous equation and u1(x) and u2(x) are functions to be determined.

3. What is the importance of proving theorems in solving second order linear differential equations?

Proving theorems is important in solving second order linear differential equations because it helps to establish the validity of the methods and solutions used. By proving theorems, we can ensure that the solutions we obtain are accurate and reliable. This is especially important in applications where small errors can have significant consequences.

4. What are some common theorems used in solving second order linear differential equations?

Some common theorems used in solving second order linear differential equations include the Existence and Uniqueness Theorem, the Superposition Principle, and the Variation of Parameters Theorem. These theorems provide important tools for finding solutions to differential equations and proving their validity.

5. Can second order linear differential equations be solved analytically?

Yes, second order linear differential equations can be solved analytically. This means that exact solutions can be found using mathematical methods. However, not all second order linear differential equations have analytical solutions, and in some cases, numerical methods may need to be used to approximate the solution.

Similar threads

Replies
2
Views
2K
  • Differential Equations
Replies
7
Views
1K
  • Differential Equations
Replies
2
Views
1K
Replies
3
Views
795
  • Differential Equations
Replies
7
Views
2K
  • Differential Equations
Replies
2
Views
994
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
5
Views
659
  • Differential Equations
Replies
10
Views
2K
  • Differential Equations
Replies
1
Views
669
Back
Top