Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Math 331 Midterm 1 Solutions: Differential Equations, Exams of Mathematics

Solutions to math 331 midterm 1 exam questions related to differential equations. It includes four problems with detailed solutions, indicating if each equation is linear, separable, exact or homogeneous. The solutions involve finding the general form of the solutions using various techniques such as separation of variables, integrating factors, and exact equations.

Typology: Exams

Pre 2010

Uploaded on 08/19/2009

koofers-user-30c
koofers-user-30c 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 331: Differential Equations
Midterm 1 (Version B)
Department of Mathematics and Statistics
University of Massachusetts
Instructor: Alain Bourget February 18, 2005
Question 1: Solve the following initial value problems. Indicate if the equation is linear, separable, exact
or homogeneous.
(a)(y0=x2
y2
y(0) = 2
Solution: The ODE is separable. We have
dy
dx =x2
y2y2dy =x2dx y3
3=x3
3+Cy3=x3+Cy(x) = 3
px3+C.
Since y(0) = 2, we deduce that 2 = 3
CC=8. Finally, the solution is y(x) = 3
px38
(b)(ty0+ 4y=t
y(1) = 0
Solution: The ODE is linear. The integrating factor if µ(t) = e
R
4dt
t=t4. We get
y0+4
ty= 1 t4y0+ 4t3y=t4d
dt ¡t4y¢=t4t4y=t5
5+Cy(t) = t
5+C
t4.
Since y(1) = 0, we deduce that 0 = 1/5C, so C=1/5. The final solution is y(t) = t
51
5t4.
(c)((exsin y2ysin x) + (excos y+ 2 cos x+y2)y0= 0
y(2) = 0
Solution: The ODE is exact since M(x, y) = exsin y2ysin xand N(x, y) = excos y+ 2 cos x+y2and
∂M
∂y =N
∂x =excos y2 sin x.
Therefore, there exists a function ψ(x, y) such that ψx=M,ψy=Nand the implicit solutions
are given by ψ=C.
From ψx=M, we get
ψ=ZMdx =Z(exsin y2ysin x)dx =exsin y+ 2ycos x+h(y).
From ψy=N, we get
excos y+ 2 cos x+h0(y) = excos y+ 2 cos x+y2h0(y) = y2h(y) = y2
2.
Thus, ψ(x, y) = exsin y+ 2ycos x+y3
3and the general solutions are exsin y+ 2ycos x+y3
3=c.
Since y(2) = 0, we deduce that C= 0. The final solution is exsin y+ 2ycos x+y3
3= 0 .
pf2

Partial preview of the text

Download Math 331 Midterm 1 Solutions: Differential Equations and more Exams Mathematics in PDF only on Docsity!

Math 331: Differential Equations Midterm 1 (Version B) Department of Mathematics and Statistics University of Massachusetts

Instructor: Alain Bourget February 18, 2005

Question 1: Solve the following initial value problems. Indicate if the equation is linear, separable, exact or homogeneous.

(a)

y′^ = x

2 y^2 y(0) = − 2

Solution: The ODE is separable. We have

dy dx

x^2 y^2

⇒ y^2 dy = x^2 dx ⇒

y^3 3

x^3 3

  • C ⇒ y^3 = x^3 + C ⇒ y(x) = 3

x^3 + C.

Since y(0) = −2, we deduce that −2 = 3

C ⇒ C = −8. Finally, the solution is y(x) = 3

x^3 − 8

(b)

ty′^ + 4y = t y(1) = 0

Solution: The ODE is linear. The integrating factor if μ(t) = e

R (^4) dt t (^) = t^4. We get

y′^ +

t y = 1 ⇒ t^4 y′^ + 4t^3 y = t^4 ⇒

d dt

t^4 y

= t^4 ⇒ t^4 y =

t^5 5

  • C ⇒ y(t) =

t 5

C

t^4

Since y(1) = 0, we deduce that 0 = 1/ 5 − C, so C = − 1 /5. The final solution is y(t) =

t 5

5 t^4

(c)

(ex^ sin y − 2 y sin x) + (ex^ cos y + 2 cos x + y^2 )y′^ = 0 y(2) = 0

Solution: The ODE is exact since M (x, y) = ex^ sin y − 2 y sin x and N (x, y) = ex^ cos y + 2 cos x + y^2 and

∂M ∂y

∂N

∂x

= ex^ cos y − 2 sin x.

Therefore, there exists a function ψ(x, y) such that ψx = M , ψy = N and the implicit solutions are given by ψ = C.

From ψx = M , we get

ψ =

M dx =

(ex^ sin y − 2 y sin x)dx = ex^ sin y + 2y cos x + h(y).

From ψy = N , we get

ex^ cos y + 2 cos x + h′(y) = ex^ cos y + 2 cos x + y^2 ⇒ h′(y) = y^2 ⇒ h(y) =

y^2 2

Thus, ψ(x, y) = ex^ sin y + 2y cos x + y

3 3 and the general solutions are^ e

x (^) sin y + 2y cos x + y^3 3 =^ c.

Since y(2) = 0, we deduce that C = 0. The final solution is ex^ sin y + 2y cos x +

y^3 3

(d)

y′^ = x

(^2) +3y 2 2 xy y(2) = − 2

Solution: The ODE is homogeneous. We make the substitution v = y/x to obtain the new equation

xv′^ + v = f (1, v) =

1 + 3v^2 2 v

⇒ x

dv dx

1 + 3v^2 2 v

− v =

1 + v^2 2 v

Last ODE is separable. We get

2 v 1 + v^2

dv =

dx x

⇒ ln(1+v^2 ) = ln x+ln C = ln Cx ⇒ 1+v^2 = Cx ⇒ v = ±

Cx − 1 ⇒ y(x) = ±x

Cx − 1.

Since y(2) = −2, we deduce that −2 = − 2

2 C − 1 ⇒ C = 1. So the final solution is y(x) = −x

x − 1.

Question 2: Assume that the population of some species of insects follow the differential equation given by

dy dt = 4y(1 − y/10)

where y(t) denotes the number of insects (in thousands) at time t (in years). The initial population is assumed to be 200.

(a) What are the equilibrium solutions?

Solution: The equilibrium solutions are y = 0 and y = 10.

(b) Without solving the equation, sketch the integral curve of the solution y(t).

Solution: Since y(0) = 0.2, we need to sketch the integral when 0 < y < 10. On that interval, y′(t) > 0, so y is increasing. Moreover, since y′′(t) = 4(1 − y/5)y′(t), y′′(t) > 0 on 0 < y < 5 and y′′(t) < 0 on 5 < y < 10. Thus, y is concave upward on 0 < y < 5 and it is concave downward on 5 < y < 10. The integral curve is then:

2

4

6

8

10

y

(^0 1 2) x 3 4