Hopp til hovedinnholdet

DAVE3700 ordinær eksamen 2024

Matte 3000 at OsloMet: every exercise from the exam, with answers and step-by-step solutions. Try it yourself first – the solution is under each exercise.

november 2024

Last ned PDF

Exercises

5 exercises

Exercise 1

Let C C be the curve parametrized by
r⃗(t)=(acos⁡t,bsin⁡t),0≤t≤2π \vec{r}(t) = (a\cos t, b\sin t), \quad 0 \le t \le 2\pi
where a a and b b are positive real numbers.

Exercise 1a)

What type of curve is C? C\text{?} Is it a closed curve?
Show solution for exercise 1a
Answer
C C is a closed curve, the ellipse:
x2a2+y2b2=1‾‾ \underline{\underline{\dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1}}
The coordinates contain \( \cos t \) and \( \sin t\text{.} \) We therefore use the identity \( {\cos^2 t + \sin^2 t = 1} \) to find an equation relating \( x \) and \( y\text{.} \)
1. Draw the curve We plug in four values of \( t \) and get four points: \[ \begin{aligned} \vec{r}(0) &= (a, 0) \\ \vec{r}\left(\dfrac{\pi}{2}\right) &= (0, b) \\ \vec{r}(\pi) &= (-a, 0) \\ \vec{r}\left(\dfrac{3\pi}{2}\right) &= (0, -b) \end{aligned} \]
As \( t \) goes from \( 0 \) to \( 2\pi\text{,} \) the curve goes around once counterclockwise, like the circle in the video Sirkel:
2. Find the equation The coordinates are \( {x = a\textcolor{blue}{\cos t}} \) and \( {y = b\textcolor{red}{\sin t}}\text{.} \) We solve for \( \textcolor{blue}{\cos t} \) and \( \textcolor{red}{\sin t}\text{:} \) \[ \textcolor{blue}{\cos t} = \dfrac{x}{a}, \quad \textcolor{red}{\sin t} = \dfrac{y}{b} \]
As in the video Hvor kommer r fra?, the unit circle tells us that: \[ \textcolor{blue}{\cos^2 t} + \textcolor{red}{\sin^2 t} = 1 \]
Plugging this in, we get: \[ \begin{aligned} \textcolor{blue}{\left(\dfrac{x}{a}\right)^2} + \textcolor{red}{\left(\dfrac{y}{b}\right)^2} &= 1 \\ \dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} &= 1 \end{aligned} \]
This is an ellipse centered at the origin with semi-axes \( a \) and \( b\text{.} \) When \( {a = b}\text{,} \) it is a circle with radius \( a\text{.} \)
3. Decide whether the curve is closed The curve ends at the same point where it starts: \[ \begin{aligned} \vec{r}(2\pi) &= (a\cos 2\pi, b\sin 2\pi) \\ &= (a, 0) = \vec{r}(0) \end{aligned} \]
Therefore \( C \) is a closed curve.

Exercise 1b)

