Differential Equations: Study Guide and Solution and Theory Guide

CLASSIFICATION AND DEFINITIONS OF DIFFERENTIAL EQUATIONS

General Definition

An equation involving derivatives is known as a Differential Equation (D.E.). These equations describe the rate of change of quantities in various physical and mathematical contexts.

Types of Differential Equations

Differential equations are categorized into two primary types based on the nature of the derivatives involved:

  • Ordinary Differential Equations (ODE): These involve derivatives with respect to a single independent variable. Reference example: d2ydx2+dydx+9=0\frac{d^2y}{dx^2} + \frac{dy}{dx} + 9 = 0.

  • Partial Differential Equations (PDE): These involve derivatives with respect to two or more independent variables. Example: ∂z∂x+∂z∂y=5\frac{\partial z}{\partial x} + \frac{\partial z}{\partial y} = 5, where z=f(x,y)z = f(x, y).

ORDER AND DEGREE OF DIFFERENTIAL EQUATIONS

Definitions

  • Order: The order of a differential equation is defined as the highest order derivative present in the equation.

  • Degree: The degree of a differential equation is the power of the highest order derivative, provided the equation is in polynomial form regarding derivatives.

Example Analysis

Consider the equation: (d2ydx2)3(d3ydx3)+7dydx=56\left(\frac{d^2y}{dx^2}\right)^3 \left(\frac{d^3y}{dx^3}\right) + 7\frac{dy}{dx} = 56

  • Order: 33 (determined by d3ydx3\frac{d^3y}{dx^3}).

  • Degree: 11 (determined by the power of the third-order derivative).

Other examples of successive derivatives:

  • y=x5y = x^5

  • dydx=5x4\frac{dy}{dx} = 5x^4

  • d2ydx2=20x3\frac{d^2y}{dx^2} = 20x^3

  • d3ydx3=60x2\frac{d^3y}{dx^3} = 60x^2

  • d4ydx4=120x\frac{d^4y}{dx^4} = 120x

SOLUTIONS OF DIFFERENTIAL EQUATIONS

Solutions and Domains

A solution to a differential equation on an interval II is a function ff that is differentiable and satisfies the equation when substituted.

  • The solution is typically denoted as y=ϕ(x)y = \phi(x).

  • The domain and codomain of ff are real: f:R→Rf: R \rightarrow R.

Formal vs. Real Solutions

Sometimes an expression appears to be a solution but fails upon deeper inspection.

  • Example Analysis: 1+ydxdydx=01 + \frac{y}{dx} \frac{dy}{dx} = 0 leading to x2+y2+25=0x^2 + y^2 + 25 = 0.

    • Evaluating the derivative: 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0 results in dydx=−xy\frac{dy}{dx} = -\frac{x}{y}.

    • However, solving for yy gives y=±−25−x2y = \pm \sqrt{-25 - x^2}.

    • For any real number xx, this expression results in an imaginary number for yy. Therefore, it is a formal solution only and is not satisfied in the real domain.

Families of Solutions and Integral Curves

  • One-parameter Family: y=f(x,c)y = f(x, c). This represents an infinite set of curves depending on the constant cc. These are often termed Integral Curves.

  • Specific Solution Example: y=x2y = x^2 is a solution to dydx=2x\frac{dy}{dx} = 2x. The general solution is y=x2+cy = x^2 + c.

EXACT DIFFERENTIAL EQUATIONS

Definition

A differential equation of the first order in the form M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy = 0 is said to be exact if there exists a function F(x,y)F(x, y) such that: ∂F∂x=Mand∂F∂y=N\frac{\partial F}{\partial x} = M \quad \text{and} \quad \frac{\partial F}{\partial y} = N If the equation is exact, its solution is given by F(x,y)=cF(x, y) = c.

Theorem 2.1: The Necessary and Sufficient Condition

