All Study Guides AP Calculus AB/BC Unit 7
♾️ AP Calculus AB/BC Unit 7 – Differential EquationsDifferential equations are mathematical models that describe how systems change over time. They're essential in physics, engineering, and biology, relating functions to their derivatives. This unit covers various types of differential equations and methods to solve them.
You'll learn about first-order equations, higher-order equations, and systems of equations. The unit also explores applications in population growth, radioactive decay, and mechanical vibrations. Understanding these concepts is crucial for modeling real-world phenomena and solving complex problems.
What are Differential Equations?
Equations that involve derivatives of an unknown function
Relate a function to its derivatives
Describe how a system changes over time
Used to model real-world phenomena in various fields (physics, engineering, economics, biology)
Classified based on order, linearity, and number of variables
Order determined by the highest derivative present
Linear equations have the unknown function and its derivatives appear linearly
Ordinary differential equations (ODEs) involve a single independent variable
Partial differential equations (PDEs) involve multiple independent variables
Types of Differential Equations
First-order differential equations
Involve only the first derivative of the unknown function
Examples: d y d x = f ( x , y ) \frac{dy}{dx} = f(x, y) d x d y = f ( x , y ) , y ′ + P ( x ) y = Q ( x ) y' + P(x)y = Q(x) y ′ + P ( x ) y = Q ( x )
Higher-order differential equations
Involve derivatives of order two or higher
Example: d 2 y d x 2 + a d y d x + b y = f ( x ) \frac{d^2y}{dx^2} + a\frac{dy}{dx} + by = f(x) d x 2 d 2 y + a d x d y + b y = f ( x )
Linear differential equations
Unknown function and its derivatives appear linearly
Can be homogeneous or non-homogeneous
Homogeneous: right-hand side is zero
Non-homogeneous: right-hand side is a non-zero function
Nonlinear differential equations
Unknown function or its derivatives appear in a nonlinear manner
Example: d y d x = y 2 + sin ( x ) \frac{dy}{dx} = y^2 + \sin(x) d x d y = y 2 + sin ( x )
Ordinary differential equations (ODEs)
Involve a single independent variable
Example: d 2 x d t 2 + k x = 0 \frac{d^2x}{dt^2} + kx = 0 d t 2 d 2 x + k x = 0
Partial differential equations (PDEs)
Involve multiple independent variables
Example: ∂ 2 u ∂ x 2 + ∂ 2 u ∂ y 2 = 0 \frac{\partial^2u}{\partial x^2} + \frac{\partial^2u}{\partial y^2} = 0 ∂ x 2 ∂ 2 u + ∂ y 2 ∂ 2 u = 0 (Laplace's equation)
Solving First-Order Differential Equations
Separation of variables
Applicable when the equation can be written as d y d x = f ( x ) g ( y ) \frac{dy}{dx} = f(x)g(y) d x d y = f ( x ) g ( y )
Separate variables and integrate both sides
Integrating factor method
Used for linear first-order equations of the form d y d x + P ( x ) y = Q ( x ) \frac{dy}{dx} + P(x)y = Q(x) d x d y + P ( x ) y = Q ( x )
Multiply both sides by an integrating factor to make the left-hand side a total derivative
Exact equations
Equation of the form M ( x , y ) d x + N ( x , y ) d y = 0 M(x, y)dx + N(x, y)dy = 0 M ( x , y ) d x + N ( x , y ) d y = 0
Condition for exactness: ∂ M ∂ y = ∂ N ∂ x \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} ∂ y ∂ M = ∂ x ∂ N
Solve by finding a potential function ϕ ( x , y ) \phi(x, y) ϕ ( x , y ) such that ∂ ϕ ∂ x = M \frac{\partial \phi}{\partial x} = M ∂ x ∂ ϕ = M and ∂ ϕ ∂ y = N \frac{\partial \phi}{\partial y} = N ∂ y ∂ ϕ = N
Bernoulli equations
Nonlinear equations of the form d y d x + P ( x ) y = Q ( x ) y n \frac{dy}{dx} + P(x)y = Q(x)y^n d x d y + P ( x ) y = Q ( x ) y n
Substitute z = y 1 − n z = y^{1-n} z = y 1 − n to transform into a linear equation
Homogeneous equations
Equation of the form d y d x = f ( y x ) \frac{dy}{dx} = f(\frac{y}{x}) d x d y = f ( x y )
Substitute u = y x u = \frac{y}{x} u = x y to reduce the order of the equation
Applications of Differential Equations
Population growth models
Exponential growth: d P d t = k P \frac{dP}{dt} = kP d t d P = k P
Logistic growth: d P d t = k P ( 1 − P K ) \frac{dP}{dt} = kP(1 - \frac{P}{K}) d t d P = k P ( 1 − K P )
Radioactive decay
First-order decay: d N d t = − λ N \frac{dN}{dt} = -\lambda N d t d N = − λ N
Half-life: t 1 / 2 = ln ( 2 ) λ t_{1/2} = \frac{\ln(2)}{\lambda} t 1/2 = λ l n ( 2 )
Cooling and heating problems
Newton's law of cooling: d T d t = − k ( T − T a ) \frac{dT}{dt} = -k(T - T_a) d t d T = − k ( T − T a )
Mechanical vibrations
Mass-spring system: m d 2 x d t 2 + k x = 0 m\frac{d^2x}{dt^2} + kx = 0 m d t 2 d 2 x + k x = 0
Damped oscillations: m d 2 x d t 2 + c d x d t + k x = 0 m\frac{d^2x}{dt^2} + c\frac{dx}{dt} + kx = 0 m d t 2 d 2 x + c d t d x + k x = 0
Electrical circuits
RC circuit: R C d V d t + V = V 0 RC\frac{dV}{dt} + V = V_0 RC d t d V + V = V 0
RLC circuit: L d 2 I d t 2 + R d I d t + 1 C I = 0 L\frac{d^2I}{dt^2} + R\frac{dI}{dt} + \frac{1}{C}I = 0 L d t 2 d 2 I + R d t d I + C 1 I = 0
Fluid dynamics
Torricelli's law: d V d t = − A 2 g h \frac{dV}{dt} = -A\sqrt{2gh} d t d V = − A 2 g h
Higher-Order Differential Equations
Linear equations with constant coefficients
Characteristic equation: a r 2 + b r + c = 0 ar^2 + br + c = 0 a r 2 + b r + c = 0 for a y ′ ′ + b y ′ + c y = 0 ay'' + by' + cy = 0 a y ′′ + b y ′ + cy = 0
Solutions based on roots of the characteristic equation
Distinct real roots: y = c 1 e r 1 x + c 2 e r 2 x y = c_1e^{r_1x} + c_2e^{r_2x} y = c 1 e r 1 x + c 2 e r 2 x
Repeated real roots: y = ( c 1 + c 2 x ) e r x y = (c_1 + c_2x)e^{rx} y = ( c 1 + c 2 x ) e r x
Complex conjugate roots: y = e α x ( c 1 cos ( β x ) + c 2 sin ( β x ) ) y = e^{\alpha x}(c_1\cos(\beta x) + c_2\sin(\beta x)) y = e αx ( c 1 cos ( β x ) + c 2 sin ( β x ))
Non-homogeneous equations
Particular solution: found using undetermined coefficients or variation of parameters
General solution: sum of the complementary solution (homogeneous) and particular solution
Cauchy-Euler equations
Equations of the form a x 2 y ′ ′ + b x y ′ + c y = 0 ax^2y'' + bxy' + cy = 0 a x 2 y ′′ + b x y ′ + cy = 0
Substitute x = e t x = e^t x = e t to transform into a linear equation with constant coefficients
Series solutions
Assume a power series solution: y = ∑ n = 0 ∞ a n x n y = \sum_{n=0}^{\infty} a_nx^n y = ∑ n = 0 ∞ a n x n
Determine the coefficients by substituting the series into the differential equation
Laplace transforms
Transform a differential equation into an algebraic equation
Solve the algebraic equation and apply the inverse Laplace transform to obtain the solution
Systems of Differential Equations
Coupled equations involving multiple unknown functions
Example: predator-prey model (Lotka-Volterra equations)
d x d t = a x − b x y \frac{dx}{dt} = ax - bxy d t d x = a x − b x y
d y d t = c x y − d y \frac{dy}{dt} = cxy - dy d t d y = c x y − d y
Solve by eliminating one variable or using matrix methods
Eigenvalues and eigenvectors for linear systems with constant coefficients
Phase plane analysis
Visualize the behavior of solutions in the xy-plane
Identify equilibrium points and their stability
Linearization
Approximate a nonlinear system near an equilibrium point using a linear system
Determine the stability of the equilibrium point based on the eigenvalues of the linearized system
Numerical Methods for Differential Equations
Euler's method
First-order approximation: y n + 1 = y n + h f ( x n , y n ) y_{n+1} = y_n + hf(x_n, y_n) y n + 1 = y n + h f ( x n , y n )
Improved Euler's method: y n + 1 = y n + h 2 ( f ( x n , y n ) + f ( x n + 1 , y n + h f ( x n , y n ) ) ) y_{n+1} = y_n + \frac{h}{2}(f(x_n, y_n) + f(x_{n+1}, y_n + hf(x_n, y_n))) y n + 1 = y n + 2 h ( f ( x n , y n ) + f ( x n + 1 , y n + h f ( x n , y n )))
Runge-Kutta methods
Higher-order approximations
Fourth-order Runge-Kutta (RK4): y n + 1 = y n + h 6 ( k 1 + 2 k 2 + 2 k 3 + k 4 ) y_{n+1} = y_n + \frac{h}{6}(k_1 + 2k_2 + 2k_3 + k_4) y n + 1 = y n + 6 h ( k 1 + 2 k 2 + 2 k 3 + k 4 )
Multistep methods
Use information from previous steps to approximate the solution
Adams-Bashforth methods: explicit
Adams-Moulton methods: implicit
Stability and convergence
Stability: numerical solution remains bounded as the step size decreases
Convergence: numerical solution approaches the exact solution as the step size decreases
Adaptive step size control
Adjust the step size based on the estimated error to maintain accuracy and efficiency
Key Theorems and Concepts
Existence and uniqueness theorem
Guarantees the existence and uniqueness of a solution to an initial value problem (IVP)
Requires the right-hand side of the differential equation to be continuous and Lipschitz continuous
Picard's iteration
Constructive method to prove the existence and uniqueness of a solution to an IVP
Generates a sequence of functions that converges to the solution
Gronwall's inequality
Estimates the growth of a function satisfying a certain integral inequality
Used to prove the continuous dependence of solutions on initial conditions and parameters
Sturm-Liouville theory
Deals with eigenvalue problems for second-order linear differential equations
Orthogonality of eigenfunctions
Completeness of the set of eigenfunctions
Green's functions
Used to solve non-homogeneous linear differential equations with specified boundary conditions
Represents the impulse response of the system
Lyapunov stability theory
Analyzes the stability of equilibrium points in nonlinear systems
Lyapunov functions: scalar functions that decrease along the trajectories of the system
Poincaré-Bendixson theorem
Classifies the possible behaviors of solutions to planar autonomous systems
Limit cycles, periodic orbits, and chaos