Solving linear differential equations by factoring

In summary, the conversation discusses a new method for solving n-th order linear differential equations by "factoring" it into a product of simple 1st order linear differential equations. This method works for both homogeneous and inhomogeneous equations and is shown to be more systematic than other techniques such as undetermined coefficients or variation of parameters. It is compared to the characteristic equation method and can be made rigorous through the system of equations approach.
  • #1
Boorglar
210
10
Solving linear differential equations by "factoring"

I have thought of an interesting way of solving n-th order linear differential equations (with constant coefficients) by imitating the way we solve n-th order polynomials, that is by "factoring" it into a "product" of simple 1st order linear differential equations. Does this method already exist? I haven't been able to prove it rigorously, but the case n=3 and 2 convinced me that it is reasonable to say it's true.

We have the n-th order linear diff. eq.:
[tex] a_{n}y^{(n)}(x)+a_{n-1}y^{(n-1)}(x)+ ... +a_{0}y(x) = f(x)[/tex]
or in terms of the differential operator: [tex] (a_nD^n+a_{n-1}D^{n-1}+ ... + a_0)[y(x)] = f(x) [/tex]

My claim is that any such equation can be "factored" into
[tex] a_n(D-\lambda_n)(D-\lambda_{n-1})...(D-\lambda_1)[y(x)] = f(x) [/tex]

where [itex] D [/itex] is the differential operator, and [itex] \lambda_{i} [/itex] is the i-th root of the polynomial equation [tex] a_{n}x^{n}+a_{n-1}x^{n-1}+ ... + a_{0} = 0 [/tex]

and the "multiplication" is actually the successive composition of the [itex] D-\lambda_i [/itex] operations, which take the derivative of the argument and then substract [itex] \lambda_i[/itex] times the argument.

Then by naming the function resulting from the i-th operation [itex] \phi_i(x) [/itex] we have the equation [tex] a_n\phi_n(x) = f(x) [/tex] or [tex] a_n\phi_{n-1}^'(x) - a_n\lambda_n\phi_{n-1}(x) = f(x) [/tex] This is a simple 1st order linear diff. eq solvable with integrating factors, and after solving it we repeat the process until we get to the last equation for y. Each time we replace the value of [itex] \phi_i [/itex] into the next equation for [itex]\phi_{i-1}[/itex] and solve a 1-st order eq. repetitively.Can the "factoring" part be proven rigorously, in a similar way that it is proven for polynomials with the Fundamental Theorem of Algebra? I know I haven't given any proof for this but it seems to be true. Is this method already known? Is it any better or worse than the traditional way such equations are solved?
 
Last edited:
Physics news on Phys.org
  • #2


I'm sorry I forgot to add the f(x) in the beginning instead of equating with 0 (this method works for inhomogeneous equations too, otherwise it would be pointless since homogeneous eqns are easily solved anyway).
I edited the original post to correct.
 
  • #3
Hi Boorglar! :smile:

Yes, this is the characteristic equation method, see http://en.wikipedia.org/wiki/Characteristic_equation_(calculus ) :wink:
 
Last edited by a moderator:
  • #4


Hello to you!

The characteristic equation method works only when f(x) is 0 (the equation is homogeneous), but the ''factoring" method will actually work even if there is an arbitrary f(x) which makes it inhomogeneous.

Basically, I know that there is an easy method for the homogeneous case (the characteristic equation method that you showed me). But the only techniques I've heard for inhomogeneous equations involve undetermined coefficients or variation of parameters.
 
  • #5
the usual method is to find a particular solution to add to the homogeneous solution

wouldn't your solution involve finding n particular solutions?
 
  • #6


yeah it gives the particular solution together with the homogeneous one because when you integrate each 1st order eq, the constants of integration accumulate and you end up with the general homogeneous solution, plus the remaining integrals which give the particular solution. The difference is that it is more systematic than undetermined coefficients since they need some initial guess on the type of solution.
 
  • #7
Boorglar said:
… it is more systematic …

yes, but is it quicker? :wink:
 
  • #8


As an example this is how I would solve

[itex] y''-3y'+2y = x [/itex] so [itex] (D-2)(D-1)[y] = x [/itex] [tex] \phi_1' - 2\phi_1 = x [/tex] where [itex] \phi_1 = y'-y [/itex]
[tex] \phi_1(x) = e^{2x}\int{xe^{-2x}dx} + C_1e^{2x}[/tex] (multiply by [itex]e^{-2x}[/itex] (integrating factor) and write as derivative of product, etc.)
[tex] y' - y = e^{2x}\int{xe^{-2x}dx} + C_1e^{2x}[/tex]

So finally by muliplying by [itex] e^{-x} [/itex] both sides (integrating factor), etc.

