Assignment 1
Assignment 1
1. (T)Classify each of the following differential equations as linear, nonlinear and specify
the order.
(i) y 00 + (cos x) y = 0
(ii) y 00 + x sin y = 0
√
(iii) y 0 = 1 + y
(iv) y 00 + (y 0 )2 + y = x
(v) y 00 + xy 0 = sin y
√
(vi) (x 1 + x2 y 0 )0 = ex y.
(vii) (1 − x)y 00 − 4xy 0 + 5y = cos x + ln(y)
√
(viii) (1 − x)y 00 − 4xy 0 + 5 y = cos x
(ix) (1 − x)y 00 y − 4xy 0 + 5y = cos x
√
(x) (1 − x)y 00 − 4xy 0 + 5y = cos x + ln(x) + ex + x
Solution:
A differential equation is linear if the dependant variable and all of its derivatives appear
linearly in the equation. The order of a differential equation is the order of the highest
derivative included in the equation.
2. Find the differential equation of each of the following families of plane curves. Here
a, b, c ∈ R denote arbitrary constants:
(i) xy 2 − 1 = cy (ii) cy = c2 x + 5 (iii)(T) y = ax2 + be2x (iv) y = ax + b + c
(v)(T) Circles touching the x-axis with centres on y-axis.
(vi) y = a sin x + b cos x + b,
where a, b and c are arbitrary constants.
(vii) x = a cos θ, y = a sin θ, θ is a parameter of the curve (family of circles in parametric
representation).
Solution:
Eliminate the constant(s) to find the differential equations:
4. Verify that the given function in the left is a general solution to the corresponding
differential equation in the right.
(i) x3 + y 3 = 3cxy x(2y 3 − x3 )y 0 = y(y 3 − 2x3 )
(T) (ii) y = ce−x + x2 − 2x + 4 y 0 + y = x2 + 2
(iii) y = cx − c2 y 02 − xy 0 + y = 0
Solution:
Show that the functions on the left satisfy the ODEs on the right.
(i) Here the function is given implicitly. Differentiating the equation w.r.t. x gives
x2 + y 2 y 0 = c(xy 0 + y). Eliminating c gives
2 2 0
x3 + y 3 = 3xy xxy+y y
0 +y =⇒ x(2y 3 − x3 )y 0 = y(y 3 − 2x3 ).
(ii) We have
y = ce−x + x2 − 2x + 4
=⇒ yex = c + x2 ex − 2xex + 4ex (Differentiating this equation, we have)
=⇒ y 0 ex + yex = 2xex + x2 ex − 2xex − 2ex + 4ex
=⇒ y 0 + y = 2x + x2 − 2x − 2 + 4
=⇒ y 0 + y = x2 + 2.
(iii) Differentiating w.r.t. x gives y 0 = c =⇒
y = cx − c2
=⇒ y = y 0 x − (y 0 )2
=⇒ (y 0 )2 − xy 0 + y = 0.
6. For each of the following differential equations, draw several isoclines with appropriate
lineal elements. Solve the equations and sketch some solution curves.
(T)(i) y 0 = x (ii) y 0 = −x/y.
(http://mathlets.org/mathlets/isoclines/)
Solution:
[Graphs of solutions of a first order equation can be understood in terms of the slope
field and isoclines. For dy/dx = f (x, y) an isocline is a set of points in the xy-plane
where all the solutions have the same slope dy/dx; thus, it is a level curve f (x, y) = k.
The lineal elements are line segments of slope k drawn on Isocline where k ∈ R is
constant. Isoclines and lineal elements are used to get an idea how the solutions curves
look without solving the differential equations explicitly.
]
For the given odes, the isoclines are (i) x = k and (ii) −x/y = k and the lineal elements
are line segments with slopes k. Note that the lineal elements are drawn with different
lengths. You may draw them with equal lengths too. Also, you may not use arrows
while drawing some solution curves.
Solution for first equation is y = x2 /2 + c and for the second one x2 + y 2 = c.
7. Draw isoclines, lineal element (slope field) and use them to draw some solution curve of
the equation y 0 = y 2 − x2 .
Solution:
(a) y 0 = x (b) y 0 = −x/y
2 2
1 1
0 0
-1 -1
-2 -2
-3 -3
-3 -2 -1 0 1 2 3 -3 -2 -1 0 1 2 3
Yellow lines are isoclines and other lines are lineal elements or slope field.
Blue lines are some of solution curves.