Sma 2231 Differential Equations
Sma 2231 Differential Equations
ASSIGNMENT 1
SAMPLE SOLUTIONS
QUESTION ONE
ai Let R1 x, y and R2 x, y be the respective revenue functions from the sales of the ten
speed bicycles and three speed bicycles the if Rx, y is the total revenue then
Rx, y R1 x, y R2 x, y xp yq x230 9 x y y 130 x 4 y
230 x 9 x 2 4 y 2 130 y 2 xy Px, y Rx, y cx, y 150 x 9 x 2 4 y 2 100 y 2 xy 200
1
iv. y k c1e kx
k c2 e kx
y kc1e kx
kc 2 e kx
ky
c) y ae k sin kx
x
y x
equation yields y 2 e xy dx 2 xye xy dy 4 x 2 dx 3 y 2 0 or
2 2
2
e xy d xy 2 d x 4 d y 3 0 which on integration e xy x 4 y 3 c
2
2
x 2 v v 3 dx x 3 1 v v 2 dv 0 on separating the variables and integrating
1
y 2
y 1
yields ln x ln v1 v 2 1 v 2 c or
1
1
x
B
1
y 2
1
x
dy y
iii. Equation can be written as x 2 3x 2 equation is linear whose
dx x
dx
1 1
integrating factor is e x e ln x multiplying the equation by
x x
y
d
x x 3 2 d y x 3 2 dx integrating yields
dx x x x
y x2 x3
3x 2 ln x c or y 3x 2 2 x ln x cx
x 2 2
c)
i. M x, y 2 xy 4 e y 2 xy y and
M
N x, y x 2 y 4 e y x 2 y 2 3x 8 xy 3 e y 2 xy 4 2 x 1,
y
N M N
2 xy 4 e y 2 xy 2 3 equation is not exact, now
x y x
1 1
4 M x, y 2 xe y 6 xy 4 3 y 4 , 4 N x, y 2 xe y 2 xy 2 3 y 4
y y x y
1
the two are not equal thus is not an integrating factor of the given equation
y4
M x, y N x, y
ii. M x, y y, N x, y x the equation is not exact, now
x x
1 y y 1 y
2 f M x, y 3 yf 2 f ,
1
y x x x x x x 1 y
2 f is an integrating
1 y 1 y 1 y x x
2 f N x, y 2 f 3 yf
x x x x x x x
factor
d) The equation is a Bernoulli equation of degree 4 multiplying the equation by y 4 yields
3
yields d ue 3 x 3xe 3 x dx integrating yields u x
1 1
ce 3 x y 3 x ce 3 x
3 3
35 3 1 35
applying the given condition yields c e required solution is y 3 x e 3 x
24 3 24
QUESTION THREE
S t 5 1 e 0.056t 4 t
1
0.056
ln 5 29 years
dA
b) Let A be the amount in the account at any time t the 0.045 A 3400
dt