mvc final
mvc final
Solutions
Tasaduq Hussain
June 6, 2024
Question 1
(a) Suppose that w = f (x, y, z), x = g(r, s), y = h(r, s), and z = k(r, s).
If all four functions are differentiable, then w has partial derivatives with
respect to r and s. Write the formulas of the chain rule for ∂w
∂r
and ∂w
∂s
. Also,
sketch the dependency diagrams for both equations.
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + +
∂r ∂x ∂r ∂y ∂r ∂z ∂r
∂w ∂w ∂x ∂w ∂y ∂w ∂z
= + +
∂s ∂x ∂s ∂y ∂s ∂z ∂s
Dependency diagrams:
1
(b) Suppose that F (x, y) is differentiable and that the equation F (x, y) =
0 defines y as a differentiable function of x. Then at any point where Fy ̸= 0,
prove that
dy Fx
=−
dx Fy
Proof:
Given F (x, y) = 0,
dF dy
= Fx + Fy =0
dx dx
Therefore,
dy Fx
=−
dx Fy
Question 2
Find the volume of the “ice cream cone” D cut from the solid sphere ρ ≤ 1
by the cone ϕ = π3 .
Solution:
The volume is given by the integral in spherical coordinates:
π
Z 2π Z
3
Z 1
V = ρ2 sin ϕ dρ dϕ dθ
0 0 0
π
Z 2π Z
3
Z 1
= dθ sin ϕ dϕ ρ2 dρ
0 0 0
1
ρ3
π
= 2π [− cos ϕ]0 3
3 0
π 1
= 2π − cos + cos 0
3 3
1 1
= 2π − + 1
2 3
1 1
= 2π · ·
2 3
2
π
=
3
Question 3
State the tangential form of Green’s theorem and verify it (tangential form)
for the vector field F = (2x − y)i + (x + 3y)j and the region R bounded by
the ellipse C : x2 + 4y 2 = 4.
Solution:
Green’s theorem (tangential form):
Let C be a piecewise smooth, simple closed curve enclosing a region R
in the plane. Let F = M i + N j be a vector field with M and N having
continuous first partial derivatives in an open region containing R. Then
the counterclockwise circulation of F around C equals the double integral of
(∇ × F) · k over R.
I I ZZ
∂N ∂M
F · T ds = M dx + N dy = − dx dy
C C R ∂x ∂y
For F = M i + N j where M = 2x − y and N = x + 3y,
∂N ∂M
= 1, = −1
∂x ∂y
ZZ ZZ
(1 − (−1))dA = 2 dA
R R
2 2
The area of the ellipse x + 4y = 4 is:
A = π · 2 · 1 = 2π
Thus,
I
F · dr = 2 · 2π = 4π
C
Question 4
(a) Write only the formulas for surface integral of a scalar function when the
surface is defined parametrically, implicitly, and explicitly.
3
Formulas for a Surface Integral
1. For a smooth surface S defined parametrically as r(u, v) = f (u, v)i +
g(u, v)j + h(u, v)k, (u, v) ∈ R, and a continuous function G(x, y, z) defined
on S, the surface integral of G over S is given by the double integral over R,
ZZ ZZ
G(x, y, z) dσ = G(f (u, v), g(u, v), h(u, v)) |ru × rv | du dv.
S R
|∇F |
ZZ ZZ
G(x, y, z) dσ = G(x, y, z) dA,
S R |∇F · p|
where p is a unit vector normal to R and ∇F · p ̸= 0.
3. For a surface S given explicitly as the graph of z = f (x, y), where f
is a continuously differentiable function over a region R in the xy-plane, the
surface integral of the continuous function G over S is given by the double
integral over R,
ZZ ZZ q
G(x, y, z) dσ = G(x, y, f (x, y)) fx2 + fy2 + 1 dx dy.
S R
4
√ ZZ √
= 2 x 1 + 2x2 dx dy
D
Evaluating the integral:
Z 1Z 1 √ √
2x 1 + 2x2 dx dy
−1 0
Question 5
Let S be the portion of the cylinder y = ln x in the first octant whose
projection parallel to the y-axis onto the xz-plane is the rectangle Rxz : 1 ≤
x ≤ e, 0 ≤ z ≤ 1. Let n be the unit vector normal to S that points away
from the xz-plane. Find the flux of F = 2yj + zk through S in the direction
of n.
Solution:RR
Flux = Rxz F·(∇g)
|∇g·I|
dA
1
F · ∇g = (2yj + zk) · − i + j = 2y = 2 ln x
x
5
1
|∇g · I| = − i + j · |j| = 1
x
Therefore, the flux of the vector field is
Z eZ 1
Flux = 2 ln x dz dx
1 0
Z e
=2 ln x dx = 2 [x ln x − x]e1 = 2
1
Question 6
State Stokes’ theorem and use the surface integral in Stokes’ Theorem to
calculate the circulation of the field F around the curve C in the indicated
direction. F = x2 y 3 i + j + zk C: The intersection of the cylinder x2 + y 2 = 4
and the hemisphere x2 + y 2 + z 2 = 16, z ≥ 0, counterclockwise when viewed
from above.
Solution:
Stokes’ Theorem
Let S be a piecewise smooth oriented surface having a piecewise smooth
boundary curve C. Let F = M i+N j+P k be a vector field whose components
have continuous first partial derivatives on an open region containing S. Then
the circulation of F around C in the direction counterclockwise with respect
to the surface’s unit normal vector n equals the integral of ∇ × F · n over S.
I ZZ
F · dr = (∇ × F) · n dσ
C S
First, we need to calculate ∇ × F:
∇ × F = ∇ × (x2 y 3 i + j + zk)
i j k
∂ ∂ ∂
∇×F= ∂x ∂y ∂z
2 3
xy 1 z
6
Expanding this determinant:
∂z ∂(x2 y 3 ) ∂1 ∂(x2 y 3 )
∂z ∂1
∇×F= − i− − j+ − k
∂y ∂z ∂x ∂z ∂x ∂y
∇ × F = −3x2 y 2 k
The surface S is the upper hemisphere x2 + y 2 + z 2 = 16 with z ≥ 0. The
unit normal vector n to the hemisphere is n = k.
The surface integral in Stokes’ Theorem becomes:
ZZ ZZ
(∇ × F) · n dσ = (−3x2 y 2 ) · (1) dσ
S S
Since dσ = dA for the projection onto the xy-plane and the region R in
the xy-plane is the disk x2 + y 2 ≤ 4, we have:
ZZ ZZ
2 2
(−3x y ) dσ = −3 x2 y 2 dA
S R
Z 2π Z 2
2 2
= cos θ sin θ dθ r5 dr
0 0
Evaluating the radial part:
Z 2 6 2
5 r 26 64 32
r dr = = = =
0 6 0 6 6 3
7
Now, evaluate the angular part:
Z 2π
cos2 θ sin2 θ dθ
0
1−cos(4θ)
Using the identity sin2 (2θ) = 2
:
2π
1 − cos(4θ)
Z
1
= dθ
4 0 2
Z 2π
1
= (1 − cos(4θ)) dθ
8 0
2π
1 sin(4θ)
= θ−
8 4 0
1 2π π
= [2π − 0] = =
8 8 4
Putting it all together:
ZZ
32 π
−3 x2 y 2 dA = −3 · · = −8π
R 3 4
Therefore, the circulation of F around C is:
I
F · dr = −8π
C
Question 7
Use Laplace transform to solve the given initial-value problem
dy
+ 3y = 13 sin 2t, y(0) = 6
dt
8
Solution
First, take the Laplace transform of both sides of the differential equation.
Recall that the Laplace transform of a derivative is given by:
dy
L = sY (s) − y(0).
dt
2
sY (s) − 6 + 3Y (s) = 13 ·
s2 +4
Combine the terms involving Y (s):
26
(s + 3)Y (s) − 6 =
s2 +4
Solve for Y (s):
26
(s + 3)Y (s) = 6 +
s2 +4
6 26
Y (s) = +
s + 3 (s + 3)(s2 + 4)
To find the inverse Laplace transform, we decompose the second term
using partial fraction decomposition:
26 A Bs + C
2
= + 2
(s + 3)(s + 4) s+3 s +4
9
Multiply through by (s + 3)(s2 + 4) to clear the denominators:
A+B =0
3B + C = 0
4A + 3C = 26
Solve this system of equations: From A + B = 0, we have B = −A.
Substitute B = −A into the second equation:
3(−A) + C = 0 ⇒ −3A + C = 0 ⇒ C = 3A
4A + 3(3A) = 26 ⇒ 4A + 9A = 26 ⇒ 13A = 26 ⇒ A = 2
Thus, B = −2 and C = 6.
So,
26 2 −2s + 6
2
= + 2
(s + 3)(s + 4) s+3 s +4
Therefore,
6 2 −2s + 6
Y (s) = + + 2
s+3 s+3 s +4
8 −2s + 6
Y (s) = + 2
s+3 s +4
Take the inverse Laplace transform:
−3t −1 −2s −1 6
y(t) = 8e + L +L
s2 + 4 s2 + 4
10
Using the inverse Laplace transforms:
−1 −2s
L = −2 cos(2t)
s2 + 4
−1 6
L 2
= 3 sin(2t)
s +4
So,
y(t) = 8e−3t − 2 cos(2t) + 3 sin(2t)
Question 8
(a) Show that the given set of functions is orthogonal on the indicated
interval.
{1, cos (nx)} , n = 1, 2, 3, . . . , [0, p].
(b) Expand (
0, −π < x < 0
f (x) =
π − x, 0 ≤ x < π
in a Fourier series.
Solution
(a) Orthogonality of the Given Functions
To show that the given set of functions {1, cos( nπ
p
x)} is orthogonal on [0, p],
we need to show that their inner product over [0, p] is zero.
The inner product of two functions f (x) and g(x) on the interval [0, p] is
defined as: Z p
⟨f, g⟩ = f (x)g(x) dx.
0
We need to verify the following inner products:
• ⟨1, cos( nπ
p
x)⟩
• ⟨cos( mπ
p
x), cos( nπ
p
x)⟩ for m ̸= n
11
First, compute ⟨1, cos( nπ
p
x)⟩:
Z p
⟨1, cos (nx)⟩ = 1 · cos (nx) dx.
0
Thus,
Z p Z p
mπ 1 (m + n)π (m − n)π
⟨cos x , cos (nx)⟩ = cos x dx + cos x dx .
p 2 0 p 0 p
Both integrals are zero because they are integrals of cosine functions over a
period, similar to the previous computation:
Z p Z p
(m + n)π (m − n)π
cos x dx = 0 and cos x dx = 0.
0 p 0 p
Therefore, ⟨cos( mπ
p
x), cos( nπ
p
x)⟩ = 0 for m ̸= n, proving orthogonality.
12
(b) Fourier Series Expansion
To expand the given piecewise function f (x) in a Fourier series, we compute
the Fourier coefficients.
The function f (x) is:
(
0, −π < x < 0
f (x) =
π − x, 0 ≤ x < π
The Fourier series of f (x) is given by:
∞
a0 X
f (x) ∼ + [an cos (nx) + bn sin (nx)] ,
2 n=1
where
1 π
Z
a0 = f (x) dx,
π −π
1 π
Z
an = f (x) cos (nx) dx,
π −π
1 π
Z
bn = f (x) sin (nx) dx.
π −π
π 0 π π
x2
Z Z Z
1 1 1 1 2 π
a0 = f (x) dx = 0 dx + (π − x) dx = πx − = π −0 =
π −π π −π 0 π 2 0 π 2
Z π Z 0 Z π
1 1
an = f (x) cos(nx) dx = 0 cos(nx) dx + (π − x) cos(nx) dx
π −π π −π 0
π
1 π
Z
1 sin(nx)
= (π − x) + sin(nx) dx
π n 0 n 0
π
1 − (−1)n
1 cos(nx)
=− = ,
nπ n 0 n2 π
where we have used cos(nπ) = (−1)n .
Also
1 π
Z
1
bn = (π − x) sin(nx) dx = .
π 0 n
Therefore
∞
π X 1 − (−1)n
1
f (x) = + cos(nx) + sin(nx)
4 n=1 n2 π n
13
Question 9
Find the Fourier transform of f (x) = e−a|x| .
Solution
The Fourier transform of a function f (x) is defined as:
Z ∞
1
F{f (x)} = F (k) = √ f (x)e−ikx dx
2π −∞
14
Combining both parts:
1 1 1
F (k) = √ +
2π a + ik a − ik
Simplifying:
r
1 a − ik + a + ik 1 2a 2 a
F (k) = √ =√ =
2π (a + ik)(a − ik) 2π a + k2
2 π a + k2
2
Question 10
For the given power series, investigate the following
∞
X (4x − 5)2n+1
n=1
n3/2
Solution
To determine the interval of convergence, we use the Ratio Test.
15
3
|4x − 5|2 < 1 =⇒ |4x − 5| < 1 =⇒ −1 < 4x − 5 < 1 =⇒ 1 < x <
2
To determine the interval of absolute convergence, we examine the end-
points x = 1 and x = 32 :
∞ ∞ ∞
X (4(1) − 5)2n+1 X (−1)2n+1 X −1
For x = 1, = = which is absolutely convergent
n=1
n3/2 n=1
n3/2 n=1
n 3/2
∞ ∞ ∞
3 X (4( 32 ) − 5)2n+1 X (1)2n+1 X 1
For x = , = = , a convergent p-series
2 n=1 n3/2 n=1
n3/2
n=1
n 3/2
(b) There are no values for which the series converges conditionally.
Bonus Question
(a) Define Jacobian determinant of the coordinate transformation x = g(u, v),
y = h(u, v) and discuss its role in the integration theory.
Jacobian determinant:
∂x ∂x
∂(x, y) ∂u ∂v
J= = ∂y ∂y
∂(u, v) ∂u ∂v
Role in integration:
The Jacobian determinant is used in transforming integrals from one co-
ordinate system to another. It accounts for the scaling factor introduced by
the transformation.
16
(b) Evaluate the following double integral.
ZZ
2 2
ex +y dx dy, R : {(x, y)|0 ≤ x ≤ 1, 0 ≤ y ≤ 1}
R
dx dy = r dr dθ
Thus,
ZZ ZZ
f (x, y) dx dy = f (r cos θ, r sin θ)r dr dθ
R R
17