Hopp til hovedinnholdet

DAVE3700 konteeksamen 2025

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.

februar 2025

Last ned PDF

Exercises

5 exercises

Exercise 1

Consider the ellipsoid E E defined by the equation
x2+y24+z29=1 x^2 + \dfrac{y^2}{4} + \dfrac{z^2}{9} = 1
The goal is to find the points on E E with maximal or minimal distance from the origin.

Exercise 1a)

Write down the Lagrange equations for the problem. Hint: use the distance-squared function f(x,y,z)=x2+y2+z2. {f(x, y, z) = x^2 + y^2 + z^2}\text{.}
Show solution for exercise 1a
Answer
The Lagrange equations are:
2x=2λx2y=λy22z=2λz9x2+y24+z29=1‾‾ \underline{\underline{\begin{aligned} 2x &= 2\lambda x \\ 2y &= \dfrac{\lambda y}{2} \\ 2z &= \dfrac{2\lambda z}{9} \\ x^2 + \dfrac{y^2}{4} + \dfrac{z^2}{9} &= 1 \end{aligned}}}
We want the largest and smallest value of \( f \) on \( E\text{.} \) The equation of \( E \) is then a constraint, so we use Lagrange's method.
1. Draw a sketch We draw a sketch first. Setting two of the coordinates equal to \( 0\text{,} \) we see that \( E \) crosses the axes at \( {x = \pm 1}\text{,} \) \( {y = \pm 2} \) and \( {z = \pm 3}\text{:} \)
2. Write down Lagrange's method Lagrange's method tells us that at the points where \( f \) is largest or smallest on \( E\text{,} \) we have: \[ \nabla \textcolor{red}{f} = \lambda \nabla \textcolor{blue}{g}, \qquad \textcolor{blue}{g} = 0 \]If you're unsure about the method, you can watch the video Finn de kritiske punktene til f ved å bruke Lagranges metode.
Here \( \textcolor{red}{f} \) is the function from the hint, and \( {\textcolor{blue}{g} = 0} \) is the equation of \( E\text{:} \) \[ \begin{aligned} \textcolor{red}{f} &= \textcolor{red}{x^2 + y^2 + z^2} \\ \textcolor{blue}{g} &= \textcolor{blue}{x^2 + \dfrac{y^2}{4} + \dfrac{z^2}{9} - 1} \end{aligned} \]
3. Find the gradients The gradient is the vector of the partial derivatives, as in the video Hva er en gradient?: \[ \nabla f = \left( \dfrac{\partial f}{\partial x}, \dfrac{\partial f}{\partial y}, \dfrac{\partial f}{\partial z} \right) \]
We differentiate with respect to one variable at a time: \[ \begin{aligned} \nabla \textcolor{red}{f} &= \textcolor{red}{(2x, 2y, 2z)} \\ \nabla \textcolor{blue}{g} &= \textcolor{blue}{\left( 2x, \dfrac{y}{2}, \dfrac{2z}{9} \right)} \end{aligned} \]
4. Set up the equations Plugging this into \( {\nabla f = \lambda \nabla g} \) and taking one component at a time, we get three equations. The fourth is \( {g = 0}\text{:} \) \[ \begin{aligned} \textcolor{red}{2x} &= \lambda \cdot \textcolor{blue}{2x} \\ \textcolor{red}{2y} &= \lambda \cdot \textcolor{blue}{\dfrac{y}{2}} \\ \textcolor{red}{2z} &= \lambda \cdot \textcolor{blue}{\dfrac{2z}{9}} \\ x^2 + \dfrac{y^2}{4} + \dfrac{z^2}{9} &= 1 \end{aligned} \]

Exercise 1b)

