BCA TU, Math II – Unit 5: Differential Equations

Differential equations are equations that involve an unknown function and its derivatives. They are essential in modeling growth, decay, motion, population, economics, and many physical systems.


1. Definition of Differential Equation

A differential equation (DE) relates a function with its derivatives.

Example:

\frac{dy}{dx} + y = e^x

Here, y is the unknown function of x.


2. Order and Degree of a Differential Equation

  • Order: Highest derivative present.
  • Degree: Power of the highest derivative (if the DE is polynomial in derivatives).

Example:

\left(\frac{d^2y}{dx^2}\right)^3 + \frac{dy}{dx} = 0

  • Order = 2 (highest derivative is d^2y/dx^2)
  • Degree = 3 (highest derivative raised to power 3)

3. First Order, First Degree Differential Equations

Can be written as:

\frac{dy}{dx} = f(x,y)

General solution involves one arbitrary constant.


4. Differential Equations with Separable Variables

If the DE can be written as:

\frac{dy}{dx} = g(x) h(y)

Then, separate variables:

\int \frac{1}{h(y)} dy = \int g(x) dx

Example:

\frac{dy}{dx} = xy\frac{dy}{y} = x dx

\ln |y| = \frac{x^2}{2} + C \quad \Rightarrow \quad y = C e^{x^2/2}


5. Homogeneous Differential Equations

A first-order DE is homogeneous if:

\frac{dy}{dx} = F\left(\frac{y}{x}\right)

Substitution: y = v x\frac{dy}{dx} = v + x \frac{dv}{dx}

Example:

\frac{dy}{dx} = \frac{x+y}{x}

Put y = vx:

v + x \frac{dv}{dx} = 1 + v \quad \Rightarrow \quad x \frac{dv}{dx} = 1

dv = \frac{dx}{x} \quad \Rightarrow \quad v = \ln x + C

So, y = x (\ln x + C)


6. Exact Differential Equations

A DE of the form:

M(x,y) dx + N(x,y) dy = 0

is exact if:

\frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}

Solution: There exists a function F(x,y) such that:

dF = M dx + N dy

Example:

(2xy + 3) dx + (x^2 + 2y) dy = 0

Check: \frac{\partial M}{\partial y} = 2x, \quad \frac{\partial N}{\partial x} = 2x \quad \Rightarrow \text{Exact}

Integrate M w.r.t x:

F(x,y) = \int (2xy + 3) dx = x^2 y + 3x + h(y)

Differentiate w.r.t y:

\frac{\partial F}{\partial y} = x^2 + h'(y) = x^2 + 2y \quad \Rightarrow h(y) = y^2

Final Solution:

x^2 y + 3x + y^2 = C


Key Takeaways

  1. Order: Highest derivative; Degree: Power of highest derivative.
  2. First-order DEs include separable, homogeneous, and exact equations.
  3. Separable: Separate x and y, integrate both sides.
  4. Homogeneous: Use substitution y = vx.
  5. Exact: Check condition \frac{\partial M}{\partial y} = \frac{\partial N}{\partial x}.
  6. Solutions always include arbitrary constants, representing families of curves.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.