Professional Documents
Culture Documents
2 Elimination of Arbitrary Constants
2 Elimination of Arbitrary Constants
2 Elimination of Arbitrary Constants
There are several ways a differential equation may come up, some will be discussed in
modeling. There is one way of obtaining a differential equation by stating some families of
relations defined by a parameter/s called arbitrary constants. These represent any random
value; however it is not a variable although it could take in any value but once it is given a
value it would no longer be given any more values like in the case of a variable.
Methods of elimination may vary with the way in which a constant is placed in a
relation. Methods that is effective with one problem may be poor for other problems.
Example 1.
x3 − 3x2 y =c
dy
3x2 − 3x2 − 6xy =0
dx
dy
−3x2 = 6xy − 3x2
dx
dy
x = (2y − x)
dx
xdy = (2y − x)dx
−(2y − x)dx + xdy =0
(2y − x)dx − xdy =0
Example 2.
y sin x − xy 2 =c
dy dy
y cos x + sin x − 2xy − y2 =0
dx dx
dy dy
sin x − 2xy = y 2 − y cos x
dx dx
dy
(sin x − 2xy) = y(y − cos x)
dx
(sin x − 2xy)dy = y(y − cos x)dx
−y(y − cos x)dx + (sin x − 2xy)dy =0
y(y − cos x)dx − (sin x − 2xy)dy =0
Example 3.
dy
x2 + 2xy = c (1)
dx
Since c 6= 0, solving c from the main relation we have,
x2 y = 1 + cx
x2 y − 1 = cx
x2 y − 1
c=
x
then substitute this c to (1),
dy x2 y − 1
x2 + 2xy =
dx x
Simplifying,
dy
x3 + 2x2 y = x2 y − 1
dx
dy
x3 = x2 y − 2x2 y − 1
dx
dy
x3 = −x2 y − 1
dx
3
x dy = −(x2 y + 1)dx
(x y + 1)dx + x3 dy
2
=0
Example 4.
x = c1 cos ωt + c2 sin ω
Solution:
Since there are two arbitrary constants to be eliminated, obtain the first and the second
derivatives,
dx
= −c1 ω sin ωt + c2 ω cos ωt
dt
d2 x
2
= −c1 ω 2 cos ωt − c2 ω 2 sin ωt
dt
d2 x
= −ω 2 (c1 cos ωt + c2 sin ωt)
dt2
Notice that, c1 cos ωt+c2 sin ωt is simply equal to x from the given relation. Then the second
derivative can be expressed as
d2 x
= −ω 2 x
dt2
or
d2 x
+ ω2x = 0
dt2
Example 5.
y2
4a =
x
dy y2
2y =
dx x
2xydy = y 2 dx
2xydy − y 2 dx = 0
Example 6.
y = c1 + c2 e3x
Solution:
Obtain the first and the second derivatives of the given relation,
y = c1 + c2 e3x
dy
= 3c2 e3x
dx
d2 y
= 3(3c2 e3x )
dx2
d2 y dy
2
=3
dx dx
2
dy dy
2
−3 =0
dx dx
or
y 00 − 3y 0 = 0
Example 7.
y = x + c1 ex + c2 e−x
Solution:
Since there are two arbitrary constants to be eliminated, obtain the first and the second
derivatives,
y 0 = 1 + c1 ex − c2 e−x
y 00 = c1 ex + c2 e−x (1)
From the given relation,
y = x + c1 ex + c2 e−x
y − x = c1 ex + c2 e−x
Substituting to (1),
y 00 = c1 ex + c2 e−x
y 00 = y − x
or
y 00 − y + x = 0
Example 8.
y = x2 + c1 e2x + c2 e3x
Solution:
y 00 − 5y 0 + 6y = 6x2 − 10x + 2
Example 9.
y = Ae2x + Bxe2x
Solution:
2y − y 0 = −Be2x (4)
2y 0 − y 00 = −2Be2x (5)
y 00 − 4y 0 + 4y = 0