DifferentialEquations UntilModule10Only
DifferentialEquations UntilModule10Only
Cabansay, BSCpE
DIFFERENTIAL
EQUATIONS
FIRST 10 MODULES
Prerequisite: Derivatives and Integrals
BSCpE-2
LICENSING
NON-COMMERCIAL
This set of modules is not for sale and is freely distributed. It is also used for educational purposes only.
LICENSING
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
License. To view a copy of this license, visit [Link]
Prepared by: Nathaniel M. Cabansay, BSCpE
TABLE OF CONTENTS
Licensing .................................................................................................................................................................................................... 2
Non-Commercial................................................................................................................................................................................ 2
Licensing ................................................................................................................................................................................................ 2
Chapter 1 Introduction to Differential Equations .......................................................................................................................... 5
References ..............................................................................................................................................................................................97
Prepared by: Nathaniel M. Cabansay, BSCpE
Differential equations are, simply put, equations containing a derivative or differential. Below are examples of
differential equations:
+ =1−
+ − =0
− =0
tan + cot =0
= +
The variable in the numerator of this form is called the dependent variable, while the variable(s) in the
denominator is/are the independent variable(s). If we have , then is the dependent variable and is the
independent variable.
Ordinary differential equations contain only one independent variable and no partial derivatives. Partial
differential equations contain either multiple independent variables or partial derivatives.
− =3
This equation only contains for an independent variable, and they are not partial derivatives, so this is an
ordinary differential equation.
+3 = −
This equation only contains for an independent variable, but they are partial derivatives, so this is a partial
differential equation.
Prepared by: Nathaniel M. Cabansay, BSCpE
! !
+ =0
This equation contains and for independent variables, so this is a partial differential equation.
The order of the differential equation is the order of the highest derivative in the equation. For example, we have
the equation:
+ − =0
"
The highest order appearing above is a third-order derivative " , which means this is a third-order differential
equation.
#
+ 8# =
#
%
The highest order appearing above is a first-order derivative , which means this is a first-order differential
equation.
' '
& −4 =
)
The highest order in this one is a second-order derivative , which means this is a second-order differential
equation.
The degree of the differential equation is the exponent to which the highest-order derivative is raised after all
derivatives are expressed free from radicals.
−3 + =0
The highest-order derivative is and it is only at the first power, so this is a first-degree differential equation.
* *
+4 + , −* =0
The highest-order derivative is and it is only at the first power, so this is still a first-degree differential equation.
& − =
"
The highest-order derivative is " and it is only at the first power, but the other side of the equation is under a
radical, so we should express this equation free from radicals by squaring both sides:
Prepared by: Nathaniel M. Cabansay, BSCpE
− =/ 0
Notice that the highest order derivative is now at the second power, this means that this is actually a second-
degree differential equation.
Linear differential equations have all their dependent variables and derivatives occur only in the first degree or
not in other functions such as radicals or used as exponents. Non-linear differential equations do not
necessarily have those.
+1 =
All the terms in this differential equation are only to the first degree, so this is a linear differential equation.
2
+ −3 ++ , =0
A term in this differential equation is raised to the second degree, so this is a non-linear differential equation.
*
− sin 5 + e − √* = 0
"
Only " is in the first degree, so this is a non-linear differential equation.
Prepared by: Nathaniel M. Cabansay, BSCpE
A solution to a differential equation is a derivative-free relation among the variables which satisfies the equation
or reduces the equation to an algebraic identity when substituted.
A general solution contains arbitrary constants, with the number of arbitrary constants equal to the order of the
differential equation (e.g., a first-order differential equation’s general solution contains one arbitrary constant, a
second-order D.E.’s general solution contains two, and so on.)
A particular solution can be obtained from the general solution by assigning values to the arbitrary constants,
usually via an initial value problem.
Although we will not encounter many particular solutions here, these may appear from Module 5 onwards.
= −9 is a solution to 4 + 12 +3 =0
"
:
Example 1: Verify that
1 = −9 : Given
4 + 12 +3 =0
= −9
"
= −9
2 : :
27 :
Differentiate both sides of with
=
2
respect to
135 =
=− :
4
135 = 27
4 +− :
, + 12 + :
, + 3 +−9 :
,=0
4 2
3 Substitute everything in statement 2 into the
given differential equation
4 −135 :
+ 162 :
− 27 :
=0 Simplify the left-hand side
5 −5 :
+6 :
− :
=0 Divide both sides by 27
∴ = −9
"
:
is a solution to the differential equation
=e − =3 +e
@A
Example 2: Verify that is a solution to
=3 +e
Prepared by: Nathaniel M. Cabansay, BSCpE
e =e −
@A
=e −
2
2 Differentiate both sides of with
e
′ = 3e −
respect to
2
e e
3e − = 3 +e − ,+e
2 2
3 Substitute everything in statement 2 to the
given differential equation
e 3e Multiply e −
@A
3e − = 3e − +e
2 2
4 by 3
e e
3e − = 3e −
2 2
5 Combine like terms
∴ =e −
@A
is a solution to the differential equation
1 Given
2
Prepared by: Nathaniel M. Cabansay, BSCpE
Eliminating arbitrary constants is the process of removing arbitrary constants in an equation to obtain a
differential equation.
a. Its order is equal to the number of arbitrary constants in the relation (e.g., a relation with one arbitrary
constant results in a first-order differential equation, one with two arbitrary constants results in a second-
order differential equation)
b. It is free from arbitrary constants
c. It is consistent with the given relation (i.e., the given relation is a solution to the resulting differential
equation)
If you have already differentiated the given relation the same number of times as the number of arbitrary constants
(e.g., you have differentiated a relation with two arbitrary constants twice) and the arbitrary constants are still not
eliminated, do algebraic manipulation.
1 −3 =C Given
4 − −2 =0 Multiply +2 by -1
−2 − =0
(OPTIONAL) Rewrite as , rearrange the left-hand
−2 − =0
side, and multiply both sides by .
1 = FG e: +F e Given
Prepared by: Nathaniel M. Cabansay, BSCpE
− = 4FG e:
− = −8FG e:
3 The arbitrary constants were not eliminated, so do
algebraic manipulation.
In this case, we can try adding or subtracting equations
and −
Resulting equation:
3 −2 − =0
Example 3: Find the differential equation whose solution is = cos I + 3 sin I + CeJ + e:J (where I is a
parameter)
=I sin I − I 3 cos I + I Ce J
−I e:J
with respect to
2
= I2 cos I + I2 3 sin I + I2 CeJ + I2 e:J
3 2
= I2 L cos I + 3 sin I + CeJ + e:J The arbitrary constants were not
eliminated, so do algebraic manipulation.
In this case we can factor out I2 from all
terms
4 2
= I2 Substitute statement 1 into statement 3
5 2
− I2 = 0 Subtract I2 from both sides
Prepared by: Nathaniel M. Cabansay, BSCpE
=M +3
1. Lines
− =M −
a. Slope-Intercept Form:
N N
Intercept Form: O + P = 1
b. Point-Slope Form:
c.
b. Ellipse centered at ℎ, 1
+ =1
:T :U
O P
i. Horizontal major axis:
+ =1
:T :U
P O
Parabola with vertex at ℎ, 1
ii. Vertical major axis:
−ℎ = ±4' −1
c.
−1 = ±4' −ℎ
i. Opening upwards/downwards:
Hyperbola centered at ℎ, 1
ii. Opening to the right/left:
d.
− =1
:T :U
O P
i. Horizontal transverse axis:
− =1
:U :T
O P
ii. Vertical transverse axis:
= W sin - + Z., where in applications is normally replaced by for time, W is the
X
Y
amplitude, [ is the period, and Z is the phase shift.
3. Sinusoids:
TYPES OF CONSTANTS
Arbitrary constants can be found in a solution whose values can be obtained from sets of boundary conditions.
Their values will differ between members of a family of curves.
Fixed constants or parameters are not to be eliminated and can still be found in the differential equation of a
relation. Their values are common to all members of a family of curves.
Prepared by: Nathaniel M. Cabansay, BSCpE
1. Parallel lines
−M =0
5 To convert to differential form, rewrite as
=M −M N, N = M, 0 .
=M −M
2 Point-slope form of a line. In this case,
−ℎ − −1
0=
make it easier to eliminate. We then differentiate with
−ℎ
respect to only once, already using the form instead
of the form.
−ℎ .
−ℎ − −1 =0
4 Multiply both sides by
Here, we use the intercept form of the line + = 1. We can go about this in two ways:
O P
equation.
3 Subtract -
P
.
= −+ , +3
1−3
U:P
5 from both sides
3 Notice that 1 − 3 = − 3 − 1
=+ , +3
3−1
6
3
=
3−1
7 Differentiate both sides with respect to
9 3 −1 =3 Multiply 3 − 1 by
1 −1
3=
−1
12 Divide both sides by
1
− + =
−1
13 Substitute statements 7 and 12 into statement 4
− + −1 =1 −1
− + + − =1
14 Multiply both sides by
equation.
+ =1
1−
3 In this case, we have only one arbitrary constant: , but
let’s first rewrite the equation into slope-intercept form
to make it easier to differentiate.
1− Multiply both sides by 1 −
+ , + =1−
4 to isolate .
1− Subtract -
U:O
.
= −+ , +1− O
5 from both sides
−1 Notice that 1 − =− −1 .
=+ , +1−
6
−1
=+ ,
7 Differentiate both sides with respect to
1
− + =1+
−1
12 Substitute statements 7 and 11 into statement 4
1 −1 +1
− + =
−1
13 Simplify the right-hand side
1
− + =
−1
− + −1 =1 −1
− + + − =1
14 Multiply both sides by
−
+ =0
eliminate 1
6 Differentiate a second time with respect to to
\ ±Q ] + ±Q =Q
we can drop the negative sign inside as −1 = 1
7 Simplify the expression in the left-hand side. Note that
8 \ ±Q ] + ± 2Q + Q = Q Square ±Q
We can go about this in two ways: We can either multiply after eliminating Q from the right-hand side in the
final differential equation…
±Q
±Q +^ −/ + 0_ = Q
6 Substitute statement 5 into statement 2
±Q
±Q ++ , =Q
we can drop the negative sign inside as −1 = 1
7 Simplify the expression in the left-hand side. Note that
Prepared by: Nathaniel M. Cabansay, BSCpE
±Q ±Q
/ 0 + ± 2Q + Q = Q
8 Square
11 ± 2Q + Q + ± 2Q =0 Square ±Q
±Q + −1 =Q
ℎ, 1 , with ℎ = Q
2 Standard form of a circle centered at
2 ±Q +2 −1 =0
constant: 1 so we must differentiate once
3 In this case, we have only one arbitrary
±Q
±Q +^ −/ + 0_ = Q
6 Substitute statement 5 into statement 2
±Q
±Q ++ , =Q
7 Simplify the expression in the left-hand
sign inside as −1 = 1
side. Note that we can drop the negative
10 ± 2Q + Q 1+ = Q Square ±Q
−1
differentiate twice to eliminate them. Start by dividing
both sides by
2 −1 − to eliminate '
=0
−1
4 Differentiate both sides with respect to
both sides by − ℎ
differentiate twice to eliminate them. Start by dividing
Prepared by: Nathaniel M. Cabansay, BSCpE
2 −ℎ − to eliminate '
=0
−ℎ
4 Differentiate both sides with respect to
− to eliminate ℎ
2−/ 0=0
8 Differentiate both sides with respect to
2 − + =0 −
by −1
9 Multiply the left-hand side by and
14. Ellipses with horizontal major axes with center at the origin
+ =1
3 and vertex at ℎ, 1 = 0,0
2 Standard form of an ellipse with a horizontal major axis
15. Hyperbolas with horizontal transverse axes and center at the origin
− =1
3 axis and vertex at ℎ, 1 = 0,0
2 Standard form of a hyperbola with a horizontal major
16. Sine waves with amplitude W, period 2`, and phase shift of 0°
cos
= sin
cos bcd
= tan
5 Substitute statement 4 into the original equation, then
recall efb
= tan
6 tan − =0 Subtract from both sides
In this chapter, we will be finding solutions to differential equations. There are two types of solutions to look for:
1. General solution – contains arbitrary constants that are not yet defined.
2. Particular solution – does not contain any arbitrary constants and are defined, usually as a result of an
initial value problem. This can be generated from a general solution.
If you recall, a first-order differential equation has a first derivative as its highest order derivative, and a first-degree
differential equation has that highest derivative raised only to the first power. A first-order first-degree differential
equation has those characteristics. We will be solving this type of equations and they are generally of the form:
i , +j , =0
From the general form above, if i , can be separated into two functions M M and j ,
separated into two functions k k
can be
, the differential equation is a VSDE. We then get the general solution as
follows:
1 i , +j , =0 Given
M M +k k =0 We can factor i , into M M and j ,
k k
2 into
l +m =0 Let l =
n
and m =
o
o n
4 .
p q r sr + p t u su = v
5 Integrate both sides with respect to their own
differentials. This is the general solution of a VSDE.
=3 +4
1 Given
p3 + 4 −p =0
4 Integrate both sides with respect to their own
differentials
3
+4 − =F
2
5 Use the integral rules:
p0 =F
owG
p o
= + F, k ≠ −1
k+1
p C! = Cp!
p! ±y = p! ± py
=3 +4
1 Given
2 2 =3 +8 +F Solution
2 = 6 +8
3 Differentiate both sides of the solution with respect to
.
=3 +4
4 Divide both sides by 2. We got the original differential
∎
equation back.
=5
1 Given
Prepared by: Nathaniel M. Cabansay, BSCpE
=5
3 Divide both sides by
5 − =0
4 Subtract from both sides
p5 −p =0
5 Integrate both sides with respect to their own
differentials
5
− ln| | = F
2
6 Use the integral rules:
p0 =F
owG
p o
= + F, k ≠ −1
k+1
p C! = Cp!
p! ±y = p! ± py
p = ln| | + F
=5
1 Given
5
− ln| | = F
2
2 Solution
1
5 − =0
3 Differentiate both sides of the solution with respect to
5 − =0
4 Multiply both sides by
=5
5 Add to both sides. We got the original differential
∎
equation back.
other side
Prepared by: Nathaniel M. Cabansay, BSCpE
=e e}
= Fe
Fe − =0
9 Subtract from both sides
5 − ln| |=F
log O = logO
8 Law of logarithms:
= Fe
=
exponents):
n n n
n
√ n =
•
o
=5
1 Given
= Fe
2 Solution
= 5 Fe
3 Differentiate both sides of the solution with respect to
5 Fe = 5 /Fe 0
4 Substitute and in the equation
Prepared by: Nathaniel M. Cabansay, BSCpE
5 Fe = 5 Fe Multiply 5 by Fe
5 €A
2 =1+
1 Given
1 1
=
2 1+
2 Get the reciprocals of both sides
1 2
− =0
1+
Gw
4 Subtract from both sides
1 2
p −p =0
1+
5 Integrate both sides with respect to their own
differentials
• Let • = 1 + , so • = 2
p −p =0
•
6
p0 =F
p = ln| | + F
ln ‚ ‚=F
1+
9 Combine into one logarithm using:
=F
1+
First solution:
2 =1+
1 Given
ln ‚ ‚=F
1+
2 Solution
1 2
− =0
1+
4 Differentiate both sides with respect to
1 2
=
1+
Gw
5 Add to both sides
∎
differential equation back.
Second solution:
2 =1+
1 Given
=F
1+
2 Solution
1+ −2
=0
3 Differentiate both sides with respect to
1+
Multiply both sides by 1 +
1+ −2 =0
4
5
2 =1+ Add 2 to both sides. We got the original
∎
differential equation back.
Third solution:
2 =1+
1 Given
2 =F 1+ Solution
F= Solve for F
1+
3
Prepared by: Nathaniel M. Cabansay, BSCpE
1 = 2F
4 Differentiate both sides of the solution with respect to
2 Substitute F =
1=
1+
Gw
5
∎
differential equation back.
Fourth solution:
2 =1+
1 Given
2 F = 1+ Solution
1+ Solve for F
F=
3
F=2
4 Differentiate both sides of the solution with respect to
1+ Substitute F =
Gw
=2
5
2 =1+
6 Multiply both sides by . We got the original differential
∎
equation back.
Fifth solution:
2 =1+
1 Given
2 = √F − 1 Solution
F
=
2√F − 1
3 Differentiate both sides with respect to
F
2 \√F − 1] + , = 1 + \√F − 1]
2√F − 1
4 Substitute the solution and its derivative into the given
differential equation
F =F
∎
6 Simplify the right-hand side
Prepared by: Nathaniel M. Cabansay, BSCpE
sides by sec .
variables. This is effectively the same as multiplying both
p + p tan sec = p0
3 Integrate both sides with respect to their own
differentials
•
+ =F
2 2
5 Use the integral rules:
p0 =F
owG
p o
= + F, k ≠ −1
k+1
First solution:
+ tan sec =0
3 Differentiate both sides with respect to
Second solution:
2 + tan =F Solution
Prepared by: Nathaniel M. Cabansay, BSCpE
2 + 2 tan sec =0
3 Differentiate both sides with respect to
∎
4 Multiply both sides by . We got the original
differential equation back.
=5−2
1 Given
p5 −2 −p =0
4 Integrate both sides with respect to their own
differentials
p0 =F
owG
p o
= + F, k ≠ −1
k+1
p C! = Cp!
p! ±y = p! ± py
8 F = −4 Subtract 10 from 10
1 4+5 − − =0 Solution
0=0
∎
4 Combine like terms
Prepared by: Nathaniel M. Cabansay, BSCpE
= e :
1 Given
3 ƒ :
− =0 Subtract from both sides
e e: − =0
=
4 Use the following law of exponents:
nwo n o
p e: − p e: = p0
6 Integrate both sides with respect to their own
differentials
1 Let • = − , • = −2 , so −
G
•= . Let # =
− p e„ • + p e% # = p 0
2 − , so # = −
7
e„
− + e% = F
2
8 Use the integration rules:
p0 =F
p C! = Cp!
p e„ • = e„ + F
eN = 0 and =0
− + e:N = F
2
10 Substitute
1 N
= 1, ≠0
− +1=F
2
11 Use the law of exponent:
1 Subtract from 1
G
F=
2
12
G
e: 1
e: − − =0
14
2 2
Subtract from both sides and rearrange the equation
We can stop at statement 14 or statement 15, but if we want to write this as =! , we continue as follows:
Prepared by: Nathaniel M. Cabansay, BSCpE
1 e +1
=
e 2e
18 Combine the right-hand side into one fraction by adding
them
2e
e =
e +1
19 Get the reciprocals of both sides
2e
= ln / 0
20 Get the natural logarithm of both sides
e +1
e: 1
e: − − =0
2 2
1 Solution
1 1 N
= 1, ≠0
1− − =0
2 2
3 Use the law of exponents:
0=0
∎
4 Combine like terms
2e
= ln / 0
e +1
1 Solution
2 N
= 1, ≠0
0 = ln + ,
1+1
3 Use the law of exponents:
Example 1: If we have ! , =3 − +2 , ! 1 ,1 = 31 −1 + 21
1 from the right-hand side: ! 1 , 1 = 1 3 − +2 and substitute to get ! 1 , 1 = 1 ! , ,
. We can then factor
meaning this function is homogeneous. The degree of homogeneity can be determined by the resulting exponent
of k. In this case, the resulting exponent is 3, so this function is a homogeneous function of degree 3.
2 : 2U : U U :
then simplify and substitute to get ! 1 , 1 =1 ! , , meaning this function is a homogeneous function of
degree 2.
tan - . and substitute to get ! 1 , 1 =! , , meaning this function is a homogeneous function of degree 0.
powers or degrees. As we saw in example 1 above, all terms 3 ,− , and 2 are of degree 3, so this
We can easily see if an algebraic function (polynomial, rational, and radical) is homogeneous by inspecting the
function is homogeneous.
Once we have determined it is a homogeneous differential equation, we then check which of i , and j ,
is simpler. If j , = # and =# + # or =#+
%
is simpler, we make the substitution . If
i , = # and =# + # or =#+
%
is simpler, we make the substitution .
=
:
w
1. Find solutions to
1 −1
=
1 +1 homogeneous by substituting = 1 and
2 Determine if the right-hand side is
1 − =1
=
1 +
−
=
+
3 + = − Multiply both sides by +
# − − # + # + # =0
−# # + # − +# =0
6 A. You may either:
A. Substitute = # and =
B.
# + #
B. Substitute = # and =
# + #
Both are just as simple.
A. # − −# −# #−# − #=0
B. # + #−# −# #− −# =0
7 Multiply out all terms
+# +# #+ #=0
#−# −# #− =0
8 A. Simplify the left-hand sides, and for (A),
B. multiply both sides by -1
+# + # + #=0
−# #− # + =0
9 A. Group all
and # terms
B.
and # terms
A.
B.
1+# + # +1 # =0
1−# #− # +1 =0
10 A. Factor
from + #
B.
# +
A. and from
−#
# +
B. from and from
+ #=0
G %wG
Gw%
11 Divide both sides by
#− =0 1+#
A.
G:% G
# +1
% wG
B. A.
B.
A. ‰
G
+‰
%wG
#=F Integrate both sides. ‰ 0 =F
Gw%
12
‰% #−‰ =F
G:% G
wG
B.
A. ‰ +‰ #+‰ #=F
G % G
13
Gw% Gw% p! ±y = p! ± py
‰% #−‰ #−‰ =F
G % G
wG % wG
B.
Prepared by: Nathaniel M. Cabansay, BSCpE
A. ‰
G
+ ‰ •+‰
G G G
#=F Let • = 1 + # = # + 1 and • =
„ Gw%
2# #, then • = # #
G
14
‰% #− ‰ #−‰ =F
G G G G
wG „
B.
ln| | + F, k = −1
B.
1 1 •
p • = arctan - . + F
+•
16 A. ln| | + ln|1 + # | + arctan # = F
G
Substitute back • = 1 + # = # + 1
arctan # − ln|# + 1| − ln| | = F
G
B.
A. ln| | + ln ‚1 + - . ‚ + arctan - . = F
17 G Substitute back:
A. # =
arctan - . − ln ‚- . + 1‚ − ln| | = F
G
#=
B.
B.
A. ln Œ •1 + - . Œ + arctan - . = F
19 Combine into one logarithm
B. arctan - . − ln Œ •- . + 1Œ = F
1 −1
=
1 +1 substituting = 1 and = 1
2 Determine if the right-hand side is homogeneous by
1 −
=
1 +
−
=
+
# # − = # and =#+
%
#+ =
# +
3 Let
Prepared by: Nathaniel M. Cabansay, BSCpE
# # −1
#+ =
# +1
4 Factor from the right-hand side and simplify
# #−1
#+ =
#+1
# #−1 Subtract # from both sides
= −#
#+1
5
# #−1− # +#
=
#+1
6 Combine into one fraction
# −# − 1
=
#+1
1 #+1
=
# −# − 1
7 Get the reciprocals of both sides
1 # 1
=− −
# # +1 # +1
8 Split the right-hand side into two fractions
1 # 1 Add -
%
+
G
. # to both sides
+ + #=0
# +1 # +1 % wG % wG
10
1 1 1 1 Let • = # + 1 and • = 2# # or
G
•=# #
p + p •+p #=F
2 • # +1
12
1
‰ „ • = ln|•| + F and ‰ „ • = arctan - . + F
G G G „
ln| | + ln|•| + arctan # = F
2 wO O O
13
1 Substitute back • = # + 1
ln| | + ln|# + 1| + arctan # = F
2
14
1 Substitute back # =
ln| | + ln ‚- . + 1‚ + arctan - . = F
2
15
ln • &- . + 1• + arctan - . = F
17 Combine the logarithms on the left-hand side into one
logarithm
ln ‘† + ‘ + arctan - . = F
18 Multiply into the radical
To check, we verify the solutions by differentiating and see if we get an equality/identity or the original differential
equation.
Prepared by: Nathaniel M. Cabansay, BSCpE
First solution:
1 2 +2 1 − Substitute • = † + and • =
/ 0+ + ,=0
† + 2† + 2 +2
4
G
- . +1
† w
+ −
then simplify.
Substitute # = and # =
:
+ =0
+ +
and
simplify.
− + +
=0
+
5 Combine the left-hand side into one fraction
Second solution:
1 − 1 + Substitute • = † + and • =
+ ,− / 0=0
† + 2† + 2 +2
4
G
- . +1
† w
− +
then simplify.
Substitute # = and # =
:
− =0
+ +
and
simplify.
− − +
=0
+
5 Combine the left-hand side into one fraction
2. Find solutions to = w√
=
+†
1 Given
1
=
1 +† 1 1 homogeneous by substituting = 1 and
2 Determine if the right-hand side is
1 =1
=
1 + †1
1
=
1 + 1†
=
+†
−\ +† ] =0
B. \ + † ] − =0
4 A. Subtract
A. \ + † ] from both sides
B. from both sides
# + # − \# + †# ] =0 =#
B. \# + †# ] − # + # =0 =# + #
5 A. Since is simpler, substitute
and
A. # + #−# − √# =0
B. # + √# −# − #=0
6 Multiply out all terms
# − √# =0
√# − #=0
7 A. Simplify the left-hand side
B.
Prepared by: Nathaniel M. Cabansay, BSCpE
#− =0 √#
G G
√%
8 A. Divide both sides by
− #=0
G G
√%
B.
A. ‰ #−‰
G G
=F Integrate both sides. ‰ 0 = F
√%
9
‰ −‰ #=F
G G
√%
B.
B. ln| | − 2√# = F p o
= ‹k + 1 + F , k ≠ −1
10
ln| | + F , k = −1
Substitute # =
2• − ln| | = F
11
A.
B. ln| | − 2• = F
=
+†
1 Given
1
=
1 +† 1 1 by substituting = 1 and = 1
2 Determine if the right-hand side is homogeneous
1
=
1 + †1
1
=
1 + 1†
=
+†
# # = # and =#+
%
#+ =
+ √#
3 Substitute
# #
#+ =
+ √#
4 Simplify the right-hand side
# #
#+ =
1 + √#
# # Subtract # from both sides
= −#
1 + √#
5
# # − #\1 + √#]
=
1 + √#
6 Combine the right-hand side into one fraction.
# −#√#
=
1 + √#
# −#√#
=
√# + 1
Prepared by: Nathaniel M. Cabansay, BSCpE
1 √# + 1
=
# −# √#
7 Get the reciprocals of both sides
1 2’ + 2
= ’
−’
10 Simplify the right-hand side
2 owG
ln| | + 2 ln|’| − =F
’ p o
= ‹k + 1 + F, k ≠ −1
17
ln| | + F , k = −1
2 Substitute back ’ = √#
ln| | + 2 lnŽ√#Ž − =F
√#
18
2 Substitute back # =
ln| | + 2 ln Œ• Œ − =F
19
and rewrite − ”
as −2•
•
A
ln| | − 2& = F
21 Combine into one integral
To check, we verify the solutions by differentiating and see if we get an equality/identity or the original differential
equation.
First solution:
2& − ln| | = F
1 Solution to be verified
Prepared by: Nathaniel M. Cabansay, BSCpE
1 − 1
+ ,− =0
2 Differentiate both sides and simplify the left-hand side
•
− 1
− =0
†
− −†
=0
3 Combine the left-hand side into one fraction.
†
−\ +† ]
=0
†
Second solution:
ln| | − 2& = F
1 Solution to be verified
1 1 −
− + ,=0
2 Differentiate both sides and simplify the left-hand side
•
1 −
− =0
†
† − +
=0
3 Combine the left-hand side into one fraction.
†
\ +† ] −
=0
†
3. Find solutions to =2 +
1 =2 + Given
Prepared by: Nathaniel M. Cabansay, BSCpE
1 =2 1 +1
1 = 21 + substituting = 1 and = 1
2 Determine if the right-hand side is homogeneous by
=2 +
−2 + =0
B. 2 + − =0
3 A. Subtract
A. 2 + from both sides
B. from both sides
# + # −2 # + =0 = # and =
B. 2 # + − # + # =0 # + #
4 A. Since is simpler, substitute
A. # + # − 2# −2 =0
B. 2# +2 −# − #=0
5 Multiply out all terms
#−# −2 =0
B. # +2 − #=0
6 A. Simplify the left-hand side
A. ‰
G
#−‰
G
=F Integrate both sides. ‰ 0 = F
%w
9
‰ −‰ #=F
G G
%w
B.
A. ln|# + 2| − ln| | = F 1
p • = ln|•| + F
B. ln| | − ln|# + 2| = F •
10
B. ln| | − ln ‘ + 2‘ = F
A
w Use the property of logarithms: log O − log O =
ln Œ” Œ=F
log O - .
12
A.
ln ŒA Œ=F
w
B.
”
A
w
= F OR ln ‘ ‘=F
w
expression inside the logarithm. Since e} is still a
”
13 Get the exponential of both sides OR simplify the
A = F OR ln ‘ ‘=F
w w
B.
”
=F
w
To check, we verify the solutions by differentiating and see if we get an equality/identity or the original differential
equation.
Prepared by: Nathaniel M. Cabansay, BSCpE
First solution:
+2
ln • •=F
1 Solution to be verified
−
+ , − - + 2.
• –=0
2 Differentiate both sides and simplify the left-
+2
hand side
− − −2
— ˜=0
+2
−2 −2
— ˜=0
+2
−2 −2
=0
+2
3 −2 −2 =0 Multiply both sides by +2
4 −2 + =0 Factor −2 from −2 −2
=2 + Add 2 +
A
5 to both sides. We got the
w
original equation back, so ln Œ” Œ = F is
indeed a solution.
Second solution:
ln • •=F
1 Solution to be verified
+2
−
+ 2 - + 2. − + ,
• –=0
2 Differentiate both sides and simplify the left-
- + 2.
hand side.
1 - + 2. −- − .
— ˜=0
- + 2.
1 +2 − +
— ˜=0
- + 2.
+2 − +
=0
+2
+2 − +
=0
+2
2 +2 −
=0
+2
Prepared by: Nathaniel M. Cabansay, BSCpE
4 2 + − =0 Factor 2 from 2 +2
Third solution:
+2
=F
1 Solution to be verified
−
+ , − - + 2.
=0
2 Differentiate both sides and simplify the left-hand side.
− − −2
=0
−2- . −2
=0
−2 −2
=0
4 −2 + =0 Factor −2 from −2 −2
=2 + Add 2 +
A
5 to both sides. We got the original
w
equation back, so ”
= F is indeed a solution.
Fourth solution:
=F
+2
1 Solution to be verified
Prepared by: Nathaniel M. Cabansay, BSCpE
−
- + 2. − + ,
=0
2 Differentiate both sides and simplify the left-hand side.
- + 2.
+2 − +
=0
- + 2.
2- . +2 −
=0
- + 2.
2 +2 −
=0
- + 2.
2 +2 − =0
3 Multiply both sides by - + 2.
4 2 + − =0 Factor 2 from 2 +2
=2 +
back, so A = F is indeed a solution.
5 Add to both sides. We got the original equation
w
”
Fifth solution:
+ 2 − +2 2
/ 0=0
+2
2 Differentiate both sides and simplify the left-
2
1 +2 −2 −4
hand side.
/ 0=0
+2
1 −2 −2
/ 0=0
+2
1 −2 −2
+ ,=0
+2
−2 −2
=0
+2
4 −2 + =0 Factor −2 from −2 −2
=2 + Add 2 +
original equation back, so ln ‘ ‘ = F is
w
5 to both sides. We got the
indeed a solution.
Prepared by: Nathaniel M. Cabansay, BSCpE
Sixth solution:
ln Œ Œ=F
+2
1 Solution to be verified
+2 +2 − 2 +2
/ 0=0
+2
2 Differentiate both sides and simplify the left-
1 2 +4 − −2
hand side.
/ 0=0
+2
1 2 +2 −
/ 0=0
+2
1 2 +2 −
+ ,=0
+2
2 +2 −
=0
+2
3 2 +2 − =0 Multiply both sides by +2
4 2 + − =0 Factor 2 from 2 +2
=2 +
equation back, so ln ‘ ‘ = F is indeed a
5 Add to both sides. We got the original
w
solution.
Seventh solution:
+2 − +2 2
=0
2 Differentiate both sides and simplify the left-hand side.
2
4 −2 + =0 Factor −2 from −2 −2
=2 + Add 2 +
= F is indeed a solution.
w
5 to both sides. We got the original
equation back, so
Eighth solution:
=F
+2
1 Solution to be verified
Prepared by: Nathaniel M. Cabansay, BSCpE
+2 − 2 +2
=0
+2
2 Differentiate both sides and simplify the left-hand side.
2 +4 − −2
=0
+2
2 +2 −
=0
+2
2 +2 −
=0
+2
3 2 +2 − =0 Multiply both sides by +2
4 2 + − =0 Factor 2 from 2 +2
=2 +
back, so A = F is indeed a solution.
5 Add to both sides. We got the original equation
w
”
4. Find solutions to + − =0
1 + − =0 Given
\ 1 + 1 1 ] − 1 =0
1 +1 −1 =0 substituting = 1 and = 1
2 Determine if the right-hand side is homogeneous by
1 + −1 =0
+ − =0
# +# − # + # =0 = # and =
# + #
3 Since is simpler, substitute
1 owG
ln| | + =F
# p o
= ‹k + 1 + F, k ≠ −1
8
ln| | + F , k = −1
Substitute # =
ln| | + =F
9
To check, we verify the solution by differentiating and see if we get an equality/identity or the original differential
equation.
1 −
+ =0
2 Differentiate both sides and simplify the left-hand side
+ −
=0
+ − =0
back, so ln| | + = F is indeed a solution.
3 Multiply both sides by . We got the original equation
+ − =0 +
equation back, so ln| | + = F is indeed a solution.
4 Factor from . We got the original
1 - + e . − e = 0, 1 =0 Given
U U
+1 + 1 eU , − 1 eU =0
substituting = 1 and = 1
2 Determine if the right-hand side is homogeneous by
1- + e . −1 e =0
- + e . − e =0
# + #
3
9 ln| | − e = F Substitute # =
10 N
ln|1| − eG = F Substitute = 0 and =1
11 F = −1 ln 1 = 0 and eN = 1
ln| | − e = −1
To check, we verify the solution by differentiating the particular solution and see if we get an equality/identity or
we get back the original differential equation.
1 −
−e + ,=0
2 Differentiate both sides and simplify the left-hand side
1 e e
− + =0
+ e e
— ˜ − =0
- + e . − e =0
equation, so ln| | − e = −1 is indeed a solution.
”
3 Multiply both sides by . We got back the original
A
Prepared by: Nathaniel M. Cabansay, BSCpE
An exact differential equation is a differential equation with the form i , +j , = 0 such that:
i j
=
™
Remember this symbol ? This represents a partial derivative. In the test for exactness above, means the partial
derivative of the multivariable function i , with respect to , which means that we only differentiate any
š
terms with respect to and treat as though it were a constant. Similarly, for , we treat as though it were a
constant.
=
From the general form above, if the differential equation passes the test for exactness
™ š
, the equation is an exact differential equation. We then get the general solution as follows:
1 i , +j , =0 Given
› Determine a function › , =
=i ,
2
i , =j ,
such that
›
=j ,
and
›=i ,
›=j ,
3 Multiply both sides of the first equation by and
both sides of the second equation by
› = pi , +m
4 Integrate both sides. For the first equation, since
pi , +m = pj , +l
determine m and l
5 Equate both integrals to one another to
v = p œ r, u •r + t u = p ž r, u •u + q r
determined value of m or l
6 The general solution is either form with the
1. Find a solution to 5 + 4 + 4 −8 =0
1 5 +4 + 4 −8 =0 Given
Prepared by: Nathaniel M. Cabansay, BSCpE
j
with respect
=4
to and test to see if they are equal. This differential
equation is exact.
› Determine a function › such that =i ,
=5 +4
3
=j ,
and
›
=4 −8
› = 5 +4
› = 4 −8
4 Multiply the first equation by and the second
equation by
› =p 4 −8
2
owG
6
› =4 −2 2
+l ‰ C! = C‰! , and ‰ ! ±y =
‰! ± ‰y
5
+4 +m =4 −2 2
+l
2
7 Equate both equations in the previous statement to each
other
5 alone is equated to m .
and the function containing
l = ,m = −2 2
2
5 Substitute m = −2 2
+4 −2 2
=F
2 l =
9 into the first equation or
Then set › = F
into the second equation in statement 6.
To check, we verify the solution by differentiating and see if we get an equality/identity or the original differential
equation.
5 +4 + −8 =0
5 +4 +4 −8 =0
2 Differentiate both sides and simplify the left-hand side.
5 +4 + 4 −8 =0
+4 −2 = F is
3 Collect all and terms together. We got back the
2
original differential equation, so
indeed a solution.
2. Find a solution to + 2 +4 =0
1 3 + 2 +4 =0 Given
i Get the partial derivative of 3
=6
and the partial derivative of 2 + 4 with respect to
2 with respect to
j
=6
and test to see if they are equal. This differential
equation is exact.
› Determine a function › such that =i ,
=3
3
=j ,
and
›
=2 +4
›=3
›= 2 +4
4 Multiply the first equation by and the second
equation by
› = p2 +4
7 +m = + 2
+l Equate both equations in the previous statement to each
other
m = 2
+l
l = 0, m = alone is equated to l
8 Subtract from both sides. The function containing
2
alone is equated to m .
and the function containing
+ 2
=F Use the second equation without the +l
there was no function of purely ) and set › to F
9 (since
To check, we verify the solution by differentiating and see if we get an equality/identity or the original differential
equation.
1 + 2
=F Solution to be verified
3 + 2 +4 =0
+ 2 = F is indeed
3 Collect all and terms together. We got back the
original differential equation, so
a solution.
› i , =j ,
= cos + cos −
and
› = sin − sin
› = cos + cos −
4 Multiply the first equation by and the
second equation by
› = p cos + cos −
›= sin + cos + m
‰ = + F, k ≠ −1,
6 Use the following integral rules:
•Ÿ‡
›= cos + sin − +l
o
2 owG
‰ C! = C‰! , ‰! ±
y = ‰! ±‰y
‰ sin • • = − cos • + F, and
,
‰ cos • • = sin • + F
equated to l
sides. The function containing alone is
cos + sin − =F +l
2
9 Use the second equation without the
To check, we verify the solution by differentiating and see if we get an equality/identity or the original differential
equation.
cos + sin − =F
2
1 Solution to be verified
2 cos − sin + sin + cos − =0 Differentiate both sides and simplify the
left-hand side.
+ 2 = F is indeed a
We got back the original differential
equation, so
solution.
Prepared by: Nathaniel M. Cabansay, BSCpE
4. Find a solution to 3 +e + + e −2 =0
1 3 +e + + e −2 =0 Given
i Get the partial derivative of 3 +e
=3 +e
2
j + e − 2 with
with respect to and the partial
=3 +e
derivative of
respect to and test to see if they are
equal. This differential equation is exact.
› Determine a function › such that =
=3 +e
3
› i , =j ,
= + e −2
and
›= 3 +e
›= + e −2
4 Multiply the first equation by and
the second equation by
›=p + e −2
›= + e +m
›= + e − +l
‰ o = + F, k ≠ −1,
6 Use the following integral rules:
•Ÿ‡
owG
‰ C! = C‰! , ‰! ±
y = ‰! ±‰y
‰ e„ • = e„ + F
, and
equated to l
The function containing alone is
+ e − =F
+l
9 Use the second equation without the
To check, we verify the solution by differentiating and see if we get an equality/identity or the original differential
equation.
1 + e − =F Solution to be verified
+ e − = F is indeed a
differential equation, so
solution.
1 + + 2 + −1 = 0, 1 =1 Given
i +
=2 +2
2 Get the partial derivative of
› i , =j ,
=2 + −1
and
›= +2 +
›= 2 + −1
4 Multiply the first equation by and
the second equation by
› = p2 + −1
›= + + +m
3 ‰ = + F, k ≠ −1,
6 Use the following integral rules:
•Ÿ‡
o
›= + − +l owG
‰ C! = C‰!
‰! ±y = ‰! ±
, and
‰y
+ + +m = + − +l
3
7 Equate both equations in the previous
statement to each other
+m =− +l
3
8 Subtract and from both sides.
equated to l
The function containing alone is
Then set › = F
in statement 6.
4
F=
3
11 Simplify the left-hand side
4
+ + − =
3 3
To check, we verify the general solution by differentiating the particular solution and see if we get an
equality/identity or the original differential equation.
4
+ + − =
3 3
1 Solution to be verified
+ + −
simplify. We got back the original
"
= is indeed a solution.
differential equation, so
2
Prepared by: Nathaniel M. Cabansay, BSCpE
Recall that an exact differential equation has the form i , +j , = 0 such that =
™ š
. Not all
differential equations are exact differential equations, and many of them have:
i j
≠
These are called inexact differential equations and must be transformed into an exact differential equation so
we could get a solution.
INTEGRATING FACTORS
To transform inexact differential equations into exact differential equations, we must multiply both sides with
respect to a factor known as an integrating factor. The integrating factor, which we’ll call , can be found in
three ways:
1 i j
form
= O P
This is attempted when the first two
+ − ,≠y
i
and 3 are determined
cases fail
This may also be attempted first Where
(No function of a single variable
i j j 3i
from:
− = −
results)
As we will see later in Module 12, many inexact differential equations satisfying the first two cases can be solved
using other methods, such as solving them as a variable-separable differential equation, homogeneous differential
equation, as a linear differential equation, or as a Bernoulli differential equation, the last two of which will be
discussed in the next two modules.
1. Find a solution to − + =0
1 − + =0 Given
i − with
= −1
2 Get the partial derivative of
j
respect to and the partial derivative
=1 of with respect to and test to see if
i j š
they are equal. This differential equation
− = −2 is not exact. We then subtract from
™
as we will need this one.
1 i j 2
+ − ,=−
j
3 We will try to determine which case fits
this equation. Here, we see that this fits
= e‰ :
e‰ ¡
Case 1, so our integrating factor is
G
= e: ‰
.
= e: £d| |
= e£dŽ Ž
¤
= :
Alternate Method:
Multiply both sides by O P and solve
for and 3. For an equation to equate
Alternate Method: to 0, all coefficients must equal 0.
Ow P
− O PwG
+ OwG P
=0
i
=3 Ow P:G
− 3+1 O P
We will get the same integrating factor
j
with either method
= +1 O P
3 Ow P:G − 3 + 1 O P
= +1 O P
3 Ow P:G
− 3+1 O P− +1 O P
=0
3 Ow P:G − 3 + + 2 O P
=0
3=0
3+ +2=0
+2=0
= −2
= :
1
-1 − . + =0
equation by :
4 Multiply both sides of the original
Prepared by: Nathaniel M. Cabansay, BSCpE
j 1
=−
G
respect to and the partial derivative
of with respect to and test to see if
they are equal. This differential equation
is now exact.
› Determine a function › such that =
=1−
6
› 1 i , =j ,
=
and
1
›=p
›= + +m
‰ o = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
›= +l owG
‰ C! = C‰! , ‰! ±
y = ‰! ±‰y
‰¥ • = ln|•| + F
G
, and
+m =l
l = ,m =0
11 Subtract from both sides. The
to l
function containing alone is equated
alone is equated to m .
and the function containing
+ =F
+m
12 Use the first equation without the
We check the solution and see if we get the original equation back.
1 + =F Solution to be verified
−
+ =0
2 Differentiate both sides and simplify the left-hand side.
+ − =0
− + =0
+ +
3 Collect all and terms together and simplify. We
"
− = is indeed a solution.
got back the original differential equation, so
2
Prepared by: Nathaniel M. Cabansay, BSCpE
2. Find a solution to 2 − + + −2 =0
1 2 − + + −2 =0 Given
i
=2 −4 +2
2 − + with respect to
2 Get the partial derivative of
j
=2
− 2 with respect to and
and the partial derivative of
i j
− =2 −4 =2 −2
test to see if they are equal.
š
This differential equation is not
exact. We then subtract
™
from as we will need this
one.
1 i j
+ − ,=2
j
3 We will try to determine which
case fits this equation. Here, we
= e‰
=e H integrating factor is e‰ ¡
see that this fits Case 1, so our
. If
we try the alternate method, we
will run into contradictions.
Alternate Method:
2 Ow −2 O Pw +2 OwG PwG + Ow P −2 O PwG =0
i
=2 3+1 Ow P −2 3+2 O PwG +2 3+1 OwG P
j
= +2 OwG P −2 O:G PwG
2 3+1 Ow P
− 2 3 + 2 O PwG + 2 3 + 1 OwG P
+ 2 O:G PwG = 0
2 3+1 Ow P − 2 3 + 2 O PwG + 23 − OwG P +2 O:G PwG =0
23 + 2 = 0
−23 − 4 = 0
23 − = 0
2 =0
=0
However, 3 does not have one definite value, thus:
≠ O P
2e − 2e + 2e + e − 2e =0
original equation by e
4 Multiply both sides of the
Prepared by: Nathaniel M. Cabansay, BSCpE
i
= 2e − 4e + 2e
2e − 2e + 2e
5 Get the partial derivative of
j
= 2e + 2e − 4e = 2e − 4e + 2e
derivative of e − 2e
with respect to and the partial
›
=e − 2e j ,
that and
› = 2e − 2e + 2e
›= e − 2e
7 Multiply the first equation by
and the second equation by
› = pe − 2e
8 Integrate both sides of the
second equation
›= e − e +l
‰ = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
o
owG
‰ C! = C‰!
and‰ ! ±y =
,
‰! ± ‰y
› Differentiate › partially with
= 2e + 2e − 2e +l
respect to and solve for l
10
2e − 2e + 2e = 2e + 2e − 2e +l
0=l
l = FG
respect to . We use FG here so
11 Integrate both sides with
we
›= e − e + FG Substitute l with FG ,
› − FG = e − e subtract FG from both sides, and
12
set › − FG to F
e − e =F
We check the solution and see if we get the original equation back
1 e − e =F Solution to be verified
2 e +2 e + e − 2 e +2 e =0
2 e +2 e + e −2 e −2 e =0
2 Differentiate both sides and
2 +2 + −2 −2 =0
simplify the left-hand side.
Prepared by: Nathaniel M. Cabansay, BSCpE
2 −2 +2 + −2 =0
2 − + + −2 =0
3 Collect all and terms
together and simplify. We got
equation, so e − e =
back the original differential
F is indeed a solution.
j partial derivative of − 2 + 3 − 20
= sin
i j
with respect to and test to see if they
− = cos + š
are equal. This differential equation is
not exact. We then subtract from
™
as we will need this one.
1 i j cos +
+ − ,=
j sin + cos
3 We will try to determine which case fits
1 i j cos +
this equation. Here, we see that this fits
+ − ,= = cot
i sin + e: ‰ ¢
Case 2, so our integrating factor is
= e: ‰ efg
. We cannot use the
= e: £d|bcd
alternate method here as
| transcendental functions are present
G
= e bcd = e£d|ebe
£d‘ ‘ |
1
= = csc
sin
+ + + cot =0
csc
4 Multiply both sides of the equation by
› i , =j ,
= + cot
and
›= +
›= + cot
7 Multiply the first equation by and
the second equation by
› = p + cot
Prepared by: Nathaniel M. Cabansay, BSCpE
›= + +m
2 ‰ o = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
+ +m = + ln|sin |+l
2
10 Equate both equations in the previous
statement to each other
+m = ln|sin |+l
2
11 Subtract from both sides. The
to l
function containing alone is equated
set › = F
second equation in statement 9. Then
We check the solution and see if we get the original equation back
+ + ln|sin |=F
2
1 Solution to be verified
4. Find a solution to + 2 +3 − 20 =0
1 + 2 +3 − 20 =0 Given
i
=
2 Get the partial derivative of with
j of − 2 + 3 − 20 with respect to
respect to and the partial derivative
=4
i j
and test to see if they are equal. This
− = −3 š ™
differential equation is not exact. We
then subtract from as we will
need this one.
1 i j −3
+ − ,=
j 2 + 3 − 20
3 We will try to determine which case fits
1 i j 3
this equation. Here, we see that this fits
+ − ,=−
i e: ‰ ¢
Case 2, so our integrating factor is
.
=e
‰
Prepared by: Nathaniel M. Cabansay, BSCpE
G
=e
‰
= e £d| |
= e£dŽ Ž
"
Alternate Method:
Multiply both sides by O P and solve
=
for and 3. For an equation to equate
to 0, all coefficients must equal 0.
Alternate Method:
OwG PwG
+ 2 Ow P
+3 O Pw
− 20 O P
=0
i
We will get the same integrating factor
= 3+1 OwG P with either method
j
= 2 +2 OwG P
+3 O:G Pw
− 20 O:G P
=2 +2 OwG P
+3 O:G Pw
− 20 O:G P
3+1 OwG P
=2 +2 OwG P
−3 O:G Pw
+ 20 O:G P
3+1 OwG P
−2 +2 OwG P
−3 O:G Pw
+ 20 O:G P
=0
3−2 −3 OwG P +3 O:G Pw − 20 O:G P =0
3−2 −3=0
3 =0
−20 = 0
3−3 =0
3=3
=
4 2
+ 2 +3 − 20 =0 Multiply both sides of the equation by
j of 2 + 3 − 20 with respect to
respect to and the partial derivative
=4
and test to see if they are equal. This
differential equation is now exact.
› Determine a function › such that =
= 2
6
› i , =j ,
= 2 +3 − 20
and
›= 2
›= 2 +3 − 20
7 Multiply the first equation by and
the second equation by
› = p2 +3 − 20
2
›= +m
2 ‰ o = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
2 ¦ owG
›= + −5 2
+l ‰ C! = C‰!
2 2
, and
Prepared by: Nathaniel M. Cabansay, BSCpE
‰! ±y = ‰! ±
‰y
2 2 ¦
+m = + −5 2
+l
2 2 2
10 Equate both equations in the previous
statement to each other
¦ ˆ
m = −5 2
+l
2
11 Subtract from both sides. The
to l
¦
l = 0, m = −5
function containing alone is equated
2
2 alone is equated to m .
and the function containing
2 ¦
+ −5 2
=F +l
2 2
12 Use the second equation without the
We check the solution and see if we get the original equation back
First solution
2 2
+2 +3 − 20 =0 Differentiate both sides and simplify the
left-hand side.
2
+ 2 +3 − 20 =0
+ 2 + 3 − 20 =0
3 Collect all and terms and divide
both sides by to get back the original
+ −5 = F is indeed a
differential equation and verify that
ˆ §
2
solution.
Second solution
1 2
+ ¦
− 10 2
=F Solution to be verified
2 2 2
+4 +6 − 40 =0 Differentiate both sides and simplify the
left-hand side.
2 2
+ 4 +6 − 40 =0
+ 2 + 3 − 20 =0 both sides by 2 to get back the
3 Collect all and terms and divide
2
+ ¦ − 10 2 = F is indeed a
original differential equation and verify
that
solution.
Prepared by: Nathaniel M. Cabansay, BSCpE
5. Find a solution to + + =0
1 + + =0 Given
i Get the partial derivative of +
=1+3
2
j
with respect to and the
=1 partial derivative of with respect
i j
to and test to see if they are
− =3 š
equal. This differential equation is
not exact. We then subtract
™
from as we will need this one.
1 i j 3
+ − ,=
j +
3 We will try to determine which
1 i j
case fits this equation. Here, we
+ − ,=3
i integrating factor is O P .
see that this fits Case 3, so our
i j j 3i
− = −
3 +
3 = −
Alternative Method:
Multiply both sides by O P and
3 = −3−3 solve for and 3. For an equation
3 = −3 −3
−3 = 0
to equate to 0, all coefficients
−3 = 3
must equal 0.
3 = −3
+3 =0
We will get the same integrating
= −3
factor with either method
= : :
Alternate Method:
O PwG
+ Ow Pw
+ OwG P
=0
i
= 3+1 O P
+ 3+3 Ow Pw
j
= +1 O P
3+1 O P
+ 3 + 3 Ow Pw
= +1 O P
3+1 O P
+ 3+3 Ow Pw
− +1 O P
=0
3− O P
+ 3 + 3 Ow Pw
=0
3− =0
3+3 =0
3 = −3
−3 − =0
= −3
= : :
Prepared by: Nathaniel M. Cabansay, BSCpE
1 1
+ + 1, + =0
by : :
4 Multiply both sides of the equation
i 2
=−
+ 1 with respect to and the
G
5 Get the partial derivative of
j 2
"
=− partial derivative of
G
" with
respect to and test to see if they
are equal. This differential
equation is now exact.
› 1 Determine a function › such that
= +1
=i , =j ,
6
› 1
=
and
1
›=+ + 1,
7 Multiply the first equation by
1
›=+ ,
and the second equation by
1
›=p +1
8 Integrate both sides
1
›=p
1
›=− + +m
2 ‰ = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
o
1 owG
›=− +l ‰ C! = C‰!
2
‰! ±y = ‰! ±
, and
‰y
1 1
− + +m =− +l
2 2
10 Equate both equations in the
previous statement to each other
+m =l G
l = ,m =0
11 Add to both sides. The
equated to l
function containing alone is
and the function
m .
containing alone is equated to
1
− + =F +m
2
12 Use the first equation without the
F.
We check the solution and see if we get the original equation back
1 1
− + =0
2
2 Differentiate both sides and simplify the left-hand side.
1 2 +2
/ 0+ =0
2 2 2
1 1
+ + =0
1 1
+ + 1, + =0
3 Collect all and terms and multiply both sides by
+ + =0 verify that −
G
+ = F is indeed a solution.
to get back the original differential equation and
6. Find a solution to + 2
+ =0
1 + 2
+ =0 Given
i Get the partial derivative of +
=1+2 2
2
2
j
with respect to and the
=1 partial derivative of with respect
i j
to and test to see if they are
− =2 2
š
equal. This differential equation is
not exact. We then subtract
™
from as we will need this one.
1 i j 2 2
+ − ,=
j +
3 We will try to determine which
2
1 i j
case fits this equation. Here, we
+ − ,=2
i integrating factor is O P .
see that this fits Case 3, so our
i j j 3i
− = −
3 + 2
2 2
= −
Alternative Method:
Multiply both sides by O P and
2 2
= −3−3 2
solve for and 3. For an equation
2 2
= −3 −3 2
−3 = 0
to equate to 0, all coefficients
−3 = 2
must equal 0.
3 = −2
+2 =0
We will get the same integrating
= −2
factor with either method
= : :
Alternate Method:
O PwG
+ Ow2 Pw
+ OwG P
=0
i
= 3+1 O P
+ 3+2 Ow2 PwG
j
= +1 O P
3+1 O P
+ 3+2 Ow2 PwG
= +1 O P
Prepared by: Nathaniel M. Cabansay, BSCpE
3+1 O P
+ 3+4 Ow2 PwG
− +1 O P
=0
3− O P
+ 3 + 2 Ow2 PwG
=0
3− =0
3+2 =0
3 = −2
−2 − =0
= −2
= : :
1 1
+ + , + =0
by : :
4 Multiply both sides of the equation
i 1 G
+
=−
5 Get the partial derivative of
j 1
=− G
with respect to and the
partial derivative of with
respect to and test to see if they
are equal. This differential
equation is now exact.
› 1 Determine a function › such that
= +
=i , =j ,
6
› 1
=
and
1
›=+ + ,
7 Multiply the first equation by
1
›=+ ,
and the second equation by
1
›=p +
8 Integrate both sides
1
›=p
1
›=− + +m
3 ‰ o = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
1 owG
›=− +l ‰ C! = C‰!
‰! ±y = ‰! ±
, and
‰y
1 1
− + +m =− +l
3
10 Equate both equations in the
previous statement to each other
G
+m =l
3
11 Add to both sides. The function
l
containing alone is equated to
l = ,m =0
3 alone is equated to m .
and the function containing
1
− + =F +m
3
12 Use the first equation without the
(since there was no
Prepared by: Nathaniel M. Cabansay, BSCpE
We check the solution and see if we get the original equation back
1
− + =F
3
1 Solution to be verified
+
+ ,+ =0
2 Differentiate both sides and simplify the left-hand side.
1 1
+ + =0
1 1
+ + , + =0
3 Collect all and terms and multiply both sides by
+ 2
+ =0
verify that − + = F is indeed a solution.
to get back the original differential equation and
G "
7. Find solutions to − + 2
− =0
1 − + 2
− =0 Given
i Get the partial derivative of + +
=2 −1
2
i j
test to see if they are equal. This
− =2 −2 2
š ™
differential equation is not exact. We
then subtract from as we will
need this one.
1 i j 2 −2 2
+ − ,=
j −
3 We will try to determine which case fits
2
1 i j 2 −2 2
this equation. Here, we see that this fits
+ − ,=
i − O P
Case 3, so our integrating factor is
i j j 3i
.
− = −
2
− 3 −
2 −2 2
= −
Alternative Method:
Multiply both sides by O P and solve
2 −2 2
= − −3 2
+3 for and 3. For an equation to equate
2 −2 2
= 3− + 2
−3
3− =0
to 0, all coefficients must equal 0.
= −2
−3 = 2 We will get the same integrating factor
3 = −2
with either method
= : :
Alternate Method:
Ow Pw
− O PwG
+ Ow Pw2
− OwG P
=0
Prepared by: Nathaniel M. Cabansay, BSCpE
i
= 3+2 Ow PwG
− 3+1 O P
j
= +2 OwG Pw2
− +1 O P
3+2 Ow PwG
− 3+1 O P
= +2 OwG Pw2
− +1 O P
3+2 Ow PwG
− 3+1 O P
− + 2 OwG Pw2
+ +1 O P
=0
3+2 Ow PwG
+ −3 O P
− + 2 OwG Pw2
=0
3+2=0
−3 = 0
+2=0
= −2
3 = −2
= : :
1 1
+ − , ++ − , =0 : :
4 Multiply both sides of the equation by
i 1 −
G
=
5 Get the partial derivative of
j 1
= −
G
with respect to and the partial
derivative of with respect to
and test to see if they are equal. This
differential equation is now exact.
› 1 Determine a function › such that =
= −
6
› 1 i , =j ,
= −
and
1
›=+ − ,
7 Multiply the first equation by and
1
›=+ − ,
the second equation by
1
›=p −
8 Integrate both sides
1
›=p −
1
›= + +m
2 ‰ = + F, k ≠ −1,
9 Use the following integral rules:
•Ÿ‡
o
1 owG
›= + +l ‰ C! = C‰!
3
‰! ±y = ‰! ±
, and
‰y
1 1
+ +m = + +l
2 3
10 Equate both equations in the previous
statement to each other
Prepared by: Nathaniel M. Cabansay, BSCpE
G
+m = +l
2 3
11 Subtract from both sides. The
to l
function containing alone is equated
l = ,m =
2 3 alone is equated to m .
and the function containing
1 Substitute m =
"
+ + =F
2 3
12 into the first
equation or l =
equation in statement 9. Then set › =
into the second
F
We check the solution and see if we get the original equation back
1
+ + =F
2 3
1 Solution to be verified
+
− + =0
2 Differentiate both sides and simplify the left-hand side.
− − + 2
=0
− + 2
− =0
+ + = F is indeed a
3 Collect all and terms. We got back the original
G "
differential equation, so
solution.
INTEGRABLE COMBINATIONS
You might notice that we frequently encounter certain products or quotients of , , and together. These
combinations can be derivatives of certain products, quotients, or functions of and known as integrable
combinations. These can be used to find integrating factors or just make finding solutions to inexact differential
equations faster.
= +
- .=
1.
:
2.
- .=
:
3.
-arctan - .. =
:
w
4.
-arctan - .. =
:
w
5.
ln =
w
6.
- ln - .. = -arcoth - .. = -artanh - .. =
G w :
: :
7.
- ln - .. = -arcoth - .. = -artanh - .. =
G w :
: :
8.
- .=
:G w
o:G •¤‡ •
9.
- ln + .=
G w
w
10.
Prepared by: Nathaniel M. Cabansay, BSCpE
- .=
:G w
o:G w •¤‡ w •
11.
12. O P
= O:G P:G
+3
1. Find solutions to + + − =0
1 + + − =0 Given
i + +
= 1+2
2 Get the partial derivative of
/ + 10 + + ,=0
- .=
:
4 If we divide both sides by , we have
an exact differential .
-arctan - .. =
:
but there is another exact differential
− -arctan - .. = 0 that fits:
w
.
We can also use -− arctan - .. =
: :
w
+ arctan + , = F
rules ‰ 0 = F, ‰ = + F, k ≠
5 Integrate both sides. Use the integral
•Ÿ‡
o
owG
−1, and ‰ ! ±y =
− arctan + , = F
‰! + ‰y
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
First solution:
−
+ =0
+
2 Differentiate both sides and simplify the left-hand side.
+ + − =0
+ + − =0
+ arctan - . = F is
3 Collect all and terms. We got back the original
differential equation, verifying that
indeed a solution.
Prepared by: Nathaniel M. Cabansay, BSCpE
Second solution:
−
− =0
+
2 Differentiate both sides and simplify the left-hand side.
−
+ =0
+
+ + − =0
+ + − =0
− arctan - . = F is
3 Collect all and terms. We got back the original
differential equation, verifying that
indeed a solution.
2. Find solutions to + + − =0
1 + + − =0 Given
i Get the partial derivative of + +
= 1+2
2
/ + 10 + + ,=0
- .=
:
4 If we divide both sides by , we have
an exact differential .
-arctan - .. =
:
but there is another exact differential
− -arctan - .. = 0 that fits:
w
.
We can also use -− arctan - .. =
: :
w
Prepared by: Nathaniel M. Cabansay, BSCpE
+ arctan + , = F
2 rules ‰ 0 = F, ‰ = + F, k ≠
5 Integrate both sides. Use the integral
•Ÿ‡
o
owG
−1, and ‰ ! ±y =
− arctan + , = F ‰! + ‰y
2
+ 2 arctan + , = F
− 2 arctan + , = F
First solution:
+ arctan + , = F
2
1 Solution to be verified
−
+ =0
+
2 Differentiate both sides and simplify the left-hand side.
+ + − =0
+ + − =0
+ arctan - . = F is
3 Collect all and terms. We got back the original
differential equation, verifying that
indeed a solution.
Second solution:
− arctan + , = F
2
1 Solution to be verified
−
− =0
+
2 Differentiate both sides and simplify the left-hand side.
−
+ =0
+
+ + − =0
+ + − =0
− arctan - . = F is
3 Collect all and terms. We got back the original
differential equation, verifying that
indeed a solution.
Third solution:
−
2 + 2+ ,=0
+
2 Differentiate both sides and simplify the left-hand side.
+ + − =0
+ + − =0
+ arctan - . = F is
3 Collect all and terms. We got back the original
differential equation, verifying that
indeed a solution.
Fourth solution:
−
2 −2 =0
+
2 Differentiate both sides and simplify the left-hand side.
−
+ =0
+
+ + − =0
+ + − =0
− arctan - . = F is
3 Collect all and terms. We got back the original
differential equation, verifying that
indeed a solution.
Prepared by: Nathaniel M. Cabansay, BSCpE
A linear differential equation is a differential equation with the form i , +j , = 0 such that it
can be written into either of the following forms:
+l =m
+l =m
The two forms above are known as the standard forms of a linear differential equation. The first is for a differential
equation linear in , the second a differential equation linear in . Much like with inexact differential equations,
they are solved using integrating factors and these integrating factors are derived as follows.
+l
1 Left-hand side of the standard form of
the linear differential equation
+l
+ l
2 Let be the integrating factor we need.
Multiply both sides by
+ l
= +
3 Note that we are one term away from
having an exact differential, specifically
= +
that of or
= l
= l
5 Multiply both sides by the differentials
of their respective independent
variables
1
=l
6 Divide both sides by
1
=l
Prepared by: Nathaniel M. Cabansay, BSCpE
ln| | = p l + FG
7 Integrate both sides with respect to
ln| | = p l + FG „
ln|•| + F, using FG as our constant of
integration. We then subtract FG from
both sides but still use +FG as −FG is
still a constant.
we equate that to F .
anyway, so equate F = 1
Now that we know the integrating factors, we can now derive the solutions as follows:
+l =m
11 Standard form of the linear differential
equation
+l =m
e‰ ª +l e‰ ª =m e‰ ª
12 Multiply both sides by the integrating
factor
e‰ ª +l e‰ ª =m e‰ ª
\ e‰ ª ]=m e‰ ª
\ e‰ ª ]
13 The left-hand side is an exact
\ e‰ ª ]
differential, specifically:
\ e‰ ª ]=m e‰ ª and
e‰ ª = pm e‰ ª +F
14 Integrate both sides with respect to
for the first equation and with respect
e‰ ª = pm e‰ ª +F
to for the second equation
is solved by e‰ ª = ‰m e‰ ª
From statement 14 above, we have now found the solutions to a linear differential equation. A differential
e = ‰m e
equation linear in , and a differential equation linear in is solved by
‰ª ‰ª .
Prepared by: Nathaniel M. Cabansay, BSCpE
+ = sin
1 Given
e‰ ª = pm e‰ ª +F
2 This differential equation is
linear in , so use this formula
Let l = 1 and m =
e‰ = p sin e‰ +F
sin
3
e = p sin e +F p1 =
4
+ • = sin #=e
- • = cos #=e
• = − sin
+ p# = e
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
+ = sin
2e
3 Divide both sides by
. We got back the
2 e = e sin −
original equation, so
cos + F is indeed a
solution
2. Find a solution to −2 =6
−2 = 6
1 Given
2
− =6
2 Divide both sides by
e‰ ª = pm e‰ ª +F
3 This differential equation is linear in ,
so use this formula
4
e: ‰ = p6 e‰ : +F Let l = − and m =6
1
e: £d| |
= p6 e: £d| |
+F p • = ln|•| + F
•
5
log O = log O
e£dŽ = p6 e£dŽ +F
6 ¤ Ž ¤ Ž
e£d =
= p6 +F
7
=6 +F pC =C +F
8
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
1 = 6 +F Solution to be verified
−2
=6
2 Differentiate both sides and simplify the left-hand side.
2
1 2
− =6
"
−2 =6
3
equation, so 2 e = e sin − cos + F is indeed
Multiply both sides by . We got back the original
a solution
Prepared by: Nathaniel M. Cabansay, BSCpE
3. Find a solution to − +3 =0
1 − +3 =0 Given
−+ +3 ,=0
2 Divide both sides by
e‰ ª = pm e‰ ª +F
4 This differential equation is linear in ,
so use this formula
Let l = − and m =3
G G G
e = p3 e +F
5 :‰ :‰
1
e: £d| |
= p 3 e: £d| |
+F p • = ln|•| + F
•
6
log O = log O
e£dŽ = p 3 e£dŽ +F
7 ¤‡ Ž ¤‡ Ž
e£d =
= p3 +F
8
=3 +F pC =C +F
9
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
1 =3 +F Solution to be verified
−
=3
2 Differentiate both sides and simplify the left-hand side.
1
− =3
− =3
− −3 =0
− +3 =0
differential equation, so = 3 + F is indeed a solution.
3 Collect all and terms. We got back the original
4. Find a solution to 1 + − = +
1+ − = +
1 Given
e‰ ª = pm e‰ ª +F
3 This differential equation is linear in , so use
this formula
e
:‰
Gw =p e
:‰
Gw +F Let l =− and m =
Gw
4
Gw G Gw G
e =p e +F
:‰ : :‰ :
5 Gw Gw Gw Gw Add and subtract 1 to
Gw
and split into two
fractions
G G
e =p e +F p! ±y = p! ± py
:‰ w‰ :‰ w‰
6 Gw Gw
G G nwo
= n o
e: ‰ e = p e: ‰ e +F
7 ‰Gw ‰Gw
‰1 = and ‰ • = ln|•| + F
G
e: e£d|Gw |
= p e: e£d|Gw |
+F „
8
9
1+ e: = p 1+ e: +F e£d =
+ = p e: + e: +F
e e
10 Simplify both sides of the equation
+ = p e: +p e: +F
e e
11 Split the integral on the right-hand side into
two.
+ •G = #G = e:
- •G = 1 #G = −e:
p e: = − e: − e:
Sign u2 dv2
+ • = # = e:
- • =2 # = −e:
• =2
p # = e:
+
• =0
p +p # , = −e:
-
p e: =− e: − 2 e: − 2e:
+ = − e: − e: − e: − 2 e: − 2e: + F
e e
13 Substitute the results in statement 12 into
statement 11
1 2 2
+ + + + = −/
+ 0+F
e e e
e e e e
14 Simplify the right-hand side
3 3
+ = −/ + + 0+F
e e e e e
Prepared by: Nathaniel M. Cabansay, BSCpE
+ +3+3 +
=F @” @” @”
e
15 Add , and to both sides.
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
e + + +3 +2 − + +3 +3+ e
=0
e
2 Differentiate both sides
+ + +3 +2 − + +3 +3+
=0
and simplify the left-
e
hand side.
+ + +3 +2 − − −3 −3 −
=0
e
+ − − −
=0
e
+ − − − =0
3 1+ − = + Add and to
1+ − = + both sides, then divide
both sides by . We
got back the original
= F is
equation, so
w w w w
@”
indeed a solution.
+ Q sec Z = cos Z
«
¬
5. Find a solution to
5
Q sec Z + tan Z = p cos Z sec Z + tan Z Z+F e£d =
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
Prepared by: Nathaniel M. Cabansay, BSCpE
1
Q + Q sec Z Z = Z
sec Z
Q + Q sec Z Z = cos Z Z
Q Divide both sides by Z. We
+ Q sec Z = cos Z
Z
3
equation, so Q sec Z +
got back the original
Q tan Z = Z − cos Z + F is
indeed a solution.
+ Q tan Z = sec Z
«
¬
6. Find a solution to
e£d =
Q sec Z = p sec Z Z+F
5
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
e‰ ª = pm e‰ ª +F
3 This differential equation is linear in ,
so use this formula
e£d|b@e |
= p 2 cos e|£d b@e |
+F p tan Z Z = ln|sec Z| + F
5
6 sec = p2 +F e£d =
sec = +F ‰ o =
•Ÿ‡
+ F, k ≠ −1 and
owG
7
‰ C! = C‰!
−15√2` =
X
=
:G √ X
sec - . = - . + F
32 4̀ 4̀
2
8 Substitute and
−15√2` `
X
\√2] = +F 2
32 16
9 Square on the right-hand side, and
evaluate sec - . = √2 on the left-hand
X
2
side
−15` ` :G √ X
by √2
= +F
16 16
10 Multiply
F = −` X
G¦
11 Subtract from both sides
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
efb
cos + sin = 2 cos
sec = − ` is indeed a solution
3 Multiply both sides by . We got back the original
equation, so
Prepared by: Nathaniel M. Cabansay, BSCpE
A Bernoulli differential equation is a differential equation with the form i , +j , = 0 such that
it can be written into either of the following forms:
+l =m o
+l =m o
These are similar to linear differential equations and in fact are solved like linear differential equations. The only
difference is a needed substitution. The solutions are derived as follows:
+l =m o
1 Standard form of a Bernoulli equation
+l =m o
:o
+l G:o
=m
equation
#
= :o
1−k
# = G:o
# = 1−k :o
#
= :o
1−k
1 #
+l #=m
1−k
4 Substitute the equivalences in statement
1 #
+l #=m
3 into statement 2
1−k
# Multiply both sides by 1 − k
+ 1−k l # = 1−k m
5
#
+ 1−k l # = 1−k m
#
+› #=-
Prepared by: Nathaniel M. Cabansay, BSCpE
#e‰ = p- e‰ +F
#, so we now get these formulas
7 The differential equation is now linear in
#e‰ = p- e‰ +F
1. Find a solution to + =
+ =
1 Given
:
:
+ =1
2 Divide both sides by
# # Let # = :
and # = −2 :
+ =1
−2 %
=
3 or
:
:
# 2
− # = −2
4 Multiply both sides by -2
#e‰ = p- e‰ +F
#, so we use this formula
5 The differential equation is now linear in
6
#e: ‰ = −2 p e: ‰ +F Let › = − and - = −2
‰ „ • = ln|•| + F and ‰ C! =
G
#e: £d| |
= −2 p e: £d| |
+F
C‰!
7
log O = log O
#e£dŽ = −2 p e£dŽ +F
8 ¤ Ž ¤ Ž
9
# :
= −2 p :
+F e£d =
# 2 owG
= +F p o
= + F, k ≠ −1
k+1
10
1 2 Substitute # = :
= +F
11
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
−2 + 1
=−
2 Differentiate both sides and simplify.
+ 1
=
1 1 2
+ =
+ =
+ =
= + F is indeed a solution.
G
3 Divide both sides by . We got back the original
equation, so
2. Find a solution to + =e :
+ =e :
1 Given
+ =e
2 Multiply both sides by
Let # = and # = 3 =
%
+# =e
3
3 or
+ 3# = 3e
4 Multiply both sides by 3
#e‰ = p- e‰ +F
#, so we use this formula
5 The differential equation is now linear in
Let › = 3 and - = 3e
#e‰ = 3 p e e‰ +F
6
#e = 3 p e2 +F pC =C +F
7
3 2
#e = e +F p e„ • = e„ + F
4
8
3 2 Substitute # =
e = e +F
4
9 and simplify
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
3 e e +e = 3e2
e e +e = e2
2 Differentiate both sides and simplify.
e + e = e2
+ =e :
Prepared by: Nathaniel M. Cabansay, BSCpE
+ =e :
got back the original equation, so e = e2 + F is
3 Divide both sides by and rearrange the equation. We
2
indeed a solution.
3. Find a solution to = −1
= −1
1 Given
− 1 by
= 2
−
2 Multiply
+ = 2
3 Add to both sides
2
:2
+ :
=
4 Divide both sides by
# Let # = :
and # = −3 :2
+# =
−3 %
=
5 or
:2
:
#e‰ = p- e‰ +F
#, so we use this formula
7 The differential equation is now linear in
Let › = −3 and - = −3
#e‰ : = −3 p e‰ : +F
8
#e: = −3 p e: +F pC =C +F
9
+ •= # = e:
•= e:
#=−
3
-
e: 1
#e: = −3 /− + p e: H 0 + F
3 3
e: 1
#e: = −3 /− − e: 0 + F
3 9
1
#e: = e: + e: +F
3
11 Simplify the right-hand side
1 Substitute # = :
e :
= e: + e: +F
3
12
Prepared by: Nathaniel M. Cabansay, BSCpE
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
−3 e :2
e +e = e: − 3 e: − e:
−3 e :2
e +e = −3 e:
2 Differentiate both sides and simplify.
e :2
e +e = e:
e
: :
+ e
:2 :
= e:
:
+ :2 =
+ = 2
3 = 2
− Subtract from both sides,
= 2
− divide both sides by and factor
= −1
from the right-hand side. We got
e : = e: + e: + F is
G
back the original equation, so
indeed a solution.
4. Find a solution to + =
+ =
1 Given
− =−
2 Subtract and from both sides
:G
1 Divide both sides by −
− :
+ =
3
# # 1 Let # = :G
and # = − :
+ =
4
#e‰ = p- e‰ +F
#, so we use this formula
5 The differential equation is now linear in
G 1 G
Let › = and -
G
=
G
#e‰ =p e‰ +F
6
1 1
#e£d| | = p e£d| |
+F p • = ln|•| + F
•
7
1 e£d =
# =p +F
8
# = ln| | + F 1
p • = ln|•| + F
•
9
Substitute back # = :G
= ln| | + F
10
Prepared by: Nathaniel M. Cabansay, BSCpE
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
− 1
=
2 Differentiate both sides and simplify.
1 1
− =
− =
− =
− =−
+ =
+ =
differential equation, so = ln| | + F is indeed a
3 Divide both sides by . We got back the original
solution.
5. Find a solution to 3 1 + =2 −1
3 1+ =2 −1
1 Given
− 1 by 2
3 1+ =2 2
−2
2 Multiply
Add 2
3 1+ +2 =2 2
3 to both sides
2 : 2 2
1+
3 :2
+ =
1+ 1+
4 Divide both sides by
# 2# 2 Let # = :
and # = −3 :2
− + =
1+ 1+ − #=3 :2
5 or
#e‰ = p- e‰ +F
#, so we use this formula
7 The differential equation is now linear in
2 Let › =− and - =−
#e = −p e +F
:‰ :‰
Gw Gw
1+
Gw Gw
8
G 1 G Let • = 1 + and • = 2
#e: ‰„ „
= − p e: ‰„ „
•+F
•
9
1 1
#e: £d|„| = − p e: £d|„| • + F p • = ln|•| + F
• •
10
1 log O = log O
#e£dŽ„ = − p e£dŽ„ Ž • + F
¤‡ Ž ¤‡
•
11
Prepared by: Nathaniel M. Cabansay, BSCpE
1 e£d =
#• :G = − p •+F
•
12
# 1 owG
= +F p o
= + F, k ≠ −1
• • k+1
13
:
1 Substitute back • = 1 + and # =
= +F
1+ 1+
:
14
To check, we differentiate the solution and see if we can get back the original equation or arrive at an identity.
−3 :2
1+ − :
2 −2
=
1+ 1+
2 Differentiate both sides and simplify.
−3 :2
1+ −2 : = −2
3 1+ +2 =2 2
3 1+ = 2 2−2
and factor 2
3 1+ =2 −1
3 Divide both sides by
=
from the right-hand side. We get back
¤"
Gw
the original equation, so
+ F is indeed a solution.
G
Gw
Prepared by: Nathaniel M. Cabansay, BSCpE
REFERENCES
Books
Abell, M. L., & Braselton J. P. (2022). Introductory differential equations (4th ed.). Academic Press.
Bronson, R., & Costa, B. (2022). Schaum’s outlines: Differential equations (5th ed.). McGraw-Hill Education.
Capote, R., & Mandawe, J. (2007). Mathematics & basic engineering sciences. JAM Publisher.
Edwards, C. H., Penney, D. , & Calvis, D. (2021). Differential equations & linear algebra (4th ed.). Pearson.
Zill, D. (2018). A first course in differential equations with modeling applications (11th ed.). Cengage Learning.
Online Sources
equations/first-order-equations/integrating-factors
de/[Link]
Ferraren, J. [jay yu ef] (2020, November 3). D E by elimination of arbitrary constants [Video]. YouTube.
[Link]
Ferraren, J. [jay yu ef] (2020, November 3). Differential equations: Definition and classifications [Video]. YouTube.
[Link]
Ferraren, J. [jay yu ef] (2020, November 3). Solution of a differential equation [Video]. YouTube.
[Link]
Prepared by: Nathaniel M. Cabansay, BSCpE
[Link]
Ferraren, J. [jay yu ef] (2020, December 1). Inexact D E (part 2 of 2) [Video]. YouTube.
[Link]
Ferraren, J. [jay yu ef] (2020, December 1). Integrable combinations [Video]. YouTube.
[Link]
Yu Jei Abat (2019, August 26). Differential equations – Families of curves solved problems [Video]. YouTube.
[Link]
Yu Jei Abat (2019, September 7). Differential equations – Variable separable DE solved problems [Video]. YouTube.
[Link]
Yu Jei Abat (2019, October 2). Non exact DE made exact using integrating factor – Differential equations [Video].
YouTube. [Link]