Find all solutions to the Lagrange equations such that x=0. {x = 0}\text{.}
Show solution for exercise 1b
Answer
With x=0 {x = 0} the equations have four solutions:
(x,y,z)=(0,±2,0),λ=4(x,y,z)=(0,0,±3),λ=9‾‾ \underline{\underline{\begin{aligned} (x, y, z) &= (0, \pm 2, 0), & \lambda &= 4 \\ (x, y, z) &= (0, 0, \pm 3), & \lambda &= 9 \end{aligned}}}
We use the Lagrange equations from a).
With \( {x = 0} \) the first equation always holds. We factor the next two, and then go through the cases.
1. Set x equal to zero In a) we found the four Lagrange equations. With \( {x = 0} \) they become: \[ \begin{aligned} 2 \cdot 0 &= 2\lambda \cdot 0 \\ 2y &= \dfrac{\lambda y}{2} \\ 2z &= \dfrac{2\lambda z}{9} \\ \dfrac{y^2}{4} + \dfrac{z^2}{9} &= 1 \end{aligned} \]
2. Factor the equations We collect the terms on one side and factor out \( \textcolor{red}{y} \) and \( \textcolor{blue}{z}\text{:} \) \[ \begin{aligned} \textcolor{red}{y}\left( 2 - \dfrac{\lambda}{2} \right) &= 0 \\ \textcolor{blue}{z}\left( 2 - \dfrac{2\lambda}{9} \right) &= 0 \end{aligned} \]
A product is \( 0 \) when one of the factors is \( 0\text{.} \) This gives: \[ \begin{aligned} \textcolor{red}{y} = 0 \quad &\text{or} \quad \lambda = 4 \\ \textcolor{blue}{z} = 0 \quad &\text{or} \quad \lambda = 9 \end{aligned} \]
3. Go through the cases Each value of \( \lambda \) gives points once we substitute into the constraint, as in the video Finn de kritiske punktene til f ved å bruke Lagranges metode.
If \( {\textcolor{red}{y} \neq 0}\text{,} \) we must have \( {\lambda = 4}\text{.} \) Putting this into the equation for \( \textcolor{blue}{z}\text{,} \) we get: \[ \textcolor{blue}{z}\left( 2 - \dfrac{8}{9} \right) = 0 \quad \Rightarrow \quad \textcolor{blue}{z} = 0 \]
The constraint then gives: \[ \dfrac{\textcolor{red}{y}^2}{4} = 1 \quad \Rightarrow \quad \textcolor{red}{y} = \pm 2 \]
If \( {\textcolor{red}{y} = 0}\text{,} \) the constraint gives: \[ \dfrac{\textcolor{blue}{z}^2}{9} = 1 \quad \Rightarrow \quad \textcolor{blue}{z} = \pm 3 \]
Then \( {\textcolor{blue}{z} \neq 0}\text{,} \) so the other factor must be \( 0\text{:} \) \[ 2 - \dfrac{2\lambda}{9} = 0 \quad \Rightarrow \quad \lambda = 9 \]
Of these, \( {(0, 0, \pm 3)} \) lie farthest from the origin: \[ f(0, \pm 2, 0) = 4, \qquad f(0, 0, \pm 3) = 9 \]

Exercise 1c)

Consider now the same problem for the sphere S S given by x2+y2+z2=1 {x^2 + y^2 + z^2 = 1} (instead of the ellipsoid E E ). How many solutions to the Lagrange equations do you expect to find? (Note: here it is enough to give an informal argument, it is not necessary to give a full derivation.)
Show solution for exercise 1c
Answer
Every point on the sphere is a solution, with λ=1: {\lambda = 1}\text{:}
infinitely many solutions‾‾ \underline{\underline{\text{infinitely many solutions}}}
We look at how far the points on the sphere are from the origin, and compare the gradients of \( f \) and the new \( g\text{.} \)
1. Draw a sketch We draw a sketch first. The sphere has its center at the origin and radius \( 1\text{:} \)
2. Look at the distance On the sphere we have \( {x^2 + y^2 + z^2 = 1}\text{,} \) so the squared distance is the same everywhere: \[ \textcolor{red}{f(x, y, z)} = x^2 + y^2 + z^2 = 1 \]So every point on \( S \) is both farthest from and nearest to the origin.
3. Compare the gradients The Lagrange equations are the same as before, but with a new constraint: \[ \nabla \textcolor{red}{f} = \lambda \nabla \textcolor{blue}{g}, \qquad \textcolor{blue}{g} = 0 \]That is the rule from the video Finn de kritiske punktene til f ved å bruke Lagranges metode.
Here \( {\textcolor{blue}{g} = \textcolor{blue}{x^2 + y^2 + z^2 - 1}}\text{,} \) which has the same gradient as \( \textcolor{red}{f}\text{:} \) \[ \nabla \textcolor{red}{f} = (2x, 2y, 2z) = \nabla \textcolor{blue}{g} \]
With \( {\lambda = 1} \) the equation \( {\nabla f = \lambda \nabla g} \) therefore holds at every point, and \( {g = 0} \) holds at every point on \( S\text{:} \) \[ (x, y, z) \in S, \quad \lambda = 1 \]There are infinitely many solutions.