Compute the unit tangent vector T⃗(t). \vec{T}(t)\text{.}
Show solution for exercise 1b
Answer
T⃗(t)=(−asin⁡t,bcos⁡t)a2sin⁡2t+b2cos⁡2t‾‾ \underline{\underline{\vec{T}(t) = \dfrac{(-a\sin t, b\cos t)}{\sqrt{a^2\sin^2 t + b^2\cos^2 t}}}}
The unit tangent vector is the derivative of \( \vec{r}(t) \) divided by its length. We therefore differentiate coordinate by coordinate and find the length.
1. Differentiate the parametrization As in the video Regn ut linjeintegralet ved å bruke definisjonen, the definition of the unit tangent vector tells us that: \[ \vec{T}(t) = \dfrac{\vec{r}\,'(t)}{|\vec{r}\,'(t)|} \]
We differentiate each coordinate separately, as in the video Posisjon, fart & akselerasjon: \[ \vec{r}\,'(t) = (\textcolor{blue}{-a\sin t}, \textcolor{red}{b\cos t}) \]
2. Find the length As in the video Lengden til en Vektor, Pythagoras gives the length of a vector: \[ |(\textcolor{blue}{v_1}, \textcolor{red}{v_2})| = \sqrt{\textcolor{blue}{v_1}^2 + \textcolor{red}{v_2}^2} \]
Plugging in the coordinates of \( \vec{r}\,'(t)\text{,} \) we get: \[ \begin{aligned} |\vec{r}\,'(t)| &= \sqrt{(\textcolor{blue}{-a\sin t})^2 + (\textcolor{red}{b\cos t})^2} \\ &= \sqrt{a^2\sin^2 t + b^2\cos^2 t} > 0 \end{aligned} \]
The length is never \( 0\text{,} \) since \( \sin t \) and \( \cos t \) are never \( 0 \) at the same time.
3. Divide by the length Plugging this into the definition, we get: \[ \vec{T}(t) = \dfrac{(\textcolor{blue}{-a\sin t}, \textcolor{red}{b\cos t})}{\sqrt{a^2\sin^2 t + b^2\cos^2 t}} \]

Exercise 1c)

The curvature of C, C\text{,} parametrized by r⃗(t), \vec{r}(t)\text{,} is given by
κ(t)=ab(a2(sin⁡t)2+b2(cos⁡t)2)3/2 \kappa(t) = \dfrac{ab}{(a^2(\sin t)^2 + b^2(\cos t)^2)^{3/2}}
(You don't need to show this formula). Discuss for which values of a a and b b the curvature is constant. What is the value of the curvature in this case?
Show solution for exercise 1c
Answer
The curvature is constant only when a=b: {a = b}\text{:}
a=b,κ=1a‾‾ \underline{\underline{a = b, \quad \kappa = \dfrac{1}{a}}}
The numerator \( ab \) is constant. The curvature is therefore constant exactly when the expression in the denominator does not depend on \( t\text{.} \)
1. Rewrite the denominator From the unit circle we know that \( {\cos^2 t + \sin^2 t = 1}\text{,} \) as in the video Hvor kommer r fra?. This gives: \[ \textcolor{red}{\cos^2 t} = \textcolor{red}{1 - \sin^2 t} \]
Plugging this into the parentheses in the denominator, we get: \[ \begin{aligned} &a^2\sin^2 t + b^2\,\textcolor{red}{\cos^2 t} \\ &= a^2\sin^2 t + b^2(\textcolor{red}{1 - \sin^2 t}) \\ &= b^2 + (\textcolor{blue}{a^2 - b^2})\sin^2 t \end{aligned} \]
2. Find when the curvature is constant \( \sin^2 t \) takes every value between \( 0 \) and \( 1\text{.} \) The expression is therefore constant exactly when the factor in front is zero: \[ \textcolor{blue}{a^2 - b^2} = 0 \]
Since \( a \) and \( b \) are positive, this means that: \[ a = b \]
Then \( C \) is a circle with radius \( a\text{.} \)
3. Compute the curvature With \( {b = a} \) the expression in parentheses is just \( a^2\text{.} \) Plugging this into the formula, we get: \[ \begin{aligned} \kappa(t) &= \dfrac{a \cdot a}{(a^2)^{3/2}} \\ &= \dfrac{a^2}{a^3} = \dfrac{1}{a} \end{aligned} \]
So the curvature of a circle is one divided by the radius.

Exercise 2

Consider the vector field
F⃗(x,y)=(2xy+y2,x2+2xy) \vec{F}(x, y) = (2xy + y^2, x^2 + 2xy)

Exercise 2a)