Consider the D.E. M(x,y)dx+N(x,y)dy=0M(x, y)dx + N(x, y)dy = 0 where MM and NN have continuous first partial derivatives at all points (x,y)(x, y) in a rectangular domain DD.

  • Necessary Condition: If the D.E. is exact in DD, then ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}.

  • Sufficient Condition: Conversely, if ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x} for all (x,y)∈D(x, y) \in D, then the D.E. is exact in DD.

Proof Framework (Clairaut's / Young's Theorem)

If the partial derivatives ∂M∂y\frac{\partial M}{\partial y} and ∂N∂x\frac{\partial N}{\partial x} are continuous, then the mixed partials must be equal: ∂M∂y=∂2F∂y∂x=∂2F∂x∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial^2 F}{\partial y \partial x} = \frac{\partial^2 F}{\partial x \partial y} = \frac{\partial N}{\partial x}

Procedure for Solving Exact Equations

  1. Verify exactness by checking if ∂M∂y=∂N∂x\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}.

  2. Integrate MM with respect to xx while treating yy as a constant: F(x,y)=∫Mdx+ϕ(y)F(x, y) = \int M dx + \phi(y).

  3. Differentiate this result with respect to yy and set it equal to NN: ∂F∂y=∂∂y[∫Mdx]+ϕ′(y)=N\frac{\partial F}{\partial y} = \frac{\partial}{\partial y} \left[ \int M dx \right] + \phi'(y) = N.

  4. Solve for ϕ′(y)\phi'(y), which must be a function of yy only (free of xx).

  5. Integrate ϕ′(y)\phi'(y) to find ϕ(y)\phi(y).

  6. Write the final solution as F(x,y)=cF(x, y) = c.

Example: Solving (3x2+4xy)dx+(2x2+2y)dy=0(3x^2 + 4xy)dx + (2x^2 + 2y)dy = 0

  1. Identify M=3x2+4xyM = 3x^2 + 4xy and N=2x2+2yN = 2x^2 + 2y.

  2. Check exactness: ∂M∂y=4x\frac{\partial M}{\partial y} = 4x, ∂N∂x=4x\frac{\partial N}{\partial x} = 4x. Condition met.

  3. Integrate MM: F(x,y)=∫(3x2+4xy)dx+ϕ(y)=x3+2yx2+ϕ(y)F(x, y) = \int (3x^2 + 4xy) dx + \phi(y) = x^3 + 2yx^2 + \phi(y).

  4. Differentiate with respect to yy and equate to NN: ∂F∂y=2x2+ϕ′(y)=2x2+2y\frac{\partial F}{\partial y} = 2x^2 + \phi'(y) = 2x^2 + 2y ϕ′(y)=2y\phi'(y) = 2y

  5. Integrate ϕ′(y)\phi'(y): ϕ(y)=y2+c1\phi(y) = y^2 + c_1.

  6. Complete solution: x3+2x2y+y2=cx^3 + 2x^2y + y^2 = c.

SEPARABLE DIFFERENTIAL EQUATIONS

General Form

A separable equation is an equation of the form: F(x)g(y)dx+f(x)G(y)dy=0F(x)g(y)dx + f(x)G(y)dy = 0. This can be rearranged into a form where each variable is grouped with its respective differential: F(x)f(x)dx+G(y)g(y)dy=0\frac{F(x)}{f(x)}dx + \frac{G(y)}{g(y)}dy = 0

Example: (x−4)y4dx−x3(y2−3)dy=0(x - 4)y^4 dx - x^3(y^2 - 3)dy = 0

  1. Separate variables: x−4x3dx=y2−3y4dy\frac{x - 4}{x^3} dx = \frac{y^2 - 3}{y^4} dy

  2. Simplify terms: (x−2−4x−3)dx=(y−2−3y−4)dy(x^{-2} - 4x^{-3}) dx = (y^{-2} - 3y^{-4}) dy

  3. Integrate both sides: ∫(x−2−4x−3)dx=∫(y−2−3y−4)dy\int (x^{-2} - 4x^{-3}) dx = \int (y^{-2} - 3y^{-4}) dy −x−1+2x−2=−y−1+y−3+c-x^{-1} + 2x^{-2} = -y^{-1} + y^{-3} + c 2x2−1x=1y3−1y+c\frac{2}{x^2} - \frac{1}{x} = \frac{1}{y^3} - \frac{1}{y} + c

