2.3 Linear Equations
2.3 Linear Equations
is said to be a linear equation in the dependent variable y . Note: The equation in (1) fulfills the three characteristics of a linear equation as discussed in section 1.1. 2.3.2 If g ( x) = 0 , the equation in (1) is said to be a first-order homogeneous linear differential equation. Example, xy + y = 0 .
If g ( x) 0 , the equation in (1) is said to be a first-order nonhomogeneous linear differential equation. Example, xy + y = e x . 2.3.3
Let
Equation (3) is known as the standard form of a first-order linear differential equation.
2.3.4
p ( x ) dx
(4)
The left hand side of (4) is automatically the derivative of the IF and the dependent variable y , that is,
p ( x ) dx d p ( x ) dx e y = e f ( x) dx
(5)
(iv) Integrate both sides of Equation (5) and solve for y to obtain the general solution of the given differential equation. (The general solution is the most general form that the solution can take and does not take into account any initial conditions). 2.3.5
Constant of integration
It is unnecessary to include the constant of integration, c , when evaluating the indefinite p ( x ) dx . The constant of integration will be eventually cancelled at integral in the IF = e some point during the process of the solution. Hence, disregard the constant.
2.3.6
Exercises:
(a) Find the general solution of the given differential equation. (i) x dy 4 y = x6e x dx Ans: Ans: y = x5 e x x 4 e x + cx 4
(ii) ( x + 1) y + ( x + 2) y = 2 xe x (b) Solve the given initial-value problem. (i) ( x + 1) dy + y = ln x , y (1) = 10 dx (ii) y + (tan x) y = sin 2 x , y (0) = 1
y=
x2 c + x x e ( x + 1) e ( x + 1)
Ans: Ans:
x ln x x 21 + ( x + 1) ( x + 1) ( x + 1) y = 2 cos 2 x + 3cos x y=
2