Exercise 2

Consider the vector field F⃗(x,y)=(y,x2). {\vec{F}(x, y) = (y, x^2)}\text{.}

Exercise 2a)

Compute the line integral ∫CF⃗⋅dr⃗, {\int_C \vec{F} \cdot d\vec{r}}\text{,} where C C is the parabola with parametrization
r⃗(t)=(t,t2),0≤t≤1 \vec{r}(t) = (t, t^2), \quad 0 \le t \le 1
Show solution for exercise 2a
Answer
∫CF⃗⋅dr⃗=56‾‾ \underline{\underline{\int_C \vec{F} \cdot d\vec{r} = \dfrac{5}{6}}}
The curve is given by a parametrization. We therefore write \( \vec{F} \) and \( d\vec{r} \) in terms of \( t \) and integrate from \( {t = 0} \) to \( {t = 1}\text{.} \)
1. Draw a sketch We draw a sketch first. The parabola goes from \( (0, 0) \) at \( {t = 0} \) to \( (1, 1) \) at \( {t = 1}\text{:} \)
2. Write down the formula The line integral of a vector field along a parametrized curve is: \[ \int_C \vec{F} \cdot d\vec{r} = \int_a^b \vec{F}(\vec{r}(t)) \cdot \vec{r}\,'(t)\,dt \]That is the formula in the video Linjeintegral i vektorfelt & Arbeid.
3. Put in the parametrization Here \( {x = \textcolor{blue}{t}} \) and \( {y = \textcolor{red}{t^2}}\text{.} \) We replace \( x \) and \( y \) in \( \vec{F}\text{:} \) \[ \vec{F}(\vec{r}(t)) = \left( \textcolor{red}{t^2}, (\textcolor{blue}{t})^2 \right) = (t^2, t^2) \]
We differentiate the parametrization component by component: \[ \vec{r}\,'(t) = (\textcolor{blue}{1}, \textcolor{red}{2t}) \]
4. Compute the integral The dot product multiplies the components in pairs and adds them up: \[ (t^2, t^2) \cdot (\textcolor{blue}{1}, \textcolor{red}{2t}) = t^2 + 2t^3 \]
Plugging this into the formula, we get: \[ \begin{aligned} \int_C \vec{F} \cdot d\vec{r} &= \int_0^1 (t^2 + 2t^3)\,dt \\ &= \left[ \dfrac{t^3}{3} + \dfrac{t^4}{2} \right]_0^1 \\ &= \dfrac{1}{3} + \dfrac{1}{2} = \dfrac{5}{6} \end{aligned} \]

Exercise 2b)

Compute the line integral ∮CF⃗⋅dr⃗, {\oint_C \vec{F} \cdot d\vec{r}}\text{,} where C C is the circle x2+y2=1 {x^2 + y^2 = 1} with positive orientation.
Show solution for exercise 2b
Answer
∮CF⃗⋅dr⃗=−π‾‾ \underline{\underline{\oint_C \vec{F} \cdot d\vec{r} = -\pi}}
The curve is closed and goes counterclockwise. We therefore use Green's theorem and compute a double integral over the disk inside the circle.
1. Draw a sketch We draw a sketch first. Positive orientation means counterclockwise, and \( C \) goes around the disk \( D\text{:} \)
2. Write down Green's theorem Green's theorem tells us that when \( C \) goes counterclockwise around \( D\text{,} \) we have: \[ \begin{aligned} &\oint_C \textcolor{blue}{P}\,dx + \textcolor{red}{Q}\,dy \\ &= \iint_D \left( \dfrac{\partial \textcolor{red}{Q}}{\partial x} - \dfrac{\partial \textcolor{blue}{P}}{\partial y} \right) dA \end{aligned} \]If you're unsure about the theorem, you can watch the video Greens setning.
Here \( {\vec{F} = (\textcolor{blue}{P}, \textcolor{red}{Q})}\text{:} \) \[ \begin{aligned} \textcolor{blue}{P} &= \textcolor{blue}{y} & \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= \textcolor{blue}{1} \\ \textcolor{red}{Q} &= \textcolor{red}{x^2} & \dfrac{\partial \textcolor{red}{Q}}{\partial x} &= \textcolor{red}{2x} \end{aligned} \]
Plugging this in, we get: \[ \oint_C \vec{F} \cdot d\vec{r} = \iint_D (\textcolor{red}{2x} - \textcolor{blue}{1})\,dA \]
3. Switch to polar coordinates Over a disk we compute in polar coordinates, as in the video Eksempel oppgave 1, Greens setning: \[ x = r\cos\theta, \qquad dA = r\,dr\,d\theta \]
The disk has \( {0 \le r \le 1} \) and \( {0 \le \theta \le 2\pi}\text{,} \) so: \[ \begin{aligned} &\iint_D (2x - 1)\,dA \\ &= \int_0^{2\pi} \int_0^1 (2r\cos\theta - 1)\,r\,dr\,d\theta \end{aligned} \]
4. Compute the integral We compute the inner integral first: \[ \begin{aligned} &\int_0^1 (2r^2\cos\theta - r)\,dr \\ &= \left[ \dfrac{2r^3}{3}\cos\theta - \dfrac{r^2}{2} \right]_0^1 \\ &= \dfrac{2}{3}\cos\theta - \dfrac{1}{2} \end{aligned} \]
Then the outer one: \[ \begin{aligned} &\int_0^{2\pi} \left( \dfrac{2}{3}\cos\theta - \dfrac{1}{2} \right) d\theta \\ &= \left[ \dfrac{2}{3}\sin\theta - \dfrac{\theta}{2} \right]_0^{2\pi} \\ &= 0 - \pi = -\pi \end{aligned} \]

Exercise 3

Consider the two-dimensional region
R={(x,y):0≤x≤1, 0≤y≤x} R = \{(x, y) : 0 \le x \le 1,\ 0 \le y \le \sqrt{x}\}

Exercise 3a)

