Factorization method for solving differential equations: Difference between revisions

From Calculus
Line 92: Line 92:
<math>y = \left\lbrace\begin{array}{rl} x^3 + C_1 + 4/27, & x \le 2/3 \\ x^2 + C_1, & x > 2/3 \\\end{array}\right.</math>
<math>y = \left\lbrace\begin{array}{rl} x^3 + C_1 + 4/27, & x \le 2/3 \\ x^2 + C_1, & x > 2/3 \\\end{array}\right.</math>


* Case of two transition points <math>x_0 = 0</math> and <math>x_0 = 2/3</math>: This situation is trickier, fill this in later. {{fillin}}
* Case of two transition points <math>x_0 = 0</math> and <math>x_0 = 2/3</math>: This situation is trickier, The first type of transition is as follows:


Thus, we overall have ''eight'' solution families, each with one freely varying real parameter (which we will now just call <math>C</math> instead of <math>C_1,C_2</math>):
<math>y = \left \lbrace\begin{array}{rl} x^2 + C_1, & x \le 0 \\ x^3 + C_2, & 0 < x \le 2/3 \\ x^2 + C_3, & x > 2/3 \\\end{array}\right.</math>
 
We get the relations <math>C_1 = C_2 = C_3 + 4/27</math>, so this becomes:
 
<math>y = \left \lbrace\begin{array}{rl} x^2 + C_3 + 4/27, & x \le 0 \\ x^3 + C_3 + 4/27, & 0 < x \le 2/3 \\ x^2 + C_3, & x > 2/3 \\\end{array}\right.</math>
 
The other possibility is:
 
<math>y = \left \lbrace\begin{array}{rl} x^3 + C_2, & x \le 0 \\ x^2 + C_1, & 0 < x \le 2/3 \\ x^3 + C_3, & x > 2/3 \\\end{array}\right.</math>
 
In this case, we get <math>C_2 = C_1</math> and <math>C_3 = C_1 + (4/27)</math>, so plugging in, we get:
 
<math>y = \left \lbrace\begin{array}{rl} x^3 + C_1, & x \le 0 \\ x^2 + C_1, & 0 < x \le 2/3 \\ x^3 + C_1 + 4/27, & x > 2/3 \\\end{array}\right.</math>
 
 
Thus, we overall have ''eight'' solution families, each with one freely varying real parameter (which we will now just call <math>C</math> instead of <math>C_1,C_2C_3</math>):


* <math>y = x^2 + C, C \in \R</math>
* <math>y = x^2 + C, C \in \R</math>
Line 102: Line 117:
* <math>y = \left\lbrace\begin{array}{rl} x^2 + C, & x \le 2/3 \\ x^3 + C + 4/27, & x > 2/3 \\\end{array}\right., C \in \R</math>
* <math>y = \left\lbrace\begin{array}{rl} x^2 + C, & x \le 2/3 \\ x^3 + C + 4/27, & x > 2/3 \\\end{array}\right., C \in \R</math>
* <math>y = \left\lbrace\begin{array}{rl} x^3 + C + 4/27, & x \le 2/3 \\ x^2 + C, & x > 2/3 \\\end{array}\right., C \in \R</math>
* <math>y = \left\lbrace\begin{array}{rl} x^3 + C + 4/27, & x \le 2/3 \\ x^2 + C, & x > 2/3 \\\end{array}\right., C \in \R</math>
* (One solution with two transition points)
* <math>y = \left \lbrace\begin{array}{rl} x^2 + C + 4/27, & x \le 0 \\ x^3 + C + 4/27, & 0 < x \le 2/3 \\ x^2 + C, & x > 2/3 \\\end{array}\right., C \in \R</math>
* (Other solution with two transition points)
* <math>y = \left \lbrace\begin{array}{rl} x^3 + C, & x \le 0 \\ x^2 + C, & 0 < x \le 2/3 \\ x^3 + C + 4/27, & x > 2/3 \\\end{array}\right., C \in \R</math>


===Factoring using quadratic formula===
===Factoring using quadratic formula===

Revision as of 02:13, 5 July 2012

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:

F(x,y,y,,y(k))=0

and try to factor the expression F as a product of two expressions, say G and H. The differential equation now becomes:

G(x,y,y,,y(k))H(x,y,y,,y(k))=0

We now consider the two equations:

G(x,y,y,,y(k))=0

H(x,y,y,,y(k))=0

