Docsity

Differential Equations: Concepts, Methods & Solved Examples – Study Notes, Summaries of Mathematics

Toggle sidebar
bg1
Differential Equations
Concepts, Methods & Solved Examples
Study Notes –For High School and Introductory College Mathematics
1. Introduction to Differential Equations Foundations
What is a Differential Equation?
Adifferential 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 =3x2is a differential equation, since it contains the derivative dy
dx .
Dependent and Independent Variables
• The independent variable is the input variable (often xor t) – it changes freely.
• The dependent variable is the unknown function (often y) – its value depends on the independent variable.
In dy
dx =3x2:yis dependent, xis 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 +2y=x– order 1 (first-order)
•d2y
dx2−5dy
dx +6y=0 – order 2 (second-order)
•d2y
dx23
+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 =2x.
Solution: Integrate both sides: y=Z2x d x =x2+C.
Answer: y=x2+C(general solution, C= arbitrary constant).
Example 2 – Apply an initial condition
Solve dy
dx =3x2−2, given y(0) = 5.
Solution: Integrate: y=x3−2x+C. Substitute x=0, y=5: 5 =0−0+C⇒C=5.
Answer: y=x3−2x+5 (particular solution).
Example 3 – Form a differential equation
Form the differential equation for the family of curves y=Cx2.
Solution: Differentiate: dy
dx =2Cx. From the original equation, C=y
x2. Substitute: dy
dx =2x·y
x2=2y
x.
Answer: xdy
dx =2y(the constant Chas 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 +y=x∂u
∂t=∂2u
∂x2
Typical use Population growth, motion, circuits Heat flow, waves, fluid dynamics
Differential Equations – Study Notes Page 1 of 5
pf3
pf4
pf5

Partial preview of the text

Download Differential Equations: Concepts, Methods & Solved Examples – Study Notes and more Summaries Mathematics in PDF only on Docsity!

Differential Equations

Concepts, Methods & Solved Examples

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

  • The independent variable is the input variable (often x or t) – it changes freely.
  • The dependent variable is the unknown function (often y) – its value depends on the independent variable.

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 + 2 y = x – order 1 (first-order)
  • d^2 y dx^2

dy dx

  • 6 y = 0 – order 2 (second-order)

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

  • y = x ∂ u ∂ t

∂^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

  1. Rewrite the equation so all y-terms (with dy) are on the left and all x-terms (with dx) are on the right.
  2. Integrate both sides separately:

Z (^) dy h(y)

Z g(x) dx.

  1. Add a single constant of integration C (only once, after integrating).
  2. If an initial condition is given, substitute it to find the exact value of C – this gives the particular solution. Without it, you get the general solution. General Solution vs Particular Solution General solution: contains an arbitrary constant C; represents a whole family of curves. Particular solution: one specific curve, found by using a given initial condition (e.g. y(x 0 ) = y 0 ) to fix the value of C.

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

+ C 1.

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

C 1 ).

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

  • Py = Q ( P, Q functions of x only, y appears only to power 1)

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

  • b dy dx
  • cy = 0, where a, b, c are constants and a ̸= 0. Auxiliary (Characteristic) Equation Assume a solution of the form y = emx. Substituting gives the auxiliary equation :

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

  • 6 y = 0. Solution: Auxiliary equation: m^2 − 5 m + 6 = 0 ⇒ (m − 2 )(m − 3 ) = 0 ⇒ m = 2, 3. Answer: y = C 1 e^2 x^ + C 2 e^3 x. Example 13 – Repeated roots Solve d^2 y dx^2

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

  • Forgetting the constant C after integrating.
  • Using the IF formula without first writing the equa- tion in standard form dydx + Py = Q.
  • Mixing up y = vx substitution with linear-equation method.
  • Sign errors when solving the auxiliary equation.
  • Forgetting x multiplies the second term for repeated roots.

Exam Tips

  • Always check your final answer by differentiating it back.
  • Identify the equation type first: separable, linear, or homogeneous.
  • Write the auxiliary equation carefully before solv- ing for m.
  • Apply initial conditions only after finding the gen- eral solution.
  • Keep units consistent in growth/decay and motion problems.

5. Formula Sheet & Quick Revision Everything in One Place

Order and Degree Rules

  • Order = highest derivative appearing.
  • Degree = power of the highest-order derivative (after clearing roots/fractions of derivatives). Separation of Variables – Steps
  1. Write as dy dx = g(x)h(y).
  2. Separate: (^) hdy(y) = g(x) dx.
  3. Integrate both sides; add constant C.
  4. Use initial condition (if given) to find C. Linear First-Order Method
  5. Standard form: dy dx
  • Py = Q.
  1. Find IF = e

R (^) P dx .

  1. y · IF =

Z Q · IF dx + C.

  1. Solve for y; apply initial condition. Second-Order Characteristic Method
  2. Write am^2 + bm + c = 0.
  3. Solve for roots m 1 , m 2.
  4. Distinct real: y = C 1 em^1 x^ + C 2 em^2 x.
  5. Repeated: y = (C 1 + C 2 x)emx.
  6. Complex p ± qi: y = epx^ (C 1 cos qx + C 2 sin qx).

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

  1. Identify the order and type of the equation.
  2. Choose the correct method (separable / linear / auxiliary equation).
  3. Solve step by step; integrate carefully.
  4. Apply any initial conditions.
  5. Check the answer by differentiating it back into the original equation. Key Terms Glossary Order: highest derivative. Degree: power of highest deriva- tive. IF: integrating factor. Auxiliary equation: quadratic from constant-coefficient 2nd-order DEs. ODE/PDE: ordinary/partial differential equation. Practice Questions
  6. Solve dydx = yx , given y( 1 ) = 3.
  7. Solve dy dx
  • 2 y = 4.
  1. Find the order and degree of

 d^2 y dx^2

 2

  • dydx = x.
  1. Solve d

(^2) y dx^2 − 3 dy dx

  • 2 y = 0.
  1. Solve dydx = x

2 y , given^ y(^0 ) =^ 2.

  1. A population grows as dPdt = kP. If P doubles every 5 years, find k (in terms of ln 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.