Compute the area of R R as a double integral.
Show solution for exercise 3a
Answer
A=23‾‾ \underline{\underline{A = \dfrac{2}{3}}}
The area is the double integral of \( 1 \) over \( R\text{.} \) The limits are in the description of \( R\text{,} \) with \( y \) innermost.
1. Draw a sketch We draw a sketch first. \( R \) lies between the \( x \)-axis and the graph of \( {y = \sqrt{x}}\text{,} \) from \( {x = 0} \) to \( {x = 1}\text{:} \)
2. Set up the double integral The area of a region is the double integral of \( 1\text{,} \) as in the video Regn ut arealet av R med en dobbeltintegral: \[ A = \iint_R 1\,dA \]
For each \( x \) the variable \( y \) goes from \( \textcolor{red}{0} \) to \( \textcolor{red}{\sqrt{x}}\text{,} \) and \( x \) goes from \( \textcolor{blue}{0} \) to \( \textcolor{blue}{1}\text{:} \) \[ A = \int_{\textcolor{blue}{0}}^{\textcolor{blue}{1}} \int_{\textcolor{red}{0}}^{\textcolor{red}{\sqrt{x}}} 1\,dy\,dx \]
3. Compute the integral We compute the inner integral first: \[ \int_0^{\sqrt{x}} 1\,dy = \Big[ y \Big]_0^{\sqrt{x}} = \sqrt{x} \]
Then the outer one. We write \( {\sqrt{x} = x^{1/2}} \) and use the rule: \[ \int x^n\,dx = \dfrac{x^{n+1}}{n+1} \]
With \( {n = \dfrac{1}{2}} \) we get: \[ \begin{aligned} A &= \int_0^1 x^{1/2}\,dx = \left[ \dfrac{x^{3/2}}{3/2} \right]_0^1 \\ &= \left[ \dfrac{2}{3}x^{3/2} \right]_0^1 = \dfrac{2}{3} \end{aligned} \]

Exercise 3b)

