Study Notes on Linear and Bernoulli Equations and Second-Order ODEs
First-Order Linear Ordinary Differential Equations (ODEs)
Definition of a First-Order Linear ODE: A first-order linear ordinary differential equation is defined by its standard mathematical form:
dxdy+P(x)y=Q(x)
In this context, P(x) and Q(x) are given continuous functions of the independent variable x.
Integrating Factor Method (Theorem 4.1): This method identifies a specific function, known as the integrating factor (IF), denoted as μ(x), which simplifies the ODE into a solvable perfect derivative.
The formula for the integrating factor is: μ(x)=e∫P(x)dx.
When the standard form equation is multiplied by μ(x), the left-hand side becomes: dxd[μ(x)y]=μ(x)Q(x).
By integrating both sides with respect to x, the general solution is obtained: y⋅e∫P(x)dx=∫Q(x)e∫P(x)dxdx+C.
Step-by-Step Procedure for Solving First-Order Linear ODEs:
Standardize: Write the given ODE in the standard form: dxdy+P(x)y=Q(x).
Calculate Integrated Exponent: Compute the integrating factor: μ=e∫P(x)dx.
Distribute: Multiply the entire equation by the calculated μ.
Identify Derivative: Recognize that the left side of the equation is now equal to dxd(μy).
Integrate: Integrate both sides of the equation: μy=∫μQ(x)dx+C.
Isolate Variable: Divide by μ to solve for the dependent variable y.
Example 4.1: Solve xdxdy+y=x3
Divide through by x to standardize: dxdy+(x1)y=x2.
Identify components: P(x)=x1 and Q(x)=x2.
Calculate IF: μ=e∫(x1)dx=eln(x)=x.
Multiply through by x: dxd(xy)=x3.
Integrate both sides: xy=4x4+C.
Final Solution: y=4x3+xC.
Example 4.2: Solve dxdy−2y=4
Identify components: P(x)=−2 and Q(x)=4.
Calculate IF: μ=e∫(−2)dx=e−2x.
Multiply through: dxd(ye−2x)=4e−2x.
Integrate: ye−2x=−2e−2x+C.
General Solution: y=−2+Ce2x.
Example 4.3: Solve x2dxdy−3y=x
Standardize by dividing by x2: dxdy−(x23)y=x−3/2.
Identify components: P(x)=−x23.
Calculate IF: μ=e∫−3x−2dx=e3/x.
Multiply through: dxd(ye3/x)=x−3/2e3/x.
The solution is then obtained by integrating the right-hand side using appropriate methods such as substitution or integration by parts.
Bernoulli Differential Equations
Definition of a Bernoulli Equation: A Bernoulli equation is a non-linear first-order ODE expressed as:
dxdy+P(x)y=Q(x)yn
The variable n is a real number.
If n=0, the equation is linear.
If n=1, the equation is separable.
For all other values where n=0,1, the equation is non-linear but can be linearized via substitution.
Reduction to Linear Form (Theorem 4.2):
Divide the entire equation by yn: y−ndxdy+P(x)y1−n=Q(x).
Introduce a new variable: Let z=y1−n.
Determine the derivative of the substitution: dxdz=(1−n)y−ndxdy.
Substitute these into the equation to transform it into a linear ODE: dxdz+(1−n)P(x)z=(1−n)Q(x).
Solve for z, then recover y using the relation z=y1−n.
Step-by-Step Procedure for Bernoulli Equations:
Identify the values of P(x), Q(x), and the exponent n from the initial ODE.
Divide the equation by yn to reach the form: y−ndxdy+P(x)y1−n=Q(x).
Apply the substitution z=y1−n and compute dxdz=(1−n)y−ndxdy.
Multiply the equation by (1 – n) to establish the linear form: dxdz+(1−n)P(x)z=(1−n)Q(x).
Solve this linear ODE utilizing the Integrating Factor method.
Back-substitute to find the final solution for y.
Example 4.4: Solve dxdy+xy=xy3
Identify parameters: n=3, P(x)=x1, and Q(x)=x1.
Divide by y3: y−3dxdy+(x1)y−2=x1.
Substitute z=y−2, meaning dxdz=−2y−3dxdy.
Multiply by −2 to linearize: dxdz−(x2)z=−x2.
Solve linearized ODE (P=−x2, Q=−x2):
μ=e∫−x2dx=x−2.
dxd(x−2z)=−x32.
x−2z=x21+C.
z=1+Cx2.
Recover y: Since z=y−2, then y−2=1+Cx2, leading to y=1+Cx21.
Example 4.5: Solve dxdy−2xy=2xy3
Identify parameters: n=3, P(x)=−2x, Q(x)=2x.
Let z=y−2, hence dxdz=−2y−3dxdy.
Multiply by −2y−3: dxdz+4xz=−4x.
Calculate IF: μ=e∫4xdx=e2x2.
Set up derivative: dxd(ze2x2)=−4xe2x2.
Integrate: ze2x2=−4∫xe2x2dx=−e2x2+C.
Solve for z: z=−1+Ce−2x2.
Final Solution: y−2=−1+Ce−2x2 or 1=y2(Ce−2x2−1).
Tutor-Marked Assignment — Section 2, Unit 2
Part 1: Solve the following linear ODEs:
(i) xdxdy+y=x3
(ii) xdxdy−5y=x2
(iii) x2dxdy−3y=x
(iv) dxdy+ycot(x)=cos(x)
(v) (1 - x^2) \frac{dy}{dx} - xy = 1
Part 2: Solve the following Bernoulli equations:
(i) x2y−x3dxdy=4y4cos(x)
(ii) 2y−3dxdy=y4e3x
(iii) y−2xdxdy=x(x+1)y3
(iv) dxdy+y=xy3
(v) dxdy−y=x
(vi) xdxdy+2y=x31
(vii) dxdy−2xy=6y3x2
Solution of Second-Order Ordinary Differential Equations
Context and Application: Second-order ODEs are fundamental in modeling physical systems including mechanics (e.g., spring-mass systems) and electrical circuits. This study focuses specifically on second-order linear ODEs with constant coefficients.
General Form of Second-Order Linear ODEs (Definition 5.1):
A general second-order linear ODE is written as: a(x)y′′+b(x)y′+c(x)y=f(x).
The terms a(x), b(x), c(x), and f(x), are known functions of x.
Homogeneous vs. Non-Homogeneous:
If f(x)≡0, the equation is classified as homogeneous.
If f(x)=0, the equation is non-homogeneous.
Constant Coefficients: If the functions a,b,c are constants rather than functions of x, the equation is simplified to: ay′′+by′+cy=f(x).
The homogeneous part of this constant coefficient equation is: ay′′+by′+cy=0.
The Auxiliary (Characteristic) Equation:
To solve the constant-coefficient homogeneous equation, a trial solution of the form y=emx is used.
Differentiating yields y′=memx and y′′=m2emx.
Substituting these into the equation results in: a(m2emx)+b(memx)+c(emx)=0.
Since emx is never zero, we divide by it to obtain the Auxiliary Equation: am2+bm+c=0.
The roots of this quadratic equation (m1 and m2) define the form of the Complementary Function (C.F.), denoted as yc.
Cases of the Auxiliary Equation
Case I: Two Distinct Real Roots (m1=m2, both real):
If the auxiliary equation provides two unique real roots, the solution is the sum of two exponential terms.
General Solution: yc=c1em1x+c2em2x, where c1 and c2 are arbitrary constants.
Example 5.1: Solve y′′+5y′+6y=0
Auxiliary equation: m2+5m+6=0.
Factoring: (m+2)(m+3)=0⟹m1=−2,m2=−3.
Solution: y=c1e−2x+c2e−3x.
Example 5.2: Solve y′′−3y′−4y=0
Auxiliary equation: m2−3m−4=0.
Factoring: (m−4)(m+1)=0⟹m1=4,m2=−1.
Solution: y=c1e4x+c2e−x.
Case II: Repeated (Equal) Real Roots (m1=m2=m):
If there is a repeated real root of multiplicity 2, an additional factor of x is introduced to ensure the solutions remain linearly independent.
General Solution: yc=(c1+c2x)emx.
Example 5.3: Solve y′′−6y′+9y=0
Auxiliary equation: m2−6m+9=0.
Factoring: (m−3)2=0⟹m=3.
Solution: y=(c1+c2x)e3x.
Example 5.4: Solve y′′+4y′+4y=0
Auxiliary equation: m2+4m+4=0.
Factoring: (m+2)2=0⟹m=−2.
Solution: y=(c1+c2x)e−2x.
Case III: Complex Conjugate Roots (m=α±iβ):
If the roots are complex conjugate pairs, where α is the real part and β is the imaginary part (β=0), the solution utilizes Euler's formula: eiβx=cos(βx)+isin(βx).
General Solution: yc=eαx(c1cos(βx)+c2sin(βx)).
Special Case - Purely Imaginary Roots: If α=0, the solution is simply: yc=c1cos(βx)+c2sin(βx).