Differential Equations (MATH313) : Equations of Order One
Differential Equations (MATH313) : Equations of Order One
(2.1)
(2.2)
that is, the variables can be separated. Then a solution can be written at once.
Example 2.1 Solve the equation
Answer:
dy
2y
=
dx
x
y = cx
y ln c|1 x| = 1
xy dx + e dy = 0
Answer:
e + y = c
Page 1
r = c1 b cos
Example 2.5. Obtain the particular solution satisfying the initial condition indicated.
2a r dr = r sin d
when = 0 and r = a.
Answer:
r lnr/a = r cos a
1.
x
y1 + x
2.
y =
3.
y + y sin x = 0
4.
3x 1
y =
3 + 2y
5.
xy = 1 y &/
6.
dy
x e
=
dx
y + e'
7.
dy
x
=
dx
1 + y
8.
Page 2
1 + ln x dx + 1 + ln y dy = 0
10.
x cos y dx + tan y dy = 0
For the succeeding equations, find the solutions of the given initial value problem.
11.
12.
13.
14.
15.
*,
y =
+
,
, r1 = 2
-.
'/
, y 0 = 1
y =
1 2 &3
4'5
, y0 =
&
(2.3)
x + y
(2.4)
x 4 y + 7y /
(2.5)
are said to be homogenous polynomials. They are called as such because each term posses the same
degree (power) when all of the powers of each variable are summed.
Example 2.6. The polynomial
x 3xy + 4y
(2.3)
Page 3
(2.3)
(2.6)
is of degree 1/2.
Drill Problems 2.2a
Determine which of the following is homogenous or not and if it is homogenous, determine its degree. Use
definition 2.2 for the proof.
1.
4x 3xy + y
2.
x xy + y
3.
2y + <x + y
3y
4.
tan
x
2y
x + y exp > ? + 4xy
5.
x
Equations of Order One
Page 4
6.
7.
8.
9.
10.
(2.1)
where M(x, y) and N(x, y) are both homogenous functions and are of the same degree in x and y. By
theorem 2.2.1, the ratio M/N is homogenous and of degree zero. If we let the ratio M/N = f(x,y), by theorem
2.2.2, the ratio M/N = f(x, y) is a function of y/x alone.. Thus equation 2.1 can be put into form
dy
y
+ g A B = 0
dx
x
(2.7)
dv
+ v + gv = 0
dx
(2.8)
This equation 2.8 is now variable separable and can be solved by the methods presented in Article 2.1. By
reverting back to the original variables, we can then obtain the solution for equation 2.1.
Page 5
Answer
x xy + y dx xy dy = 0
y
y x exp A B = c
x
xy dx + x + y dy = 0
y 2x + y = c
5y + 4x ln x = x y
33x + y dx 2xy dy = 0
2.
x 2y dx + 2x + y dy = 0
3.
22x + y dx xy dy = 0
4.
xy dx x + 3y dy = 0
5.
x y = 4x + 7xy + 2y
6.
3xy dx + x + y dy = 0
7.
x y ln y + y ln x dx + xln y ln x dy = 0
Page 6
y dy = xx dy y dxe/'
9.
y dx = Ax + <y x B dy
10.
y
x dx + Esin A BF y dx x dy = 0
x
For problems 11 thru 15, verify if the coefficients of the differentials are homogenous, identify the degree of
the coefficients, then obtain a particular solution for the given conditions.
11.
x y dx + 3x + y dy = 0, x = 3, y = -2
12.
1y <x + y 3 dx x dy = 0, x = 0, y = 1
13.
1y + <x + y 3 dx x dy = 0, x = 3, y = 1
14.
Ex cos A B yF dx + x dy = 0, x = 1, y = /4
15.
y dx + x + 3xy + 4y dy = 0, x = 2, y = /4
'
Page 7
(2.2)
(2.1)
in which separation of variables may not be possible. Suppose that a function F(x,y) can be found that has
for its differential the expression M dx + N dy that is
dF = M dx + N dy
(2.9)
Fx, y = c
(2.10)
Then certainly,
(2.11)
M dx + N dy = 0
(2.11)
which conforms with the form of 2.1 (the form of 2.11 is the simplified form of 2.1). At this point, two things
are then needed:
To find out under what conditions on M and N a function F exists such that its total differential is
exactly M dx + N dy;
If the above conditions are satisfied, how the function F will be determined.
The condition pointed by the first thing mentioned above is stipulated in the following theorem:
Page 8
HI
condition that
H'
and
HJ
H
(2.11)
be exactly a differential of a function F, or, in other words, 2.11 be an exact equation, is that
M
N
=
y
x
(2.12)
If an equation is exact, the following method can be used to solve the equation:
Since its solution will be F = c, the partial derivative of F with respect to x is the one multiplied to
dx, and the partial derivative of F with respect to y is the one multiplied to dy, that is
(2.13)
F
= N
y
(2.14)
Integrate 2.13 with respect to x, holding y to be constant. Thus a function, say , in terms of x and
y will result. The arbitrary constant that will arise from this integration is any function of y, say T(y).
Thus,
F=L
F
= M
x
F
M
= x, y + Ty
x 'NOPQRSTQS
(2.15)
(2.16)
Since the equation is exact, 2.16 should be equal to 2.14. Equate the two then solve for the
unknown function in terms of y. Then, substitute this to 2.15 and a family of solutions will have the
form
Fx, y = c
(2.10)
Page 9
x + y dx + x y dy = 0
2.
3.
2xy 3x dx + x + y dy = 0
4.
x 2y dx + 2y x dy = 0
5.
Page 10
7.
8.
1 + y + xy dx + x y + y + 2xy dy = 0
9.
w + wz z dw + z + w z w dz = 0
10.
(2.1)
is non-exact if it fails the test of exactness of Theorem 2.3.1. However, a suitable factor, called the
integrating factor, can be multiplied to the expression of 2.1 to make it exact. Let that factor be (x,y).
Multiplying 2.1 with the integrating factor,
x, y Mx, y dx + x, y Nx, y dy = 0
(2.16)
To ensure that 2.16 is exact, and that (x,y) is indeed an integrating factor, we require that 2.16 pass the
test of exactness of Theorem 2.3.1, that is
M
N
=
y
x
(2.17)
To find an appropriate integrating factor for 2.1, we can solve 2.17 for . Thus,
N
+
= N +
y
y
x
x
(2.18)
M N
N + >
? = 0
y
x
y
x
(2.19)
M
M
Page 11
Page 12
3x y
x + 2y 4
Answer
2
x y & y = c
3
Example 2.15
Obtain the general solution
x + y + y dx x dy = 0
Answer
y
x tan& A B = c
x
Example 2.16
Solve the equation
yx y dx xx + y dy = 0
Answer
x + 2y = cxy
Another special case in which an integrating factor can be readily found is by going back to equation 2.19
M
M N
N + >
? = 0
y
x
y
x
(2.19)
In this equation, if is a function of x or y alone, we can determine conditions that would allow us to find an
integrating factor systematically. For example, if is a function of x alone, 2.19 becomes
M N
? = N
y
x
x
(2.20a)
1 M N
= >
? x
N y
x
(2.20b)
>
Page 13
1 M N
>
?
N y
x
(2.21)
Therefore
= gx x
(2.22a)
= L gx dx
ln = L gxdx
(2.22b)
(2.22c)
(2.23)
(2.24)
Page 14
Answer
Example 2.18
Solve the equation
Answer
1 M N
>
?
M y
x
(2.25)
3xy + y dx + x + xy dy = 0
1
x y + x y = c
2
y2xy + 1 dx x dy = 0
2.
yy x dx + xy + x dy = 0
3.
x y + 1 dx + x 4 y dy = 0
4.
2t ds + s2 + s t dt = 0
5.
yx 4 y dx + xx 4 + y dy = 0
6.
x + y + 1 dx + xx 2y dy = 0
7.
2yx y + x dx + x 2y dy = 0
Page 15
9.
xy + 1 dx + xx + 4y 2 dy = 0
10.
yy + 2x 2 dx 2x + y dy = 0
(2.1)
dy
+ Pxy = Qx
dx
(2.26)
a general method of solution can be developed. Equation 2.26 is the form of a differential equation of order
one that is linear in y. Now, 2.26 is non-exact, and an integrating factor (x) can be found such that, when
multiplied to 2.26, makes it an exact equation. That integrating factor can be determined using the integral
x = exp >L P dx?
(2.27)
If such integrating factor is found, the general solution of the order one linear equation of 2.26 is
y = & L Q dx + c&
Example 2.19
Solve the equation
(2.28)
2y 4x dx + x dy = 0
Answer:
x y = 2x 4 + c
Equations of Order One
Page 16
Answer:
Example 2.21
Solve the equation
Answer
y dx + 3x xy + 2 dy = 0
xy = 2y + 4y + 4 + ce'
y + 1 dx + 4x y dy = 0
20x = 4y 1 + cy + 14
y = x 2y
2.
y = x 4xy
3.
x / + 3y dx x dy = 0
4.
b = csc x + y cot x
5.
b = csc x y cot x
6.
7.
y cos x dx + cos x dy = 0
8.
y x + xy cot x dx + x dy = 0
9.
22xy + 4y 3 dx + x + 2 dy = 0
Page 17
2xy + x + x 4 dx 1 + x dy = 0
11.
12.
13.
14.
15.
di
+ Ri = E; L, R and E are constants, when t = 0, i = 0
dt
di
+ Ri = E sin t ; L, R and E are constants, when t = 0, i = 0
dt
y = 22x y; the solution curve passes through the point 0, -1
(2.28)
a substitution can be made so that it conforms with the form of equation 2.26, and hence can be solved
using the methods developed in the preceding section. Such equations are called Bernoullis equation.
Take note that if n = 1, 2.28 is equal to 2.26, therefore the foregoing technique applies only to the case
when n 1.
We first multiply the equation by 1 ny Q
k
dy
+ Pxy = Qxy Q l W1 ny Q X
dx
1 ny Q
dy
+ 1 nPxy&Q = 1 nQx
dx
(2.29a)
(2.29b)
Page 18
(2.29c)
Notice that 2.29c is now linear in z. The method presented for solving linear equations of order one in the
preceding section can now be applied.
Example 2.22
Solve the equation
Answer:
Example 2.23
Solve the equation
Answer:
y6y x 1 dx + 2x dy = 0
x = y 6 + ce
2x y = yy + 3x
x = y c x
Answer:
x + 2y 1 dx + 3x + 2y dy = 0
x + 3y + c = 3 ln|x + 2y + 2|
Substitutions can also be done when a term and its differential appears in the equation.
Example 2.25
Solve the equation
Answer:
1 + 3x sin y dx x cos y dy = 0
4x sin y = cx 4 1
Page 19
(2.1)
(2.30)
(2.31)
Three cases are possible here: the lines may intersect (has a single unique solution), may be parallel
(inconsistent equations, has no solution), or actually lie on the same set of points (equivalent equations,
has infinitely many solutions). We tackle each of the cases here.
If the system of equation of 2.30 has a single solution, let that solution be (h,k). Then the translation
x =u+h
y= v+k
(2.32)
will change the equations 2.31 into equations of lines through the origin of the uv-coordinate system,
namely
a& u + b& v = 0
a u + b v = 0
(2.33)
Therefore, since dx = du and dy = dv, the change of variables of 2.32 will transform the differential equation
of 2.30 into
a& u + b& v du + a u + b v dv = 0
(2.34)
Page 20
x + 2y 4 dx 2x + y 5 dy = 0
Answer:
x y 1 = cx + y 3
If the lines are parallel, then a1 = a2 and b1 = b2. Therefore, there is a recurring group of term in the
equation. Thus we can substitute a single variable to these recurring terms as we did before.
If the lines are equal, then there exists a constant k such that
a x + b y = ka& x + b& y
(2.35)
(2.36)
Again, a recurring group of terms arises. We can do a substitution similar to what we did before.
Example 2.27
Solve the equation
Answer
2x + 3y 1 dx 2x + 3y + 2 dy = 0
2x + 2y + c = 6 ln|2x + 3y 7|
3x 2y + 1 dx + 3x 2y + 3 dy = 0
2.
3.
dy
= 9x + 4y + 1
dx
4.
y = y xy e
Page 21
5.
dy
= sinx + y
dx
6.
xy dx + x 3y dy = 0
7.
8.
y = 1 + 6x expx y
9.
x 3y + 2 dx + 3x + 3y 4 dy = 0
10.
6x 3y + 2 dx 2x y 1 dy = 0
11.
9x 4y + 4 dx 2x y + 1 dy = 0
12.
13.
x + y 4 dx 3x y 4 dy = 0 when x = 4, y = 1
14.
15.
Page 22