Consider the change of variables
x=u2,y=v x = u^2, \quad y = v
Describe the region R R in terms of the (u,v) (u, v) -variables.
Show solution for exercise 3b
Answer
With u≥0 {u \ge 0} the region R R becomes the triangle T: T\text{:}
0≤u≤1,0≤v≤u‾‾ \underline{\underline{0 \le u \le 1, \quad 0 \le v \le u}}
We put \( {x = u^2} \) and \( {y = v} \) into the inequalities that describe \( R\text{,} \) and solve them for \( u \) and \( v\text{.} \)
1. Substitute the new variables We replace \( x \) by \( \textcolor{blue}{u^2} \) and \( y \) by \( \textcolor{red}{v} \) in the inequalities, as in the video Variabelskifte med en 3D funksjon: \[ \begin{aligned} 0 \le \textcolor{blue}{u^2} &\le 1 \\ 0 \le \textcolor{red}{v} &\le \sqrt{\textcolor{blue}{u^2}} \end{aligned} \]
2. Choose the sign of u \( u \) and \( {-u} \) give the same \( x\text{.} \) We choose \( {u \ge 0}\text{,} \) so that each point in \( R \) gets exactly one pair \( (u, v)\text{:} \) \[ u = \sqrt{x}, \qquad \sqrt{u^2} = u \]
The inequalities then become: \[ \begin{aligned} 0 \le u &\le 1 \\ 0 \le v &\le u \end{aligned} \]
3. Draw the region In the \( uv \)-plane this is the triangle \( T \) with corners at \( (0, 0)\text{,} \) \( (1, 0) \) and \( (1, 1)\text{.} \) The curve \( {y = \sqrt{x}} \) becomes the line \( {v = u}\text{:} \)

Exercise 3c)

Compute again the area of R R using the (u,v) (u, v) -variables.
Show solution for exercise 3c
Answer
A=23‾‾ \underline{\underline{A = \dfrac{2}{3}}}
We use the triangle \( T \) and the limits for \( u \) and \( v \) from b).
In the \( (u, v) \)-variables the area is the double integral of \( |J| \) over the triangle \( T \) from b), where \( J \) is the Jacobian determinant.
1. Find the Jacobian determinant The Jacobian determinant of the change of variables is, as in the video Regn ut arealet ved hjelp av variabelskiftet: \[ \begin{aligned} J &= \begin{vmatrix} \dfrac{\partial x}{\partial u} & \dfrac{\partial x}{\partial v} \\ \dfrac{\partial y}{\partial u} & \dfrac{\partial y}{\partial v} \end{vmatrix} \\ &= \dfrac{\partial x}{\partial u} \cdot \dfrac{\partial y}{\partial v} - \dfrac{\partial x}{\partial v} \cdot \dfrac{\partial y}{\partial u} \end{aligned} \]
Here \( {x = \textcolor{blue}{u^2}} \) and \( {y = \textcolor{red}{v}}\text{:} \) \[ \begin{aligned} \dfrac{\partial x}{\partial u} &= \textcolor{blue}{2u} & \dfrac{\partial x}{\partial v} &= \textcolor{blue}{0} \\ \dfrac{\partial y}{\partial u} &= \textcolor{red}{0} & \dfrac{\partial y}{\partial v} &= \textcolor{red}{1} \end{aligned} \]
Plugging this in, we get: \[ J = \textcolor{blue}{2u} \cdot \textcolor{red}{1} - \textcolor{blue}{0} \cdot \textcolor{red}{0} = 2u \]Since \( {u \ge 0}\text{,} \) we have \( {|J| = 2u}\text{.} \)
2. Compute the area The area is the double integral of \( |J| \) over the triangle \( T \) in the \( uv \)-plane, as in the video Regn ut arealet ved hjelp av variabelskiftet: \[ A = \iint_R 1\,dA = \iint_T |J|\,du\,dv \]
In b) we found the triangle: \[ T:\quad 0 \le u \le 1, \quad 0 \le v \le u \]
Here \( {|J| = 2u}\text{.} \) Plugging this in, we get: \[ \begin{aligned} A &= \int_0^1 \int_0^u 2u\,dv\,du \\ &= \int_0^1 \Big[ 2uv \Big]_0^u\,du = \int_0^1 2u^2\,du \\ &= \left[ \dfrac{2u^3}{3} \right]_0^1 = \dfrac{2}{3} \end{aligned} \]This is the same area as in a).

Exercise 4

Let G G be the graph of the function
f(x,y)=12(x2+y2) f(x, y) = \dfrac{1}{2}(x^2 + y^2)
with domain the disk D={(x,y):x2+y2≤4}. {D = \{(x, y) : x^2 + y^2 \le 4\}}\text{.}

Exercise 4a)

