Xirius-LectureNote7-MTH211.pdf
Xirius AI
This document, "Xirius Lecture Note 7" for the course MTH211, provides a comprehensive introduction to Differential Equations (DEs), focusing primarily on their classification and methods for solving first-order DEs. It begins by defining what a differential equation is, distinguishing between Ordinary Differential Equations (ODEs) and Partial Differential Equations (PDEs), and then delves into various ways to classify DEs, such as by order, degree, linearity, and homogeneity.
The lecture note proceeds to explain the concept of a solution to a differential equation, differentiating between general, particular, and singular solutions, and introduces initial value problems (IVPs) and boundary value problems (BVPs). A significant portion of the document is dedicated to the practical aspect of forming differential equations by eliminating arbitrary constants from a given relation. The latter half of the document provides detailed methodologies for solving six common types of first-order differential equations: separable, homogeneous, exact, those solvable by integrating factors, linear, and Bernoulli's equations, each accompanied by illustrative examples.
Overall, this lecture note serves as a foundational text for students of MTH211, equipping them with the theoretical understanding and practical skills necessary to identify, classify, and solve a wide range of first-order differential equations. It systematically builds knowledge from basic definitions to advanced solution techniques, making it a crucial resource for understanding the fundamentals of differential equations.
MAIN TOPICS AND CONCEPTS
A differential equation is an equation that involves an unknown function and one or more of its derivatives. These equations are fundamental in modeling various phenomena in science and engineering.
* Ordinary Differential Equations (ODEs): Involve derivatives with respect to a single independent variable.
* Example: $ \frac{dy}{dx} = 5x + 3 $
* Partial Differential Equations (PDEs): Involve partial derivatives with respect to two or more independent variables.
* Example: $ \frac{\partial u}{\partial x} + \frac{\partial u}{\partial y} = 0 $
Classification of Differential EquationsDifferential equations can be classified based on several characteristics:
Order of a Differential EquationThe order of a differential equation is the order of the highest derivative appearing in the equation.
* Example:
* $ \frac{dy}{dx} = 5x + 3 $ is a first-order DE.
* $ \frac{d^2y}{dx^2} + \frac{dy}{dx} - 6y = 0 $ is a second-order DE.
Degree of a Differential EquationThe degree of a differential equation is the power of the highest order derivative, provided the equation is a polynomial in its derivatives. If the equation involves fractional or radical powers of derivatives, it must be rationalized first.
* Example:
* $ \frac{dy}{dx} = 5x + 3 $ is a first-degree DE.
* $ \left(\frac{d^2y}{dx^2}\right)^3 + \left(\frac{dy}{dx}\right)^2 - 6y = 0 $ is a third-degree DE.
Linear and Non-linear Differential EquationsA differential equation is linear if:
1. The dependent variable and its derivatives appear only in the first degree.
2. There are no products of the dependent variable and its derivatives.
3. No transcendental functions (e.g., $ \sin(y) $, $ e^y $, $ \ln(y) $) of the dependent variable or its derivatives are present.
* General form of an nth-order linear ODE:
$ a_n(x) \frac{d^ny}{dx^n} + a_{n-1}(x) \frac{d^{n-1}y}{dx^{n-1}} + \dots + a_1(x) \frac{dy}{dx} + a_0(x) y = f(x) $
* Non-linear DE: Any DE that does not satisfy the conditions for linearity.
* Example of non-linear DE: $ \frac{d^2y}{dx^2} + \sin(y) = 0 $ (due to $ \sin(y) $).
Homogeneous and Non-homogeneous Differential EquationsThis classification applies specifically to linear differential equations.
* Homogeneous DE: A linear DE is homogeneous if the function $ f(x) $ on the right-hand side is zero.
* $ a_n(x) \frac{d^ny}{dx^n} + \dots + a_0(x) y = 0 $
* Non-homogeneous DE: A linear DE is non-homogeneous if $ f(x) \neq 0 $.
* $ a_n(x) \frac{d^ny}{dx^n} + \dots + a_0(x) y = f(x) $
Solution of a Differential EquationA function $ y = \phi(x) $ is a solution to a DE if, when substituted into the equation, it satisfies the equation identically.
* General Solution: A solution that contains arbitrary constants, the number of which is equal to the order of the differential equation. It represents a family of solutions.
* Particular Solution: A solution obtained from the general solution by assigning specific values to the arbitrary constants, usually determined by initial or boundary conditions.
* Singular Solution: A solution that cannot be obtained from the general solution by assigning specific values to the arbitrary constants.
Initial Value Problem (IVP) and Boundary Value Problem (BVP)* Initial Value Problem (IVP): A differential equation along with a set of conditions specified at a single point (initial conditions).
* Example: $ \frac{dy}{dx} = f(x, y) $, with $ y(x_0) = y_0 $.
* Boundary Value Problem (BVP): A differential equation along with a set of conditions specified at two or more different points (boundary conditions).
* Example: $ \frac{d^2y}{dx^2} = f(x, y, y') $, with $ y(a) = y_a $ and $ y(b) = y_b $.
Formation of Differential EquationsDifferential equations can be formed by eliminating arbitrary constants from a given relation between variables.
* Method: If a relation contains 'n' arbitrary constants, differentiate the relation 'n' times. Then, eliminate the 'n' constants using the original relation and its 'n' derivatives.
* Example: Given $ y = Ax + Bx^2 $.
1. $ \frac{dy}{dx} = A + 2Bx $
2. $ \frac{d^2y}{dx^2} = 2B $
From (2), $ B = \frac{1}{2} \frac{d^2y}{dx^2} $.
Substitute B into (1): $ \frac{dy}{dx} = A + x \frac{d^2y}{dx^2} \implies A = \frac{dy}{dx} - x \frac{d^2y}{dx^2} $.
Substitute A and B into the original equation:
$ y = x \left( \frac{dy}{dx} - x \frac{d^2y}{dx^2} \right) + x^2 \left( \frac{1}{2} \frac{d^2y}{dx^2} \right) $
$ y = x \frac{dy}{dx} - x^2 \frac{d^2y}{dx^2} + \frac{1}{2} x^2 \frac{d^2y}{dx^2} $
$ y = x \frac{dy}{dx} - \frac{1}{2} x^2 \frac{d^2y}{dx^2} $
Multiplying by 2: $ 2y = 2x \frac{dy}{dx} - x^2 \frac{d^2y}{dx^2} $
Rearranging: $ x^2 \frac{d^2y}{dx^2} - 2x \frac{dy}{dx} + 2y = 0 $.
First Order Differential EquationsA first-order DE can generally be written as $ \frac{dy}{dx} = f(x, y) $ or $ M(x, y) dx + N(x, y) dy = 0 $.
Separable EquationsA first-order DE is separable if it can be rearranged into the form $ g(y) dy = h(x) dx $.
* Solution Method: Integrate both sides directly.
$ \int g(y) dy = \int h(x) dx + C $
* Example: $ (1+x) \frac{dy}{dx} = xy^2 $
$ \frac{dy}{y^2} = \frac{x}{1+x} dx $
$ \int y^{-2} dy = \int \left(1 - \frac{1}{1+x}\right) dx $
$ -y^{-1} = x - \ln|1+x| + C $
$ -\frac{1}{y} = x - \ln|1+x| + C $
Homogeneous Equations (First Order)A first-order DE $ \frac{dy}{dx} = f(x, y) $ is homogeneous if $ f(x, y) $ is a homogeneous function of degree zero (i.e., $ f(tx, ty) = t^0 f(x, y) = f(x, y) $). Alternatively, $ M(x, y) dx + N(x, y) dy = 0 $ is homogeneous if $ M(x, y) $ and $ N(x, y) $ are homogeneous functions of the same degree.
* Solution Method: Substitute $ y = vx $. This implies $ \frac{dy}{dx} = v + x \frac{dv}{dx} $. The substitution transforms the homogeneous equation into a separable equation in terms of $ v $ and $ x $.
* Example: $ (x^2 + y^2) dx - 2xy dy = 0 $
Let $ y = vx $, so $ dy = v dx + x dv $.
$ (x^2 + (vx)^2) dx - 2x(vx) (v dx + x dv) = 0 $
$ (x^2 + v^2x^2) dx - 2vx^2 (v dx + x dv) = 0 $
Divide by $ x^2 $: $ (1 + v^2) dx - 2v (v dx + x dv) = 0 $
$ (1 + v^2 - 2v^2) dx - 2vx dv = 0 $
$ (1 - v^2) dx - 2vx dv = 0 $
$ \frac{dx}{x} = \frac{2v}{1 - v^2} dv $
Integrate both sides: $ \int \frac{dx}{x} = \int \frac{2v}{1 - v^2} dv $
$ \ln|x| = -\ln|1 - v^2| + \ln|C| $
$ \ln|x| = \ln\left|\frac{C}{1 - v^2}\right| $
$ x = \frac{C}{1 - v^2} $
Substitute back $ v = y/x $: $ x = \frac{C}{1 - (y/x)^2} = \frac{Cx^2}{x^2 - y^2} $
$ x(x^2 - y^2) = Cx^2 $
$ x^2 - y^2 = Cx $
Exact EquationsA first-order DE $ M(x, y) dx + N(x, y) dy = 0 $ is exact if there exists a function $ F(x, y) $ such that $ dF = M dx + N dy $.
* Condition for Exactness: $ \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} $.
* Solution Method:
1. Integrate $ M(x, y) $ with respect to $ x $ (treating $ y $ as a constant) to get $ F(x, y) = \int M(x, y) dx + g(y) $.
2. Differentiate $ F(x, y) $ with respect to $ y $ and equate it to $ N(x, y) $ to find $ g'(y) $.
3. Integrate $ g'(y) $ to find $ g(y) $.
4. The general solution is $ F(x, y) = C $.
Alternatively, one can integrate $ N(x, y) $ with respect to $ y $ and then differentiate with respect to $ x $.
* Example: $ (2xy - 3x^2) dx + (x^2 + 2y) dy = 0 $
Here $ M = 2xy - 3x^2 $ and $ N = x^2 + 2y $.
Check exactness: $ \frac{\partial M}{\partial y} = 2x $, $ \frac{\partial N}{\partial x} = 2x $. Since they are equal, the equation is exact.
1. $ F(x, y) = \int (2xy - 3x^2) dx + g(y) = x^2y - x^3 + g(y) $.
2. $ \frac{\partial F}{\partial y} = x^2 + g'(y) $. Equate to $ N $: $ x^2 + g'(y) = x^2 + 2y $.
3. $ g'(y) = 2y \implies g(y) = \int 2y dy = y^2 $.
4. General solution: $ x^2y - x^3 + y^2 = C $.
Integrating FactorsIf $ M(x, y) dx + N(x, y) dy = 0 $ is not exact, it can sometimes be made exact by multiplying by an integrating factor $ \mu(x, y) $.
* Rules for finding Integrating Factors:
1. If $ \frac{1}{N} \left(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}\right) $ is a function of $ x $ only, say $ f(x) $, then $ \mu(x) = e^{\int f(x) dx} $.
2. If $ \frac{1}{M} \left(\frac{\partial N}{\partial x} - \frac{\partial M}{\partial y}\right) $ is a function of $ y $ only, say $ g(y) $, then $ \mu(y) = e^{\int g(y) dy} $.
* Example: $ (x^2 + y^2 + x) dx + xy dy = 0 $
$ M = x^2 + y^2 + x $, $ N = xy $.
$ \frac{\partial M}{\partial y} = 2y $, $ \frac{\partial N}{\partial x} = y $. Not exact.
Calculate $ \frac{1}{N} \left(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}\right) = \frac{1}{xy} (2y - y) = \frac{y}{xy} = \frac{1}{x} $. This is a function of $ x $ only.
Integrating factor $ \mu(x) = e^{\int \frac{1}{x} dx} = e^{\ln x} = x $.
Multiply the original DE by $ x $: $ (x^3 + xy^2 + x^2) dx + x^2y dy = 0 $.
Now, $ M' = x^3 + xy^2 + x^2 $, $ N' = x^2y $.
$ \frac{\partial M'}{\partial y} = 2xy $, $ \frac{\partial N'}{\partial x} = 2xy $. The equation is now exact.
Solve as an exact equation: $ F(x, y) = \int (x^3 + xy^2 + x^2) dx + g(y) = \frac{x^4}{4} + \frac{x^2y^2}{2} + \frac{x^3}{3} + g(y) $.
$ \frac{\partial F}{\partial y} = x^2y + g'(y) $. Equate to $ N' $: $ x^2y + g'(y) = x^2y $.
$ g'(y) = 0 \implies g(y) = C_1 $.
General solution: $ \frac{x^4}{4} + \frac{x^2y^2}{2} + \frac{x^3}{3} = C $.
Linear First Order EquationsA first-order linear DE has the form $ \frac{dy}{dx} + P(x) y = Q(x) $.
* Solution Method: Use an integrating factor $ \mu(x) = e^{\int P(x) dx} $.
Multiply the entire equation by $ \mu(x) $:
$ \mu(x) \frac{dy}{