Differential Equations/First Order Linear 1
From Wikibooks, the open-content textbooks collection
Contents |
[edit] What is a linear first order equation?
A linear first order equation is an equation in the form
-
.
Linear first order equations are important because they show up frequently in nature and physics, and can be solved by a fairly straight forward method.
[edit] Solving First Order Linear Equations
First order linear equation can be solved by the following method.
[edit] Step-by-Step Solution
To solve the equation
- First, set Q(x) equal to 0 so that you end up with the homogeneous linear equation (the usage of this term is to be distinguished from the usage of "homogeneous" in the previous sections).

- This equation is separable, so separate them:

- Solve the equation to obtain the solution

- Now let the replace C be a variable function of x, and denote it g(x).

- Substitute the previous equation into the differential equation to get

- Now solve for g(x) to get

- Now obtain the general solution by plugging in this expression in g(x):

The previous method is called the variation of parameters.
[edit] Example 1: P and Q are Constant
- Let's say we have the equation
- where n and m are constants. Solve this for y.
- Step 1: Find the integrating factor,

- Letting C=1, we get emx.
- Step 2: Multiply through by integrating factor.
- Step 3: Recognize that the left hand is
, giving
- Step 4: Integrate both sides w.r.t.x.
- Step 5: Solve for y
[edit] Example 2: P and Q are x
- Take the equation
- Solve for y.
- Step 1: Find

- Letting C=1, we get

- Step 2: Multiply through
- Step 3: Recognize that the left hand is
, giving
- Step 4: Integrate
- Step 5: Solve for y
[edit]
- Take the equation
- Solve for y.
- Step 1: Find

- Letting C=1, we get x.
- Step 2: Multiply through
- Step 3: Recognize that the left hand is

- Step 4: Integrate both sides w.r.t.x.
- Step 5: Solve for y
[edit] Making Linear Equations from Non-Linear Equations
Sometimes a non-linear equation, which is not solvable like this, can be made linear, and more easily solvable, by applying a substitution.
[edit] Example
- Let's make the following substitution:
- Plugging in, we get
- We can then solve as a linear equation in v, using the step-by-step method above:
- Step 1: Find the integrating factor:
- Letting C=1 for convenience, we get
as our integrating factor.
- Step 2: Multiply through
- Step 3: Recognize that the left hand is

- Step 4: Integrate both sides w.r.t.x.
- Step 5: Solve for v.
- Now that we have v, solve for y.





































