Mathematics: Class 12 (Book 2) — Chapter 3: Differential Equations

9.1 & 9.2 Introduction and Basic Concepts

In calculus, we study how to differentiate a given function $f$ to find its derivative $f'(x)$, as well as how to find a function whose derivative is a given function $g(x)$. This inverse process leads to equations of the form $\frac{dy}{dx} = g(x)$, which are the simplest examples of differential equations.

Core Definitions and Classifications
  • Differential Equation: An equation involving derivative(s) of the dependent variable with respect to independent variable(s) is called a differential equation.
  • Ordinary Differential Equation (ODE): A differential equation involving derivatives of the dependent variable with respect to only one independent variable is called an ordinary differential equation. For example: $$2\frac{d^2y}{dx^2} + \left(\frac{dy}{dx}\right)^3 = 0$$
  • Notation Conventions: We prefer the following shorthand notations for derivatives:
    • First derivative: $\frac{dy}{dx} = y'$
    • Second derivative: $\frac{d^2y}{dx^2} = y''$
    • Third derivative: $\frac{d^3y}{dx^3} = y'''$
    • $n$-th derivative: $\frac{d^ny}{dx^n} = y_n$
Order and Degree of a Differential Equation

The classification of differential equations by order and degree is fundamental to determining their solution methodologies.

  • Order: The order of a differential equation is defined as the order of the highest order derivative of the dependent variable with respect to the independent variable involved in the given differential equation.
  • Degree: The degree of a differential equation is the highest power (positive integral index) of the highest order derivative involved in the equation, provided the differential equation is a polynomial equation in its derivatives. If the equation cannot be expressed as a polynomial in its derivatives (e.g., if a derivative is inside a trigonometric, exponential, or logarithmic function), its degree is not defined.
Differential Equation Highest Order Derivative Polynomial in Derivatives? Order Degree
$$\frac{dy}{dx} = e^x$$ $$\frac{dy}{dx}$$ Yes 1 1
$$\frac{d^2y}{dx^2} + y = 0$$ $$\frac{d^2y}{dx^2}$$ Yes 2 1
$$\left(\frac{d^3y}{dx^3}\right) + x^2\left(\frac{d^2y}{dx^2}\right)^3 = 0$$ $$\frac{d^3y}{dx^3}$$ Yes 3 1
$$\left(\frac{dy}{dx}\right)^2 + \left(\frac{dy}{dx}\right) - \sin^2 y = 0$$ $$\frac{dy}{dx}$$ Yes 1 2
$$\frac{dy}{dx} + \sin\left(\frac{dy}{dx}\right) = 0$$ $$\frac{dy}{dx}$$ No (due to $\sin(y')$) 1 Not Defined

Mathematical Problem Statement: Find the order and degree (if defined) of the differential equation: $$y''' + y^2 + e^{y'} = 0$$


Step-by-Step Algorithmic Solution Trace:

  1. Identify the highest order derivative present in the equation. The term $y'''$ represents the third derivative $\frac{d^3y}{dx^3}$, which is the highest order derivative. Thus, the order is 3.
  2. Examine if the differential equation is a polynomial equation in its derivatives. The term $e^{y'}$ is an exponential function of a derivative, which means the equation cannot be written as a polynomial in terms of $y', y'', y'''$.
  3. Since it is not a polynomial equation in its derivatives, the degree is not defined.

Final Evaluation Output: Order = 3, Degree = Not Defined

9.3 General and Particular Solutions

A solution of a differential equation is a relation between the variables (not involving derivatives) which satisfies the given differential equation.

General vs. Particular Solutions
  • General Solution: The solution of a differential equation which contains as many arbitrary constants as the order of the differential equation is called its general solution (or primitive).
  • Particular Solution: A solution obtained from the general solution by giving particular values to the arbitrary constants is called a particular solution. It contains zero arbitrary constants.

Historical Chronicle: Henri Poincaré (1854-1912)

  • Historical Context & Milestones: Poincaré strongly advocated for the modern terminology of "solutions" over "integrals" of differential equations, which helped standardize mathematical language in the late 19th century.
  • Theoretical Foundations: His work shifted the focus of differential equations from finding explicit closed-form algebraic solutions to qualitative analysis and geometric behavior of solution curves.

Mathematical Problem Statement: Verify that the function $y = e^{-3x}$ is a solution of the differential equation: $$\frac{d^2y}{dx^2} + \frac{dy}{dx} - 6y = 0$$


Step-by-Step Algorithmic Solution Trace:

  1. Find the first derivative of the given function $y = e^{-3x}$ with respect to $x$: $$\frac{dy}{dx} = -3e^{-3x}$$
  2. Find the second derivative by differentiating again: $$\frac{d^2y}{dx^2} = 9e^{-3x}$$
  3. Substitute $y$, $\frac{dy}{dx}$, and $\frac{d^2y}{dx^2}$ into the left-hand side (L.H.S.) of the differential equation: $$\text{L.H.S.} = 9e^{-3x} + (-3e^{-3x}) - 6(e^{-3x})$$
  4. Simplify the expression: $$\text{L.H.S.} = (9 - 3 - 6)e^{-3x} = 0 \cdot e^{-3x} = 0 = \text{R.H.S.}$$

Final Evaluation Output: Since L.H.S. = R.H.S., the function $y = e^{-3x}$ is verified as a solution.

9.4 Methods of Solving First Order, First Degree Differential Equations

We focus on three systematic classes of first-order, first-degree differential equations: variable separable, homogeneous, and linear equations.

9.4.1 Differential Equations with Variables Separable

If a first-order differential equation can be expressed in the form: $$\frac{dy}{dx} = g(x) \cdot h(y)$$ then it is of the variable separable type. We solve it by separating the variables and integrating both sides: $$\int \frac{1}{h(y)} dy = \int g(x) dx + C$$

Mathematical Problem Statement: Find the particular solution of the differential equation $\frac{dy}{dx} = -4xy^2$, given that $y = 1$ when $x = 0$.


Step-by-Step Algorithmic Solution Trace:

  1. Separate the variables $x$ and $y$: $$\frac{1}{y^2} dy = -4x dx$$
  2. Integrate both sides: $$\int y^{-2} dy = -4 \int x dx \implies -\frac{1}{y} = -2x^2 + C$$
  3. Express $y$ explicitly: $$y = \frac{1}{2x^2 - C}$$
  4. Substitute the initial conditions $x = 0, y = 1$ to find the particular constant $C$: $$1 = \frac{1}{2(0)^2 - C} \implies C = -1$$
  5. Substitute $C = -1$ back into the general solution: $$y = \frac{1}{2x^2 + 1}$$

Final Evaluation Output: Particular Solution: $y = \frac{1}{2x^2 + 1}$

9.4.2 Homogeneous Differential Equations

A function $F(x, y)$ is a homogeneous function of degree $n$ if $F(\lambda x, \lambda y) = \lambda^n F(x, y)$ for any non-zero constant $\lambda$. A differential equation of the form $\frac{dy}{dx} = F(x, y)$ is homogeneous if $F(x, y)$ is a homogeneous function of degree zero.

  • Substitution Method: To solve $\frac{dy}{dx} = g\left(\frac{y}{x}\right)$, substitute: $$y = vx \implies \frac{dy}{dx} = v + x\frac{dv}{dx}$$ This transforms the equation into a variable separable form in $v$ and $x$: $$v + x\frac{dv}{dx} = g(v) \implies x\frac{dv}{dx} = g(v) - v \implies \frac{dv}{g(v) - v} = \frac{dx}{x}$$
  • Alternative Form: If the equation is of the form $\frac{dx}{dy} = h\left(\frac{x}{y}\right)$, substitute $x = vy$ to obtain: $$v + y\frac{dv}{dy} = h(v)$$

Mathematical Problem Statement: Show that the differential equation $(x - y)\frac{dy}{dx} = x + 2y$ is homogeneous and solve it.


Step-by-Step Algorithmic Solution Trace:

  1. Rewrite the equation as: $$\frac{dy}{dx} = \frac{x + 2y}{x - y} = F(x, y)$$
  2. Verify homogeneity: $$F(\lambda x, \lambda y) = \frac{\lambda x + 2\lambda y}{\lambda x - \lambda y} = \frac{\lambda(x + 2y)}{\lambda(x - y)} = \lambda^0 F(x, y)$$ Thus, it is homogeneous of degree zero.
  3. Substitute $y = vx$ and $\frac{dy}{dx} = v + x\frac{dv}{dx}$: $$v + x\frac{dv}{dx} = \frac{x + 2vx}{x - vx} = \frac{1 + 2v}{1 - v}$$
  4. Isolate the variable separable terms: $$x\\frac{dv}{dx} = \frac{1 + 2v}{1 - v} - v = \frac{1 + 2v - v + v^2}{1 - v} = \frac{v^2 + v + 1}{1 - v}$$
  5. Separate variables and integrate: $$\int \frac{1 - v}{v^2 + v + 1} dv = \int \frac{dx}{x}$$
  6. Solve the integral on the left by splitting the numerator: $$- \frac{1}{2} \int \frac{2v + 1 - 3}{v^2 + v + 1} dv = \log |x| + C_1$$ $$- \frac{1}{2} \log |v^2 + v + 1| + \frac{3}{\sqrt{3}} \tan^{-1}\left(\frac{2v + 1}{\sqrt{3}}\right) = \log |x| + C_1$$
  7. Substitute $v = \frac{y}{x}$ back and simplify to obtain the general solution: $$\log |x^2 + xy + y^2| = 2\sqrt{3} \tan^{-1}\left(\frac{x + 2y}{\sqrt{3}x}\right) + C$$

Final Evaluation Output: General Solution: $\log |x^2 + xy + y^2| = 2\sqrt{3} \tan^{-1}\left(\frac{x + 2y}{\sqrt{3}x}\right) + C$

9.4.3 Linear Differential Equations

A first-order differential equation is linear if it can be written in one of the following two standard forms:

Type Standard Form Integrating Factor (I.F.) General Solution Formula
Type I $$\frac{dy}{dx} + Py = Q$$
(where $P, Q$ are functions of $x$ only)
$$\text{I.F.} = e^{\int P dx}$$ $$y \cdot (\text{I.F.}) = \int (Q \cdot \text{I.F.}) dx + C$$
Type II $$\frac{dx}{dy} + P_1x = Q_1$$
(where $P_1, Q_1$ are functions of $y$ only)
$$\text{I.F.} = e^{\int P_1 dy}$$ $$x \cdot (\text{I.F.}) = \int (Q_1 \cdot \text{I.F.}) dy + C$$

Mathematical Problem Statement: Find the general solution of the differential equation: $$x\frac{dy}{dx} + 2y = x^2 \quad (x \neq 0)$$


Step-by-Step Algorithmic Solution Trace:

  1. Divide the entire equation by $x$ to convert it to standard linear form: $$\frac{dy}{dx} + \frac{2}{x}y = x$$ Here, $P = \frac{2}{x}$ and $Q = x$.
  2. Calculate the Integrating Factor (I.F.): $$\text{I.F.} = e^{\int P dx} = e^{\int \frac{2}{x} dx} = e^{2\log x} = e^{\log(x^2)} = x^2$$
  3. Write the general solution using the formula: $$y \cdot (\text{I.F.}) = \int (Q \cdot \text{I.F.}) dx + C$$ $$y \cdot x^2 = \int (x \cdot x^2) dx + C$$
  4. Integrate the right-hand side: $$y x^2 = \int x^3 dx + C \implies y x^2 = \frac{x^4}{4} + C$$
  5. Solve for $y$: $$y = \frac{x^2}{4} + Cx^{-2}$$

Final Evaluation Output: General Solution: $y = \frac{x^2}{4} + Cx^{-2}$

Chapter Summary & Historical Epilogue

Differential equations serve as the mathematical language of physical sciences, modeling rates of change across physics, chemistry, biology, and economics.

Historical Chronicle: Gottfried Wilhelm Leibniz (1646-1716)

  • Historical Context & Milestones: The formal birth of differential equations is celebrated as November 11, 1675, when Leibniz first wrote down the integration symbol $\int$ and the identity $\int y dy = \frac{1}{2}y^2$.
  • Theoretical Foundations: Leibniz developed the highly flexible $\frac{dy}{dx}$ notation, which allows treating differentials as separable algebraic entities, facilitating the "separation of variables" method in 1691.