Differential Equations Intro
Differential Equations: Comprehensive Study Notes
What Is a Differential Equation?
A differential equation (DE) is an equation that involves an unknown function and one or more of its derivatives. The unknown function is typically denoted by y (or u) and depends on an independent variable, often x (or t). The goal is to find the function that satisfies the equation.
Example:
This is a DE because it contains the second derivative of y and the function y itself.
Contrast with an algebraic equation:
An algebraic equation such as x+2=0 has a number as its solution (x=−2). A differential equation has a function as its solution. For y′′+y=0, the solution is a family of functions: y=c1cosx+c2sinx.
Real-world importance:
Differential equations model phenomena in physics (e.g., vibrating springs, waves), chemistry, biology, finance. The Black-Scholes equation (a PDE) models stock option prices and earned its creators a Nobel Prize. This is why entire courses are dedicated to DEs.
Types of Differential Equations
Ordinary Differential Equations (ODEs)
An ordinary differential equation contains ordinary derivatives (derivatives with respect to a single independent variable, as learned in calculus 1).
Example:
This is an ODE because it uses the ordinary derivative dxdy.
Partial Differential Equations (PDEs)
A partial differential equation contains partial derivatives (derivatives with respect to more than one independent variable, typically studied in calculus 3).
Example: Laplace’s equation:
Here, ∂x∂u represents the rate of change of u in the x-direction, and ∂y∂u in the y-direction. PDEs are more advanced; this course focuses primarily on ODEs, though PDEs appear later.
Order of a Differential Equation
The order of a DE is the order of the highest derivative appearing in the equation.
The original function y is considered the zeroth derivative (similar to the constant term in a Taylor series).
Examples:
$$\frac{d^2 y}{dx^2} + x \frac{dy}{dx} = \sin 4x$$
Order: 2 (because of the second derivative).$$\frac{dy}{dx} + 5 = 8e^x$$
Order: 1 (first derivative).$$\frac{d^4 y}{dx^4} + 3y = 1999x$$
Order: 4.
The order is straightforward – it is simply the exponent on the derivative symbol (number of primes or the superscript on d).
Linear vs Nonlinear Differential Equations
A DE is linear in y if it can be written in the form:
an(x)dxndny+an−1(x)dxn−1dn−1y+⋯+a1(x)dxdy+a0(x)y=g(x)with the following two conditions:
y and all its derivatives appear only to the first power (no y2, (y′)2, y, etc.).
The coefficients an(x),an−1(x),…,a0(x) are pure functions of x – they cannot contain y or any of its derivatives.
If either condition is violated, the DE is nonlinear.
Examples – determine order and linearity:
Differential Equation | Order | Linear? | Reason |
|---|---|---|---|
y′′+3xy′+x3y=0 | 2 | Linear | y and y′ are to first power; coefficients 3x and x3 are pure functions of x. |
y′′′+3yy′′+y=ex | 3 | Nonlinear | The term 3yy′′ has a product of y and y′′; y appears in the coefficient, violating condition 2. |
x2dxdy+y=7 | 1 | Linear | Coefficient x2 is a pure function of x; y and y′ are to first power. |
dxd(4xdxdy)+y=x after simplifying → 4xy′′+4y′+y=x | 2 | Linear | After expanding, all coefficients are functions of x only. |
(dxdy)2+xy=ex | 1 | Nonlinear | Derivative is squared, violating the first-power condition. |
x2dxdy+cos(x+y)y=17 | 1 | Nonlinear | cos(x+y) is not a pure function of x – it depends on y as well. |
xy′′+yy′=0 | 2 | Nonlinear | y appears as a coefficient of y′ (product). |
Nonlinear DEs are generally much harder to solve and often require approximation methods or series solutions.
Solutions to Differential Equations
Families of Solutions
When solving a DE, the result usually contains one or more arbitrary constants (from integration). These constants form a family of solutions.
One-parameter family: y=3x2+C (one arbitrary constant C).
Two-parameter family: y=c1e2x+c2e4x (two constants c1,c2).
n-parameter family: n constants.
The term family is used mathematically like set – it’s a collection of all solutions parameterized by the constants.
Particular Solution
A particular solution is obtained by choosing specific values for the arbitrary constants. It contains no arbitrary constants. This is often done by using initial conditions (see Initial Value Problems below).
Trivial Solution
The trivial solution is y=0. It often satisfies a DE and is important because it can be a “hidden” solution.
Explicit vs Implicit Solutions
Explicit solution: y is written directly in terms of x (e.g., y=ex).
Implicit solution: y is defined implicitly by an equation involving x and y (e.g., ln(x+y)=ey+x2+C). Explicit solutions are “solved for y”.
When a question asks for an explicit solution, you must solve for y explicitly.
Singular Solution
A singular solution is a solution that cannot be obtained by choosing any value of the arbitrary constant(s) from the general family. Singular solutions usually arise in nonlinear DEs. Often, the singular solution is y=0, but not always.
General Solution
If all solutions of a DE can be obtained by choosing values of the arbitrary constants (i.e., no singular solutions exist), the family is called the general solution. Linear DEs always have a general solution (proved later in the course).
Interval of Definition
The interval of definition of a solution is the largest interval (in x) over which the solution is defined and valid.
Key: The domain of the function may consist of multiple disconnected intervals (e.g., y=1/x has domain (−∞,0)∪(0,∞)). But an interval must be connected – any two points in the interval must have all numbers between them also in the interval. Therefore, for y=1/x, the domain is not an interval; the largest intervals are (−∞,0) and (0,∞).
When an initial condition is given, the interval of definition is the largest interval that contains the x-value of the initial condition. Without an initial condition, you may choose either of the maximal intervals.
Initial Value Problems (IVPs)
An initial value problem consists of:
A differential equation (order n).
n initial conditions of the form y(x0)=y0, y′(x0)=y1, … (value of function and derivatives at a specific x0).
For a first-order DE, the IVP is:
The initial condition picks a particular solution from the family – the one that passes through the point (x0,y0). The interval of definition is then determined by that particular solution’s natural domain, restricted to the largest interval containing x0.
Worked Examples
Example 1: Verify a Solution and Find Interval of Definition
DE: xy′+y=0
Proposed solution: y=x1
Show it is a solution:
Compute y′: y=x−1⇒y′=−x−2=−x21.
Plug into DE: x(−x21)+x1=−x1+x1=0.
Verified.
Interval of definition:
The function y=1/x is defined for all x=0. Its domain is (−∞,0)∪(0,∞), but that is not a single interval. The largest intervals are (−∞,0) and (0,∞). Either one is a valid interval of definition if no initial condition is given. (If an initial condition like y(1)=1 is given, the interval would be (0,∞) because x=1 lies there.)
Example 2: One-Parameter Family, Initial Condition, Interval
DE: y′+2xy2=0 (nonlinear)
One-parameter family: y=x2+C1
Initial condition: y(0)=−1
Find C:
Substitute x=0, y=−1:
Particular solution:
Find interval of definition:
The function y=1/(x2−1) has vertical asymptotes at x=±1 (where denominator zero). Its graph passes through (0,−1), which lies between x=−1 and x=1. Therefore, the largest interval containing x=0 where the solution is defined is (−1,1).
Alternative initial condition: y(2)=31
Same particular solution y=1/(x2−1). Since x=2 is to the right of x=1, the interval of definition is (1,∞).
Example 3: Singular Solution and Interval
DE: y′+2xy2=0 (same as above)
One-parameter family: y=x2+C1
Initial condition: y(5)=0
Attempt to find C:
No value of C yields y=0. However, y=0 is a solution (check: 0′+2x⋅02=0). This is a singular solution – it cannot be obtained from the family.
Since y=0 is defined for all x, and the initial condition y(5)=0 is satisfied, the solution to the IVP is y=0. Its interval of definition is (−∞,∞) (all real numbers). This example shows the importance of checking for singular solutions when an initial condition leads to a contradiction with the family.
Summary of Key Definitions
Term | Definition |
|---|---|
Differential Equation | Equation containing unknown function and its derivatives. |
Order | Highest derivative present. |
Linear DE | y and its derivatives appear only to the first power; coefficients are pure functions of x. |
Nonlinear DE | Fails either condition for linearity. |
Family of Solutions | Set of solutions parameterized by arbitrary constants. |
Particular Solution | Solution with specific constants (no arbitrary parameters). |
Trivial Solution | y=0. |
Singular Solution | Solution not obtainable from the general family. |
General Solution | Family containing all solutions (no singular solutions). |
Explicit Solution | y solved for explicitly in terms of x. |
Implicit Solution | y defined implicitly by an equation. |
Initial Value Problem (IVP) | DE plus initial condition(s) that pick a particular solution. |
Interval of Definition | Largest connected interval where the solution is defined (containing the initial point if given). |
These foundational concepts are essential for the entire course, as they appear in every chapter and on every exam.

Ask anything
We've read this whole study set, so questions about it get the best answers.