



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Study Notes – For High School and Introductory College Mathematics
1. Introduction to Differential Equations Foundations
What is a Differential Equation? A differential equation is an equation that contains a derivative (a rate of change) of an unknown function. It relates a function to its own rate(s) of change.
Example: dy dx = 3 x^2 is a differential equation, since it contains the derivative dy dx
Dependent and Independent Variables
In dy dx = 3 x^2 : y is dependent, x is independent.
Ordinary vs Partial Differential Equations An Ordinary Differential Equation (ODE) involves derivatives with respect to only one independent variable. A Partial Differential Equation (PDE) involves derivatives with respect to two or more independent variables (partial derivatives). Order and Degree The order is the highest derivative present. The degree is the power of the highest-order derivative, once the equation is written as a polynomial in derivatives.
Examples of order:
dy dx
d^2 y dx^2
dy dx = 0 – order 2, degree 3
Quick Rule Order = highest derivative. Degree = power of that derivative (equa- tion must be a polynomial in derivatives; no roots or fractions of derivatives).
Formation of a Differential Equation A differential equation can be formed from a family of curves by differentiating and eliminating the arbitrary constant(s). Worked Examples Example 1 – Solve a simple first-order equation Solve dy dx = 2 x. Solution: Integrate both sides: y =
Z 2 x dx = x^2 + C. Answer: y = x^2 + C (general solution, C = arbitrary constant). Example 2 – Apply an initial condition Solve dy dx = 3 x^2 − 2, given y( 0 ) = 5. Solution: Integrate: y = x^3 − 2 x + C. Substitute x = 0, y = 5: 5 = 0 − 0 + C ⇒ C = 5. Answer: y = x^3 − 2 x + 5 (particular solution). Example 3 – Form a differential equation Form the differential equation for the family of curves y = Cx^2. Solution: Differentiate: dy dx =^2 Cx. From the original equation,^ C^ =^
y x^2
. Substitute: dy dx =^2 x^ ·^
y x^2
2 y x. Answer: x dy dx = 2 y (the constant C has been eliminated).
ODE vs PDE – Comparison Table
Feature Ordinary DE (ODE) Partial DE (PDE) Independent variables
Only one (e.g. x) Two or more (e.g. x, t)
Derivative type Ordinary derivatives
dy dx
Partial derivatives
∂ u ∂ x
Example dy dx
∂^2 u ∂ x^2 Typical use Population growth, motion, circuits Heat flow, waves, fluid dynamics
2. First-Order Differential Equations Variable Separable Method
General Form of a First-Order Equation
A first-order differential equation can be written as dy dx = f (x, y), relating the derivative of y to x and y itself.
Variable Separable Equations A first-order equation is separable if it can be written so that all y-terms are on one side and all x-terms are on the other:
dy dx =^ g(x)^ h(y)^ =⇒^
dy h(y) =^ g(x)^ dx
Step-by-Step Method
Z (^) dy h(y)
Z g(x) dx.
Worked Examples Example 4 – Basic separation Solve dy dx =^
x y. Solution: Separate: y dy = x dx. Integrate both sides: y^2 2
x^2 2
Multiply by 2: y^2 − x^2 = C, where C = 2 C 1. Answer: y^2 − x^2 = C (general solution). Example 5 – Separation with initial condition Solve dy dx =^
y x , given^ y(^1 ) =^ 2. Solution: Separate: dy y =^
dx x. Integrate: ln^ |y|^ =^ ln^ |x|^ +^ C^1 ⇒^ y^ =^ kx^ (where^ k^ =^ e
Apply y( 1 ) = 2: 2 = k( 1 ) ⇒ k = 2. Answer: y = 2 x (particular solution). Example 6 – Separation leading to arctan Solve dy dx
1 + y^2 1 + x^2
Solution: Separate: dy 1 + y^2 = dx 1 + x^2
. Integrate both sides using the standard integral
Z (^) dx 1 + x^2 = tan−^1 x: tan−^1 y = tan−^1 x + C. Answer: tan−^1 y = tan−^1 x + C. Example 7 – Exponential separable equation Solve dy dx = ex−y.
Solution: Write ex−y^ = ex^ · e−y, so dy dx = ex^ e−y. Separate: ey^ dy = ex^ dx. Integrate: ey^ = ex^ + C. Answer: ey^ = ex^ + C. Method-Selection Guide
If the equation looks like...
Use this method
dy dx = g(x)h(y) (splits into x -part × y -part)
Variable Separable
dy dx
Linear Method (Integrating Factor) – see Page 3
dy dx =^ f
(^) y x
(right side depends only on ratio y/x )
Homogeneous substitution y = vx – see Page 3
4. Second-Order Equations & Applications Constant-Coefficient Equations
Introduction to Second-Order Equations
A second-order linear differential equation with constant coefficients has the form a d^2 y dx^2
am^2 + bm + c = 0 Solve this quadratic for m. The nature of the roots decides the form of the solution.
Type of roots General solution Real, distinct roots m 1 ̸= m 2
y = C 1 em^1 x^ + C 2 em^2 x
Real, repeated root m 1 = m 2 = m
y = (C 1 + C 2 x) emx
Complex roots m = p ± qi
y = epx^
C 1 cos qx + C 2 sin qx
Worked Examples Example 12 – Real, distinct roots Solve d^2 y dx^2
dy dx
dy dx +^4 y^ =^ 0. Solution: Auxiliary equation: m^2 − 4 m + 4 = 0 ⇒ (m − 2 )^2 = 0 ⇒ m = 2 (repeated). Answer: y = (C 1 + C 2 x)e^2 x. Example 14 – Exponential growth/decay application A radioactive substance starts with N 0 = 100 g and decays following dN dt =^ −kN. If the half-life is 10 years, find the amount left after 20 years. Solution: Solving the separable equation gives N = N 0 e−kt. At t = 10, N = 50: 50 = 100 e−^10 k^ ⇒ e−^10 k^ = 12 ⇒ k = ln 2 10
At t = 20: N = 100 e−^20 k^ = 100
e−^10 k
1 2
Answer: N( 20 ) = 25 g. Example 15 – Simple harmonic motion A particle moves so that d^2 x dt^2 = − 9 x, with x( 0 ) = 0 and x′( 0 ) = 3. Find x(t). Solution: Auxiliary equation: m^2 + 9 = 0 ⇒ m = ± 3 i (complex, p = 0, q = 3). General solution: x = C 1 cos 3t + C 2 sin 3t. Apply x( 0 ) = 0: C 1 = 0. Differentiate: x′^ = 3 C 2 cos 3t. Apply x′( 0 ) = 3: 3C 2 = 3 ⇒ C 2 = 1. Answer: x(t) = sin 3t.
Common Student Mistakes
Exam Tips
5. Formula Sheet & Quick Revision Everything in One Place
Order and Degree Rules
R (^) P dx .
Z Q · IF dx + C.
Complete Formula Sheet Separable:
R (^) dy h(y) =^
R g(x)dx Linear IF: IF = e
R (^) P dx
Linear solution: y · IF =
R Q · IF dx + C Homogeneous sub: y = vx Auxiliary eqn: am^2 + bm + c = 0 Growth/decay: P = P 0 ekt General vs Particular Solution General: has arbitrary constant(s) C; family of curves. Particular: specific curve using given condition(s). Problem-Solving Checklist
d^2 y dx^2
2
(^2) y dx^2 − 3 dy dx
2 y , given^ y(^0 ) =^ 2.
Answer Key: 1) y = 3 x 2) y = 2 + Ce−^2 x^ 3) Order 2, Degree 2 4) y = C 1 ex^ + C 2 e^2 x^ 5) y^2 = 2 x
3 3 +^4 6)^ k^ =^
ln 2 5 Quick Revision Summary & Exam Reminders A differential equation links a function to its derivative(s). First check if it is separable (split x and y), linear (use integrating factor e
R (^) Pdx ), or homogeneous (substitute y = vx). For constant-coefficient second-order equations, solve the auxiliary equation am^2 + bm + c = 0 and match the root type to the correct solution form. Always add the constant C after integrating, and apply initial conditions last. Double-check every answer by differentiating it back into the original equation before finalizing.