Show that this vector field is conservative and determine a potential f(x,y). f(x, y)\text{.}
Show solution for exercise 2a
Answer
F⃗ \vec{F} is conservative, with the potential:
f(x,y)=x2y+xy2‾‾ \underline{\underline{f(x, y) = x^2 y + xy^2}}
A field that is defined in the whole plane is conservative when the two cross derivatives are equal. We find the potential by integrating each component and comparing.
1. Show that the field is conservative A vector field \( {\vec{F} = (\textcolor{blue}{P}, \textcolor{red}{Q})} \) that is defined in the whole plane is conservative when its curl is zero, as in the video Hva er et konservativt vektorfelt. In the plane, this tells us that: \[ \dfrac{\partial \textcolor{red}{Q}}{\partial x} = \dfrac{\partial \textcolor{blue}{P}}{\partial y} \]
Here: \[ \begin{aligned} \textcolor{blue}{P} &= \textcolor{blue}{2xy + y^2} \\ \textcolor{red}{Q} &= \textcolor{red}{x^2 + 2xy} \end{aligned} \]
Plugging this in, we get: \[ \begin{aligned} \dfrac{\partial \textcolor{red}{Q}}{\partial x} &= 2x + 2y \\ \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= 2x + 2y \end{aligned} \]
They are equal, and \( \vec{F} \) is defined in the whole plane. The field is therefore conservative.
2. Find the potential A potential is a function \( f \) with \( {\nabla f = \vec{F}}\text{:} \) \[ \dfrac{\partial f}{\partial x} = \textcolor{blue}{P}, \quad \dfrac{\partial f}{\partial y} = \textcolor{red}{Q} \]
We integrate each component with respect to its own variable, as in the video La c = 1 Finn et skalarfelt f slik at gradienten til f = F vektor. The constant may then depend on the other variable: \[ \begin{aligned} f &= \int (\textcolor{blue}{2xy + y^2})\,dx \\ &= x^2 y + xy^2 + \textcolor{darkorange}{g(y)} \\ f &= \int (\textcolor{red}{x^2 + 2xy})\,dy \\ &= x^2 y + xy^2 + \textcolor{magenta}{h(x)} \end{aligned} \]
Both must be \( f\text{,} \) and the terms \( {x^2 y + xy^2} \) appear in both. This means that: \[ \textcolor{darkorange}{g(y)} = \textcolor{magenta}{h(x)} \]
That is only possible when both are the same constant. We choose \( 0 \) and get: \[ f(x, y) = x^2 y + xy^2 \]
Kontroll: The gradient of \( f \) is \( {(2xy + y^2, x^2 + 2xy) = \vec{F}}\text{.} \)

Exercise 2b)

Compute the line integral
∫CF⃗⋅dr⃗ \int_C \vec{F} \cdot d\vec{r}
over the curve parametrized by
r⃗(t)=(et2,cos⁡(2πt)),0≤t≤1 \vec{r}(t) = \left(e^{t^2}, \cos(2\pi t)\right), \quad 0 \le t \le 1
Show solution for exercise 2b
Answer
∫CF⃗⋅dr⃗=e2+e−2‾‾ \underline{\underline{\int_C \vec{F} \cdot d\vec{r} = e^2 + e - 2}}
We use the potential \( f \) from a). Full credit can still be given when an earlier error is carried forward.
The field is conservative, so the line integral depends only on the start and end points. We therefore don't need to integrate along the curve.
1. Find the endpoints We plug in \( {t = 0} \) and \( {t = 1}\text{:} \) \[ \begin{aligned} \vec{r}(0) &= (e^0, \cos 0) = \textcolor{blue}{(1, 1)} \\ \vec{r}(1) &= (e^1, \cos 2\pi) = \textcolor{red}{(e, 1)} \end{aligned} \]
The curve goes from \( \textcolor{blue}{(1, 1)} \) down to \( {y = -1} \) and back up to \( \textcolor{red}{(e, 1)}\text{:} \)
2. Use the potential As in the video La c = 1 Regn ut linjeintegralet til Fdr langs kurven C, the fundamental theorem for line integrals tells us that: \[ \int_C \vec{F} \cdot d\vec{r} = f(\textcolor{red}{\vec{r}(1)}) - f(\textcolor{blue}{\vec{r}(0)}) \]
In a) we found: \[ f(x, y) = x^2 y + xy^2 \]
Plugging in the endpoints, we get: \[ \begin{aligned} \int_C \vec{F} \cdot d\vec{r} &= f(\textcolor{red}{e, 1}) - f(\textcolor{blue}{1, 1}) \\ &= (e^2 + e) - (1 + 1) \\ &= e^2 + e - 2 \end{aligned} \]