HOMOGENEOUS DIFFERENTIAL EQUATIONS

Definition

A first-order D.E. Mdx+Ndy=0Mdx + Ndy = 0 is homogeneous if there exists a function gg such that dydx\frac{dy}{dx} can be expressed in the form g(yx)g\left(\frac{y}{x}\right). Alternatively, both M(x,y)M(x, y) and N(x,y)N(x, y) are homogeneous functions of the same degree.

Substitution Method

To solve, substitute y=uxy = ux. Then, the derivative becomes: dydx=u+xdudx\frac{dy}{dx} = u + x\frac{du}{dx} This substitution transforms the homogeneous equation into a separable equation in terms of uu and xx.

Example: (y+x2+y2)dx−xdy=0(y + \sqrt{x^2 + y^2})dx - xdy = 0

  1. Rewrite as dydx=y+x2+y2x\frac{dy}{dx} = \frac{y + \sqrt{x^2 + y^2}}{x}.

  2. Substitute y=uxy = ux and dydx=u+xdudx\frac{dy}{dx} = u + x\frac{du}{dx}.

  3. u+xdudx=ux+x2+(ux)2x=u+1+u2u + x\frac{du}{dx} = \frac{ux + \sqrt{x^2 + (ux)^2}}{x} = u + \sqrt{1 + u^2}.

  4. xdudx=1+u2→du1+u2=dxxx\frac{du}{dx} = \sqrt{1 + u^2} \rightarrow \frac{du}{\sqrt{1 + u^2}} = \frac{dx}{x}.

  5. Integrate: ln⁡∥u+u2+1∥=ln⁡∥x∥+ln⁡∥c∥→u+u2+1=cx\ln \|u + \sqrt{u^2 + 1}\| = \ln \|x\| + \ln \|c\| \rightarrow u + \sqrt{u^2 + 1} = cx.

  6. Replace u=yxu = \frac{y}{x}: yx+y2x2+1=cx→y+y2+x2=cx2\frac{y}{x} + \sqrt{\frac{y^2}{x^2} + 1} = cx \rightarrow y + \sqrt{y^2 + x^2} = cx^2.

INTEGRATING FACTORS (I.F.)

Definition

If a differential equation Mdx+Ndy=0Mdx + Ndy = 0 is not exact, it can sometimes be made exact by multiplying it by a factor known as an Integrating Factor (I.F.). Typically, we look for an I.F. that is a function of only one variable.

Conditions for finding I.F.

  1. If I.F. is a function of xx only: If 1N(∂M∂y−∂N∂x)=f(x)\frac{1}{N}\left(\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}\right) = f(x), then I.F.=e∫f(x)dxI.F. = e^{\int f(x) dx}.

  2. If I.F. is a function of yy only: If 1M(∂N∂x−∂M∂y)=g(y)\frac{1}{M}\left(\frac{\partial N}{\partial x} - \frac{\partial M}{\partial y}\right) = g(y), then I.F.=e∫g(y)dyI.F. = e^{\int g(y) dy}.

Example Case

