Differential Equations/First Order Linear 1
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.
Solving First Order Linear Equations
First order linear equation can be solved by making them into exact DEs, as seen here.
Step-by-Step Solution
It is not necessary to derive the method of obtaining the integrating factor every time, as it is always the same. Following the steps below is much easier and less prone to error.
To solve the equation
- Calculate the integrating factor, . Drop the constant of integration.
- Multiply the differential equation by the integrating factor.
- Due to the manipulation leading to (3) on the page Exact DEs, the LHS multiplied by the integrating factor is equivalent to
- .
- Integrate both sides with respect to x to get
- Solve for y by dividing out the x factors.
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
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
Example 3: P and Q are Unrelated
- 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
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.
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.
Existence of Solutions
Just like with separable equations, not all initial value problems for linear equations have a solution.
- Theorem 1: If P(x) and Q(x) are continuous on an interval I containing the point , then the initial value problem has a single unique solution.
This is different from separable equations where the conditions for uniqueness and existance are different - with linear equations, if it exists, it will be unique.