DAVE3700 ordinær eksamen 2025 – løsningsforslag
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 2025
Exercises
5 exercises
Exercise 1
Consider the function
We want to find the maxima and minima of the function on the circle
Exercise 1a)
Write down the Lagrange equations for the problem.
Show solutionHide solution for exercise 1a
Answer
The Lagrange equations are:
We want the largest and smallest value of \( f \) when the point must lie on the circle. The circle is then a constraint, so we use Lagrange's method.
1. Draw a sketch
We draw a sketch first. The constraint is the circle centered at the origin with radius \( 1\text{:} \)
2. Write down the Lagrange condition
Lagrange's method tells us that at the points where \( f \) is largest or smallest on the circle, we have:
\[ \nabla \textcolor{red}{f} = \lambda \nabla \textcolor{blue}{g}, \qquad \textcolor{blue}{g} = 0 \]If you are 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 problem, \( {\textcolor{blue}{g} = 0} \) is the equation of the circle and \( \lambda \) is an unknown number:
\[ \begin{aligned} \textcolor{red}{f} &= \textcolor{red}{x + y^2} \\ \textcolor{blue}{g} &= \textcolor{blue}{x^2 + y^2 - 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} \right) \]
We differentiate with respect to one variable at a time:
\[ \begin{aligned} \nabla \textcolor{red}{f} &= \textcolor{red}{(1, 2y)} \\ \nabla \textcolor{blue}{g} &= \textcolor{blue}{(2x, 2y)} \end{aligned} \]
4. Set up the equations
Plugging this into \( {\nabla f = \lambda \nabla g} \) and taking one component at a time, we get two equations. The third is \( {g = 0}\text{:} \)
\[ \begin{aligned} \textcolor{red}{1} &= \lambda \cdot \textcolor{blue}{2x} \\ \textcolor{red}{2y} &= \lambda \cdot \textcolor{blue}{2y} \\ x^2 + y^2 &= 1 \end{aligned} \]
Exercise 1b)
Solve the Lagrange equations.
Show solutionHide solution for exercise 1b
Answer
The equations have four solutions:
We use the Lagrange equations from a). Full credit can still be given when an earlier error is carried forward.
We can factor the second equation. That gives two cases, and in each of them we find the points with the other two equations.
1. Factor the second equation
In a) we found the equations:
\[ \begin{aligned} 1 &= 2\lambda x \\ 2y &= 2\lambda y \\ x^2 + y^2 &= 1 \end{aligned} \]
We don't divide by \( y\text{,} \) because we would then lose the solution \( {y = 0}\text{.} \) We move everything to one side and factor out \( 2y \) instead:
\[ \begin{aligned} 2y - 2\lambda y &= 0 \\ 2\textcolor{darkorange}{y}(\textcolor{magenta}{1 - \lambda}) &= 0 \end{aligned} \]
A product is zero only when one of the factors is zero, so we get two cases:
\[ \textcolor{darkorange}{y = 0} \quad \text{or} \quad \textcolor{magenta}{\lambda = 1} \]
2. Solve the first case
With \( {\textcolor{darkorange}{y = 0}} \) the constraint gives:
\[ \begin{aligned} x^2 + \textcolor{darkorange}{0}^2 &= 1 \\ x &= \pm 1 \end{aligned} \]
The first equation gives \( \lambda \) at each point:
\[ \begin{aligned} x = 1&: \quad 1 = 2\lambda, \quad \lambda = \dfrac{1}{2} \\ x = -1&: \quad 1 = -2\lambda, \quad \lambda = -\dfrac{1}{2} \end{aligned} \]
3. Solve the second case
With \( {\textcolor{magenta}{\lambda = 1}} \) the first equation gives:
\[ 1 = 2 \cdot \textcolor{magenta}{1} \cdot x \quad \Rightarrow \quad x = \dfrac{1}{2} \]
The constraint then gives:
\[ \begin{aligned} \left(\dfrac{1}{2}\right)^2 + y^2 &= 1 \\ y^2 &= \dfrac{3}{4} \\ y &= \pm \dfrac{\sqrt{3}}{2} \end{aligned} \]
4. Find the largest and smallest value
So the equations have four solutions. Lagrange's method only gives the candidates, not which one gives the largest and which the smallest value, as the video Finn de kritiske punktene til f ved å bruke Lagranges metode says at the very end. We plug them into \( f\text{:} \)
\[ \begin{aligned} f(1, 0) &= 1 + 0^2 = 1 \\ f(-1, 0) &= -1 + 0^2 = -1 \\ f\left(\dfrac{1}{2}, \pm \dfrac{\sqrt{3}}{2}\right) &= \dfrac{1}{2} + \dfrac{3}{4} = \dfrac{5}{4} \end{aligned} \]
The circle is closed and bounded, so \( f \) has a largest and a smallest value on it, and both must be among the candidates. This means that:
\[ f_{\max} = \dfrac{5}{4}, \qquad f_{\min} = -1 \]
Exercise 2
Consider the conservative vector field
Exercise 2a)
Determine a potential corresponding to
Show solutionHide solution for exercise 2a
Answer
A potential for is:
A potential is a function \( f \) with \( {\nabla f = \vec{F}}\text{.} \) We integrate each component with respect to its own variable and compare.
1. Write down what the potential is
A potential for \( \vec{F} \) is a function \( f \) whose gradient is the field:
\[ \nabla f = \left( \dfrac{\partial f}{\partial x}, \dfrac{\partial f}{\partial y}, \dfrac{\partial f}{\partial z} \right) = \vec{F} \]
Here:
\[ \begin{aligned} \dfrac{\partial f}{\partial x} &= \textcolor{blue}{x} \\ \dfrac{\partial f}{\partial y} &= \textcolor{red}{z} \\ \dfrac{\partial f}{\partial z} &= \textcolor{green}{y} \end{aligned} \]
2. Integrate each component
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 two variables:
\[ \begin{aligned} \int \textcolor{blue}{x}\,dx &= \dfrac{x^2}{2} + C_1(y, z) \\ \int \textcolor{red}{z}\,dy &= yz + C_2(x, z) \\ \int \textcolor{green}{y}\,dz &= yz + C_3(x, y) \end{aligned} \]
3. Put the potential together
All three are the same function \( f\text{.} \) The first expression is missing \( yz\text{,} \) and the other two are missing \( \dfrac{x^2}{2}\text{.} \) So for a constant \( K \) we have:
\[ \begin{aligned} C_1(y, z) &= yz + K \\ C_2(x, z) &= \dfrac{x^2}{2} + K \\ C_3(x, y) &= \dfrac{x^2}{2} + K \end{aligned} \]
The problem asks for one potential, so we choose \( {K = 0}\text{:} \)
\[ f(x, y, z) = \dfrac{x^2}{2} + yz \]
Kontroll: \( {\nabla f = (x, z, y)}\text{,} \) which is \( \vec{F}\text{.} \)
Exercise 2b)
Compute the line integral where is the curve parametrized by
Show solutionHide solution for exercise 2b
Answer
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, 0^2, 0) = \textcolor{blue}{(1, 0, 0)} \\ \vec{r}(1) &= (e^1, 1^2, 1) = \textcolor{red}{(e, 1, 1)} \end{aligned} \]
The curve goes from \( \textcolor{blue}{(1, 0, 0)} \) to \( \textcolor{red}{(e, 1, 1)}\text{:} \)
2. Use the potential
The fundamental theorem for line integrals tells us that for a field \( {\vec{F} = \nabla f} \) we have:
\[ \int_C \vec{F} \cdot d\vec{r} = f\big(\textcolor{red}{\vec{r}(1)}\big) - f\big(\textcolor{blue}{\vec{r}(0)}\big) \]If you are unsure about this, you can watch the video La c = 1 Regn ut linjeintegralet til Fdr langs kurven C.
In a) we found:
\[ f(x, y, z) = \dfrac{x^2}{2} + yz \]
Plugging in the endpoints, we get:
\[ \begin{aligned} \int_C \vec{F} \cdot d\vec{r} &= f(\textcolor{red}{e, 1, 1}) - f(\textcolor{blue}{1, 0, 0}) \\ &= \left( \dfrac{e^2}{2} + 1 \right) - \left( \dfrac{1}{2} + 0 \right) \\ &= \dfrac{e^2 + 1}{2} \end{aligned} \]
Exercise 3
- Flere oppgaver om curl og divergens,
- Flere oppgaver om greens teorem,
- Flere oppgaver om linjeintegraler
Consider the vector field
Exercise 3a)
Compute the curl
Show solutionHide solution for exercise 3a
Answer
The curl is the cross product of \( \nabla \) and \( \vec{F}\text{.} \) We write it as a determinant and compute one component at a time.
1. Write the curl as a determinant
As in the video Finn et generelt uttrykk for curlen til vektorfeltet, we write the curl as a determinant, with the unit vectors, \( \nabla \) and the components of \( \vec{F} \) as rows:
\[ \nabla \times \vec{F} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ \textcolor{blue}{F_1} & \textcolor{red}{F_2} & \textcolor{green}{F_3} \end{vmatrix} \]
Expanding it along the first row, we get one component for each unit vector. The minus in front of \( \hat{j} \) is multiplied into the second one:
\[ \begin{aligned} (\nabla \times \vec{F})_x &= \dfrac{\partial \textcolor{green}{F_3}}{\partial y} - \dfrac{\partial \textcolor{red}{F_2}}{\partial z} \\ (\nabla \times \vec{F})_y &= \dfrac{\partial \textcolor{blue}{F_1}}{\partial z} - \dfrac{\partial \textcolor{green}{F_3}}{\partial x} \\ (\nabla \times \vec{F})_z &= \dfrac{\partial \textcolor{red}{F_2}}{\partial x} - \dfrac{\partial \textcolor{blue}{F_1}}{\partial y} \end{aligned} \]
2. Plug in the components
Here:
\[ \textcolor{blue}{F_1} = \textcolor{blue}{-y}, \quad \textcolor{red}{F_2} = \textcolor{red}{x}, \quad \textcolor{green}{F_3} = \textcolor{green}{z} \]
Each component depends on only one variable, so most of the partial derivatives are zero. Plugging in, we get:
\[ \begin{aligned} (\nabla \times \vec{F})_x &= \dfrac{\partial \textcolor{green}{z}}{\partial y} - \dfrac{\partial \textcolor{red}{x}}{\partial z} = 0 \\ (\nabla \times \vec{F})_y &= \dfrac{\partial (\textcolor{blue}{-y})}{\partial z} - \dfrac{\partial \textcolor{green}{z}}{\partial x} = 0 \\ (\nabla \times \vec{F})_z &= \dfrac{\partial \textcolor{red}{x}}{\partial x} - \dfrac{\partial (\textcolor{blue}{-y})}{\partial y} = 2 \end{aligned} \]
The last one is \( {1 - (-1) = 2}\text{.} \) Therefore:
\[ \nabla \times \vec{F} = (0, 0, 2) \]
Exercise 3b)
Let be the curve parametrized by
Compute the line integral
Show solutionHide solution for exercise 3b
Answer
In a) we found that the curl is \( (0, 0, 2)\text{,} \) not zero, so the field is not conservative and has no potential. We therefore compute the line integral with the parametrization.
1. Draw the curve
The curve starts at \( {\vec{r}(0) = (0, 0, 0)} \) and ends at \( {\vec{r}(1) = (1, 1, 1)}\text{:} \)
2. Write down the line integral
As in the video Linjeintegral i vektorfelt & Arbeid, the line integral along a parametrized curve is:
\[ \int_C \vec{F} \cdot d\vec{r} = \int_a^b \vec{F}\big(\vec{r}(t)\big) \cdot \vec{r}\,'(t)\,dt \]
Here \( {a = 0} \) and \( {b = 1}\text{.} \) We put \( {x = t^2}\text{,} \) \( {y = t} \) and \( {z = t^3} \) into \( {\vec{F} = (-y, x, z)} \) and differentiate \( \vec{r}(t) \) component by component:
\[ \begin{aligned} \vec{F}\big(\vec{r}(t)\big) &= (\textcolor{blue}{-t}, \textcolor{red}{t^2}, \textcolor{green}{t^3}) \\ \vec{r}\,'(t) &= (\textcolor{blue}{2t}, \textcolor{red}{1}, \textcolor{green}{3t^2}) \end{aligned} \]
3. Compute the integral
The dot product is the sum of the products component by component:
\[ \begin{aligned} &\vec{F}\big(\vec{r}(t)\big) \cdot \vec{r}\,'(t) \\ &= \textcolor{blue}{-t \cdot 2t} + \textcolor{red}{t^2 \cdot 1} + \textcolor{green}{t^3 \cdot 3t^2} \\ &= -t^2 + 3t^5 \end{aligned} \]
We integrate term by term with the power rule, as in the video Basic integrasjonsregler/formler:
\[ \int t^{\textcolor{magenta}{n}}\,dt = \dfrac{t^{\textcolor{magenta}{n} + 1}}{\textcolor{magenta}{n} + 1} + C, \quad \textcolor{magenta}{n} \neq -1 \]
Here \( {\textcolor{magenta}{n} = 2} \) in the first term and \( {\textcolor{magenta}{n} = 5} \) in the second. Plugging in, we get:
\[ \begin{aligned} \int_C \vec{F} \cdot d\vec{r} &= \int_0^1 (-t^2 + 3t^5)\,dt \\ &= \left[ -\dfrac{t^3}{3} + \dfrac{3t^6}{6} \right]_0^1 \\ &= -\dfrac{1}{3} + \dfrac{1}{2} \\ &= \dfrac{1}{6} \end{aligned} \]
Exercise 3c)
Let be the circle considered with positive orientation. Compute the line integral where is the same vector field as before.
Show solutionHide solution for exercise 3c
Answer
\( C \) is a closed curve in the plane with positive orientation. We therefore use Green's theorem and compute a double integral over the disk instead.
1. Draw the curve
The circle lies in the \( {xy\text{-plane,}} \) where \( {z = 0}\text{.} \) Positive orientation is counterclockwise, with the disk \( D \) on the left:
2. Use Green's theorem
Along \( C \) we have \( {z = 0} \) and \( {dz = 0}\text{,} \) so the third component contributes nothing:
\[ \begin{aligned} \vec{F} \cdot d\vec{r} &= \textcolor{blue}{-y}\,dx + \textcolor{red}{x}\,dy + z\,dz \\ &= \textcolor{blue}{-y}\,dx + \textcolor{red}{x}\,dy \end{aligned} \]
Green's theorem holds for a closed curve going counterclockwise, as in the video Greens setning. Here \( \textcolor{blue}{P} \) is the coefficient of \( dx\text{,} \) and \( \textcolor{red}{Q} \) is the coefficient of \( dy\text{.} \) The theorem tells us that:
\[ \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} \]
Here \( {\textcolor{blue}{P} = \textcolor{blue}{-y}} \) and \( {\textcolor{red}{Q} = \textcolor{red}{x}}\text{,} \) so:
\[ \begin{aligned} \dfrac{\partial \textcolor{red}{Q}}{\partial x} &= \dfrac{\partial \textcolor{red}{x}}{\partial x} = 1 \\ \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= \dfrac{\partial (\textcolor{blue}{-y})}{\partial y} = -1 \end{aligned} \]
3. Compute the double integral
Plugging this in, we get:
\[ \begin{aligned} \oint_C \vec{F} \cdot d\vec{r} &= \iint_D \big( 1 - (-1) \big)\,dA \\ &= 2 \iint_D dA \end{aligned} \]
The integral of \( 1 \) over \( D \) is the area of the disk with radius \( 1\text{:} \)
\[ \oint_C \vec{F} \cdot d\vec{r} = 2 \cdot \pi \cdot 1^2 = 2\pi \]
Kontroll: With \( {\vec{r}(t) = (\cos t, \sin t, 0)} \) we have \( {\vec{F} \cdot \vec{r}\,' = \sin^2 t + \cos^2 t = 1}\text{,} \) and the integral from \( 0 \) to \( 2\pi \) is \( 2\pi\text{.} \)
Exercise 4
Exercise 4a)
Let be the curve corresponding to the function
Compute the length of between the points and
Show solutionHide solution for exercise 4a
Answer
The curve is the graph of a function. We write it in parametric form with \( {x = t} \) and use the formula for arc length.
1. Draw the curve
We draw a sketch first. The curve goes from \( (0, 1) \) to \( {\left(1, \dfrac{5}{3}\right)}\text{:} \)
2. Write down the arc length
With \( {x = t} \) the curve becomes:
\[ \vec{r}(t) = \left( \textcolor{blue}{t}, \textcolor{red}{\dfrac{2}{3}t^{3/2} + 1} \right), \quad 0 \le t \le 1 \]
The arc length of a parametrized curve is, as in the video Regn ut buelengden:
\[ L = \int_a^b \sqrt{\left( \dfrac{d\textcolor{blue}{x}}{dt} \right)^2 + \left( \dfrac{d\textcolor{red}{y}}{dt} \right)^2}\,dt \]
Here \( {a = 0}\text{,} \) \( {b = 1} \) and:
\[ \begin{aligned} \dfrac{d\textcolor{blue}{x}}{dt} &= \textcolor{blue}{1} \\ \dfrac{d\textcolor{red}{y}}{dt} &= \dfrac{2}{3} \cdot \dfrac{3}{2}t^{1/2} = \textcolor{red}{\sqrt{t}} \end{aligned} \]
Plugging this in, we get:
\[ \begin{aligned} L &= \int_0^1 \sqrt{\textcolor{blue}{1}^2 + \left( \textcolor{red}{\sqrt{t}} \right)^2}\,dt \\ &= \int_0^1 \sqrt{1 + t}\,dt \end{aligned} \]
3. Compute the integral
We use the substitution \( {u = 1 + t}\text{,} \) as the video does. Then \( {du = dt}\text{,} \) and the limits \( {t = 0} \) and \( {t = 1} \) become \( {u = 1} \) and \( {u = 2}\text{.} \) With \( {\sqrt{u} = u^{1/2}} \) and the power rule, we get:
\[ \begin{aligned} L &= \int_1^2 \sqrt{u}\,du \\ &= \left[ \dfrac{2}{3}u^{3/2} \right]_1^2 \\ &= \dfrac{2}{3} \cdot 2^{3/2} - \dfrac{2}{3} \cdot 1^{3/2} \end{aligned} \]
Since \( {2^{3/2} = 2\sqrt{2}}\text{,} \) we get:
\[ L = \dfrac{2}{3}\left( 2\sqrt{2} - 1 \right) = \dfrac{4\sqrt{2} - 2}{3} \]
Exercise 4b)
Let be the two-dimensional region described as follows:
• it is below the curve from a),
• it above the line
• it is such that
Compute the area of
Show solutionHide solution for exercise 4b
Answer
\( R \) lies between the line \( {y = 1} \) and the curve \( C \) for \( {0 \le x \le 1}\text{.} \) We compute the area as a double integral, with \( y \) from the line up to the curve.
1. Draw the region
The curve \( C \) starts at \( (0, 1)\text{,} \) on the line \( {y = 1}\text{,} \) and lies above the line for \( {x > 0}\text{:} \)
2. Set up the double integral
As in the video Regn ut arealet av R med en dobbeltintegral, the area is the double integral of \( 1\text{,} \) with \( y \) from the lower graph up to the upper one:
\[ A = \int_a^b \int_{\textcolor{blue}{g(x)}}^{\textcolor{red}{f(x)}} 1\,dy\,dx \]
Here \( {a = 0}\text{,} \) \( {b = 1} \) and:
\[ \begin{aligned} \textcolor{red}{f(x)} &= \textcolor{red}{\dfrac{2}{3}x^{3/2} + 1} \\ \textcolor{blue}{g(x)} &= \textcolor{blue}{1} \end{aligned} \]
3. Compute the integral
We compute the inner integral first:
\[ \int_{\textcolor{blue}{1}}^{\textcolor{red}{f(x)}} 1\,dy = \textcolor{red}{f(x)} - \textcolor{blue}{1} = \textcolor{darkorange}{\dfrac{2}{3}x^{3/2}} \]
We integrate the outer one with the power rule, as in the video Basic integrasjonsregler/formler:
\[ \int x^{\textcolor{magenta}{n}}\,dx = \dfrac{x^{\textcolor{magenta}{n} + 1}}{\textcolor{magenta}{n} + 1} + C, \quad \textcolor{magenta}{n} \neq -1 \]
Here \( {\textcolor{magenta}{n} = \dfrac{3}{2}}\text{,} \) so \( {\textcolor{magenta}{n} + 1 = \dfrac{5}{2}}\text{.} \) Plugging this in, we get:
\[ \begin{aligned} A &= \int_0^1 \textcolor{darkorange}{\dfrac{2}{3}x^{3/2}}\,dx \\ &= \left[ \dfrac{2}{3} \cdot \dfrac{2}{5}x^{5/2} \right]_0^1 \\ &= \dfrac{4}{15} \end{aligned} \]
Exercise 5
- Flere oppgaver om divergensteoremet,
- Flere oppgaver om fluks,
- Flere oppgaver om kulekoordinater,
- Flere oppgaver om trippelintegraler
Consider the ball defined by
Exercise 5a)
Compute the triple integral
Hint: you can use the definite integral
Show solutionHide solution for exercise 5a
Answer
\( B \) is a ball centered at the origin. We therefore switch to spherical coordinates, where all the limits become constants.
1. Draw the ball
\( B \) is the ball centered at the origin with radius \( 1\text{,} \) and its boundary is the sphere \( S\text{:} \)
2. Switch to spherical coordinates
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. Then:
\[ z = \textcolor{blue}{\rho}\cos\textcolor{red}{\phi} \]
The volume element is, as in the video Kulekoordinater & Trippelintegraler:
\[ dV = \textcolor{blue}{\rho}^2 \sin\textcolor{red}{\phi}\,d\rho\,d\phi\,d\theta \]
We get the whole ball with these limits, as in the video Regn ut fluksen ut av kulen ved å bruke divergenssetningen:
\[ \begin{aligned} 0 &\le \textcolor{blue}{\rho} \le 1 \\ 0 &\le \textcolor{red}{\phi} \le \pi \\ 0 &\le \textcolor{green}{\theta} \le 2\pi \end{aligned} \]
3. Set up the integral
The integrand becomes:
\[ \begin{aligned} z^4 \cdot \rho^2 \sin\phi &= (\rho\cos\phi)^4 \rho^2 \sin\phi \\ &= \rho^6 \cos^4\phi \sin\phi \end{aligned} \]
Plugging in the limits, we get:
\[ \begin{aligned} &\iiint_B z^4\,dV \\ &= \int_0^{2\pi}\!\! \int_0^{\pi}\!\! \int_0^1 \rho^6 \cos^4\phi \sin\phi\,d\rho\,d\phi\,d\theta \end{aligned} \]
4. Compute the integral
We compute the inner integral first, with the power rule:
\[ \int_0^1 \rho^6\,d\rho = \left[ \dfrac{\rho^7}{7} \right]_0^1 = \textcolor{darkorange}{\dfrac{1}{7}} \]
Then the integral over \( \phi\text{.} \) It is the integral in the hint, with \( \phi \) instead of \( u\text{:} \)
\[ \int_0^{\pi} \textcolor{darkorange}{\dfrac{1}{7}} \cos^4\phi \sin\phi\,d\phi = \textcolor{darkorange}{\dfrac{1}{7}} \cdot \dfrac{2}{5} = \textcolor{magenta}{\dfrac{2}{35}} \]
Finally the outer one, over \( \theta\text{:} \)
\[ \int_0^{2\pi} \textcolor{magenta}{\dfrac{2}{35}}\,d\theta = \textcolor{magenta}{\dfrac{2}{35}} \cdot 2\pi = \dfrac{4\pi}{35} \]
Exercise 5b)
Let be the sphere Consider the vector field
Compute the flux where is the outgoing normal vector to the sphere.
Show solutionHide solution for exercise 5b
Answer
We use the triple integral from a). Full credit can still be given when an earlier error is carried forward.
\( S \) is a closed surface, the boundary of the ball \( B\text{.} \) We therefore use the divergence theorem and compute a triple integral over \( B \) instead.
1. Use the divergence theorem
\( S \) is the sphere around \( B\text{,} \) and \( \vec{n} \) points outward:
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_S \vec{F} \cdot \vec{n}\,dS = \iiint_B \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}\left( \textcolor{blue}{\dfrac{1}{2}x^2 + y} \right) &= \textcolor{blue}{x} \\ \dfrac{\partial}{\partial y}\left( \textcolor{red}{yz^4 + z^3} \right) &= \textcolor{red}{z^4} \\ \dfrac{\partial}{\partial z}\left( \textcolor{green}{xy} \right) &= \textcolor{green}{0} \end{aligned} \]
Putting this together, we get:
\[ \nabla \cdot \vec{F} = \textcolor{blue}{x} + \textcolor{red}{z^4} + \textcolor{green}{0} = x + z^4 \]
3. Split the triple integral
Plugging this into the divergence theorem, we get:
\[ \begin{aligned} &\iint_S \vec{F} \cdot \vec{n}\,dS \\ &= \iiint_B (x + z^4)\,dV \\ &= \iiint_B x\,dV + \iiint_B z^4\,dV \end{aligned} \]
The first integral is zero: the ball is symmetric about the \( {yz\text{-plane,}} \) so the positive and negative values of \( x \) cancel. In spherical coordinates \( {x = \rho\sin\phi\cos\theta}\text{,} \) so the integral becomes:
\[ \begin{aligned} &\iiint_B x\,dV \\ &= \int_0^{2\pi}\!\! \int_0^{\pi}\!\! \int_0^1 \rho^3 \sin^2\phi \cos\theta\,d\rho\,d\phi\,d\theta \end{aligned} \]
The integrand is a product with one part for each variable, so the integral over \( \theta \) is a separate factor, and it is zero:
\[ \int_0^{2\pi} \cos\theta\,d\theta = \Big[ \sin\theta \Big]_0^{2\pi} = 0 \]
So:
\[ \iiint_B x\,dV = 0 \]
We found the second one in a):
\[ \iiint_B z^4\,dV = \dfrac{4\pi}{35} \]
So the flux is:
\[ \iint_S \vec{F} \cdot \vec{n}\,dS = 0 + \dfrac{4\pi}{35} = \dfrac{4\pi}{35} \]
Ferdig med settet? Se de andre settene i Matte 3000, eller repeter temaene på fagsiden.