Factorization method for solving differential equations
- 1 Description of the method
- 2 Applicability
- 3 Counting degrees of freedom
- 4 Examples
- 5 Theory
Description of the method
The factorization method is a method that can be used to solve certain kinds of differential equations. The idea behind the method is to start with a differential equation:
and try to factor the expression as a product of two expressions, say and . The differential equation now becomes:
We now consider the two equations:
It is clear that any functional (respectively, relational) solution for either of the equations is a functional (respectively, relational) solution for . Conversely, any functional (respectively, relational) solution for must, at every point in the domain, satisfy one of the differential equations. However, we need to worry about the possibility of a functional solution for that is a solution for on part of its domain and a solution for on part of its domain. It is quite rare for these "mixed" solutions to occur, but it does make sense to check for them.
The general solution for can thus be expressed as:
(General solution for ) (General solution for ) (Any solution for that is a solution for on part of the domain and a solution for on part of the domain)
The factorization method is limited to situations where the expression can be factorized. Further, even if factorization is possible, there is no guarantee that the factor differential equations can be solved. Thus, the method has limited applicability.
However, there are some situations where this method can be used reliably:
- Using the quadratic formula, it can help convert second-degree differential equations to first-degree differential equations. In other words, if the differential equation is quadratic in the highest order derivative, we could factor it as a product of differential equations that are linear in the highest order derivative using the quadratic formula. The quadratic formula involves radicals, so this may come at the expense of introducing radicals into the differential equation.
- In particular, any first-order second-degree autonomous differential equation can be factored to give two first-order first-degree autonomous differential equations, which we have a general method for solving.
Counting degrees of freedom
The total number of degrees of freedom (i.e., freely varying parameters in the general solution) for is generally taken to be the maximum of the number of degrees of freedom for each of the solution families. In particular, assuming there are no mixed solutions, the number of degrees of freedom for is the maximum of the number of degrees of freedom for and the number of degrees of freedom for .
The reason we take the maximum instead of the sum is that the freely varying parameters for the separate solution families are not interacting with each other. Geometrically, this is related to the idea that when we take the union of two one-dimensional things (lines or curves) we still get a one-dimensional thing (line or curve).
Example without mixed solutions
Consider the differential equation:
This can be factored to give:
Thus, the differential equations we need to solve individually are:
The solutions are respectively:
The general solution includes both solution families. Let's now consider the possibility of a mixed solution, i.e., a function such that for part of the domain and for the rest of the domain. At a transition point, we must have forcing . But in either solution, setting forces the solution identically to be the zero function. This actually can be realized completely as a solution in either family, hence the only mixed solution actually lies as a pure solution in both families. The general solution is thus a union of two solution families:
Example with mixed solutions
Consider the differential equation:
We want to find all possible functional solutions for this on all of .
The solution families corresponding to the individual factors are:
We now need to consider the possibility of mixed solutions. A mixed solution would be a function that is of the form on part of the domain and on the rest of the domain, possibly even transitioning multiple times between the two solution forms. Suppose is a transition point. Then, the -values and -values for both functions must agree at the point, so:
Solving the second equation, we get that or .
- Case of a single transition point : In this case, we get , so the function description for could be either of these, with one solution of each type for each :
or a transition in the opposite sense:
- Case of a single transition point : In this case, , so the function description could be either of these, with one solution of each type for each :
or a transition in the opposite sense:
- Case of two transition points and : This situation is trickier, The first type of transition is as follows:
We get the relations , so this becomes:
The other possibility is:
In this case, we get and , so plugging in, we get:
Thus, we overall have eight solution families, each with one freely varying real parameter (which we will now just call instead of ):
Factoring using quadratic formula: example with mixed solutions plus partly stationary solutions
Consider the differential equation with independent variable and dependent variable :
This is a first-order second-degree autonomous differential equation.
This does not factor in purely polynomial terms. However, if we allow the use of radicals, we can rewrite it as:
The two factor differential equations are:
Each of them is first-order first-degree autonomous, and in particular separable. The solutions are:
Also, both equations have stationary solutions and .
The following is the general solution and includes all the nowhere stationary functional solutions.
If we want to include somewhere stationary solutions, then the space of solutions becomes complicated. Basically, we could have a function that is an increasing sinusoidal function for part of the domain, then stationary at 1 for a while, then a decreasing sinusoidal function till it reaches -1, then stationary at -1 for a while, and so on.
Differentiability assumptions and mixed solutions
One way of trying to eliminate mixed solutions is to impose higher order differentiability conditions on the solutions. The rationale is that mixed solutions involve transitioning from one solution type to another. This transition is often not going to be completely smooth, so there may be some derivative that is undefined at the point of transition. Imposing differentiability conditions on the solutions eliminates such mixed solutions.
For instance, in the example above:
all the eight solution families (pure and mixed) are once continuously differentiable on all of . The pure solution families () are infinitely differentiable everywhere. However, we can check that none of the mixed solution families is twice differentiable. The reason is that at both the potential transition points (0 and 2/3) the second derivatives do not match:
- At 0, the second derivative of is 2 and the second derivative of is 0.
- At 2/3, the second derivative of is 2 and the second derivative of is 4.
So, in this case, a twice continuous differentiability requirement (i.e., solutions are required to be functions) on the solutions eliminates all the mixed solution families. We may not always be this lucky. For instance, the differential equation:
admits a transition point 0 where the first three derivatives of both the pure solution families agree, which means that even a requirement of thrice continuously differentiable (i.e., ) on the solution functions would still allow for mixed solutions with transition at 0. The other transition point (4/5), on the other hand, is eliminated by a twice continuous differentiability requirement.
A requirement (i.e., four times continuously differentiable) would eliminate both the possible transition points, and hence all the mixed solutions, leaving only the two pure solution families.
Relation with stationary solutions to separable differential equations
The concept of stationary solutions to separable differential equations can be viewed as a special case of the factorization method. Recall that a separable differential equation looks like:
We could factor this as:
The solutions to give the stationary solutions and the solutions to the other piece give the general solution family. The partly stationary solutions that sometimes arise are the mixed solutions.