[tex] y = e^x\int e^{-x}(e^{2x}\int{xe^{-2x}dx})dx + e^x\int {C_1e^x dx} + C_2e^x[/tex]
[tex] y = e^x\int (e^{x}\int{xe^{-2x}dx})dx + C_1e^{2x} + C_2e^x [/tex]
Which is slightly ugly but gives an explicit solution for both the particular and the general solutions.

This could have been done using undetermined coefficients but you'd have to guess how the function looks like before. And suppose instead of x, it was something like [itex]y''-3y'+2y = \arctan(x^3-e^x)[/itex]. Then this would be hopeless. My method would at least be able to write it as an (albeit horribly complicated ;)) integral.
 
Last edited:
  • #9


Boorglar said:
Hello to you!

The characteristic equation method works only when f(x) is 0 (the equation is homogeneous), but the ''factoring" method will actually work even if there is an arbitrary f(x) which makes it inhomogeneous.

Basically, I know that there is an easy method for the homogeneous case (the characteristic equation method that you showed me). But the only techniques I've heard for inhomogeneous equations involve undetermined coefficients or variation of parameters.

The Laplace transform technique is an established technique that is related to the characteristic equation method, is systematic, and can handle inhomogenous equations naturally without having to guess the form of the particular solution. It does not use undetermined coefficients or variation of parameters. Another related approach is the Green's function / fundamental solution, which let's you write the particular solution as a convolution integral. Both approaches would give you an integral for the particular solution that is close to the form you presented.

I think the idea you present can be made rigorous through the system of equations approach to linear constant coefficient ODEs. The system of equations you suggest can be written in the form

[itex]
\Phi' = A\Phi + b
[/itex]

Where [itex]\Phi[/itex] is a vector of functions [itex]\phi_n[/itex], [itex]A[/itex] is a matrix of coefficients, the prime is differentiation of each component of the vector, and [itex]b[/itex] is a vector of all zeros, except with an [itex]f(x)[/itex] in one position. You cleverly chose how to define your variables so that the matrix [itex]\Phi[/itex] is of a nice form. However, no matter how you chose your variables, if you write the single equation as a system like above, and then bring the system to this nice form, you'll end up with your technique. Again, the characteristic equation will come up when you go to find the eigenvectors and eigenvalues of the matrix. As an example, the usual way to do this is to call [itex]\phi_n=y^{(n)}[/itex]. Incidentally this is related to state-space methods from controls engineering too, you might want to have a look in that area for related concepts. For a start, if you google "HANDOUT ON FORMULATION OF DIFFERENTIAL EQUATIONS" and check out the thrid page of the first result, you can see why this technique works.

Also, keep in mind that linear constant coefficient equations admit complex eigenvalues, so that in your factoring, a pair of [itex]\lambda_i[/itex] might come in a complex conjugate pair, with corresponding sin and cosine solutions, not just real exponentials. The usual way to write these terms is to take two conjugate terms and group them into a quadratic factors, then write the rest of the monomials with real roots.
 
  • #10


As a side note, I believe what you propose is basically the jordan canonical form of a constant coefficient linear system.
 

What is a linear differential equation?

A linear differential equation is a type of mathematical equation that involves an unknown function and its derivatives. The equation is considered linear because the unknown function and its derivatives appear with a power of one. This means that the unknown function and its derivatives are not multiplied or divided by each other, and there are no higher powers or trigonometric functions involved.

What is factoring in the context of solving linear differential equations?

Factoring is a method used to rewrite a mathematical expression as a product of simpler expressions. In the context of solving linear differential equations, factoring is used to rewrite the equation in a form that makes it easier to find the solution.

Why is factoring useful in solving linear differential equations?

Factoring allows us to break down a complex equation into simpler components, making it easier to solve. It also helps us to identify common factors that can be cancelled out, reducing the complexity of the equation and making it easier to solve.

What are the steps involved in solving a linear differential equation by factoring?

The general steps for solving a linear differential equation by factoring are as follows:
1. Rewrite the equation in standard form.
2. Factor out any common factors from the equation.
3. Solve for the remaining factors.
4. Check the solution by substituting it back into the original equation.

Are there any tips for solving linear differential equations by factoring?

Yes, here are a few tips:
- Look for common factors in the equation first.
- If the equation is not in standard form, rearrange it before factoring.
- Be careful with negative signs when factoring.
- Remember to check your solution by substituting it back into the original equation.

Similar threads

  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
1
Views
739
  • Differential Equations
Replies
7
Views
378
  • Differential Equations
Replies
2
Views
967
Replies
2
Views
2K
  • Differential Equations
Replies
4
Views
948
Replies
1
Views
2K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
2K
Back
Top