Exercise 3

Consider the ellipse defined by
x2a2+y2b2=1 \dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} = 1
where a a and b b are positive real numbers.

Exercise 3a)

Introduce the variables (u,v) (u, v) by the relations
u=xa,v=yb u = \dfrac{x}{a}, \quad v = \dfrac{y}{b}
Compute the Jacobian determinant J(u,v) J(u, v) corresponding to this change of variables.
Show solution for exercise 3a
Answer
J(u,v)=ab‾‾ \underline{\underline{J(u, v) = ab}}
The Jacobian determinant uses \( x \) and \( y \) expressed in terms of \( u \) and \( v\text{.} \) We therefore invert the relations first.
1. Invert the relations We multiply by \( a \) and \( b\text{:} \) \[ \textcolor{blue}{x = au}, \quad \textcolor{red}{y = bv} \]
2. Compute the determinant The Jacobian determinant is the determinant of the partial derivatives, as in the video Regn ut arealet ved hjelp av variabelskiftet: \[ J(u, v) = \begin{vmatrix} \dfrac{\partial \textcolor{blue}{x}}{\partial u} & \dfrac{\partial \textcolor{blue}{x}}{\partial v} \\ \dfrac{\partial \textcolor{red}{y}}{\partial u} & \dfrac{\partial \textcolor{red}{y}}{\partial v} \end{vmatrix} \]
Here: \[ \begin{aligned} \dfrac{\partial \textcolor{blue}{x}}{\partial u} &= \textcolor{blue}{a} & \dfrac{\partial \textcolor{blue}{x}}{\partial v} &= \textcolor{blue}{0} \\ \dfrac{\partial \textcolor{red}{y}}{\partial u} &= \textcolor{red}{0} & \dfrac{\partial \textcolor{red}{y}}{\partial v} &= \textcolor{red}{b} \end{aligned} \]
Plugging this in, we get: \[ J(u, v) = \begin{vmatrix} \textcolor{blue}{a} & \textcolor{blue}{0} \\ \textcolor{red}{0} & \textcolor{red}{b} \end{vmatrix} = \textcolor{blue}{a} \cdot \textcolor{red}{b} - \textcolor{blue}{0} \cdot \textcolor{red}{0} = ab \]

Exercise 3b)

Consider the two-dimensional region
E={(x,y):x2a2+y2b2≤1} E = \left\{ (x, y) : \dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} \le 1 \right\}
Compute its area as a double integral, using the change of variables from a).
Show solution for exercise 3b
Answer
The area of E E is:
∬EdA=πab‾‾ \underline{\underline{\iint_E dA = \pi ab}}
We use the change of variables and the Jacobian determinant from a). Full credit can still be given when an earlier error is carried forward.
With \( u \) and \( v \) the ellipse becomes a circle with radius \( 1\text{.} \) We therefore compute the integral there, with \( |J| \) as the scaling factor.
1. Find the region in the uv-plane We put \( {\textcolor{blue}{x = au}} \) and \( {\textcolor{red}{y = bv}} \) into the inequality for \( E\text{:} \) \[ \begin{aligned} \dfrac{(\textcolor{blue}{au})^2}{a^2} + \dfrac{(\textcolor{red}{bv})^2}{b^2} &\le 1 \\ u^2 + v^2 &\le 1 \end{aligned} \]
This is the disk \( S \) with radius \( 1\text{:} \)
2. Set up the double integral The change of variables tells us that area is scaled by \( |J|\text{,} \) as in the video Regn ut arealet ved hjelp av variabelskiftet: \[ \iint_E dA = \iint_S |J(u, v)|\,du\,dv \]
In a) we found \( {J(u, v) = \textcolor{green}{ab}}\text{,} \) which is positive. Plugging this in, we get: \[ \begin{aligned} \iint_E dA &= \iint_S \textcolor{green}{ab}\,du\,dv \\ &= \textcolor{green}{ab} \iint_S du\,dv \end{aligned} \]
3. Compute the area The integral that is left is the area of the disk \( S\text{,} \) \( {\pi \cdot 1^2}\text{:} \) \[ \iint_E dA = \textcolor{green}{ab} \cdot \pi \cdot 1^2 = \pi ab \]

