Revision of Differential Equations: Variable Separable and Linear DEs Linear Differential Equations
Revision of Variable Separable Differential Equations
Welcome to second-year engineering calculus. The lecture begins with a revision of first-year engineering calculus, specifically focusing on differential equations (DEs).
The first type of differential equation to be revised is the variable separable DE.
Core Methodology: To solve a variable separable DE, the goal is to isolate all $x$ variables on one side of the equation and all $y$ variables on the other side, then integrate both sides to find the solution.
Example 1: Variable Separable DE
The initial problem provided is:
Step-by-Step Separation Process:
Multiply through by $dx$:
Isolate variables by dividing both sides by $x$ and $(1 - y^2)$:
Integration and Factorization:
integrate both sides:
Factorize the denominator on the left-hand side into $(1 - y)(1 + y)$:
Partial Fraction Decomposition:
The left-hand side requires partial fraction decomposition (students should revise this independently).
The resulting decomposition is:
Performing the Integration:
Integrating the first term: (Dividing by the derivative of $1 - y$, which is $-1$, is equivalent to multiplying by $-1$).
Integrating the second term:
Integrating the right-hand side:
Simplification using Log Laws:
The equation currently stands as:
Take out a common factor of $\frac{1}{2}$ and rearrange terms:
Define the constant $C$ as $\ln(b)$ because the constant can be anything, and this makes simplification easier:
Multiply the entire equation by $2$:
Solving for the Final Solution:
Raise both sides to the base $e$ to remove the natural logarithms:
Simplify the right-hand side using exponent properties:
Since $e$ and $\ln$ are inverse functions, they cancel out: (Where the constant $a$ represents $e^{2 \ln(b)}$ or $b^2$).
This expression is the final solution for the differential equation.
Example 2: Variable Separable DE
The second problem is:
Variables Separation:
Rearranging the equation gives:
Integration:
Integrate both sides:
The integral of $\frac{1}{1 + y^2}$ is $\arctan(y)$.
The integral of $e^{-x}$ is $e^{-x}$ divided by the derivative of $-x$ (which is $-1$):
This concludes the solution for the second example.
Linear Differential Equations and the Integrating Factor
Standard Form: A linear differential equation has the form: (Where $P(t)$ and $Q(t)$ are functions of $t$).
Objective: To solve a linear DE, one must first find the integrating factor, denoted as $\mu$.
Definition of Integrating Factor ($\mu$):
The term $P(t)$ is always identified as the function multiplier in front of the $y$ term.
Example 3: Linear Differential Equation
The Problem:
Finding the Integrating Factor ($\mu$):
Here, $P(t) = 2 \cot(t)$.
$\mu = e^{\int 2 \cot(t) \, dt}$
Rewrite $\cot(t)$ as $\frac{\cos(t)}{\sin(t)}$:
Use a u-substitution to integrate $\frac{\cos(t)}{\sin(t)}$:
Let $u = \sin(t)$
Then $\frac{du}{dt} = \cos(t) \Rightarrow du = \cos(t) \, dt$
Substituted expression: $\mu = e^{2 \int \frac{1}{u} \, du} = e^{2 \ln(u)}$
Simplify $\mu$: (Since $e$ and $\ln$ are inverse functions).
Substitute back for $u$:
Applying the Integrating Factor:
Multiply the entire differential equation by $\sin^2(t)$:
Simplification Rule:
If the integrating factor is found correctly, the left-hand side will always simplify to the derivative of ($y \times \mu$):
Integration to Solve:
Integrate both sides with respect to $dt$:
The left-hand side cancels (integral vs differential), leaving:
Use the same u-substitution ($u = \sin(t)$, $du = \cos(t) \, dt$) for the right-hand side:
Substituting back:
Final Form:
Divide through by $\sin^2(t)$ to solve for $y$:
Rewrite the second term using $\csc^2(t)$:
Example 4: Linear Differential Equation
The Problem: A linear differential equation in the form:
Finding the Integrating Factor ($\mu$):
Here, $P(t) = -\frac{1}{t + 1}$.
$\mu = e^{\int -\frac{1}{t + 1} \, dt} = e^{-\ln(t + 1)}$
Apply log laws to move the negative sign: $e^{\ln((t + 1)^{-1})}$
$\mu = (t + 1)^{-1} = \frac{1}{t + 1}$
Applying the Integrating Factor:
Multiply the whole equation by $\frac{1}{t + 1}$:
The left-hand side always simplifies to the derivative of ($y \times \mu$):
Integration and Algebraic Trick:
Integrate both sides:
To integrate the right-hand side, use the trick of adding and subtracting 1 in the numerator:
Final Solution:
Multiply through by $(t + 1)$ to isolate $y$:
Proof of the Linear DE Simplification
The Question: Why does $\mu(t) \times (y' + P(t) y)$ equal the derivative of $(\mu(t) \times y)$?
Method: Work from the right-hand side (RHS) of the identity back to the left-hand side.
Derivation:
Let RHS be $\frac{d}{dt} [y \times \mu(t)]$.
Apply the Product Rule:
Finding an expression for $\mu'(t)$:
Recall the definition $\mu = e^{\int P(t) \, dt}$.
Take the natural log of both sides:
Differentiate both sides with respect to $t$:
The derivative of $\ln(\mu)$ (using the chain rule) is $\frac{1}{\mu} \times \mu'$.
The derivative of the integral of $P(t)$ is simply $P(t)$.
Therefore: $\frac{\mu'}{\mu} = P(t) \Rightarrow \mu' = \mu P(t)$.
Substitution:
Substitute $\mu' = \mu P(t)$ back into the product rule expansion:
Take out the common factor of $\mu(t)$:
This proves that the left-hand side is indeed equal to the derivative of the product of $y$ and the integrating factor, concluding the lecture.