For the equation (5xy+4y2+1)dx+(x2+2xy)dy=0(5xy + 4y^2 + 1)dx + (x^2 + 2xy)dy = 0:

  • M=5xy+4y2+1→∂M∂y=5x+8yM = 5xy + 4y^2 + 1 \rightarrow \frac{\partial M}{\partial y} = 5x + 8y

  • N=x2+2xy→∂N∂x=2x+2yN = x^2 + 2xy \rightarrow \frac{\partial N}{\partial x} = 2x + 2y

  • ∂M∂y−∂N∂xN=3x+6yx(x+2y)=3(x+2y)x(x+2y)=3x\frac{\frac{\partial M}{\partial y} - \frac{\partial N}{\partial x}}{N} = \frac{3x + 6y}{x(x + 2y)} = \frac{3(x + 2y)}{x(x + 2y)} = \frac{3}{x}.

  • I.F.=e∫3xdx=e3ln⁡(x)=x3I.F. = e^{\int \frac{3}{x} dx} = e^{3 \ln(x)} = x^3.

LINEAR DIFFERENTIAL EQUATIONS

General Form

A linear differential equation of order nn is expressed as: an(x)dnydxn+an−1(x)dn−1ydxn−1+⋯+a1(x)dydx+a0(x)y=b(x)a_n(x)\frac{d^ny}{dx^n} + a_{n-1}(x)\frac{d^{n-1}y}{dx^{n-1}} + \dots + a_1(x)\frac{dy}{dx} + a_0(x)y = b(x)

First-Order Linear Equations

The standard form is: dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x)

  • Solution Strategy:

    1. Calculate the Integrating Factor: I.F.=e∫P(x)dxI.F. = e^{\int P(x) dx}.

    2. The general solution is then given by: y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+cy \cdot (I.F.) = \int Q(x) \cdot (I.F.) dx + c.

Properties of Linear Equations

  • Linear Combinations: If ff and gg are solutions to a homogeneous linear D.E. (Q(x)=0Q(x)=0), then c1f+c2gc_1f + c_2g is also a solution.

  • Uniqueness: If P(x)P(x) is continuous and a solution satisfies f(x0)=0f(x_0) = 0, then y=0y = 0 is the solution for all xx.

BERNOULLI'S EQUATION

Definition

A Bernoulli equation is a non-linear differential equation of the form: dydx+P(x)y=Q(x)yn\frac{dy}{dx} + P(x)y = Q(x)y^n

Solution via Transformation

  1. Divide by yny^n: y−ndydx+P(x)y1−n=Q(x)y^{-n} \frac{dy}{dx} + P(x)y^{1-n} = Q(x).

  2. Substitute v=y1−nv = y^{1-n}. Then dvdx=(1−n)y−ndydx\frac{dv}{dx} = (1 - n)y^{-n} \frac{dy}{dx}.

  3. This transforms the equation into a linear differential equation in terms of vv: 11−ndvdx+P(x)v=Q(x)→dvdx+(1−n)P(x)v=(1−n)Q(x)\frac{1}{1-n} \frac{dv}{dx} + P(x)v = Q(x) \rightarrow \frac{dv}{dx} + (1 - n)P(x)v = (1 - n)Q(x)

ORTHOGONAL TRAJECTORIES

Definition

An orthogonal trajectory is a curve that intersects every member of a given family of curves at right angles.

Mathematical Criterion

If the slope of the original family of curves is m1=dydxm_1 = \frac{dy}{dx}, then the slope of the orthogonal family must be m2m_2 such that: m1×m2=−1  ⟹  m2=−dxdym_1 \times m_2 = -1 \implies m_2 = -\frac{dx}{dy}

Procedure

  1. Given a family F(x,y,c)=0F(x, y, c) = 0, differentiate to find dydx\frac{dy}{dx}.

  2. Eliminate the constant cc to find the differential equation of the family: dydx=f(x,y)\frac{dy}{dx} = f(x, y).

  3. Replace dydx\frac{dy}{dx} with (−dxdy)\left(-\frac{dx}{dy}\right) to obtain the differential equation of the orthogonal trajectories: dydx=−1f(x,y)\frac{dy}{dx} = -\frac{1}{f(x, y)}.

  4. Solve this new differential equation.

MATHEMATICAL AND INTEGRATION FORMULAE REFERENCE

