Linear differential equations come in two flavors: homogeneous and non-homogeneous. Homogeneous equations have zero on the right side, while non-homogeneous ones have a non-zero function. This distinction affects how we solve them and what their solutions look like.
For homogeneous equations, we find a fundamental set of solutions. Non-homogeneous equations require an extra step: finding a particular solution. Combining these gives us the complete solution, which we can tailor to specific conditions in real-world problems.
Homogeneous vs Non-homogeneous Equations
Linear Differential Equations
- A linear differential equation involves derivatives of an unknown function and has the form , where
a_i(x)
andf(x)
are continuous functions on an intervalI
- The order of the linear differential equation is determined by the highest derivative present in the equation (first-order, second-order, etc.)
- Linear differential equations are used to model various phenomena in physics, engineering, and other fields (population growth, electrical circuits, mechanical systems)
Homogeneous and Non-homogeneous Equations
- A linear differential equation is homogeneous if
f(x) = 0
for allx
in the intervalI
- The right-hand side of the equation is equal to zero
- Example:
- A linear differential equation is non-homogeneous if
f(x) โ 0
for at least onex
in the intervalI
- The right-hand side of the equation is a non-zero function
- Example:
- The presence or absence of the non-zero function
f(x)
on the right-hand side determines whether the equation is homogeneous or non-homogeneous, respectively
General Solutions for Homogeneous Equations
Fundamental Set of Solutions
- The general solution of a homogeneous linear differential equation is a linear combination of linearly independent solutions, called the fundamental set of solutions
- For an n-th order homogeneous linear differential equation, the general solution is , where
y_1(x), y_2(x), ..., y_n(x)
form a fundamental set of solutions andc_1, c_2, ..., c_n
are arbitrary constants - The number of linearly independent solutions in the fundamental set is equal to the order of the differential equation
- A second-order equation will have two linearly independent solutions in its fundamental set
- A third-order equation will have three linearly independent solutions in its fundamental set
Methods for Finding the Fundamental Set
- The characteristic equation method is used for equations with constant coefficients
- Substitute
y(x) = e^(rx)
into the differential equation and solve the resulting algebraic equation forr
to obtain the characteristic roots - Example: For , the characteristic equation is , which gives roots
r = 2
andr = 3
- Substitute
- The power series method is used for equations with variable coefficients
- Assume a solution of the form and determine the coefficients
a_n
by substituting the series into the differential equation and equating coefficients - Example: For , the power series solution is
- Assume a solution of the form and determine the coefficients
Particular Solutions for Non-homogeneous Equations
Method of Undetermined Coefficients
- The method of undetermined coefficients is used when
f(x)
is a polynomial, exponential, sine, cosine, or a combination of these functions - Assume a particular solution with unknown coefficients based on the form of
f(x)
and its derivatives- If
f(x)
is a polynomial of degreen
, assumey_p(x)
is a polynomial of degreen
with unknown coefficients - If
f(x)
is an exponentiale^(ax)
, assumey_p(x) = Ae^(ax)
with unknown coefficientA
- If
- Substitute the assumed solution into the differential equation and equate coefficients to determine the values of the unknown coefficients
- Example: For , assume
y_p(x) = Ae^x
and solve forA
- Example: For , assume
Method of Variation of Parameters
- The method of variation of parameters is a general method for finding particular solutions, especially when
f(x)
is not of a form suitable for the method of undetermined coefficients - Find the fundamental set of solutions
{y_1(x), y_2(x), ..., y_n(x)}
for the corresponding homogeneous equation - Assume a particular solution of the form , where
u_1(x), u_2(x), ..., u_n(x)
are unknown functions to be determined - Substitute
y_p(x)
into the differential equation and solve the resulting system of equations to findu_1(x), u_2(x), ..., u_n(x)
- Example: For , the fundamental set is
{sin x, cos x}
, and the particular solution is
- Example: For , the fundamental set is
Complete Solutions for Non-homogeneous Equations
Combining Homogeneous and Particular Solutions
- The complete solution to a non-homogeneous linear differential equation is the sum of the general solution to the corresponding homogeneous equation and a particular solution to the non-homogeneous equation
- The complete solution is given by , where
y_h(x)
is the general solution to the homogeneous equation andy_p(x)
is a particular solution to the non-homogeneous equation- Example: For , the complete solution is
Applying Initial or Boundary Conditions
- The arbitrary constants in the general solution
y_h(x)
are determined by applying initial or boundary conditions specific to the problem - Initial conditions specify the values of the function and/or its derivatives at a particular point (usually
x = 0
)- Example:
y(0) = 1
andy'(0) = 0
- Example:
- Boundary conditions specify the values of the function and/or its derivatives at two or more points
- Example:
y(0) = 0
andy(ฯ) = 0
- Example:
- The particular solution
y_p(x)
is found using one of the methods mentioned earlier, such as the method of undetermined coefficients or variation of parameters - The complete solution satisfies both the differential equation and the given initial or boundary conditions, providing a unique solution to the problem