Exercise 3c)

Compute the double integral
∬E(x2a2+y2b2)dA \iint_E \left( \dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} \right) dA
(Hint: proceed as in b)).
Show solution for exercise 3c
Answer
The double integral is:
πab2‾‾ \underline{\underline{\dfrac{\pi ab}{2}}}
We use the change of variables from a) and the disk \( S \) from b). Full credit can still be given when an earlier error is carried forward.
As in b), both the integrand and the region become simpler in \( u \) and \( v\text{.} \) We then integrate over the disk in polar coordinates.
1. Change variables With \( {\textcolor{blue}{x = au}} \) and \( {\textcolor{red}{y = bv}} \) the integrand becomes: \[ \dfrac{(\textcolor{blue}{au})^2}{a^2} + \dfrac{(\textcolor{red}{bv})^2}{b^2} = u^2 + v^2 \]
In b) we found that \( E \) becomes the disk \( S \) with radius \( 1\text{:} \)
The change of variables tells us that the area element is scaled by \( |J|\text{:} \) \[ dA = |J(u, v)|\,du\,dv \]
In a) we found \( {J(u, v) = \textcolor{green}{ab} > 0}\text{.} \) Plugging this in, we get: \[ \begin{aligned} &\iint_E \left( \dfrac{x^2}{a^2} + \dfrac{y^2}{b^2} \right) dA \\ &= \textcolor{green}{ab} \iint_S (u^2 + v^2)\,du\,dv \end{aligned} \]
2. Switch to polar coordinates The disk is simplest in polar coordinates, as in the video Regn ut arealet ved hjelp av variabelskiftet. There we have: \[ u^2 + v^2 = r^2, \quad du\,dv = r\,dr\,d\theta \]
The disk \( S \) is: \[ 0 \le r \le 1, \quad 0 \le \theta \le 2\pi \]
Plugging this in, we get: \[ \begin{aligned} &\textcolor{green}{ab} \iint_S (u^2 + v^2)\,du\,dv \\ &= \textcolor{green}{ab} \int_0^{2\pi} \int_0^1 r^2 \cdot r\,dr\,d\theta \end{aligned} \]
3. Compute the integral We compute the inner integral first: \[ \int_0^1 r^3\,dr = \left[ \dfrac{r^4}{4} \right]_0^1 = \textcolor{darkorange}{\dfrac{1}{4}} \]
Then the outer one: \[ \begin{aligned} \textcolor{green}{ab} \int_0^{2\pi} \textcolor{darkorange}{\dfrac{1}{4}}\,d\theta &= \textcolor{green}{ab} \cdot \textcolor{darkorange}{\dfrac{1}{4}} \cdot 2\pi \\ &= \dfrac{\pi ab}{2} \end{aligned} \]

Exercise 4

Consider the half-disk
D={(x,y):x2+y2≤R2, y≥0} D = \{ (x, y) : x^2 + y^2 \le R^2,\ y \ge 0 \}
where R R is a positive real number.

