MECH2407 Tutorial
MECH2407 Tutorial
dy
1. Find the value of dx
at (1, 2), where x2 + xy + y 2 − 7 = 0.
[Ans: − 54 ]
x+y
2. Find the partial derivative of f (x, y) with respect to x and y: f (x, y) = xy−1
.
−y 2 −1 −x2 −1
[Ans: fx = (xy−1)2
, fy = (xy−1)2
]
p
5. Let f (x, y, z) = e−kx cos(kz) + ln( x2 + y 2 ). Find fxx , fyy and fzz and verify that
fxx + fyy + fzz = 0
y 2 −x2
[Ans: fxx = k 2 e−kx cos(kz) + (x2 +y 2 )2
,
x2 −y 2
fyy = (x2 +y 2 )2
,
fzz = −k 2 e−kx cos(kz)]
6. Let w(x, y) = ex + x ln y + y ln x. Find all the partial derivatives (wx , wy , wxx , wxy , wyy ).
[Ans: wx = ex + ln y + xy , wy = xy + ln x,
wxx = ex − xy2 , wxy = x1 + y1 , wyy = − yx2 ]
∂z ∂z
8. Consider z being a function of x, y, with xy + z 3 x − 2yz = 0. Find ∂x
and ∂y
at the
point (2, 8, 2).
[Ans: −2, 14 ]
1
∂x ∂y
9. Find ∂u and ∂u if the equations u = x2 − y 2 and v = x2 − y define x and y as functions
of the independent variables u and v, and the partial derivatives exists.
1 1
[Ans: xu = 2x−4xy
, yu = 1−2y
]
2 2 wt2 + 4ws2
11. Let w = w(x, y) where x = 4t − s and y = 4ts. Show that wx2 + wy2 = .
16(4t2 + s2 )
12. Find the equations of the tangent plane and normal line at the point P0 (1, 1, −1) for
the surface x2 − xy − y 2 − z = 0.
[Ans: x − 3y − z + 1 = 0;
x = 1 + t, y = 1 − 3t, z = −1 − t]
13. Let f (x, y) = 3xy − 2y 2 . Find the directional cosines of the vector ~s = 4î + 3ĵ, and find
∂f
∂s
.
[Ans: cos α = 54 , cos β = 35 , fs = 9x
5
]
(b) Find the directional derivative of f at the point P0 in the direction of the vector
~ = 2î + 3ĵ + 6k̂.
A
[Ans: (−7, −2, 2), − 87 ]
15. Let f (x, y, z) = cos(xy) + eyz + ln(zx). Find the directional derivative of f at the point
~ = î + 2ĵ + 2k̂.
P0 (1, 0, 12 ) along the vector A
[Ans: 2]
y3
17. Find and identify all the critical points of the function f (x, y) = 9x3 + 3
− 4xy.
[Ans: (0, 0) saddle point, ( 49 , 34 ) local min]
2
18. Find the critical points of the function f (x, y) = 2x3 − 6x + y 3 − 12y and determine
their nature.
[Ans: saddle points: (−1, 2), (1, −2),
local max: (−1, −2),
local min: (1, 2)]
19. Find the minimum distance from the surface x2 − y 2 − z 2 = 1 to the origin.
[Ans: 1]
20. Sketch the curve xy 2 = 54. Find the minimum distance from the origin to the curve
xy 2 = 54.
√
[Ans: min distance 5.196 at (3, ±3 2)]
21. Sketch the region of integration and write out the intervals for the integral:
(a) y = 0, y = x, x = π
(b) x = y 2 , y = 1, y = 2, y = x
(c) y = x, y = −x, y = −2
3
23. Sketch
Z π Z x the region of integration and evaluate the integral:
x sin y dy dx
0 0
π2
[Ans: 2
+ 2]
26. Sketch the region of integration and write an equivalent double integral with the order
of
Z integration
Z x reversed:
1 e
dy dx
0 1
Z eZ 1
[Ans: dx dy]
1 ln y
27. Sketch the region of integration and write an equivalent double integral with the order
of integration reversed:
Z 3 Z 9−4x2
2
16x dy dx
0 0
√
9−y
Z 9 Z
2
[Ans: 16x dx dy]
0 0
ZZ
sin y
28. Evaluate I = dA where D is bounded by x = 0, y = π and x = y.
y
D
[Ans: 2]
x−y
ZZ
29. Consider I = cos dA where D is the region bounded by y = 0, y = x and
x+y
D
x + y = 2. By change of variables with t = x − y and s = x + y, evaluate I.
[Ans: sin 1]
4
31. Find the volume of the solid whose base is the region in the xy-plane that is bounded
by the parabola y = 4 − x2 and the line y = 3x, while the top of the solid is bounded
by the plane z = x + 4.
625
[Ans: 12
]
32. Change the Cartesian integral into an equaivalent polar integral, and then evaluate the
integral.√
Z ln 2 Z (ln 2)2 −y2 √
2 2
e x +y dx dy
0 0
π
[Ans: 2
(2 ln 2 − 1)]
33. Find the volume bounded between the cylinder z = y 2 and the x-y plane that is bounded
by the planes x = 0, x = 1, y = −1, y = 1.
[Ans: 32 ]
Z 1 Z √1−y2 Z x
34. Evaluate (x2 + y 2 ) dz dx dy.
−1 0 0
[Ans: 52 ]
2
36. Let D be the region in R3 bounded by the surface z 2 = (x2 + y 2 ) RhZ2Z and
Z the planes
z = 0 and z = h. Sketch the region D and evaluate the integral I = z dV .
D
πR2 h2
[Ans: 4
]
37. Find the volume of the region bounded above by the sphere x2 + y 2 + z 2 = 2 and below
by the paraboloid z = x2 + y 2 .
√
π(8 2−7)
[Ans: 6
]
5
39. Sketch
Z Z Z the region D in the first octant below the plane 3x + y + z = 3. Evaluate
dz dy dx.
D
[Ans: 23 ]
43. Consider the curve C = {(x, y) : x ≥ 0, y ≥ 0 and x2 + y 2 = 1}. Find the mass of the
wire that lies along the curve C if the density of the wire at (x, y) is xy.
[Ans: 12 ]
Z p
44. Evaluate x2 + y 2 ds along the curve C = {~r(t) = 4 cos tî + 4 sin tĵ + 3tk̂} where
C
−2π ≤ t ≤ 2π.
[Ans: 80π]
45. Find the work done by F~ = eyz î + (xzeyz + z cos y)ĵ + (xyeyz + sin y)k̂ from (1, 0, 1) to
(1, π2 , 0) over the following paths:
path #1: straight line.
path #2: straight line from (1, 0, 1) to (0, 0, 0) and then to (1, π2 , 0).
path #3: straight line from (1, 0, 1) to (1, 0, 0), then to (0, 0, 0), followed by the parabola
y = π2 x2 , z = 0 to (1, π2 , 0).
[Ans: path #1: 0, path #2: 0, path #3: 0]
6
46. Find the work done by F~ = (x + y)î + y 2 ĵ + zez k̂ over the following paths from (1, 0, 0)
to (1, 0, 1).
(c) The line segment from (1, 0, 0) to (0, 0, 0) along the x-axis, and then the parabola
z = x2 on the xz-plane from (0, 0, 0) to (1, 0, 1).
[Ans: 1, 1 − π, 1]
47. Find the flux of the field F~ = (x + y)î − (x2 + y 2 )ĵ across the triangle with vertices
(1, 0), (0, 1), (−1, 0).
[Ans: 13 ]
48. Compute the outward flux of F~ = (xy + 2x)î + x2 ĵ on the disc of radius a centered at
the origin.
[Ans: 2πa2 ]
49. Find the circulation and flux for F~ = (x + y)î − (x2 + y 2 )ĵ over the triangle bounded
by y = 0, x = 1, y = x.
[Ans: Circulation = − 76 , flux = 61 ]
Z B
50. Show that z 2 dx + 2y dy + 2xz dz is path independent.
A
52. Find a potential function for F~ = (2 cos y)î + ( y1 − 2x sin y)ĵ + z1 k̂ and evaluate
Z (1, π ,2)
2
F~ · d~r.
(0,2,1)
[Ans: f (x, y, z) = 2x cos y + ln y + ln z + C,
result of integration= ln π2 ]
7
53. Determine if the following vector fields are conservative, if so, find a potential function.
54. Find the curl of F~ = 3x2 î + 8x3 y ĵ + 3x2 y k̂, and conclude if F~ is conservative.
55. Verify
I the tangential
Z Z form of Green’s Theorem
∂N ∂M
M dx + N dy = ( − ) dx dy and the normal form
IC Z ZD ∂x ∂y
∂M ∂N
M dy − N dx = ( + ) dx dy, where M = y 2 − 7y, N = 2xy + 2x,
C D ∂x ∂y
C is the boundary of D and D = {(x, y) : y ≤ x, y ≥ x2 , 0 ≤ x ≤ 1}.
[Ans: 23 , 16 ]
56. Use Green’s theorem to find the counterclockwise circulation of the field F~ = (y 2 −
x2 )î + (x2 + y 2 )ĵ around the triangle bounded by y = 0, x = 3, and y = x.
[Ans: 9]
I
57. Use Green’s Theorem to evaluate xy dx + x2 y 3 dy, where C is the triangle with ver-
C
tices (0, 0), (1, 0), (1, 2) going in the counterclockwise direction.
[Ans: 32 ]
I
58. Evaluate the line integral xy 2 dx + x2 y dy, where C is the pentagon with vertices
C
(−2, −2), (2, −2), (3, 3), (0, 5), (−3, 3) going in the anticlockwise direction.
[Ans: 0]
59. Find the area bounded by ~r(t) = (a cos t)î + (b sin t)ĵ, where 0 ≤ t ≤ 2π.
[Ans: abπ]
8
ZZ
60. Evaluate (∇ × F~ ) · n̂ dσ where F~ = z 2 î − 3xy ĵ + x3 y 3 k̂ and S is the part of z =
S
5 − x2 − y 2 above the plane z = 1.
[Ans: 0]
61. Integrate f (x, y, z) = (x2 +y 2 )z over the portion of the surface of the sphere x2 +y 2 +z 2 =
36 in the first octant.
[Ans: 972π]
I
62. Evaluate F~ · d~r where F~ = z 2 î + y 2 ĵ + xk̂ and C is the triangle with vertices (1, 0, 0),
C
(0, 1, 0) and (0, 0, 1) along the counterclockwise direction.
[Ans: − 61 ]
Z
63. Evaluate F~ · d~r where F~ = (2x3 y 4 + x)î + (2x4 y 3 + y)ĵ and C is given by y = x2 , 0 ≤
C
x ≤ 1.
[Ans: 32 ]
ZZ
64. Evaluate x + y + z dS where S is the triangle with vertices (1, 0, 0), (0, 1, 0) and
S
(0, 0, 1).
√
3
[Ans: 2
]
I
3 3
65. Evaluate F~ · d~r where F~ = (sin x− y3 )î+(cos y+ x3 )ĵ +xyz k̂ and C is the intersection
C
of the cone z 2 = x2 + y 2 and the plane z = 1.
π
[Ans: 2
]
66. Evaluate the outward flux of F~ across the boundary of the region D, where F~ =
(y 2 z, y 3 , xz) and D is the cube defined by −1 ≤ x ≤ 1, −1 ≤ y ≤ 1, and 0 ≤ z ≤ 2.
[Ans: 8]
ZZ
67. Evaluate F~ · n̂ dσ, where F~ = (xy 2 , yz 2 , x2 z) and S is the sphere of radius 3 centered
S
at the origin.
972π
[Ans: 5
]
9
ZZ
68. Evaluate F~ · n̂ dσ, where F~ = y ĵ − z k̂ and S is the surface given by the paraboloid
S
y = x2 + z 2 , 0 ≤ y ≤ 1 and the disk x2 + z 2 ≤ 1 at y = 1.
[Ans: 0]
[Ans: 0]
ZZZ ZZ
72. Verify Divergence Theorem ∇ · F~ dV = F~ · n̂ dσ
D S
where S is the boundary surface of D and F~ = xî+y ĵ +(z −1)k̂ and D is the hemisphere
x2 + y 2 + (z − 1)2 = 9, 1 ≤ z ≤ 4, z = 1.
[Ans: 54π]
74. Find the outward flux of F~ across the boundary of the region D, where F~ =
(xy 2 , yz, x2 z), and D is the cylinder described by x2 + y 2 ≤ 1 and 0 ≤ z ≤ 4.
[Ans: 10π]
10
75. Determine the circulation of F~ = (−5y, 4x, z) around the portion of the plane z = 4
cut by the cylinder x2 + y 2 = 16.
[Ans: 144π]
76. Find the circulation of the field F~ = (y cos x, y sin x) around the rectangle formed by
y = 1, y = 2, x = 0, x = π2 .
[Ans: 12 ]
ZZ
77. Evaluate F~ · n̂ dσ, where F~ = (xy, yz, xz) and S is the surface z = x + y 2 + 2 lying
S
above the triangle formed by x = 0, y = x, y = 1.
137
[Ans: − 120 ]
78. Find the outward flux of F~ across the boundary of the region D, where F~ =
p p
(x cos2 z, y sin2 z, x2 + y 2 z), and D is the solid cone z = x2 + y 2 bounded between
z = 0 and z = 1.
π
[Ans: 2
]
I
79. Evaluate F~ · d~r where F~ = (y, z, −x) and C is the portion of z = 2x + 5y inside
C
x2 + y 2 = 1.
[Ans: −4π]
80. Find the outward flux of the field F~ = (ex , ey , ez ) across the surface of the cube formed
by x = ±1, y = ±1, z = ±1.
12
[Ans: 12e − e
]
ZZ
81. Evaluate F~ · n̂ dσ, where F~ = (x, y, 3) and S is the surface z = 3x − 5y lying above
S
the rectangle formed by y = 0, y = 2, x = 1, x = 2.
[Ans: 7]
82. Find the flux of the field F~ = (x2 + ey , x + y) across the triangle with vertices
(0, 0), (1, 0), (0, 3).
[Ans: 25 ]
11
83. Sketch the function for 3 periods and determine the Fourier series.
1 − π2 < x < π2
(a) f (x) = (Period = 2π)
−1 π 3π
2
< x < 2
π + x −π < x < 0
(b) f (x) = (Period = 2π)
π − x 0<x<π
0 −4 ≤ t < 0
(c) f (t) = (Period = 8)
5 0≤t<4
∞
X 4 nπ
[Ans: (a) f (x) = sin cos nx
n=1
nπ 2
∞
π X 2
(b) f (x) = + (1 − cos nπ) cos nx
2 n=1 n2 π
∞
5 X 5 nπ
(c) f (t) = + (1 − cos nπ) sin t]
2 n=1 nπ 4
84. Sketch the function for 3 periods. Expand and approximate it as a Fourier sine series.
x π
0<x< 2
(b) f (x) =
π π
<x<π
2 2
∞
X2
[Ans: (a) f (x) = − cos nπ sin nx
n=1
n
∞
X 1 2 nπ
(b) f (x) = − cos nπ + 2 sin sin nx]
n=1
n n π 2
85. Sketch the function for 3 periods. Expand and approximate it as a Fourier cosine series.
12
86. Find the Fourier expansion of the periodic function whose definition in one period is
f (t) = 1 + t, where −1 < t < 1.
∞
X (−1)n
Use the Fourier series of f (t) from above to find the sum of the series .
n=0
2n + 1
∞
X 2
[Ans: f (t) = 1 − cos nπ sin nπt
n=1
nπ
sum = π4 ]
87. Determine the Fourier representation for f (x) = x2 where −π < x < π.
∞
X 1 π2
Hence, show that 2
= .
n=1
n 6
∞
π2 X 4
[Ans: f (x) = + cos nπ cos nx]
3 n=1
n2
88. A horizontal
beam of length L bears a load w(x) equal to
0 0 < x < L4
L
< x < L2
100
4
w(x) =
L
0 2
< x < 3L4
3L
100
4
<x<L
(c) Now, consider the given w(x) as one period. Represent the load w as a Fourier
series.
(d) Discussion: try to sketch the above series, what can we tell about Fourier ap-
proximation?
∞
X 200 nπ nπ 3nπ nπ
[Ans: (a) w(x) = cos − cos + cos − cos nπ sin x
n=1
nπ 4 2 4 L
∞
X 200 nπ nπ 3nπ nπ
(b) w(x) = 50 + sin − sin − sin cos x
n=1
nπ 2 4 4 L
∞
X 100 nπ 2nπ
(c) w(x) = 50 − 1 − 2 cos + cos nπ sin x]
n=1
nπ 2 L
13
89. Determine
the Fourier representation for f (t) defined below:
1 0<t<π
f (t) =
−1 π < t < 2π
∞
X 1 π2
Using Parseval’s identity to show 2
= .
n=1
(2n − 1) 8
∞
X 2
[Ans: f (t) = (1 − cos nπ) sin nt]
n=1
nπ
90. Verify by direct substitution that each of the functions: u1 (x, t) = e−t sin x,
∂u ∂ 2u
u2 (x, t) = e−4t sin 2x, u3 (x, t) = e−9t sin 3x, satisfies = .
∂t ∂x2
Using the principal of superposition, make use of the above functions to construct a
solution for the boundary value problem:
∂u ∂ 2u
=
∂t ∂x2
u(0, t) = u(π, t) = 0
u(x, 0) = 80 sin3 x
[Ans: u(x, t) = 60e−t sin x − 20e−9t sin 3x]
∂u ∂ 2u
91. Solve =4 2
∂t ∂x
∂u ∂ 2u
92. Solve =
∂t ∂x2
14
93. Face x = L of a rod is kept at zero temperature, while face x = 0 is insulated. Initially,
5πx
the temperature distribution is cos . Define the related boundary value problem
2L
with necessary initial and boundary conditions. Then, solve the boundary value prob-
lem.
5πx −( 5cπ )2 t
[Ans: u(x, t) = cos e 2L ]
2L
94. A rod of length π has its surface and both ends being insulated. The initial temperature
distribution is f (x). Determine the temperature distribution u(x, t) of this rod.
∞
2 2
X
[Ans: u(x, t) = C ∗ + Dn∗ (cos nx)e−n c t
Rπ n=1 R
π
where C ∗ = π1 0 f (x) dx, Dn∗ = π2 0 f (x) cos nx dx]
95. A string is fastened at the end points (0, 0) and (2, 0). Initially the string is in an
equilibrium position along y = 0 with velocity g(x). Define the related boundary value
problem with necessary initial and boundary conditions. Then solve the boundary value
problem.
∞
X nπ ncπ
[Ans: y(x, t) = Bn∗ sin x sin t
n=1
2 2
R2
where Bn∗ = ncπ
2
0
g(x) sin nπ
2
x dx]
96. Consider a long bar having the interval 0 < x < L. Assume the surface of this bar
is insulated for its entire length, and zero temperature is imposed on both ends. The
initial temperature distribution is given by f (x). Define the related boundary value
problem and solve it.
∞ nπ ncπ 2
X
∗
[Ans: u(x, t) = Bn sin x e−( L ) t
n=1
L
L
where Bn∗ = L 0 f (x) sin nπ
2
R
L
x dx]
97. Consider a rod of length π, where both ends of the rod are free. u(x, t) measures the
longitudinal displacement of the rod at position x and time t. Assume that the rate of
change of longitudinal displacement relative to x is zero at both ends of the rod. The
rod is initially at rest, with mx being the initial displacement for 0 < x < π. Define
the boundary value problem using the wave equation and evaluate u(x, t).
∞
mπ X 2m
[Ans: u(x, t) = + (cos nπ − 1) cos nx cos cnt]
2 n=1
n2 π
15
98. A rod of length πm has its surface and both ends being insulated, with an initial
temperature distribution u(x, 0) = π + 3 cos 2x. Define and solve the boundary value
problem.
2
[Ans: u(x, t) = π + 3 cos 2x e−4c t ]
99. A string is fastened at the end points (0, 0) and (4, 0) with an initial shape f (x) =
− sin πx
4
and an initial velocity g(x) = sin πx
4
. The rigidity of the string is 1. Define and
solve the boundary value problem.
[Ans: u(x, t) = − sin π4 x cos π4 t + 4
π
sin π4 x sin π4 t]
100. Consider the temperature distribution in a thin circular ring. Assume the external sur-
faces being perfectly insulated, and the ring is thin enough so that the temperature does
not vary with distance from the center of the ring. The diagram below is constructed
with x as the arc length of the ring measured from the lowest point:
16