Compute the factor fx2+fy2+1. {\sqrt{f_x^2 + f_y^2 + 1}}\text{.}
Show solution for exercise 4a
Answer
fx2+fy2+1=x2+y2+1‾‾ \underline{\underline{\sqrt{f_x^2 + f_y^2 + 1} = \sqrt{x^2 + y^2 + 1}}}
We find the partial derivatives \( f_x \) and \( f_y \) and put them under the root sign.
1. Find the partial derivatives \( f_x \) is the derivative with respect to \( x\text{,} \) with \( y \) held constant, as in the video Partiell derivasjon, intro med eksempler. With \( {f = \dfrac{1}{2}x^2 + \dfrac{1}{2}y^2} \) we get: \[ \begin{aligned} \textcolor{blue}{f_x} &= \dfrac{1}{2} \cdot 2x + 0 = \textcolor{blue}{x} \\ \textcolor{red}{f_y} &= 0 + \dfrac{1}{2} \cdot 2y = \textcolor{red}{y} \end{aligned} \]
2. Substitute into the factor Plugging this in, we get: \[ \sqrt{\textcolor{blue}{f_x}^2 + \textcolor{red}{f_y}^2 + 1} = \sqrt{\textcolor{blue}{x}^2 + \textcolor{red}{y}^2 + 1} \]

Exercise 4b)

Compute the area of the surface G. G\text{.} Hint: you can use the integral
∫uu2+1 du=13(u2+1)3/2 \int u\sqrt{u^2 + 1}\,du = \dfrac{1}{3}(u^2 + 1)^{3/2}
Show solution for exercise 4b
Answer
A=2π3(55−1)‾‾ \underline{\underline{A = \dfrac{2\pi}{3}\left( 5\sqrt{5} - 1 \right)}}
We use the factor from a).
The area of a graph is the double integral of the factor over the domain. \( D \) is a disk, so we compute in polar coordinates.
1. Draw a sketch We draw a sketch first. On the edge of \( D \) we have \( {x^2 + y^2 = 4}\text{,} \) so there \( {f = 2}\text{.} \) \( G \) is therefore a bowl over the disk with radius \( 2\text{:} \)
2. Write down the area formula The area of the graph of \( f \) over \( D \) is: \[ A = \iint_D \sqrt{f_x^2 + f_y^2 + 1}\,dA \]
In the video Overflateareal med flateintegral the factor is written as \( {\dfrac{|\nabla F|}{|\nabla F \cdot \hat{k}|}}\text{.} \) With \( {F = f(x, y) - z} \) it is the same: \[ \begin{aligned} \dfrac{|\nabla F|}{|\nabla F \cdot \hat{k}|} &= \dfrac{|(f_x, f_y, -1)|}{|-1|} \\ &= \sqrt{f_x^2 + f_y^2 + 1} \end{aligned} \]
In a) we found the factor: \[ \sqrt{f_x^2 + f_y^2 + 1} = \sqrt{x^2 + y^2 + 1} \]
3. Switch to polar coordinates In polar coordinates \( {x^2 + y^2 = \textcolor{blue}{r^2}} \) and \( {dA = \textcolor{red}{r}\,dr\,d\theta}\text{,} \) as in the video Dobbelt integral. The disk \( D \) has \( {0 \le r \le 2} \) and \( {0 \le \theta \le 2\pi}\text{:} \) \[ A = \int_0^{2\pi} \int_0^2 \sqrt{\textcolor{blue}{r^2} + 1} \cdot \textcolor{red}{r}\,dr\,d\theta \]
4. Compute the integral The inner integral is the integral from the hint, with \( r \) instead of \( u\text{:} \) \[ \begin{aligned} &\int_0^2 r\sqrt{r^2 + 1}\,dr \\ &= \left[ \dfrac{1}{3}(r^2 + 1)^{3/2} \right]_0^2 \\ &= \dfrac{1}{3}\left( 5^{3/2} - 1 \right) = \dfrac{1}{3}\left( 5\sqrt{5} - 1 \right) \end{aligned} \]
In the outer integral the integrand is a constant, so we multiply by \( 2\pi\text{:} \) \[ \begin{aligned} A &= 2\pi \cdot \dfrac{1}{3}\left( 5\sqrt{5} - 1 \right) \\ &= \dfrac{2\pi}{3}\left( 5\sqrt{5} - 1 \right) \end{aligned} \]

Exercise 5

Consider the vector field F⃗(x,y,z)=(0,0,z2) {\vec{F}(x, y, z) = (0, 0, z^2)} and the box
B={(x,y,z): −1≤x≤1,−1≤y≤1,−2≤z≤2} \begin{aligned} B = \{(x, y, z) :\ &-1 \le x \le 1, \\ &-1 \le y \le 1, \\ &-2 \le z \le 2\} \end{aligned}
Write S S for the boundary surface of B. B\text{.}

Exercise 5a)