Exercise 4a)

Compute explicitly the area of D D in terms of the double integral
∬DdA \iint_D dA
using the polar coordinates (r,θ). (r, \theta)\text{.}
Show solution for exercise 4a
Answer
The area of D D is:
∬DdA=πR22‾‾ \underline{\underline{\iint_D dA = \dfrac{\pi R^2}{2}}}
The half-disk is easy to describe in polar coordinates: both the radius and the angle run between fixed limits.
1. Describe the region in polar coordinates We draw \( D\text{:} \)
A point in \( D \) has distance \( \textcolor{blue}{r} \) from the origin and angle \( \textcolor{red}{\theta} \) with the \( {x\text{-axis.}} \) The condition \( {y \ge 0} \) gives the upper half: \[ 0 \le \textcolor{blue}{r} \le \textcolor{blue}{R}, \quad 0 \le \textcolor{red}{\theta} \le \textcolor{red}{\pi} \]
2. Set up the integral As in the video Dobbelt integral, the area element in polar coordinates is: \[ dA = r\,dr\,d\theta \]
Plugging in the limits, we get: \[ \iint_D dA = \int_{\textcolor{red}{0}}^{\textcolor{red}{\pi}} \int_{\textcolor{blue}{0}}^{\textcolor{blue}{R}} r\,dr\,d\theta \]
3. Compute the integral We compute the inner integral first: \[ \int_0^R r\,dr = \left[ \dfrac{r^2}{2} \right]_0^R = \textcolor{darkorange}{\dfrac{R^2}{2}} \]
Then the outer one: \[ \int_0^{\pi} \textcolor{darkorange}{\dfrac{R^2}{2}}\,d\theta = \textcolor{darkorange}{\dfrac{R^2}{2}} \cdot \pi = \dfrac{\pi R^2}{2} \]
Kontroll: That is half the area \( \pi R^2 \) of the whole disk.

Exercise 4b)

Let C C be the boundary of D, D\text{,} with positive orientation. Consider the vector field
F⃗(x,y)=(ex−y3,x3+y3) \vec{F}(x, y) = (e^x - y^3, x^3 + y^3)
Compute the line integral
∮CF⃗⋅dr⃗ \oint_C \vec{F} \cdot d\vec{r}
Show solution for exercise 4b
Answer
∮CF⃗⋅dr⃗=3πR44‾‾ \underline{\underline{\oint_C \vec{F} \cdot d\vec{r} = \dfrac{3\pi R^4}{4}}}
\( C \) is a closed curve with positive orientation. We therefore use Green's theorem and compute a double integral over \( D \) instead.
1. Draw the boundary The boundary \( C \) is the semicircular arc and the line segment on the \( {x\text{-axis.}} \) Positive orientation is counterclockwise, with \( D \) on the left:
2. Use Green's theorem Green's theorem holds for a closed curve traversed counterclockwise, as in the video Greens setning. For \( {\vec{F} = (\textcolor{blue}{P}, \textcolor{red}{Q})} \) it tells us that: \[ \begin{aligned} &\oint_C \vec{F} \cdot d\vec{r} \\ &= \iint_D \left( \dfrac{\partial \textcolor{red}{Q}}{\partial x} - \dfrac{\partial \textcolor{blue}{P}}{\partial y} \right) dA \end{aligned} \]
Here: \[ \begin{aligned} \textcolor{blue}{P} &= \textcolor{blue}{e^x - y^3} & \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= \textcolor{blue}{-3y^2} \\ \textcolor{red}{Q} &= \textcolor{red}{x^3 + y^3} & \dfrac{\partial \textcolor{red}{Q}}{\partial x} &= \textcolor{red}{3x^2} \end{aligned} \]
Plugging this into the parentheses, we get: \[ \begin{aligned} \dfrac{\partial \textcolor{red}{Q}}{\partial x} - \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= \textcolor{red}{3x^2} - (\textcolor{blue}{-3y^2}) \\ &= 3(x^2 + y^2) \end{aligned} \]
This gives us: \[ \oint_C \vec{F} \cdot d\vec{r} = \iint_D 3(x^2 + y^2)\,dA \]
3. Compute in polar coordinates With \( {x^2 + y^2} \) in the integrand and a half-disk as the region, we switch to polar coordinates, as in the video Regn ut arbeidet utført av F ved hjelp av Greens Setning: \[ x^2 + y^2 = r^2, \quad dA = r\,dr\,d\theta \]
The half-disk is \( {0 \le r \le R} \) and \( {0 \le \theta \le \pi}\text{.} \) Plugging this in, we get: \[ \oint_C \vec{F} \cdot d\vec{r} = \int_0^{\pi} \int_0^R 3r^2 \cdot r\,dr\,d\theta \]
We compute the inner integral first: \[ \int_0^R 3r^3\,dr = \left[ \dfrac{3r^4}{4} \right]_0^R = \textcolor{darkorange}{\dfrac{3R^4}{4}} \]
Then the outer one: \[ \int_0^{\pi} \textcolor{darkorange}{\dfrac{3R^4}{4}}\,d\theta = \textcolor{darkorange}{\dfrac{3R^4}{4}} \cdot \pi = \dfrac{3\pi R^4}{4} \]

