📘 Lecture 1 — DIFFERENTIAL EQUATIONS
📖 Overview: This lecture introduces the fundamental concepts of differential equations, which are essential for modeling and solving problems in science and engineering. It establishes the key definitions for classifying equations by type, order, and form of solution, providing the foundational vocabulary for the entire course.
🗂️ Topics Covered
The lecture begins with an introduction to the theory of differential equations, describing what they are and how they arise. It then covers the elements of the theory, providing specific examples and defining the order of an equation. The distinction between ordinary and partial differential equations is explained, along with basic properties and the principle of superposition. The lecture concludes by defining explicit and implicit solutions.
📝 Lecture Summary
1 Introduction
A differential equation is a mathematical equation that relates some function with its derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, and the differential equation defines a relationship between the two. Such relations are common in engineering, physics, and other disciplines.
💡 Why this matters: Understanding differential equations is crucial for predicting how systems change over time or space.
2 Fundamentals
2.1 Elements of the Theory
The theory involves studying the equation's structure and finding functions that satisfy it. A key goal is to determine the solution of the equation, which is a function that, when substituted into the equation, makes it true for all values in its domain.
2.2 Specific Examples of ODE’s
Several classical examples of Ordinary Differential Equations (ODEs) are introduced:
- Newton’s Second Law (mechanics): ( m \frac{d^2x}{dt^2} = F(t, x, \frac{dx}{dt}) )
- Radioactive Decay (nuclear physics): ( \frac{dN}{dt} = -\lambda N ), where N is the number of atoms and (\lambda) is the decay constant.
- Newton’s Law of Cooling (thermodynamics): ( \frac{dT}{dt} = k(T - T_m) ), where T is the temperature of the body and (T_m) is the ambient temperature.
- Simple Harmonic Motion (physics): ( \frac{d^2y}{dt^2} = -ky )
- Fluid Flow (fluid dynamics): ( \frac{dV}{dt} = kV^{2/3} ), where V is the volume of fluid.
- Electric Circuits (RLC) (electrical engineering): ( L \frac{d^2i}{dt^2} + R \frac{di}{dt} + \frac{1}{C} i = E'(t) )
2.3 The order of an equation
The order of a differential equation is the order of the highest derivative that appears in the equation.
- Example 1: ( y' = y + 5 ) is a first-order equation.
- Example 2: ( y'' + 2y' + 5y = 0 ) is a second-order equation.
📌 Example: For the equation ( \frac{d^3y}{dx^3} + 2x\frac{dy}{dx} = \cos x ), the highest derivative is ( \frac{d^3y}{dx^3} ), so the order is 3.
2.4 Ordinary Differential Equation
An Ordinary Differential Equation (ODE) is a differential equation that contains one or more derivatives of a dependent variable with respect to a single independent variable.
🔑 Definition — ODE: An equation containing only ordinary derivatives of one or more unknown functions with respect to a single independent variable.
2.5 Partial Differential Equation
A Partial Differential Equation (PDE) contains partial derivatives of a dependent variable with respect to more than one independent variable.
🔑 Definition — PDE: An equation containing partial derivatives of one or more unknown functions with respect to two or more independent variables.
📌 Example: The heat equation ( \frac{\partial u}{\partial t} = k \frac{\partial^2 u}{\partial x^2} ) is a PDE because the dependent variable u depends on both time (t) and space (x).
2.6 Results from ODE data
An ODE can be thought of as a condition that a function must satisfy. Solving it means finding all functions that satisfy that condition. While a solution may exist, finding a formula for it is not always possible.
2.7 BVP Examples
A Boundary Value Problem (BVP) is a differential equation together with a set of additional constraints, called boundary conditions, on the solution at more than one point.
🔑 Definition — BVP: A problem where a differential equation must be solved for a function that must satisfy conditions (boundary conditions) at two or more distinct points.
📌 Example: Find a function y(x) such that ( y'' + y = 0 ) and ( y(0) = 0, y(\pi) = 0 ).
2.8 Properties of ODE’s
ODEs can be classified as linear or nonlinear. A linear ODE is one in which the dependent variable and all its derivatives appear to the first power only and are not multiplied together.
2.9 Superposition
The superposition principle applies to linear, homogeneous differential equations. It states that if ( y_1 ) and ( y_2 ) are two solutions, then any linear combination ( c_1 y_1 + c_2 y_2 ) is also a solution.
2.10 Explicit Solution
An explicit solution is a solution in which the dependent variable is expressed solely in terms of the independent variable and constants. The function is written in the form ( y = f(x) ).
🔑 Definition — Explicit Solution: A function where the dependent variable is isolated on one side of the equation.
📌 Example: ( y = e^{2x} ) is an explicit solution to the equation ( y' = 2y ).
2.11 Implicit Solution
An implicit solution is a relation ( G(x, y) = 0 ) that defines one or more explicit solutions. It is a solution to the differential equation even though the dependent variable is not isolated.
🔑 Definition — Implicit Solution: A relationship of the form ( G(x, y) = 0 ) that can be reduced to one or more explicit solutions.
📌 Example: The relation ( x^2 + y^2 = 1 ) is an implicit solution to the equation ( y' = -\frac{x}{y} ).
⭐ Key Takeaways
The most critical concept from this lecture is the precise definition of a differential equation and its fundamental classification by order and type (ODE vs. PDE). Students must be able to identify the order of any given equation and distinguish between ordinary and partial differential equations. Understanding the difference between linear and nonlinear equations, as well as the principle of superposition for linear homogeneous equations, is essential for future solution methods. Finally, one must be able to differentiate between an explicit solution, where the dependent variable is isolated, and an implicit solution, which is a relation between variables.
🧠 Quick Revision Questions
- What is the order of a differential equation, and how do you find it?
- What is the key difference between an Ordinary Differential Equation (ODE) and a Partial Differential Equation (PDE)?
- Give an example of an explicit solution and write the general form of an implicit solution.
- What is a Boundary Value Problem (BVP)?
- Does the principle of superposition apply to all differential equations? Explain.
📘 Lecture 2 — Applications of First Order Differential Equations
📖 Overview: This lecture explores how first-order differential equations model real-world phenomena, focusing on orthogonal trajectories in geometry, population growth, radioactive decay, Newton's law of cooling, carbon dating, and nonlinear equations like the logistic model. It bridges theoretical methods with practical applications in physics, biology, and chemistry.
🗂️ Topics Covered
Orthogonal trajectories and their geometric interpretation, finding orthogonal trajectories methodically, population dynamics using exponential and logistic models, radioactive decay and half-life calculations, Newton's law of cooling, carbon dating for archaeological dating, the logistic equation and its special cases, chemical reaction kinetics, and miscellaneous applications.
📝 Lecture Summary
10 Orthogonal Trajectories (OT)
An orthogonal trajectory is a curve that intersects every member of a given family of curves at right angles (90°). This concept is used in fields like electromagnetism, fluid dynamics, and heat transfer where orthogonal paths represent flow lines or equipotential lines.
🔑 Definition — Orthogonal Trajectory (OT): A curve that intersects every curve of a given family at right angles.
10.1 Orthogonal Trajectories
The method uses the fact that if two curves are orthogonal at an intersection point, the product of their slopes is -1. Given a family of curves ( F(x, y, c) = 0 ), we find its differential equation ( \frac{dy}{dx} = f(x, y) ). The orthogonal trajectories satisfy ( \frac{dy}{dx} = -\frac{1}{f(x, y)} ).
📐 Formula: ( m_1 \times m_2 = -1 ) → ( \frac{dy}{dx} ) (trajectory) ( = -\frac{1}{\frac{dy}{dx} \text{ (original)}} )
📌 Example: Find orthogonal trajectories of ( y = cx^2 ).
- Differentiate: ( \frac{dy}{dx} = 2cx )
- Eliminate ( c ) from original: ( c = \frac{y}{x^2} ), so ( \frac{dy}{dx} = 2\left(\frac{y}{x^2}\right)x = \frac{2y}{x} )
- For OT: ( \frac{dy}{dx} = -\frac{x}{2y} )
- Solve: ( 2y , dy = -x , dx ) → ( y^2 = -\frac{x^2}{2} + C ) or ( x^2 + 2y^2 = K ). Answer: family of ellipses.
10.2 Method of finding Orthogonal Trajectory
The systematic procedure: (1) Write family of curves ( F(x, y, c) = 0 ). (2) Differentiate to find ( \frac{dy}{dx} ). (3) Eliminate parameter ( c ). (4) Replace ( \frac{dy}{dx} ) with ( -dx/dy ) (i.e., negative reciprocal). (5) Solve the new differential equation.
💡 Why this matters: This method connects differential equations to geometry and physical field theory.
10.3 Population Dynamics
Population growth often follows a first-order differential equation where the growth rate is proportional to the current population: ( \frac{dP}{dt} = kP ), where ( k ) is the growth constant. This gives exponential growth ( P(t) = P_0 e^{kt} ).
10.4 Radioactive Decay
Radioactive substances decay at a rate proportional to the amount present: ( \frac{dA}{dt} = -kA ). Solution: ( A(t) = A_0 e^{-kt} ). The half-life is the time for half the substance to decay.
📐 Formula: Half-life ( t_{1/2} = \frac{\ln 2}{k} )
📌 Example: If a sample decays from 100g to 25g in 10 years, find half-life.
( 25 = 100 e^{-k(10)} ) → ( \frac{1}{4} = e^{-10k} ) → ( \ln(0.25) = -10k ) → ( k = \frac{\ln 4}{10} ).
Half-life ( = \frac{\ln 2}{k} = \frac{\ln 2}{\ln 4 / 10} = 10 \times \frac{\ln 2}{\ln 4} = 10 \times \frac{\ln 2}{2\ln 2} = 5 ) years.
11.1 Newton's Law of Cooling
The rate of change of an object's temperature ( T ) is proportional to the temperature difference between the object and its environment (ambient temperature ( T_m )): ( \frac{dT}{dt} = -k(T - T_m) ).
📐 Formula: ( T(t) = T_m + (T_0 - T_m) e^{-kt} )
📌 Example: A body at 100°C is placed in room at 20°C. After 10 min, temperature is 60°C. Find after 20 min.
( 60 = 20 + (100 - 20) e^{-10k} ) → ( 40 = 80 e^{-10k} ) → ( e^{-10k} = 0.5 ) → ( -10k = \ln 0.5 ) → ( k = 0.06931 ).
After 20 min: ( T = 20 + 80 e^{-20(0.06931)} = 20 + 80(0.25) = 40^\circ C ).
11.2 Carbon Dating
The radioactive isotope carbon-14 decays with a known half-life of about 5730 years. By measuring the remaining ( ^{14}C ) in an organic sample, we can determine its age using ( A(t) = A_0 e^{-kt} ) with ( k = \frac{\ln 2}{5730} ).
12 Applications of Non-linear Equations
Nonlinear differential equations model more complex phenomena, especially when growth or reaction rates depend on additional factors.
12.1 Logistic equation
The logistic equation models population growth with limited resources: ( \frac{dP}{dt} = kP\left(1 - \frac{P}{K}\right) ), where ( K ) is the carrying capacity (maximum sustainable population).
12.1.1 Solution of the Logistic equation
Using separation of variables:
( \frac{dP}{P(1 - P/K)} = k , dt )
Partial fractions: ( \frac{1}{P} + \frac{1/K}{1 - P/K} = \frac{1}{P} + \frac{1}{K - P} )
Integrate: ( \ln |P| - \ln |K - P| = kt + C ) → ( \ln\left|\frac{P}{K-P}\right| = kt + C )
Solution: ( P(t) = \frac{K}{1 + Be^{-kt}} ), where ( B = \frac{K - P_0}{P_0} ).
📐 Formula: ( P(t) = \frac{K}{1 + Be^{-kt}} ), ( B = \frac{K - P_0}{P_0} )
12.1.2 Special Cases of Logistic Equation
- If ( P_0 = K ), population remains constant at carrying capacity.
- If ( P_0 < K ), population grows asymptotically toward ( K ).
- If ( P_0 > K ), population decreases toward ( K ).
12.1.3 A Modification of LE
Modified logistic equations may include a threshold population or time-dependent carrying capacity, such as ( \frac{dP}{dt} = kP\left(1 - \frac{P}{K}\right) - h ), where ( h ) is harvesting rate.
12.2 Chemical reactions
In first-order chemical reactions, the rate of reaction is proportional to the concentration of the reactant: ( \frac{d[A]}{dt} = -k[A] ). For second-order reactions: ( \frac{d[A]}{dt} = -k[A]^2 ).
📌 Example: For a first-order reaction with initial concentration ([A]_0 = 2.0,M) and rate constant (k = 0.1,s^{-1}), find concentration after 10 seconds.
( [A] = 2.0 e^{-0.1 \times 10} = 2.0 e^{-1} = 0.736,M ).
12.3 Miscellaneous Applications
Other applications include mixing problems (salt in tanks), electric circuits (RC circuits), and interest compounding in finance, all modeled by first-order linear or separable differential equations.
⭐ Key Takeaways
The most critical concepts include: (1) orthogonal trajectories are found by replacing ( dy/dx ) with its negative reciprocal and solving; (2) exponential growth/decay models come from ( dy/dx = ky ); (3) logistic equation introduces carrying capacity for realistic growth; (4) Newton's law of cooling and radioactive decay follow similar exponential forms with different physical interpretations; (5) chemical reaction rates depend on reaction order. Always identify the physical context to select the correct model and initial conditions.
🧠 Quick Revision Questions
- What is the geometric condition for two curves to be orthogonal at an intersection point?
- Write the differential equation for radioactive decay and its general solution.
- What are the three cases for the logistic equation based on initial population relative to carrying capacity?
- In Newton's law of cooling, what does the constant ( k ) physically represent?
- How does the half-life of carbon-14 relate to its decay constant?
📘 Lecture 3 — Fundamentals (continued) & Introduction to Differential Equations
📖 Overview: This lecture covers the fundamental theory of differential equations, including classification, solutions, and initial value problems. It then introduces key concepts of vibration analysis including simple harmonic motion, damped motion, and forced motion, followed by advanced topics in power series solutions and systems of differential equations. This material is essential for understanding how differential equations model real-world phenomena in physics and engineering.
🗂️ Topics Covered
The lecture spans from basic definitions and classification of differential equations through specific examples including growth equations and pendulum equations, then progresses through vibration analysis (undamped, damped, forced), Cauchy-Euler equations, power series solutions, Bessel's and Legendre's equations, systems of linear differential equations, matrix theory, eigenvalue problems, and homogeneous/non-homogeneous systems.
📝 Lecture Summary
2.1 Elements of the Theory
A differential equation involves an unknown function and one or more of its derivatives. These equations are applicable across chemistry, physics, engineering, medicine, biology, and anthropology. An ordinary differential equation (ODE) is one where the unknown function depends on only one independent variable.
🔑 Definition — Differential Equation: An equation that involves an unknown function and one or more of its derivatives. 🔑 Definition — Ordinary Differential Equation (ODE): A differential equation where the unknown function depends on only one independent variable.
Examples of differential equations include:
dy/dx - 5y = 1(y - x)dx + 4xdy = 0d²y/dx² + 5(dy/dx)³ - 4y = eˣ- Partial differential equations like
∂u/∂y + ∂v/∂x = 0
2.2 Specific Examples of ODE's
The growth equation is du/dt = F(t)·G(u), which models population growth or decay. The pendulum equation is d²θ/dt² + (g/l)sinθ = F(t), describing the motion of a pendulum. The van der Pol equation is d²y/dt² + ε(y²-1)dy/dt + y = 0, which models oscillatory systems with nonlinear damping.💡 Why this matters: These specific equations appear frequently in physics and engineering applications.
22.1.4 Differential Equation
For simple harmonic motion, the differential equation governing an undamped vibrating system is derived from Newton's second law and Hooke's law. The restoring force is proportional to displacement: F = -kx. The resulting differential equation is d²x/dt² + (k/m)x = 0, where k is the spring constant and m is the mass.
📐 Formula: d²x/dt² + ω²x = 0 → where ω = √(k/m) is the angular frequency
22.1.5 Initial Conditions
To obtain a unique solution, initial conditions are required. Typically, these specify the initial displacement x(0) = x₀ and initial velocity dx/dt(0) = v₀. These conditions determine the arbitrary constants in the general solution.
🔑 Definition — Initial Conditions: The specified values of the dependent variable and its derivatives at a single point (usually t=0) that determine a unique solution to a differential equation.
22.1.6 Solution and Equation of Motion
The general solution to d²x/dt² + ω²x = 0 is x(t) = c₁cos(ωt) + c₂sin(ωt), where c₁ and c₂ are constants determined by initial conditions. Applying initial conditions x(0) = x₀ and x'(0) = v₀ gives c₁ = x₀ and c₂ = v₀/ω.
📌 Example: For a mass-spring system with k = 16 N/m, m = 4 kg, initial displacement x₀ = 0.5 m, and initial velocity v₀ = 2 m/s:
- Step 1: Find
ω = √(k/m) = √(16/4) = 2 rad/s - Step 2: Solution is
x(t) = c₁cos(2t) + c₂sin(2t) - Step 3:
x(0) = 0.5 = c₁ - Step 4:
x'(t) = -2c₁sin(2t) + 2c₂cos(2t), sox'(0) = 2 = 2c₂, givingc₂ = 1 - Step 5: Equation of motion:
x(t) = 0.5cos(2t) + sin(2t)
22.1.7 Alternative form of Solution
The solution can be written in amplitude-phase form: x(t) = A sin(ωt + φ) or x(t) = A cos(ωt - φ), where A is the amplitude and φ is the phase angle.
🔑 Definition — Amplitude-Phase Form: An alternative representation of the solution where A = √(c₁² + c₂²) and φ = arctan(c₁/c₂) (or similar depending on the form used).
22.1.8 Amplitude
The amplitude A represents the maximum displacement from equilibrium. It is given by A = √(c₁² + c₂²). The amplitude depends on both initial conditions.
📐 Formula: A = √(x₀² + (v₀/ω)²) → maximum displacement from equilibrium
22.1.9 A Vibration or a Cycle
One complete vibration or cycle occurs when the system returns to its original state (same position and velocity direction). For simple harmonic motion, this corresponds to the argument ωt increasing by 2π.
🔑 Definition — Cycle: One complete repetition of the motion, from a given point back to the same point moving in the same direction.
22.1.10 Period of Vibration
The period T is the time required to complete one full cycle. For the system d²x/dt² + ω²x = 0, the period is T = 2π/ω = 2π√(m/k).
📐 Formula: T = 2π/ω → time for one complete cycle
22.1.11 Frequency
The frequency f is the number of cycles per unit time, given by f = 1/T = ω/(2π). The natural (circular) frequency ω is measured in radians per second.
📐 Formula: f = 1/T = ω/(2π) → number of cycles per second (Hertz)
23 Damped Motion
Damped motion includes a damping force that opposes motion, typically proportional to velocity: F_d = -c(dx/dt), where c is the damping constant.
23.1 Damping Force
The damping force is F_d = -c(dx/dt), representing friction or resistance. The negative sign indicates the force opposes the direction of motion.
23.2 The Differential Equation
Combining spring force -kx and damping force -c(dx/dt) via Newton's Second Law: m(d²x/dt²) = -kx - c(dx/dt), giving m(d²x/dt²) + c(dx/dt) + kx = 0, or d²x/dt² + (c/m)(dx/dt) + (k/m)x = 0.
📐 Formula: d²x/dt² + 2β(dx/dt) + ω²x = 0 → where β = c/(2m) is the damping coefficient and ω = √(k/m)
23.2.1 Solution of the Differential Equation
The characteristic equation is r² + 2βr + ω² = 0, giving roots r = -β ± √(β² - ω²). Three cases arise:
- Overdamped (β² > ω²): Real distinct negative roots,
x(t) = c₁e^(r₁t) + c₂e^(r₂t) - Critically damped (β² = ω²): Real equal roots,
x(t) = (c₁ + c₂t)e^(-βt) - Underdamped (β² < ω²): Complex roots,
r = -β ± i√(ω² - β²)
🔑 Definition — Damping Cases:
- Overdamped: System returns to equilibrium slowly without oscillation
- Critically damped: System returns to equilibrium fastest without oscillation
- Underdamped: System oscillates with decreasing amplitude
23.2.2 Alternative form of the Solution
For underdamped motion: x(t) = e^(-βt)[c₁cos(ω₁t) + c₂sin(ω₁t)] or x(t) = Ae^(-βt)sin(ω₁t + φ), where ω₁ = √(ω² - β²) is the damped natural frequency.
📐 Formula: ω₁ = √(ω² - β²) → frequency of damped oscillation
23.2.3 Quasi Period
The quasi period T₁ = 2π/ω₁ is the time between successive maxima of the damped oscillation.
24 Forced Motion
Forced motion occurs when an external force F(t) is applied to the system. The equation becomes m(d²x/dt²) + c(dx/dt) + kx = F(t).
24.1 Forced motion with damping
The non-homogeneous differential equation d²x/dt² + 2β(dx/dt) + ω²x = F(t)/m describes forced damped motion. The solution consists of the complementary function (transient) plus a particular integral (steady-state).
24.2 Transient and Steady-State Terms
The transient term is the solution of the homogeneous equation and decays to zero as t→∞ (due to damping). The steady-state term is a particular solution that persists as t→∞.
🔑 Definition — Transient: The part of the solution that decays to zero over time 🔑 Definition — Steady-State: The part of the solution that persists indefinitely, having the same form as the forcing function
24.3 Motion without Damping
For undamped forced motion (c=0): d²x/dt² + ω²x = F₀cos(γt)/m. If γ = ω (forcing frequency equals natural frequency), resonance occurs, leading to unbounded amplitude growth. Resonance is described by x(t) = (F₀/(2mω))tsin(ωt).
24.4 Electric Circuits
Differential equations also model electric circuits, where charge q(t) and current i(t) = dq/dt are analogous to displacement and velocity in mechanical systems. Voltage across components follows known laws.
24.5 The LRC Series Circuits
An LRC series circuit contains a resistor (R), inductor (L), and capacitor (C) in series. The differential equation relates charge q or current i to the applied voltage E(t).
24.5.1 Resistor
Voltage across a resistor: V_R = iR (Ohm's law)
24.5.2 Inductor
Voltage across an inductor: V_L = L(di/dt)
24.5.3 Capacitor
Voltage across a capacitor: V_C = q/C, where q is charge
24.6 Kirchhoff's Voltage Law
Kirchhoff's Voltage Law states that the sum of voltage drops around a closed loop equals zero: V_L + V_R + V_C = E(t) or L(di/dt) + Ri + q/C = E(t).
24.6.1 The Differential Equation
Substituting i = dq/dt gives L(d²q/dt²) + R(dq/dt) + q/C = E(t), which has the same form as the mechanical system.
24.6.2 Solution of the differential equation
The characteristic equation is Lr² + Rr + 1/C = 0 with roots r = [-R ± √(R² - 4L/C)]/(2L).
Case 1 Real and distinct roots: R² > 4L/C → overdamped, q(t) = c₁e^(r₁t) + c₂e^(r₂t)
Case 2 Real and equal: R² = 4L/C → critically damped, q(t) = (c₁ + c₂t)e^(rt)
Case 3 Complex roots: R² < 4L/C → underdamped, q(t) = e^(-Rt/(2L))[c₁cos(ω₁t) + c₂sin(ω₁t)]
25 Forced Motion (Examples)
Forced motion with sinusoidal input E(t) = E₀sin(γt) leads to steady-state solution of the form q_p(t) = A sin(γt - φ). Resonance occurs when γ ≈ 1/√(LC) (the natural frequency of the circuit).
26 Differential Equations with Variable Coefficients
Variable coefficient differential equations have coefficients that depend on the independent variable, unlike constant coefficient equations.
26.1 Cauchy-Euler Equation
The Cauchy-Euler (or Euler) equation has the form ax²(d²y/dx²) + bx(dy/dx) + cy = f(x). It is characterized by coefficients that are powers of x matching the order of the derivative.
🔑 Definition — Cauchy-Euler Equation: A differential equation of the form ax²y″ + bxy′ + cy = f(x) where the power of x matches the order of the derivative.
26.1.1 Method of Solution
Assume solution of the form y = x^r for the homogeneous equation. Substituting gives the indicial (auxiliary) equation: ar(r-1) + br + c = 0. The roots determine the form of the solution.
26.1.2 Case-I (Distinct Real Roots)
If roots r₁ and r₂ are real and distinct: y_h = c₁x^(r₁) + c₂x^(r₂)
26.1.3 Case II (Repeated Real Roots)
If r₁ = r₂: y_h = (c₁ + c₂ln|x|)x^r
26.1.4 Case III (Conjugate Complex Roots)
If r = α ± iβ: y_h = x^α[c₁cos(βln|x|) + c₂sin(βln|x|)]
📌 Example: Solve x²y″ - 2xy′ + 2y = 0
- Step 1: Assume
y = x^r, theny′ = rx^(r-1),y″ = r(r-1)x^(r-2) - Step 2: Substitute:
x²·r(r-1)x^(r-2) - 2x·rx^(r-1) + 2x^r = 0 - Step 3: Simplify:
[r(r-1) - 2r + 2]x^r = 0, sor² - 3r + 2 = 0 - Step 4: Factor:
(r-1)(r-2) = 0, sor₁ = 1,r₂ = 2 - Step 5: General solution:
y = c₁x + c₂x²
26.2 Exercises
Practice problems involve applying the Cauchy-Euler method to various equations with different root types.
27 Cauchy-Euler Equation (Alternative Method of Solution)
An alternative approach uses the substitution x = e^t (or t = ln x), transforming the Cauchy-Euler equation into a constant coefficient equation in terms of t. This converts x(dy/dx) = Dy and x²(d²y/dx²) = D(D-1)y, where D = d/dt.
📐 Formula: Under x = e^t: x(dy/dx) = dy/dt and x²(d²y/dx²) = d²y/dt² - dy/dt
28 Power Series (An Introduction)
A power series is an infinite series of the form ∑aₙ(x-x₀)ⁿ from n=0 to ∞, where aₙ are coefficients and x₀ is the center.
28.1 Power Series
The general form is ∑aₙ(x-x₀)ⁿ = a₀ + a₁(x-x₀) + a₂(x-x₀)² + ... Power series can represent functions and solve differential equations.
28.2 Convergence and Divergence
A power series may converge (approach a finite value) for some x-values and diverge for others. The set of x for which the series converges is the interval of convergence.
28.2.1 The Ratio Test
The ratio test determines convergence: lim|aₙ₊₁/aₙ| as n→∞. If the limit is L, the series converges when |x-x₀|L < 1 and diverges when |x-x₀|L > 1.
28.2.2 Interval of Convergence
The interval of convergence is the set of x-values where the series converges, centered at x₀.
28.2.3 Radius of Convergence
The radius of convergence R is found from R = 1/L = lim|aₙ/aₙ₊₁| (if the limit exists). The series converges absolutely for |x-x₀| < R.
📐 Formula: R = lim|aₙ/aₙ₊₁| as n→∞ → distance from center within which the series converges
28.2.4 Convergence at an Endpoint
At x = x₀ ± R, convergence must be checked separately using standard tests (e.g., alternating series test, p-series test).
28.3 Absolute Convergence
A series converges absolutely if ∑|aₙ||x-x₀|ⁿ converges. Absolute convergence implies ordinary convergence.
28.4 Power Series Representation of Functions
Many functions can be represented by power series, such as eˣ = ∑xⁿ/n!, sin x = ∑(-1)ⁿx^(2n+1)/(2n+1)!, and cos x = ∑(-1)ⁿx^(2n)/(2n)!.
28.4.1 Theorem
If a function has a power series representation, that representation is unique for a given center. The series is the Taylor series of the function.
28.4.2 Series that are Identically Zero
If ∑aₙ(x-x₀)ⁿ = 0 for all x in some interval, then all coefficients aₙ = 0. This is crucial for the power series method.
28.5 Analytic at a Point
A function f(x) is analytic at x₀ if it has a power series representation f(x) = ∑aₙ(x-x₀)ⁿ with a positive radius of convergence. This means f is infinitely differentiable near x₀ and its Taylor series converges to f.
28.6 Arithmetic of Power Series
Power series can be added, subtracted, multiplied, and divided (with care for the radius of convergence). Term-by-term differentiation and integration are also valid within the interval of convergence.
29 Power Series Solution of a Differential Equation
To solve y″ + P(x)y′ + Q(x)y = 0 using power series:
- Assume
y = ∑aₙ(x-x₀)ⁿ - Compute
y′ = ∑naₙ(x-x₀)^(n-1)andy″ = ∑n(n-1)aₙ(x-x₀)^(n-2) - Substitute into the DE
- Shift indices to combine sums
- Set coefficients of each power to zero (equating coefficients)
- Find recurrence relation for
aₙ
📌 Example: Solve y′ = y using power series about x₀=0
- Step 1: Assume
y = ∑aₙxⁿ,y′ = ∑naₙx^(n-1) - Step 2: Substitute:
∑naₙx^(n-1) = ∑aₙxⁿ - Step 3: Shift index: let k = n-1 in left sum, so
∑(k+1)aₖ₊₁xᵏ = ∑aₖxᵏ - Step 4: Equate coefficients:
(k+1)aₖ₊₁ = aₖfor all k≥0 - Step 5: Recurrence:
aₖ₊₁ = aₖ/(k+1) - Step 6:
a₁ = a₀,a₂ = a₁/2 = a₀/2,a₃ = a₂/3 = a₀/6, givingaₙ = a₀/n! - Step 7: Solution:
y = a₀∑xⁿ/n! = a₀eˣ
30 Solution about Ordinary Points
A point x₀ is an ordinary point of y″ + P(x)y′ + Q(x)y = 0 if both P(x) and Q(x) are analytic at x₀.
30.1 Analytic Function
A function is analytic at x₀ if it has a convergent power series representation centered at x₀.
30.2 Ordinary and singular points
- Ordinary point: Both P(x) and Q(x) are analytic at x₀
- Singular point: At least one of P(x) or Q(x) is not analytic at x₀
30.2.1 Polynomial Coefficients
For polynomial coefficients P(x) and Q(x): if the denominator of P or Q becomes zero at x₀, that point is singular.
30.3 Theorem (Existence of Power Series Solution)
If x₀ is an ordinary point, there exists a power series solution y = ∑aₙ(x-x₀)ⁿ that converges in some interval |x-x₀| < R. The coefficients are determined by the recurrence relation from the DE.
30.4 Non-polynomial Coefficients
For non-polynomial coefficients (like sin x, eˣ), the same method applies: expand P(x) and Q(x) as power series, then find the recurrence relation by equating coefficients.
31 Solutions about Singular Points
Near singular points, the power series method may fail, requiring the Method of Frobenius.
31.1 Regular and Irregular Singular Points
A singular point x₀ is regular if (x-x₀)P(x) and (x-x₀)²Q(x) are analytic at x₀. Otherwise, it is irregular.
🔑 Definition — Regular Singular Point: A singular point x₀ such that (x-x₀)P(x) and (x-x₀)²Q(x) are analytic at x₀.
31.1.1 Polynomial Coefficients
For polynomial coefficients: factor the denominator; if P(x) has a pole of order at most 1 and Q(x) has a pole of order at most 2, the point is a regular singular point.
31.2 Method of Frobenius
The Method of Frobenius assumes a solution of the form y = x^r∑aₙxⁿ = ∑aₙx^(n+r), where r is determined by the indicial equation.
31.2.1 Frobenius' Theorem
If x₀=0 is a regular singular point, there exists at least one Frobenius series solution y = x^r∑aₙxⁿ valid for 0<|x|<R. The exponent r satisfies the indicial equation obtained from the lowest power of x.
31.3 Cases of Indicial Roots
The indicial equation is a quadratic in r, giving two roots r₁ and r₂. Three cases arise.
31.3.1 Case I (Roots not Differing by an Integer)
If r₁ and r₂ are distinct and their difference is NOT an integer, two linearly independent solutions exist: y₁ = x^(r₁)∑aₙxⁿ and y₂ = x^(r₂)∑bₙxⁿ
32 Solutions about Singular Points
Further solution methods for Frobenius cases.
32.1 Method of Frobenius (Cases II and III)
Additional cases for the Method of Frobenius.
32.1.1 Case II (Roots Differing by a Positive Integer)
If r₁ - r₂ = N (a positive integer), the second solution may contain a logarithmic term: y₂ = y₁ln|x| + x^(r₂)∑bₙxⁿ
33 Bessel's Differential Equation
Bessel's differential equation is x²y″ + xy′ + (x² - ν²)y = 0, where ν is a constant. Its solutions are Bessel functions.
33.1 Series Solution of Bessel's Differential Equation
Using the Method of Frobenius about x₀=0 (a regular singular point), the indicial equation is r² - ν² = 0, giving r = ±ν.
33.2 Bessel's Function of the First Kind
Bessel's function of the first kind of order ν is J_ν(x) = ∑(-1)ⁿ(x/2)^(2n+ν)/[n!Γ(n+ν+1)]. For integer ν=n, J_n(x) = ∑(-1)ⁿ(x/2)^(2n+k)/[k!(n+k)!].
34 Legendre's Differential Equation
Legendre's differential equation is (1-x²)y″ - 2xy′ + n(n+1)y = 0, where n is a constant (usually a non-negative integer).
34.1 Legendre's Polynomials
For integer n, the power series solution terminates, giving Legendre polynomials P_n(x). These are polynomials of degree n, with P₀(x)=1, P₁(x)=x, P₂(x)=(3x²-1)/2, etc.
34.2 Rodrigues Formula for Legendre's
📘 Lecture 4 — Differential Equations (MTH401)
📖 Overview: This lecture introduces the foundational concepts of differential equations, from classification by order and type to methods for solving separable equations. It covers definitions of ordinary and partial differential equations, properties of linearity, and the explicit and implicit forms of solutions, providing essential tools for analyzing and solving these equations.
🗂️ Topics Covered
The lecture covers the classification of differential equations by order, type (ordinary vs. partial), and linearity; the concepts of general and particular solutions, initial value problems (IVPs), and boundary value problems (BVPs); and the superposition principle. It defines explicit and implicit solutions, then concludes with the method for solving separable differential equations.
📝 Lecture Summary
2.3 The order of an equation
The order of a differential equation is defined as the order of the highest derivative appearing in the equation. For instance, d²y/dx² + 5(dy/dx)³ - 4y = eˣ is a second-order equation.
2.4 Ordinary Differential Equation
An Ordinary Differential Equation (ODE) contains only ordinary derivatives of one or more dependent variables with respect to a single independent variable. For example, d²y/dx² + 5(dy/dx)³ - 4y = eˣ is an ODE.
2.5 Partial Differential Equation
A Partial Differential Equation (PDE) involves partial derivatives of one or more dependent variables with respect to two or more independent variables. For example, a² ∂⁴u/∂x⁴ + ∂²u/∂x² = 0 is a PDE.
💡 Why this matters: This distinction is fundamental for selecting the correct solution method.
2.6 Results from ODE data
A solution of a differential equation f(t, y, y', ..., yⁿ) = 0 is defined over some interval I and has the following properties:
y(t)and its firstnderivatives exist for alltinI.y(t)and its firstn-1derivatives are continuous inI.y(t)satisfies the differential equation for alltinI.
Key terms include:
- General Solution: Represents all solutions to the differential equation for all arbitrary constants.
- Particular Solution: Contains no arbitrary constants.
- Initial Condition: A condition that specifies the value of the solution at a specific point.
- Boundary Condition: A condition specified at the boundaries of the domain.
- Initial Value Problem (IVP): A differential equation together with initial conditions.
- Boundary Value Problem (BVP): A differential equation together with boundary conditions.
2.7 BVP Examples
Examples of Boundary Value Problems include:
y'' + 9y = sin(t)with boundary conditionsy(0) = 1, y'(2π) = -1. The solution isy(t) = (1/8) sin(t) + cos(3t) + sin(3t).y'' + π²y = 0with boundary conditionsy(0) = 2, y(1) = -2. The solution isy(t) = 2cos(πt) + (c)sin(πt).
2.8 Properties of ODE’s
A differential equation is linear if it can be written in the form a_n(t)yⁿ + a_{n-1}(t)y^{n-1} + ... + a_1(t)y' + a_0(t)y = h(t). It is nonlinear if it cannot be written in this form. An example of a nonlinear equation is x³(y''')³ - x²y(y'')² + 3xy' + 5y = eˣ.
2.9 Superposition
The superposition principle allows us to decompose a problem into smaller, simpler parts and then combine their solutions to find a solution to the original problem. This principle applies to linear homogeneous differential equations.
2.10 Explicit Solution
An explicit solution of a differential equation can be written in the form y = f(x). For example, y = xeˣ is an explicit solution of d²y/dx² - 2 dy/dx + y = 0.
2.11 Implicit Solution
An implicit solution is a relation G(x, y) = 0 that defines one or more explicit solutions on an interval I. For example, x² + y² - 4 = 0 is an implicit solution of y' = -x/y because it defines two explicit solutions: y = +√(4 - x²) and y = -√(4 - x²).
💡 Why this matters: Implicit solutions are common because solving for y explicitly is often difficult or impossible.
3 Separable Equations
A differential equation of the form dy/dx = f(x, y) is called separable if it can be written as dy/dx = h(x)g(y).
3.1 Solution steps of Separable Equations
To solve a separable equation, perform the following steps:
- Solve
g(y) = 0to find any constant solutions. - For non-constant solutions, write the equation as
dy / g(y) = h(x)dx. Integrate both sides:∫ dy / g(y) = ∫ h(x)dx. This yields a solution of the formG(y) = H(x) + C. - List all constant and non-constant solutions to avoid repetition.
- If given an IVP, use the initial condition to find the particular solution.
Note: Only one constant of integration is needed, as C₁ - C₂ = C. The constant may be relabeled.
Example 1: Find the particular solution of dy/dx = (y² - 1)/x, y(1) = 2.
- Constant solutions are found by solving
y² - 1 = 0→y = ±1. - Separate variables:
dy / (y² - 1) = dx / x. Integrate using partial fractions:(1/2) [1/(y-1) - 1/(y+1)] dy = dx / x. - Integrating gives
(1/2) ln |(y-1)/(y+1)| = ln |x| + C. - Using the initial condition
y(1) = 2:(1/2) ln(1/3) = C. The explicit solution isy = (3 + x²) / (3 - x²).
Example 2: Solve dy/dt = 1 + 1/y².
- No constant solutions exist because
1 + 1/y² = 0has no real roots. - Separate variables:
dy / (1 + 1/y²) = dt. Sincedy / (1 + 1/y²) = y - tan⁻¹(y), the implicit solution isy - tan⁻¹(y) = t + C.
Example 3: Solve the IVP dy/dt = 1 + t² + y² + t²y², y(0) = 1.
- The equation is separable:
dy/dt = (1 + t²)(1 + y²). No constant solutions because1 + y² = 0has no real roots. - Separate variables:
dy / (1 + y²) = (1 + t²) dt. Integrate:tan⁻¹(y) = t + t³/3 + C. - The explicit solution is
y = tan(t + t³/3 + C). - Using the initial condition
y(0) = 1:C = tan⁻¹(1) = π/4. The particular solution isy = tan(t + t³/3 + π/4).
Example 4: Solve (1 + x) dy - y dx = 0.
- The only constant solution is
y = 0. - Separate variables:
dy / y = dx / (1 + x). Integrate:ln |y| = ln |1 + x| + c₁. This simplifies toy = C(1 + x), whereC = ±eᶜ¹. - All solutions are
y = C(1 + x)andy = 0.
Example 5: Solve xy⁴ dx + (y² + 2) e⁻³ˣ dy = 0.
- The constant solution is
y = 0. - Separate variables:
xe³ˣ dx + (y⁻² + 2y⁻⁴) dy = 0. Integrate, using integration by parts on the first term, to get(1/3)xe³ˣ - (1/9)e³ˣ - y⁻¹ - (2/3)y⁻³ = c₁. This simplifies toe³ˣ(3x - 1)/9 = y⁻¹ + 2/(3y³) + c. - All solutions are
e³ˣ(3x - 1)/9 = y⁻¹ + 2/(3y³) + candy = 0.
Example 6: Solve the IVPs dy/dx = (y - 1)², y(0) = 1 and dy/dx = (y - 1)², y(0) = 1.01, and compare.
- The constant solution is
y = 1. - Separate variables:
dy / (y - 1)² = dx. Integrate:-1/(y - 1) = x + c. The general solution isy = 1 - 1/(x + c). - For
y(0) = 1:- Plugging in yields
-1/0 = c, socis infinite. Thus, the particular solution is the constant solutiony = 1.
- Plugging in yields
- For
y(0) = 1.01:- Plugging in yields
-1/0.01 = c→c = -100. Thus, the particular solution isy = 1 - 1/(x - 100). 💡 Why this matters: The first IVP is unstable; a small change in the initial condition leads to a drastically different, blow-up solution.
- Plugging in yields
⭐ Key Takeaways
The order of a differential equation is the highest derivative it contains, while its type (ODE vs. PDE) depends on the kind of derivative used. Solutions can be general (with constants) or particular (no constants), and explicit (solved for the dependent variable) or implicit (defined by a relation). Separable equations are solved by isolating variables and integrating each side, but always check for constant solutions, as they can be lost during the separation process.
🧠 Quick Revision Questions
- What is the order of the equation
(y''')² + 2y' - y = 0? - Is the equation
x³y''' + x²y'' - xy' + y = 0linear or nonlinear? - Explain the difference between an explicit solution and an implicit solution.
- What are the two key steps (constant and non-constant) for solving a separable differential equation?
- For the equation
dy/dx = y² - 1, identify all constant solutions before attempting to solve for non-constant solutions.