Compute the flux ΦS=∬SF⃗⋅n⃗ dS, {\Phi_S = \iint_S \vec{F} \cdot \vec{n}\,dS}\text{,} where n⃗ \vec{n} is outgoing.
Show solution for exercise 5a
Answer
ΦS=0‾‾ \underline{\underline{\Phi_S = 0}}
\( S \) is a closed surface around the box. We therefore use the divergence theorem and compute one triple integral instead of six surface integrals.
1. Draw a sketch We draw a sketch first. The box goes from \( {-1} \) to \( 1 \) in \( x \) and \( y\text{,} \) and from \( {-2} \) to \( 2 \) in \( z\text{.} \) The outward normal vector points out of each face:
2. Write down the divergence theorem The divergence theorem tells us that when \( \vec{n} \) points out of a closed surface \( S \) around a region \( B\text{,} \) we have: \[ \iint_S \vec{F} \cdot \vec{n}\,dS = \iiint_B \nabla \cdot \vec{F}\,dV \]If you're unsure about the theorem, you can watch the video Fluks gjennom LUKKET FLATE.
3. Find the divergence The divergence is the sum of the partial derivatives of the components, 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: \[ \textcolor{blue}{F_1} = \textcolor{blue}{0}, \quad \textcolor{red}{F_2} = \textcolor{red}{0}, \quad \textcolor{green}{F_3} = \textcolor{green}{z^2} \]
Plugging this in, we get: \[ \nabla \cdot \vec{F} = \textcolor{blue}{0} + \textcolor{red}{0} + \textcolor{green}{2z} = 2z \]
4. Compute the triple integral Plugging the divergence into the divergence theorem, we get: \[ \Phi_S = \int_{-1}^{1} \int_{-1}^{1} \int_{-2}^{2} 2z\,dz\,dy\,dx \]
The inner integral is: \[ \int_{-2}^{2} 2z\,dz = \Big[ z^2 \Big]_{-2}^{2} = 4 - 4 = 0 \]
So the whole integral becomes: \[ \Phi_S = \int_{-1}^{1} \int_{-1}^{1} 0\,dy\,dx = 0 \]

Exercise 5b)

Let n⃗ \vec{n} be as in a). Compute the flux ΦSt=∬StF⃗⋅n⃗ dS, {\Phi_{S_t} = \iint_{S_t} \vec{F} \cdot \vec{n}\,dS}\text{,} where St S_t is the top face of the box, given explicitly by
St={(x,y,z): −1≤x≤1,−1≤y≤1,z=2} \begin{aligned} S_t = \{(x, y, z) :\ &-1 \le x \le 1, \\ &-1 \le y \le 1, \\ &z = 2\} \end{aligned}
Show solution for exercise 5b
Answer
ΦSt=16‾‾ \underline{\underline{\Phi_{S_t} = 16}}
The top face lies in the plane \( {z = 2}\text{,} \) and the outward normal vector points straight up. We find \( {\vec{F} \cdot \vec{n}} \) there and integrate over the square.
1. Draw a sketch We draw a sketch first. \( S_t \) is the top of the box, and \( \vec{n} \) points straight up out of it:
2. Find the dot product on top On the top face, \( \vec{n} \) points straight up, as in the video Fluks gjennom ÅPEN FLATE: \[ \vec{n} = (0, 0, 1) \]
There \( {z = 2}\text{,} \) so the dot product becomes: \[ \vec{F} \cdot \vec{n} = (0, 0, \textcolor{green}{z^2}) \cdot (0, 0, 1) = \textcolor{green}{z^2} = \textcolor{green}{4} \]
3. Compute the flux The top face is a square in the plane \( {z = 2}\text{,} \) so \( {dS = dx\,dy}\text{.} \) Plugging this in, we get: \[ \begin{aligned} \Phi_{S_t} &= \int_{-1}^{1} \int_{-1}^{1} \textcolor{green}{4}\,dy\,dx \\ &= \textcolor{green}{4} \cdot 2 \cdot 2 = 16 \end{aligned} \]The integrand is constant, so the integral is \( 4 \) times the area of the square, as in the video Fluks gjennom ÅPEN FLATE.
Kontroll: The bottom has \( {\vec{n} = (0, 0, -1)} \) and \( {z = -2}\text{,} \) so it gives \( {-16}\text{.} \) The sides give \( 0\text{.} \) The sum is \( 0\text{,} \) as in a).

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