Exercise 5

Consider the three-dimensional region
T={(x,y,z): x2+y2+z2≤4,x≥0, y≥0, z≥0} \begin{aligned} T = \{ (x, y, z) :\ & x^2 + y^2 + z^2 \le 4, \\ & x \ge 0,\ y \ge 0,\ z \ge 0 \} \end{aligned}

Exercise 5a)

Describe the region T T in spherical coordinates (ρ,ϕ,θ). (\rho, \phi, \theta)\text{.}
Show solution for exercise 5a
Answer
T T is given by:
0≤ρ≤20≤ϕ≤π20≤θ≤π2‾‾ \underline{\underline{\begin{aligned} 0 &\le \rho \le 2 \\ 0 &\le \phi \le \dfrac{\pi}{2} \\ 0 &\le \theta \le \dfrac{\pi}{2} \end{aligned}}}
\( T \) is the part of the ball with radius \( 2 \) that lies in the first octant. We find the limits for \( \rho\text{,} \) \( \phi \) and \( \theta \) one at a time.
1. Draw the region \( {x^2 + y^2 + z^2 \le 4} \) is the ball centered at the origin with radius \( 2\text{.} \) Since \( x\text{,} \) \( y \) and \( z \) are nonnegative, \( T \) is the eighth of the ball in the first octant:
2. Find the limits In spherical coordinates \( \textcolor{blue}{\rho} \) is the distance from the origin, \( \textcolor{red}{\phi} \) the angle from the positive \( {z\text{-axis}} \) and \( \textcolor{green}{\theta} \) the angle in the \( {xy\text{-plane}} \) from the positive \( {x\text{-axis,}} \) as in the video Kulekoordinater: \[ \begin{aligned} x &= \textcolor{blue}{\rho}\sin\textcolor{red}{\phi}\cos\textcolor{green}{\theta} \\ y &= \textcolor{blue}{\rho}\sin\textcolor{red}{\phi}\sin\textcolor{green}{\theta} \\ z &= \textcolor{blue}{\rho}\cos\textcolor{red}{\phi} \end{aligned} \]
\( {x^2 + y^2 + z^2 = \textcolor{blue}{\rho}^2}\text{,} \) so \( {\textcolor{blue}{\rho}^2 \le 4} \) gives: \[ 0 \le \textcolor{blue}{\rho} \le 2 \]
\( {z \ge 0} \) means that \( {\cos\textcolor{red}{\phi} \ge 0}\text{.} \) Since \( \textcolor{red}{\phi} \) lies between \( 0 \) and \( \pi\text{,} \) this gives: \[ 0 \le \textcolor{red}{\phi} \le \dfrac{\pi}{2} \]
\( {x \ge 0} \) and \( {y \ge 0} \) is the first quadrant of the \( {xy\text{-plane:}} \) \[ 0 \le \textcolor{green}{\theta} \le \dfrac{\pi}{2} \]