It is clear that any functional (respectively, relational) solution for either of the equations is a functional (respectively, relational) solution for F. Conversely, any functional (respectively, relational) solution for F 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 F that is a solution for G on part of its domain and a solution for H 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 F can thus be expressed as:

(General solution for G) (General solution for H) (Any solution for F that is a solution for G on part of the domain and a solution for H on part of the domain)

Applicability

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:

Counting degrees of freedom

The total number of degrees of freedom (i.e., freely varying parameters in the general solution) for F 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 F is the maximum of the number of degrees of freedom for G and the number of degrees of freedom for H.

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).

Examples

Example without mixed solutions

Consider the differential equation:

(y)23yy+2y2=0

This can be factored to give:

(yy)(y2y)=0

Thus, the differential equations we need to solve individually are:

y=y,y=2y

The solutions are respectively:

y=C1ex,y=C2e2x,C1,C2R

The general solution includes both solution families. Let's now consider the possibility of a mixed solution, i.e., a function y=f(x) such that y=y for part of the domain and y=2y for the rest of the domain. At a transition point, we must have y=y=2y forcing y=0. But in either solution, setting y=0 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:

  • y=Cex,CR
  • y=Ce2x,CR

Example with mixed solutions

Consider the differential equation:

(y2x)(y3x2)=0

The two solution families are:

y=x2+C1,y=x3+C2,C1,C2R

We now need to consider the possibility of mixed solutions. A mixed solution would be a function that is of the form x2+C1 on part of the domain and x3+C2 on the rest of the domain, possibly even transitioning multiple times between the two solution forms. Suppose x=x0 is a transition point. Then, the y-values and y-values for both functions must agree at the point, so:

x02+C1=x03+C2,2x0=3x02

Solving the second equation, we get that x0=0 or x0=2/3.

  • Case of a single transition point x0=0: In this case, we get C1=C2, so the function description for y could be either of these, with one solution of each type for each C1R:

y={x2+C1,x0x3+C1,x>0

or a transition in the opposite sense:

y={x3+C1,x0x2+C1,x>0

  • Case of a single transition point x0=2/3: In this case, C2=C1+4/27, so the function description could be either of these, with one solution of each type for each C1R:

y={x2+C1,x2/3x3+C1+4/27,x>2/3

or a transition in the opposite sense:

y={x3+C1+4/27,x2/3x2+C1,x>2/3

  • Case of two transition points x0=0 and x0=2/3: This situation is trickier, The first type of transition is as follows:

y={x2+C1,x0x3+C2,0<x2/3x2+C3,x>2/3

We get the relations C1=C2=C3+4/27, so this becomes:

y={x2+C3+4/27,x0x3+C3+4/27,0<x2/3x2+C3,x>2/3

The other possibility is:

y={x3+C2,x0x2+C1,0<x2/3x3+C3,x>2/3

In this case, we get C2=C1 and C3=C1+(4/27), so plugging in, we get:

y={x3+C1,x0x2+C1,0<x2/3x3+C1+4/27,x>2/3


Thus, we overall have eight solution families, each with one freely varying real parameter (which we will now just call C instead of C1,C2C3):

  • y=x2+C,CR
  • y=x3+C,CR
  • y={x2+C,x0x3+C,x>0,CR
  • y={x3+C,x0x2+C,x>0,CR
  • y={x2+C,x2/3x3+C+4/27,x>2/3,CR
  • y={x3+C+4/27,x2/3x2+C,x>2/3,CR
  • y={x2+C+4/27,x0x3+C+4/27,0<x2/3x2+C,x>2/3,CR
  • y={x3+C,x0x2+C,0<x2/3x3+C+4/27,x>2/3,CR

Factoring using quadratic formula

Consider the differential equation with independent variable x and dependent variable y:

(y)2+y2=1

This is a first-order second-degree autonomous differential equation.

Rewrite as:

(y)2(1y2)=0

This does not factor in purely polynomial terms. However, if we allow the use of radicals, we can rewrite it as:

(y1y2)(y+1y2)=0

The two factor differential equations are:

y=1y2,y=1y2

Each of them is first-order first-degree autonomous, and in particular separable. The solutions are:

arcsiny=x+C1,arcsiny=x+C2,C1,C2R

It turns out that both these solution families are covered under the following, and this is the general solution:

y=sin(x+C),CR

(There are some irregularities and other issues that need to be dealt with in the solution process, whic hare a little tricky to explain here).