Standard Integrals

  • ∫axdx=axln⁡(a)+c\int a^x dx = \frac{a^x}{\ln(a)} + c

  • ∫tan⁡(x)dx=ln⁡∥sec⁡(x)∥+c=−ln⁡∥cos⁡(x)∥+c\int \tan(x) dx = \ln\|\sec(x)\| + c = -\ln\|\cos(x)\| + c

  • ∫cot⁡(x)dx=ln⁡∥sin⁡(x)∥+c\int \cot(x) dx = \ln\|\sin(x)\| + c

  • ∫sec⁡(x)dx=ln⁡∥sec⁡(x)+tan⁡(x)∥+c\int \sec(x) dx = \ln\|\sec(x) + \tan(x)\| + c

  • ∫csc⁡(x)dx=ln⁡∥csc⁡(x)−cot⁡(x)∥+c\int \csc(x) dx = \ln\|\csc(x) - \cot(x)\| + c

  • ∫sec⁡2(x)dx=tan⁡(x)+c\int \sec^2(x) dx = \tan(x) + c

  • ∫csc⁡2(x)dx=−cot⁡(x)+c\int \csc^2(x) dx = -\cot(x) + c

  • ∫sec⁡(x)tan⁡(x)dx=sec⁡(x)+c\int \sec(x)\tan(x) dx = \sec(x) + c

  • ∫csc⁡(x)cot⁡(x)dx=−csc⁡(x)+c\int \csc(x)\cot(x) dx = -\csc(x) + c

  • ∫11+x2dx=arctan⁡(x)+c\int \frac{1}{1+x^2} dx = \arctan(x) + c

  • ∫11−x2dx=arcsin⁡(x)+c=−arccos⁡(x)+c\int \frac{1}{\sqrt{1-x^2}} dx = \arcsin(x) + c = -\arccos(x) + c

Square Root Forms

  • ∫1x2−a2dx=ln⁡∥x+x2−a2∥+c\int \frac{1}{\sqrt{x^2 - a^2}} dx = \ln\|x + \sqrt{x^2 - a^2}\| + c

  • ∫1x2+a2dx=ln⁡∥x+x2+a2∥+c\int \frac{1}{\sqrt{x^2 + a^2}} dx = \ln\|x + \sqrt{x^2 + a^2}\| + c

  • ∫1a2+x2dx=1aarctan⁡(xa)+c\int \frac{1}{a^2 + x^2} dx = \frac{1}{a} \arctan\left(\frac{x}{a}\right) + c

  • ∫x2−a2dx=x2x2−a2−a22ln⁡∥x+x2−a2∥+c\int \sqrt{x^2 - a^2} dx = \frac{x}{2}\sqrt{x^2 - a^2} - \frac{a^2}{2}\ln\|x + \sqrt{x^2 - a^2}\| + c

  • ∫x2+a2dx=x2x2+a2+a22ln⁡∥x+x2+a2∥+c\int \sqrt{x^2 + a^2} dx = \frac{x}{2}\sqrt{x^2 + a^2} + \frac{a^2}{2}\ln\|x + \sqrt{x^2 + a^2}\| + c

  • ∫a2−x2dx=x2a2−x2+a22arcsin⁡(xa)+c\int \sqrt{a^2 - x^2} dx = \frac{x}{2}\sqrt{a^2 - x^2} + \frac{a^2}{2} \arcsin\left(\frac{x}{a}\right) + c

Rational Function Forms

  • ∫1x2−a2dx=12aln⁡∥x−ax+a∥+c\int \frac{1}{x^2 - a^2} dx = \frac{1}{2a} \ln\left\|\frac{x-a}{x+a}\right\| + c

  • ∫1a2−x2dx=12aln⁡∥a+xa−x∥+c\int \frac{1}{a^2 - x^2} dx = \frac{1}{2a} \ln\left\|\frac{a+x}{a-x}\right\| + c