Unit-I: Basic Concepts and First Order Differential Equations
- 1. Basic Concepts of Differential Equations
- 2. Formation of Differential Equations
- 3. Differential Equations of First Order and First Degree
- 4. Summary of Solving Methods
1. Basic Concepts of Differential Equations
A differential equation is a mathematical equation that relates some function with its derivatives. In physical applications, the functions usually represent physical quantities, the derivatives represent their rates of change, and the equation defines a relationship between the two.
Definition: An equation containing an independent variable, a dependent variable, and one or more derivatives of the dependent variable with respect to the independent variable is called a Differential Equation (D.E.).
1.1 Origin of Differential Equations
Differential equations arise naturally from mathematical modeling of physical, biological, chemical, and economic processes. Whenever a relationship involves a rate of change, it leads to a differential equation.
Real-World Examples:
- Newton's Law of Cooling: The rate of change of temperature T of an object is proportional to the difference between its own temperature and the surrounding temperature Ts:
dT/dt = -k(T - Ts)
- Population Growth Model: The rate of growth of a population P is proportional to the population present at any time t:
dP/dt = kP
- Simple Harmonic Motion (Physics): The motion of an oscillating mass on a spring is described by:
d2x/dt2 + ω2x = 0
1.2 Order and Degree of a Differential Equation
Understanding the order and degree is the first step in classifying and finding methods to solve any differential equation.
Order: The order of a differential equation is the order of the highest-order derivative appearing in the equation.
Degree: The degree of a differential equation is the power of the highest-order derivative, when the equation is written as a rational integral algebraic expression in its derivatives (i.e., after clearing any fractional powers or radicals of the derivatives, and ensuring derivatives do not appear inside transcendental functions like sine, cosine, logarithm, or exponentials).
Important Rule for Finding Degree: The differential equation must be expressible as a polynomial in terms of its derivatives. If the equation cannot be written as a polynomial in its derivatives, the degree is not defined.
Illustrative Examples:
-
Equation: dy/dx + 5y = ex
Highest derivative: dy/dx (first derivative).
Power of highest derivative: 1.
Order = 1, Degree = 1 -
Equation: d2y/dx2 + 3(dy/dx)4 - 5y = 0
Highest derivative: d2y/dx2 (second derivative).
Power of highest derivative: 1.
Order = 2, Degree = 1 (Note: The power 4 is on the first derivative, which does not dictate the degree). -
Equation: [1 + (dy/dx)2]3/2 = k(d2y/dx2)
Step to clear fractional exponent: Square both sides to eliminate the fractional exponent:[1 + (dy/dx)2]3 = k2(d2y/dx2)2
Now, the highest derivative is d2y/dx2 and its power is 2.
Order = 2, Degree = 2 -
Equation: d2y/dx2 + sin(dy/dx) = 0
Here, the derivative dy/dx is inside a trigonometric function. This cannot be expanded as a polynomial of derivatives.
Order = 2, Degree = Not Defined
Common Mistake: Confusing the power of a lower-order derivative with the degree of the entire equation. Always locate the highest derivative first, and look only at its power once the equation is rationalized.
1.3 Linear and Nonlinear Differential Equations
Differential equations are broadly classified based on whether the dependent variable and its derivatives behave linearly.
Linear Differential Equation: A differential equation is called linear if:
- The dependent variable y and all its derivatives are of degree 1.
- No product terms of the dependent variable and its derivatives (e.g., y(dy/dx) or (dy/dx)(d2y/dx2)) are present.
- No transcendental functions (such as sin(y), ey, ln(y)) of the dependent variable exist.
Nonlinear Differential Equation: Any differential equation that does not satisfy all the conditions of linearity is classified as a nonlinear differential equation.
| Equation | Classification | Reason |
|---|---|---|
| d2y/dx2 + 5(dy/dx) + 6y = sin(x) | Linear | All y and derivative terms are of degree 1. Independent variable terms like sin(x) do not affect linearity. |
| y(dy/dx) + x = 0 | Nonlinear | Contains the product of the dependent variable y and its derivative dy/dx. |
| d2y/dx2 + (dy/dx)2 - y = 0 | Nonlinear | The derivative term (dy/dx)2 is of degree 2. |
| d2y/dx2 + cos(y) = 0 | Nonlinear | Contains a trigonometric function of the dependent variable y. |
2. Formation of Differential Equations
The formation of a differential equation involves finding the differential equation whose general solution is given by a relation between variables containing arbitrary constants.
Methodology:
- Identify the number of independent arbitrary constants in the given relation. Let the number of constants be n.
- Differentiate the equation successively n times with respect to the independent variable to obtain n additional equations.
- Eliminate the arbitrary constants from the original equation and the n newly formed equations.
- The resulting equation containing independent variables, dependent variables, and derivatives is the required differential equation. Its order will be exactly equal to n.
Fundamental Rule: The order of the differential equation is equal to the number of independent arbitrary constants present in its family of curves.
Step-by-Step Example 1:
Form the differential equation of the family of curves represented by:
y = A cos(x) + B sin(x)where A and B are arbitrary constants.
Step 1: Identify the number of arbitrary constants. Here, there are two constants (A and B). Thus, the resulting differential equation must be of order 2.
Step 2: Differentiate once with respect to x:
dy/dx = -A sin(x) + B cos(x) --- (Equation 1)
Step 3: Differentiate a second time with respect to x:
d2y/dx2 = -A cos(x) - B sin(x) --- (Equation 2)
Step 4: Factor out the negative sign in Equation 2:
d2y/dx2 = -(A cos(x) + B sin(x))Substitute the original equation y = A cos(x) + B sin(x) into this expression:
d2y/dx2 = -yRearranging gives:
d2y/dx2 + y = 0This is the required second-order differential equation.
Step-by-Step Example 2:
Form the differential equation of the family of circles passing through the origin and having centers on the x-axis.
Step 1: Set up the equation of the curves. The center of any such circle lies on the x-axis at (a, 0), and since it passes through the origin (0,0), its radius must be a. The equation of the circle is:
(x - a)2 + y2 = a2Expanding this gives:
x2 - 2ax + a2 + y2 = a2Simplifying:
x2 + y2 = 2ax --- (Equation 1)There is only one arbitrary constant (a).
Step 2: Differentiate once with respect to x:
2x + 2y(dy/dx) = 2aWhich simplifies to:
a = x + y(dy/dx)
Step 3: Eliminate a by substituting this expression back into Equation 1:
x2 + y2 = 2x(x + y(dy/dx))
x2 + y2 = 2x2 + 2xy(dy/dx)Rearranging to group terms:
y2 - x2 = 2xy(dy/dx)Or in standard form:
2xy(dy/dx) + x2 - y2 = 0
3. Differential Equations of First Order and First Degree
A first-order, first-degree differential equation can be written in the general form:
dy/dx = f(x, y)Or equivalently, in differential form:
M(x, y)dx + N(x, y)dy = 0Where M and N are functions of x and y.
3.1 Separable Equations (Variables Separable)
A differential equation is separable if it can be written in such a way that all terms involving the dependent variable y can be grouped with dy, and all terms involving the independent variable x can be grouped with dx.
Standard Form: dy/dx = g(x)h(y)
Solution Method:
Step 1: Separate the variables by multiplying or dividing:
(1 / h(y)) dy = g(x) dx
Step 2: Integrate both sides directly:
∫ (1 / h(y)) dy = ∫ g(x) dx + Cwhere C is the arbitrary constant of integration.
Step-by-Step Example:
Solve: dy/dx = (1 + y2) / (1 + x2)
Step 1: Separate the variables by moving all y terms to the left and x terms to the right:
(1 / (1 + y2)) dy = (1 / (1 + x2)) dx
Step 2: Integrate both sides:
∫ (1 / (1 + y2)) dy = ∫ (1 / (1 + x2)) dxUsing standard trigonometric integration formulas:
tan-1(y) = tan-1(x) + CThis is the general solution. Using trigonometric identities, it can be simplified further if required:
tan-1(y) - tan-1(x) = C
tan-1((y - x) / (1 + xy)) = C
(y - x) / (1 + xy) = tan(C) = C1
y - x = C1(1 + xy)
3.2 Homogeneous Equations
To understand homogeneous differential equations, we must first define a homogeneous function.
Homogeneous Function: A function f(x, y) is said to be homogeneous of degree n if, for any real number t:f(tx, ty) = tn f(x, y)
Homogeneous Differential Equation: A differential equation of the form dy/dx = f(x, y) is homogeneous if f(x, y) is a homogeneous function of degree 0. That is:dy/dx = g(y/x)
Solution Method:
Step 1: Substitute y = vx. Here, v is a function of x.
Step 2: Differentiate y = vx with respect to x using the product rule:
dy/dx = v + x(dv/dx)
Step 3: Substitute y and dy/dx into the differential equation to obtain a new differential equation in variables v and x:
v + x(dv/dx) = g(v)
Step 4: Separate the variables x and v:
x(dv/dx) = g(v) - v
(1 / (g(v) - v)) dv = (1 / x) dx
Step 5: Integrate both sides to get the solution in terms of v and x:
∫ (1 / (g(v) - v)) dv = ln(x) + C
Step 6: Substitute v = y/x back into the solution to get the final answer in terms of x and y.
Step-by-Step Example:
Solve: (x2 + y2)dx - 2xydy = 0
First, rewrite the equation in dy/dx form:
dy/dx = (x2 + y2) / 2xySince both the numerator and denominator are homogeneous of degree 2, this is a homogeneous differential equation of degree 0.
Step 1 & 2: Substitute y = vx and dy/dx = v + x(dv/dx):
v + x(dv/dx) = (x2 + (vx)2) / (2x(vx))
v + x(dv/dx) = x2(1 + v2) / (2vx2)
v + x(dv/dx) = (1 + v2) / 2v
Step 3: Isolate x(dv/dx):
x(dv/dx) = ((1 + v2) / 2v) - v
x(dv/dx) = (1 + v2 - 2v2) / 2v
x(dv/dx) = (1 - v2) / 2v
Step 4: Separate variables:
(2v / (1 - v2)) dv = (1 / x) dx
Step 5: Integrate both sides:
∫ (2v / (1 - v2)) dv = ∫ (1 / x) dxFor the left side, use substitution u = 1 - v2, du = -2vdv, which gives:
-ln|1 - v2| = ln|x| + ln|C|
ln|x| + ln|1 - v2| = ln|C1| (where C1 = 1/C)
x(1 - v2) = C1
Step 6: Substitute v = y/x back:
x(1 - y2/x2) = C1
x((x2 - y2)/x2) = C1
x2 - y2 = C1xThis is the final general solution.
3.3 Equations Reducible to Homogeneous Form
Equations of the form:
dy/dx = (a1x + b1y + c1) / (a2x + b2y + c2)are not directly homogeneous because of the constant terms c1 and c2. There are two major cases used to solve these equations depending on the coefficients.
Case I: When a1/a2 ≠ b1/b2
In this case, we shift the origin of the coordinate system to eliminate the constants.
Step 1: Substitute x = X + h and y = Y + k, where h and k are constants to be determined. Since h and k are constants, dx = dX and dy = dY, so:
dY/dX = (a1(X + h) + b1(Y + k) + c1) / (a2(X + h) + b2(Y + k) + c2)Rearranging the terms:
dY/dX = (a1X + b1Y + (a1h + b1k + c1)) / (a2X + b2Y + (a2h + b2k + c2))
Step 2: To make this equation homogeneous, choose h and k such that:
a1h + b1k + c1 = 0
a2h + b2k + c2 = 0Solve these simultaneous linear equations to find the numerical values of h and k.
Step 3: The equation simplifies to the homogeneous form:
dY/dX = (a1X + b1Y) / (a2X + b2Y)Solve this homogeneous equation using the standard substitution Y = vX.
Step 4: After finding the solution in terms of X and Y, substitute X = x - h and Y = y - k to express the final answer in terms of original variables x and y.
Case II: When a1/a2 = b1/b2 = m
When the ratios of the coefficients are equal, the previous method fails because the equations for h and k will either have no solution or infinitely many solutions. We use an alternative substitution.
Let a1/a2 = b1/b2 = m. Then, a1 = ma2 and b1 = mb2. The differential equation becomes:
dy/dx = (m(a2x + b2y) + c1) / ((a2x + b2y) + c2)
Step 1: Substitute u = a2x + b2y.
Step 2: Differentiate with respect to x:
du/dx = a2 + b2(dy/dx)Which implies:
dy/dx = (1 / b2) (du/dx - a2)
Step 3: Substitute this back into the differential equation:
(1 / b2) (du/dx - a2) = (mu + c1) / (u + c2)This equation is easily solvable as its variables x and u are separable.
3.4 Exact Differential Equations
A first-order differential equation written in the form M(x, y)dx + N(x, y)dy = 0 is called an exact differential equation if its left-hand side matches the exact differential of some function u(x, y).
Criterion for Exactness: The differential equation M(x, y)dx + N(x, y)dy = 0 is exact if and only if:∂M/∂y = ∂N/∂xwhere ∂ represents partial derivatives.
Step-by-Step Solution Method:
Once the equation is verified to be exact, its general solution is given by:
∫ M dx [treating y as constant] + ∫ (terms in N not containing x) dy = C
Step-by-Step Example:
Solve: (x3 + 3xy2)dx + (3x2y + y3)dy = 0
Step 1: Identify M and N.
M = x3 + 3xy2
N = 3x2y + y3
Step 2: Check the exactness condition. Compute the partial derivative of M with respect to y (treating x as constant):
∂M/∂y = ∂/∂y (x3 + 3xy2) = 0 + 6xy = 6xyCompute the partial derivative of N with respect to x (treating y as constant):
∂N/∂x = ∂/∂x (3x2y + y3) = 6xy + 0 = 6xySince ∂M/∂y = ∂N/∂x = 6xy, the equation is exact.
Step 3: Apply the integration formula.
1. Integrate M with respect to x (treating y as a constant):
∫ M dx = ∫ (x3 + 3xy2) dx = x4/4 + (3/2)x2y2
2. Integrate terms in N that do NOT contain x with respect to y:
Look at N = 3x2y + y3. The only term free of x is y3.
∫ (terms in N free from x) dy = ∫ y3 dy = y4/4
Step 4: Combine the results. The general solution is:
x4/4 + (3/2)x2y2 + y4/4 = C'Multiplying the entire equation by 4 to simplify:
x4 + 6x2y2 + y4 = C (where C = 4C')This is the final general solution.
Common Mistake: In step 3, students often integrate the whole of N instead of only selecting terms free of x. Remember, any term in N containing an x variable must be completely omitted from the second integral.
4. Summary of Solving Methods
This table serves as an exam quick-reference to determine which solving technique to apply based on the structure of the differential equation.
| Equation Type | Standard Mathematical Form | Core Solving Strategy / Substitution |
|---|---|---|
| Separable | dy/dx = g(x)h(y) | Separate variables: ∫ (1/h(y)) dy = ∫ g(x) dx + C |
| Homogeneous | dy/dx = f(y/x) | Substitute y = vx, which implies dy/dx = v + x(dv/dx) |
| Reducible to Homogeneous (Case I) | dy/dx = (a1x + b1y + c1)/(a2x + b2y + c2) where a1/a2 ≠ b1/b2 | Substitute x = X + h, y = Y + k to eliminate constants c1, c2 |
| Reducible to Homogeneous (Case II) | dy/dx = (a1x + b1y + c1)/(a2x + b2y + c2) where a1/a2 = b1/b2 | Substitute u = a2x + b2y to make variables separable |
| Exact | M(x, y)dx + N(x, y)dy = 0 where ∂M/∂y = ∂N/∂x | ∫ M dx (y const.) + ∫ (terms in N free from x) dy = C |