Calculus II
1st and 2nd order ODEs, calculus on curves, differential calculus in Rⁿ, vector functions, multiple integrals, vector fields, Fourier series and transforms. Every topic with step-by-step theory, worked examples and solved exercises.
Complete Theory
7An ordinary differential equation (ODE) is an equation whose unknown is not a number but a function , and which involves its derivatives. "Ordinary" means depends on a single variable (unlike partial differential equations). The order is that of the highest derivative appearing: here we treat the first order, where at most occurs.
The most general form is , but one can almost always solve for the derivative, obtaining the normal form:
How to read it. Think of as the position of a point and as time. The equation gives the slope of the trajectory at every point of the plane: at each a tiny arrow is drawn with slope . Solving the ODE means finding the curves that, instant by instant, follow those arrows. This picture is the direction field.
General and particular solution. Integrating always introduces an arbitrary constant: the general solution of a first-order equation is a family of curves depending on a constant . To pick exactly one we impose an initial condition — geometrically, "make the curve pass through ". Equation plus initial condition is the initial value problem (Cauchy problem).
Checking a solution is always easy and worth doing: differentiate the candidate and substitute it into the equation. If both sides agree, it is a solution — no matter how it was found.
This is the simplest type and the first to try. An equation is separable when the right-hand side factors as a function of alone times a function of alone:
Idea. Write and treat and as quantities to move ("separate") to opposite sides: everything with on the left, everything with on the right. Then integrate each side separately.
The result is generally an implicit relation between and ; solve for when possible.
Mind the constant solutions. Dividing by implicitly assumed . But every value with gives the constant solution : these must be added by hand because separation "loses" them. They are often exactly the equilibrium states of the system.
The fundamental model: . Separating, gives , i.e. . With it is exponential growth (populations, compound interest); with exponential decay (radioactive substances, capacitor discharge, Newton's cooling). The constant is the characteristic time in which the quantity multiplies/divides by .
An equation is first-order linear if and appear only to the first power, with no products or nonlinear functions:
is the forcing term: if the equation is homogeneous (and also separable), otherwise complete.
The integrating-factor trick. We want the left side to be the derivative of a product. Multiply everything by an unknown function : . For the left side to equal , we need , i.e. (separable!) . This is the integrating factor.
With such the equation becomes , integrated directly:
Structure of the solution. It always reads : a part solving the homogeneous equation (the "memory" of the initial conditions, usually a vanishing transient) plus a particular solution forced by the source term (the "steady state"). The same structure recurs in second-order ODEs and electrical circuits.
Physical example: RC circuit. The charge on a capacitor in series with resistance and source obeys , i.e. : first-order linear. The solution shows the charge tending to the steady value with time constant .
The Bernoulli equation has the form
It is nonlinear because of the term, but a substitution turns it linear. (The cases and are already linear or separable, hence excluded.)
The substitution. Divide by : . Set ; then , i.e. . Substituting gives a linear equation in :
Solve it with the integrating factor (§3), then return to via (remembering the possible solution lost in the division).
Where it appears. Logistic growth is a Bernoulli with ; it also shows up in fluid and chemical-reaction models. Bernoulli's value is the general method: "if you see on the right and linear on the left, substitute ".
An equation is homogeneous (of degree zero) if the right-hand side depends only on the ratio , i.e. . This typically happens when is a quotient of polynomials of the same degree.
The substitution. Set , so and . The equation becomes , i.e.
which is separable in and :
Once solved for , return to . Values with give the straight-line solutions (lines through the origin), often geometrically meaningful.
Write the equation in symmetric differential form:
It is exact if the left side is the total differential of a function , i.e. if there is an with and . Then along solutions, so the general solution is simply (level curves of ).
Exactness criterion. Since mixed second partials agree (), a necessary condition — and, on a simply connected domain, sufficient — is:
How to find . Integrate in to get (the "constant" may depend on ); then impose to determine . This is the same procedure as the potential of a conservative field, here in two dimensions.
If not exact. Sometimes an integrating factor makes exact. Two practical cases: if depends only on , then ; if depends only on , then .
Before solving it is worth asking: does a solution exist? Is it unique? The existence and uniqueness theorems answer without computing the solution.
Peano's theorem (existence). If is continuous near , the Cauchy problem , has at least one local solution. Continuity guarantees existence, but not uniqueness.
Picard–Lindelöf theorem (existence and uniqueness). If in addition is Lipschitz in , i.e. there is with
then the local solution is unique. In practice it suffices that be continuous (bounded) near the point: the Lipschitz condition follows.
Why it matters. Uniqueness has a strong physical meaning: if a deterministic system starts in a precise state, its future is determined. When uniqueness fails, several solutions emerge from one initial datum — the system "branches". Classic example: , has both and as solutions, because is not Lipschitz at (the slope blows up).
Global existence. The hypotheses guarantee only a local solution: it may "blow up" in finite time (e.g. , gives , diverging at ). The maximal interval of existence is generally smaller than all of .
Worked Examples
5Exercises with Solutions
8Keep studying
Guided exercises on this topic
Recommended Books
As an Amazon Associate I earn from qualifying purchases.