Professional Documents
Culture Documents
Lesson 2 Families of Curve
Lesson 2 Families of Curve
BASIC CONCEPTS
Many physical applications involve the case of differential equations, dominantly in the field of
engineering, physics, and chemistry. Mathematical models are increasingly build up in these areas
especially in biology, physiology, and economics. Differential equations play a fundamental role in almost
branch of science. Differential equations are equations that involve derivatives.
1. Define and illustrate some basic terms converted with differential equations; and
2. Classify differential equations and determine their degree and order.
A differential equation is an equation involving an unknown function and its derivatives. The
following are differential equations involving unknown function y :
dy
1.1 = 5x + 3
dx
dy 2 dy
1.2 x 2
+2 =1
dx dx
4 2
d3y d4y
1.3 4 2 + sin x 4 + 5 xy = 5 x + 3
dx dx
4 2
d3y d5y
7
dy
1.4 2 + 3 5 + y 3 = 6
dx dx dx
2z 2z
1.5 − =0
y2 x2
Two kinds of differential equations
Equations 1.1 through 1.4 are examples of ordinary differential equations, since the
unknown function y depends only in a single variable x.
Equation 1.5 is an example of partial differential equation, since the unknown function
z depends on two variables x and y.
Order and degree
The order of a differential equation is the order of highest derivative appearing in the
equation.
Equation 1.1 is of order of 1; 1.2 and 1.5 are of order of 2; 1.3 is of order of 4; and 1.4 is
of order of 5.
The degree of a differential equation that can be written as polynomial in the unknown
function is the power to which the highest-order derivative is raised.
Equation 1.1 and 1.2 are of degree 1; 1.3 and 1.4 are of degree 2.
Note: Not every differential equation has a degree. The following differential equations cannot
be classified by degree.
1
dy dy dy dy 2
1. e y
2
+2 =1 2. + sin y = 0 3. +y=x
dx dx dx dx
Equation 1 has no degree, as it cannot be written as a polynomial in the unknown function y
because of the expression e y . Equation 2 has no degree because of sin y and equation 3 has no degree
1
because of the function , not a positive integer.
2
An nth order differential equation in the unknown function y and the independent variable x
is a linear if it can be written in the form
dny d n −1 y d1y
bn ( x ) n + bn −1 ( x ) n −1 + + b1 ( x ) 1 + yb0 ( x ) = g ( x )
dx dx dx
Differential equations that cannot be written in this form are called nonlinear.
Equation 1.1 is a linear of order of 1 i.e. first order differential equation; while 1.2 is linear and
second order differential equation.
dy dy
a. = xy + 1 , order 1 e. a0 ( x ) + a1 ( x ) y = g ( x ) , order 3
dx dx
d 2u du d2y
b. 2
+t + 3u = 1 , order 2 f. + xy = sin y , order 2
dt dt dx 2
d 3 y dy
c. + + y = 0 , order 3 g. y '''+ y ''+ y '+ y = 1 , order 3
dx 3 dx
2
y d y dy d2y dy
d. e 2
+ x + y = 2 , order 2 h. x
3
2
+ x 2 + x 2 y = sin y , order 2
dx dx dx dx
1. Discuss the relationship between the differential equation and its correspond function which
serve as a solution; and
2. Find the differential equation for an indicated solution.
There are several ways of arriving at a differential equation. One way is by the method called the
elimination of arbitrary constants. This means that, in this section, we start with the given function and
find the corresponding differential equation, i.e. the function serves as the solution for the differential
equation. So the solution is given first, and we need to find the problem being the differential equation.
As a rule for finding the differential equation, we simply differentiate the function or relation as
many times depending on the number of constants presenting the function.
Solution. There is only one constant a, so we need to differentiate the given equation only once,
i.e.
2 yy ' = 4 a
1
a= yy '
2
1
Substituting the this value of a, in the given equation gives y = 4 yy ' x , or y = 2 xy '.
2
2
The result, being the last equation may also be written in other form such as
dy
y = 2x , or ydx = 2 xdy , or ydx − 2 xdy = 0
dx
Example 1.2.2. Find the differential equation whose solution is given by the following
y = cx + c b. x + y = r c. y = ax + bx + c
2 2 2 2
a.
Solution.
c. The given equation has 3 constants, thus differentiation is done three thrice
y ' = 2 ax + b
y '' = 2 a
y ''' = 0
There are three (3) equations in unknown c1 and c 2 . Eliminating c1 in Eq. 1 and Eq. 2, by
addition gives y + y ' = 3c2e 2 x (Eq.4)
Eliminating c1 in Eq. 2 and Eq. 3, by addition we obtain y '+ y '' = 6c2e 2 x (Eq.5)
−2 ( y + y ' ) = −2 ( 3c2e 2 x )
−y 1 1 −y 1 1 −y 1
−y' −1 2 = 0, or − y ' −1 −1 − y ' −1 = 0
− y '' 1 4 − y '' 1 4 − y '' 1
Example 1.2.4. Find the differential equation whose solution is given by the following
Solution.
y ' = a cos( x + b )
y '' = − a sin( x + b )
y ''+ y = 0.
We get the coefficient of c1 , c2 and the terms at the left sides to form the array of elements in the
determinants as follows:
y−x e− x e −2 x y−x 1 1
y '− 1 − e − x −2e −2 x = e − x e −2 x y '− 1 −1 −2
y '' e− x 4 e −2 x y '' 1 4
If an equation involves a parameter, then it represents a family of curves, with one curve for
each particular value of a parameter. The following equation illustrate family of curves. y = x
Example 1.3.1. Obtain the differential equation for the family of lines through the origin.
Solution. The required equation satisfied by the given condition of the problem is
y = cx (Fig. 1.3.15)
y = y'x
dy
y= x
dx
ydx = xdy
ydx − xdy = 0
Note that the differential equation ydx − xdy = 0 has the equation y = cx as its solution.
Example 1.3.2. Obtain the differential equation for the family of circles having their centers on
the x − axis.
Solution. If ( h, k ) represents the center of each circle then, k = 0. Since every center is on the
x − axis, then k = 0. (Fig. 1.3.16). The required equation is
( x − h)
2
+ y 2 = r 2 , where h and r vary, i.e. being parameters. Since there are two parameters,
then differentiation must be done twice, i.e.
2 x − 2 h + 2 yy ' = 0
h = x + yy '
Example 1.3.3. Find the differential equation having the solution as the equation representing all
circles with centers at the origin.
Solution. The required equation having the solution as the equation representing all circles with
centers at the origin as indicated in Fig. 1.3.17 is
x2 + y2 = r 2
2 x + 2 yy ' = 0
x
xdx + ydy = 0, or y ' = −
y
Example 1.3.4. Obtain the differential equation of the family of hyperbolas with center at the
origin.
Solution. For Simplicity of the equation, consider x 2 − y 2 = c, where c is any arbitrary constant
(Fig.1.3.18).
By differentiation, we have
2 x − 2 yy ' = 0
x − yy ' = 0
xdx − ydy = 0
Example 1.3.5. Obtain the differential equation of the family of lines passing through ( −1,1).
Solution. The equation of the family of lines as indicated in Fig.1.3.19 passing through ( −1,1) is
y −1
=m
x +1
dy = mdx
y'= m
y −1
= y ', or ( y − 1) dx = ( x + 1) dy , or ( y − 1) dx − ( x + 1) dy = 0
x +1
Example 1.3.6. Find the differential equation having the solution as the equation representing
all ellipses having its centers at the origin and traverse axis x.
Solution. The required equation for the family of ellipses having their centers on the origin and
traverse axis x is (Fig.1.3.20) is
x2 y2
+ =1
a2 b2
By differentiation, we have
2 x 2 yy '
+ 2 =0
a2 b
x yy ' x yy '
2
+ 2 = 0, or 2 = − 2 (Eq.1)
a b a b
yy '
x=−
yy ''+ ( y ' )
2
dy = mdx
y'= m
y −1
= y ', or ( y − 1) dx = ( x + 1) dy , or ( y − 1) dx − ( x + 1) dy = 0
x +1
Example 1.3.7. Obtain the differential equation having the solution as the equation representing
all circles of radius 1 and centers on the line y = x.
Solution. The required equation for the family of circles of radius 1 and centers on the line
y = x (Fig.1.3.21) is
(x −k) +( y − k) =1
2 2
where k is a parameter.
By differentiation, we have
2( x − k ) + 2( y − k ) y ' = 0
(x − k) + ( y − k) y ' = 0
x − k + yy '− ky ' = 0
k + ky ' = x + yy '
k (1 + y ') = x + yy '
x + yy '
k=
1+ y '
(x − k) +(y −k) =1
2 2
x 2 − 2 kx + k 2 + y 2 − 2 ky + k 2 = 1
x 2 + y 2 + 2k 2 − 2k ( x + y ) = 1
x 2 + y 2 − 2k ( x + y ) = 1 − 2k 2
2
x + yy ' x + yy '
x + y − 2
2 2
( x + y) = 1 − 2
1+ y ' 1+ y '
A solution of a differential equation in the unknown function y and the independent variable x on
the interval I is a function y(x) that satisfies the differential equation identically for all x in I.
ce x − ce x = 0
Example 1.4.3. Verify that y = c1e x + c2e 2 x is a solution of the differential equation
y ''− 3 y '+ 2 y = 0
y ''− 3 y '+ 2 y = 0
c1e x + 4c2 e 2 x − 3 ( c1e x + 2c2e 2 x ) + 2 ( c1e x + c2e 2 x ) = 0
c1e x + 4c2 e 2 x − 3c1e x − 6c2e 2 x + 2c1e x + 2c2e 2 x = 0
0=0
Example 1.4.4. Is y = c1 sin 2 x + c2 cos 2 x where c1 and c 2 are arbitrary constants, a solution of
y ''+ 4 y = 0?
Hence, we have −4 y + 4 y = 0.
Solution. Note that the left side of the differential equation must be nonnegative for every real
function y(x) and any x, since it is the sum of terms raised to second and forth powers, while the right side
of the equation is negative one. Since no function y(x) that will satisfy this equation, the given differential
equation has no solution.
−x −x
Example 1.4.6. Determine whether y = 2e + xe a solution of y ''+ 2 y '+ y = 0.
y ' = −2e − x − xe − x + e − x = − e − x − xe − x
y '' = e − x − ( − xe − x + e − x ) = xe − x
y'= 0
y '' = 0
y ''+ 2 y '+ y = x
0 + 2(0) + 1 = x
1 x
Example 1.4.8. Show that y = ln x is a solution of xy ''+ y ' = 0 on I = (0, ) but is not a
solution on I = ( −, )
1
y' =
x
−1
y '' = 2
x
Substituting these values into the differential equation
−1 1
x 2 + =0
x x
1 1
− + =0
x x
0=0
Thus, y = ln x is a solution of xy ''+ y ' = 0 on (0, ).
Note that y = ln x could not be a solution on ( −, ), since the logarithm is undefined for negative
numbers and 0.
Example 1.4.9. Find a solution to the initial-value problem y ''+ 4 y = 0; y (0) = 0, y '(0) = 1 if the
general solution to the differential equation is known to be y ( x ) = c1 sin 2 x + c2 cos 2 x
Solution. Since y ( x ) is a solution of the differential equation for all values of c1 and c 2 (see
example 1.4.4), we seek those values of c1 and c 2 that will also satisfy the initial conditions.
Furthermore,
1 = 2c1
1
c1 =
2
Substituting these values into the y ( x ),
y ( x ) = c1 sin 2 x + c2 cos 2 x
1
= sin 2 x + 0 cos 2 x
2
1
= sin 2 x
2
1
Therefore, we obtain y ( x ) = sin 2 x as the solution of the initial-value problem.
2
Example 1.4.10. Find a solution to the boundary-value problem y ''+ 4 y = 0; y = 0,
8
y = 1, if the general solution to the differential equation is y ( x ) = c1 sin 2 x + c2 cos 2 x
6
Solution. Note that to satisfy the condition y =0
8
y = c1 sin 2 + c2 cos 2
8 8 8
0 = c1 sin + c2 cos
4 4
2 2
0 = c1 + c2
2 2
Furthermore, to satisfy the condition y = 1
6
y = c1 sin 2 + c2 cos 2
6 6 6
1 = c1 sin + c2 cos
3 3
3 1
1 = c1 +c
2 2 2
2 2
0 = c1 + c2 0 = c1 + c2
2 2
3 1
1 = c1 + c2 2 = 3c1 + c2
2 2
( )
3 − 1 c1 = 2
2 3 +1
c1 = •
3 −1 3 +1
c1 = 3 + 1
c1 = − c2
c2 = − ( 3 +1 )
Substituting these values into the y ( x ),
y ( x ) = c1 sin 2 x + c2 cos 2 x
=( )
3 + 1 sin 2 x − ( 3 + 1) cos 2 x
=( 3 + 1) ( sin 2 x − cos 2 x )
Therefore, we obtain y ( x) = ( )
3 + 1 ( sin 2 x − cos 2 x ) as the solution of the boundary-value problem.
Example 1.4.11. Find a solution to the boundary-value problem y ''+ 4 y = 0; y (0) = 1, y = 2
2
if the general solution to the differential equation is known to be y ( x ) = c1 sin 2 x + c2 cos 2 x.
Solution. Since y (0) = c1 sin 2(0) + c2 cos 2(0), we must choose c2 = 1 to satisfy the condition
y (0) = 1.
Furthermore,
y = c1 sin 2 + c2 cos 2
2 2 2
= c1 sin + c2 cos
= − c2
We must choose c2 = − 2 to satisfy the condition y = 2.
2
Thus, to satisfy both boundary conditions simultaneously, we must require c 2 to equal one minus two
( c2 = 1 − 2 ) which is impossible. Therefore, there does not exist a solution to this problem.
Example 1.4.12. Determine c1 and c 2 so that y ( x ) = c1 sin 2 x + c2 cos 2 x + 1 will satisfy the
conditions y = 0 and y ' = 2.
8 8
y = c1 sin 2 + c2 cos 2 +1
8 8 8
= c1 sin + c2 cos + 1
4 4
2 2
= c1 +c +1
2 2 2
= 2c1 + 2c2 + 2
To satisfy the condition y = 0 , we require 2c1 + 2c2 + 2 = 0, or equivalent to c1 + c2 = − 2
8
y ' = 2c1 cos 2 − 2c2 sin 2
8 8 8
= 2c1 cos − 2 c2 sin
4 4
2 2
= 2c1 − 2 c2
2 2
= 2c1 − 2c2
To satisfy the condition y ' = 2, we require 2c1 − 2c2 = 2 or equivalent to c1 − c2 = 1
8
Solving simultaneously to solve c1 and c 2
c1 + c2 = − 2 c1 − c2 = 1
1− 2 −1 − 2
Then c1 =
2
=−
1
2
( )
2 − 1 and c2 =
2
=−
1
2
( 2 +1 )
Example 1.4.13. Determine c1 and c 2 so that y ( x ) = c1e + c2e + 2sin x will satisfy the
2x x
2( 0 )
y ' ( 0 ) = 2c1e + c2e 0 + 2 cos 0
= 2c1 + c2 + 2
c1 + c2 = 0 2 c1 + c2 = − 1
Then c1 = −1 and c2 = 1