Exercise 5b)

Let B B be the boundary of the closed region T. T\text{.} With n⃗ \vec{n} the outgoing normal vector, compute the flux
∬BF⃗⋅n⃗ dS \iint_B \vec{F} \cdot \vec{n}\,dS
of the vector field
F⃗(x,y,z)=(xyz,2y+12y2z,−yz2) \begin{aligned} &\vec{F}(x, y, z) \\ &= \left( xyz, 2y + \dfrac{1}{2}y^2 z, -yz^2 \right) \end{aligned}
(Hint: the volume of a ball of radius R R is given by 43πR3. \dfrac{4}{3}\pi R^3\text{.} What about the volume of T? T\text{?} ).
Show solution for exercise 5b
Answer
∬BF⃗⋅n⃗ dS=8π3‾‾ \underline{\underline{\iint_B \vec{F} \cdot \vec{n}\,dS = \dfrac{8\pi}{3}}}
\( B \) is a closed surface, so we use the divergence theorem and compute a triple integral over \( T \) instead.
1. Use the divergence theorem The boundary \( B \) is the eighth of the sphere and the three quarter-disks in the coordinate planes, so it is closed:
The divergence theorem holds for a closed surface with the normal vector pointing outward, as in the video Regn ut fluksen ut av kulen ved å bruke divergenssetningen. It tells us that: \[ \iint_B \vec{F} \cdot \vec{n}\,dS = \iiint_T \nabla \cdot \vec{F}\,dV \]
2. Compute the divergence The divergence is the sum of the partial derivatives of each component with respect to its own variable, as in the video Utregning av divergens: \[ \nabla \cdot \vec{F} = \dfrac{\partial \textcolor{blue}{F_1}}{\partial x} + \dfrac{\partial \textcolor{red}{F_2}}{\partial y} + \dfrac{\partial \textcolor{green}{F_3}}{\partial z} \]
Here: \[ \begin{aligned} \dfrac{\partial}{\partial x}(\textcolor{blue}{xyz}) &= \textcolor{blue}{yz} \\ \dfrac{\partial}{\partial y}\left(\textcolor{red}{2y + \dfrac{1}{2}y^2 z}\right) &= \textcolor{red}{2 + yz} \\ \dfrac{\partial}{\partial z}(\textcolor{green}{-yz^2}) &= \textcolor{green}{-2yz} \end{aligned} \]
Putting this together, we get: \[ \nabla \cdot \vec{F} = \textcolor{blue}{yz} + \textcolor{red}{2 + yz} \textcolor{green}{- 2yz} = 2 \]
3. Compute the volume Plugging this into the divergence theorem, we get: \[ \begin{aligned} \iint_B \vec{F} \cdot \vec{n}\,dS &= \iiint_T 2\,dV \\ &= 2 \cdot V(T) \end{aligned} \]
\( T \) is an eighth of the ball with radius \( 2\text{,} \) so we take an eighth of the formula in the hint, just as the video Eksempel oppgave on spherical coordinates takes half for a hemisphere: \[ V(T) = \dfrac{1}{8} \cdot \dfrac{4}{3}\pi \cdot 2^3 = \dfrac{4\pi}{3} \]
So the flux is: \[ \iint_B \vec{F} \cdot \vec{n}\,dS = 2 \cdot \dfrac{4\pi}{3} = \dfrac{8\pi}{3} \]

Ferdig med settet? Se de andre settene i Matte 3000, eller repeter temaene på fagsiden.