DAVE3700 ordinær eksamen 2019 – 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.
13. desember 2019
Exercises
5 exercises
Exercise 1
Consider the real function with the constraint
Exercise 1a)
Determine the critical points of with constraint using the substitution method.
Show solutionHide solution for exercise 1a
Answer
has one critical point with the constraint
We can solve the constraint for \( y\text{.} \) We substitute it into \( f\text{,} \) get a function of \( x \) alone, and set its derivative equal to zero.
1. Draw a sketch
We draw a sketch first. The constraint \( {x^2 - y = 0} \) is the parabola \( {y = x^2}\text{,} \) and we look for the critical points of \( f \) along it:
2. Substitute the constraint into f 0:54
The constraint gives us:
\[ x^2 - y = 0 \quad \Rightarrow \quad \textcolor{green}{y = x^2} \]
Substituting this into \( f\text{,} \) we get a function of \( x \) alone:
\[ h(x) = f(x, \textcolor{green}{x^2}) = x^2e^{\textcolor{green}{x^2}} \]
3. Differentiate with the product rule 2:18
\( h \) is a product, so we use the product rule:
\[ (\textcolor{red}{u} \cdot \textcolor{blue}{v})' = \textcolor{red}{u'} \cdot \textcolor{blue}{v} + \textcolor{red}{u} \cdot \textcolor{blue}{v'} \]If you are unsure about it, you can watch the video Produktregelen.
By the chain rule, \( {\left(e^{x^2}\right)' = 2xe^{x^2}}\text{,} \) as in the video Kjerneregelen. Here:
\[ \begin{aligned} \textcolor{red}{u} &= \textcolor{red}{x^2} & \textcolor{red}{u'} &= \textcolor{red}{2x} \\ \textcolor{blue}{v} &= \textcolor{blue}{e^{x^2}} & \textcolor{blue}{v'} &= \textcolor{blue}{2xe^{x^2}} \end{aligned} \]
Plugging this in and factoring out \( \textcolor{darkorange}{2xe^{x^2}}\text{,} \) we get:
\[ \begin{aligned} h'(x) &= \textcolor{red}{2x} \cdot \textcolor{blue}{e^{x^2}} + \textcolor{red}{x^2} \cdot \textcolor{blue}{2xe^{x^2}} \\ &= \textcolor{darkorange}{2xe^{x^2}}(1 + x^2) \end{aligned} \]
4. Set the derivative equal to zero 4:14
The critical points are where \( {h'(x) = 0}\text{.} \) A product is zero only when one of the factors is zero, and two of the factors are never zero:
\[ e^{x^2} > 0 \quad \text{and} \quad 1 + x^2 \ge 1 \]
So the factor \( 2x \) must be zero:
\[ 2x = 0 \quad \Rightarrow \quad x = 0 \]
The constraint gives \( y\text{,} \) so the critical point is:
\[ \textcolor{green}{y} = 0^2 = 0 \quad \Rightarrow \quad (x, y) = (0, 0) \]
Merk – Only real solutions: In the video we also include the solutions of \( {1 + x^2 = 0}\text{,} \) that is \( {x = \pm i}\text{.} \) \( f \) is a real function, so they give no critical points, and \( (0, 0) \) is the only one.
Exercise 1b)
Determine the critical points using Lagrange's method.
Show solutionHide solution for exercise 1b
Answer
The only critical point is:
Lagrange's method gives two equations from the gradients and one from the constraint. We can factor the first one, and that gives two cases.
Merk – Only real solutions: In the video, \( {(i, -1)} \) and \( {(-i, -1)} \) are also in the list at the top of the board, and we include \( {x = \pm i} \) and \( {y = -1}\text{.} \) \( f \) is a real function, so they give no critical points.
1. Write down Lagrange's method 0:00
Lagrange's method tells us that at the critical points we have:
\[ \nabla f = \lambda \nabla g \quad \text{and} \quad g(x, y) = 0 \]If you are unsure about the method, you can watch the video Finn de kritiske punktene til f ved å bruke Lagranges metode.
2. Compute the gradients 0:43
Here are the gradients, with the \( {x\text{-components}} \) in blue and the \( {y\text{-components}} \) in red:
\[ \begin{aligned} \nabla f &= \left(\dfrac{\partial f}{\partial x},\ \dfrac{\partial f}{\partial y}\right) = (\textcolor{blue}{2xe^y},\ \textcolor{red}{x^2e^y}) \\ \nabla g &= \left(\dfrac{\partial g}{\partial x},\ \dfrac{\partial g}{\partial y}\right) = (\textcolor{blue}{2x},\ \textcolor{red}{-1}) \end{aligned} \]
3. Set up the equations 2:17
Plugging this in, we get one equation for each component, and the constraint is the third:
\[ \begin{aligned} \textcolor{blue}{2xe^y} &= \lambda \cdot \textcolor{blue}{2x} \\ \textcolor{red}{x^2e^y} &= \lambda \cdot (\textcolor{red}{-1}) \\ x^2 &= y \end{aligned} \]
4. Split into two cases 4:18
We don't divide the first equation by \( 2x\text{,} \) because then we lose the solution \( {x = 0}\text{.} \) Instead we move everything to one side and factor:
\[ \begin{aligned} 2xe^y - 2x\lambda &= 0 \\ \textcolor{darkorange}{2x}(\textcolor{magenta}{e^y - \lambda}) &= 0 \end{aligned} \]
A product is zero only when one of the factors is zero, so we get two cases:
\[ \textcolor{darkorange}{x = 0} \quad \text{or} \quad \textcolor{magenta}{\lambda = e^y} \]
With \( {\textcolor{darkorange}{x = 0}} \) the constraint and the second equation give:
\[ \begin{aligned} y &= \textcolor{darkorange}{0}^2 = 0 \\ \lambda &= -\textcolor{darkorange}{0}^2 \cdot e^0 = 0 \end{aligned} \]
5. Solve the second case 5:21
With \( {\textcolor{magenta}{\lambda = e^y}} \) the second equation gives:
\[ \begin{aligned} x^2e^y &= -\textcolor{magenta}{e^y} \\ x^2 &= -1 \end{aligned} \]We divided by \( e^y\text{,} \) which is never zero.
The left side is never negative, so this case gives no real solutions:
\[ x^2 \ge 0 > -1 \]
So the only critical point is the one from the first case, the same as in a):
\[ (x, y) = (0, 0), \quad \lambda = 0 \]
Exercise 2
- Flere oppgaver om banefart,
- Flere oppgaver om buelengde,
- Flere oppgaver om integrasjon,
- Flere oppgaver om linjeintegraler,
- Flere oppgaver om parameterframstilling
A particle follows a curve parametrized by
Exercise 2a)
Compute the velocity and acceleration vectors.
Show solutionHide solution for exercise 2a
Answer
The velocity vector, the speed and the acceleration are:
The velocity vector is the derivative of the position vector, and the acceleration is the derivative of the velocity vector. We differentiate component by component.
1. Draw a sketch
We draw a sketch first. The particle starts at the point where \( {t = 3} \) and ends at the point where \( {t = 8}\text{:} \)
2. Write down velocity and acceleration 0:31
As in the video Posisjon, fart & akselerasjon, we write this as:
\[ \vec{v}(t) = \vec{r}\,'(t), \quad \vec{a}(t) = \vec{v}\,'(t) \]
3. Differentiate the position vector 1:04
The first component is blue and the second red:
\[ \vec{r}(t) = \left(\textcolor{blue}{t},\ \textcolor{red}{\dfrac{2}{3}t^{3/2}}\right) \]
The power rule \( {(t^n)' = nt^{n - 1}} \) gives:
\[ \left(\dfrac{2}{3}t^{3/2}\right)' = \dfrac{2}{3} \cdot \dfrac{3}{2}t^{1/2} = \sqrt{t} \]
That gives us the velocity vector:
\[ \vec{v}(t) = (\textcolor{blue}{1},\ \textcolor{red}{\sqrt{t}}) \]
The length of the velocity vector is the speed:
\[ |\vec{v}(t)| = \sqrt{\textcolor{blue}{1}^2 + (\textcolor{red}{\sqrt{t}})^2} = \sqrt{1 + t} \]
4. Differentiate the velocity vector 2:16
The constant \( 1 \) has derivative \( 0\text{.} \) We write \( {\sqrt{t} = t^{1/2}}\text{,} \) and the power rule gives:
\[ \left(t^{1/2}\right)' = \dfrac{1}{2}t^{-1/2} = \dfrac{1}{2\sqrt{t}} \]
So the acceleration is:
\[ \vec{a}(t) = \left(\textcolor{blue}{0},\ \textcolor{red}{\dfrac{1}{2\sqrt{t}}}\right) \]
Exercise 2b)
Compute the length of the curve
Show solutionHide solution for exercise 2b
Answer
We use the velocity vector from a).
The length of a curve in parametric form is the integral of the speed. We plug in the velocity vector from a) and integrate from \( {t = 3} \) to \( {t = 8}\text{.} \)
1. Write down the arc length formula 0:09
The formula for arc length tells us that:
\[ s = \int_a^b \sqrt{\left(\textcolor{blue}{\dfrac{dx}{dt}}\right)^2 + \left(\textcolor{red}{\dfrac{dy}{dt}}\right)^2}\,dt \]
2. Plug in the velocity vector 0:50
In a) we found the velocity vector:
\[ \vec{v}(t) = \left(\textcolor{blue}{\dfrac{dx}{dt}},\ \textcolor{red}{\dfrac{dy}{dt}}\right) = (\textcolor{blue}{1},\ \textcolor{red}{\sqrt{t}}) \]
Here \( {a = 3} \) and \( {b = 8}\text{.} \) Plugging this in, we get:
\[ \begin{aligned} s &= \int_3^8 \sqrt{\textcolor{blue}{1}^2 + (\textcolor{red}{\sqrt{t}})^2}\,dt \\ &= \int_3^8 \sqrt{1 + t}\,dt \end{aligned} \]
3. Compute the integral 2:50
We substitute and find the new limits:
\[ \begin{aligned} \textcolor{green}{u} &= \textcolor{green}{1 + t}, \quad du = dt \\ t = 3 &\;\Rightarrow\; \textcolor{green}{u = 4} \\ t = 8 &\;\Rightarrow\; \textcolor{green}{u = 9} \end{aligned} \]
We write \( {\sqrt{u} = u^{1/2}} \) and integrate it as a power, as in the video Basic integrasjonsregler/formler:
\[ \begin{aligned} s &= \int_{\textcolor{green}{4}}^{\textcolor{green}{9}} u^{1/2}\,du = \left[\dfrac{2}{3}u^{3/2}\right]_4^9 \\ &= \dfrac{2}{3} \cdot 9^{3/2} - \dfrac{2}{3} \cdot 4^{3/2} \\ &= \dfrac{2}{3} \cdot 27 - \dfrac{2}{3} \cdot 8 \\ &= \dfrac{38}{3} \end{aligned} \]
Exercise 2c)
Compute the line integral where
Show solutionHide solution for exercise 2c
Answer
We use the speed from a).
We write both \( f \) and \( ds \) in terms of \( t \) and integrate from \( {t = 3} \) to \( {t = 8}\text{.} \) Along the curve, the square root in \( f \) simplifies.
1. Find ds 0:29
The formula for the line integral of a function along a curve tells us that:
\[ \int_C f\,ds = \int_a^b \textcolor{red}{f\big(x(t), y(t)\big)}\,\textcolor{blue}{|\vec{r}\,'(t)|}\,dt \]If you are unsure about the formula, you can watch the video Linjeintegral.
In a) we found the speed, so:
\[ ds = \textcolor{blue}{|\vec{r}\,'(t)|}\,dt = \textcolor{blue}{\sqrt{1 + t}}\,dt \]
2. Write f in terms of t 2:17
Along the curve, \( {x = t} \) and \( {y = \dfrac{2}{3}t^{3/2}}\text{.} \) Then:
\[ \dfrac{3}{2} \cdot \dfrac{y}{\sqrt{x}} = \dfrac{3}{2} \cdot \dfrac{\tfrac{2}{3}t^{3/2}}{t^{1/2}} = t \]
That gives us:
\[ \textcolor{red}{f\big(x(t), y(t)\big)} = \textcolor{red}{\sqrt{1 + t}} \]
3. Compute the integral 5:15
Plugging this in, we get:
\[ \begin{aligned} \int_C f\,ds &= \int_3^8 \textcolor{red}{\sqrt{1 + t}} \cdot \textcolor{blue}{\sqrt{1 + t}}\,dt \\ &= \int_3^8 (1 + t)\,dt \\ &= \left[t + \dfrac{t^2}{2}\right]_3^8 \\ &= (8 + 32) - \left(3 + \dfrac{9}{2}\right) \\ &= \dfrac{65}{2} \end{aligned} \]
Exercise 3
- Flere oppgaver om curl og divergens,
- Flere oppgaver om konservative vektorfelt,
- Flere oppgaver om linjeintegraler
Consider the vector field
where is a constant.
Exercise 3a)
Compute and Show that if and only if
Show solutionHide solution for exercise 3a
Answer
The divergence and the curl are:
The divergence is the dot product of \( \nabla \) and \( \vec{F}\text{,} \) and the curl is the cross product, which we compute as a determinant. Then we see when the curl is zero.
1. Compute the divergence 0:27
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}{P}}{\partial x} + \dfrac{\partial \textcolor{red}{Q}}{\partial y} + \dfrac{\partial \textcolor{green}{R}}{\partial z} \]
Here:
\[ \textcolor{blue}{P} = \textcolor{blue}{xy^2}, \quad \textcolor{red}{Q} = \textcolor{red}{x^2y + z}, \quad \textcolor{green}{R} = \textcolor{green}{cy} \]
Plugging this in, we get:
\[ \nabla \cdot \vec{F} = \textcolor{blue}{y^2} + \textcolor{red}{x^2} + \textcolor{green}{0} = x^2 + y^2 \]
2. Compute the curl 3:04
The curl is the determinant whose rows are the unit vectors, \( \nabla \) and the components of \( \vec{F}\text{,} \) as in the video Finn et generelt uttrykk for curlen til vektorfeltet:
\[ \nabla \times \vec{F} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ \textcolor{blue}{xy^2} & \textcolor{red}{x^2y + z} & \textcolor{green}{cy} \end{vmatrix} \]
Expanding along the first row, we get one component at a time:
\[ \begin{aligned} \vec{i}\text{:} \quad & \dfrac{\partial (\textcolor{green}{cy})}{\partial y} - \dfrac{\partial (\textcolor{red}{x^2y + z})}{\partial z} = c - 1 \\ \vec{j}\text{:} \quad & -\left(\dfrac{\partial (\textcolor{green}{cy})}{\partial x} - \dfrac{\partial (\textcolor{blue}{xy^2})}{\partial z}\right) = 0 \\ \vec{k}\text{:} \quad & \dfrac{\partial (\textcolor{red}{x^2y + z})}{\partial x} - \dfrac{\partial (\textcolor{blue}{xy^2})}{\partial y} = 0 \end{aligned} \]
In the last one both terms are \( 2xy\text{,} \) so they cancel. Putting this together, we get:
\[ \nabla \times \vec{F} = (c - 1,\ 0,\ 0) \]
3. Show when the curl is zero 7:22
The curl is the zero vector when all three components are zero. The last two are always zero, so:
\[ \begin{aligned} \nabla \times \vec{F} = \vec{0} &\iff c - 1 = 0 \\ &\iff c = 1 \end{aligned} \]
Exercise 3b)
Let Find a scalar field such that
Show solutionHide solution for exercise 3b
Answer
A scalar field with is:
\( {\nabla f = \vec{F}} \) means that each partial derivative of \( f \) is a component of \( \vec{F}\text{.} \) We integrate each component with respect to its variable and put the results together.
1. Write down what the gradient means 0:50
With \( {c = 1} \) the field is \( {\vec{F} = (xy^2, x^2y + z, y)}\text{.} \) The condition \( {\nabla f = \vec{F}} \) means:
\[ \begin{aligned} \dfrac{\partial f}{\partial x} &= \textcolor{blue}{xy^2} \\ \dfrac{\partial f}{\partial y} &= \textcolor{red}{x^2y + z} \\ \dfrac{\partial f}{\partial z} &= \textcolor{green}{y} \end{aligned} \]In a) we showed that the curl is zero when \( {c = 1}\text{.} \) The field is defined in all of space, so it is conservative and such an \( f \) exists, as in the video Hva er et konservativt vektorfelt.
2. Integrate each component 2:24
With respect to \( x \) the variables \( y \) and \( z \) are constants, so the constant of integration can depend on \( y \) and \( z\text{:} \)
\[ \int \textcolor{blue}{xy^2}\,dx = \dfrac{x^2y^2}{2} + C_1(y, z) \]
In the same way with respect to \( y \) and \( z\text{:} \)
\[ \begin{aligned} &\int (\textcolor{red}{x^2y + z})\,dy \\ &= \dfrac{x^2y^2}{2} + yz + C_2(x, z) \end{aligned} \]
\[ \int \textcolor{green}{y}\,dz = yz + C_3(x, y) \]
3. Put the scalar field together 6:40
The three expressions are the same function \( f\text{,} \) so each of them must contain both \( \dfrac{x^2y^2}{2} \) and \( yz\text{.} \) For a constant \( K \) we then have:
\[ \begin{aligned} C_1(y, z) &= yz + K \\ C_2(x, z) &= K \\ C_3(x, y) &= \dfrac{x^2y^2}{2} + K \end{aligned} \]
The task asks for one scalar field, so we choose \( {K = 0}\text{:} \)
\[ f(x, y, z) = \dfrac{x^2y^2}{2} + yz \]
Kontroll: \( {\dfrac{\partial f}{\partial x} = xy^2}\text{,} \) \( {\dfrac{\partial f}{\partial y} = x^2y + z} \) and \( {\dfrac{\partial f}{\partial z} = y}\text{,} \) which are the components of \( \vec{F}\text{.} \)
Exercise 3c)
Let Compute along the curve parametrized by
Show solutionHide solution for exercise 3c
Answer
We use the scalar field from b).
With \( {c = 1} \) we have \( {\vec{F} = \nabla f}\text{.} \) Then the line integral depends only on the start and end points, so we plug the end points into \( f \) instead of integrating along the curve.
1. Write down the rule 2:35
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(\vec{r}(\textcolor{red}{b})\big) - f\big(\vec{r}(\textcolor{blue}{a})\big) \]
In b) we found the scalar field:
\[ f(x, y, z) = \dfrac{x^2y^2}{2} + yz \]
2. Find the end points 4:44
Here \( {\textcolor{blue}{a = 0}} \) and \( {\textcolor{red}{b = 2\pi}}\text{,} \) so the curve starts and ends at:
\[ \begin{aligned} \vec{r}(\textcolor{blue}{0}) &= (e^0\cos 0,\ 1,\ \sin 0) \\ &= \textcolor{blue}{(1, 1, 0)} \\ \vec{r}(\textcolor{red}{2\pi}) &= (e^{2\pi}\cos 2\pi,\ 1,\ \sin 2\pi) \\ &= \textcolor{red}{(e^{2\pi}, 1, 0)} \end{aligned} \]
3. Plug into the scalar field 6:55
The scalar field at the end points is:
\[ \begin{aligned} f(\textcolor{red}{e^{2\pi}, 1, 0}) &= \dfrac{(e^{2\pi})^2 \cdot 1^2}{2} + 1 \cdot 0 \\ &= \dfrac{e^{4\pi}}{2} \\ f(\textcolor{blue}{1, 1, 0}) &= \dfrac{1^2 \cdot 1^2}{2} + 1 \cdot 0 = \dfrac{1}{2} \end{aligned} \]
Plugging this into the rule, we get:
\[ \int_C \vec{F} \cdot d\vec{r} = \dfrac{e^{4\pi}}{2} - \dfrac{1}{2} = \dfrac{e^{4\pi} - 1}{2} \]
Exercise 4
- Flere oppgaver om dobbeltintegraler,
- Flere oppgaver om greens teorem,
- Flere oppgaver om linjeintegraler,
- Flere oppgaver om parameterframstilling,
- Flere oppgaver om polarkoordinater
Consider the vector field
Let be the circle and let be the outgoing unit normal vector.
Exercise 4a)
Compute the line integral using the definition.
Show solutionHide solution for exercise 4a
Answer
We parametrize the circle, find the outward unit normal and \( ds\text{,} \) and write the whole integral in terms of \( t\text{.} \)
1. Draw a sketch 1:00
We draw a sketch first. \( C \) is the unit circle, and at the point with angle \( t \) the vector \( \vec{n} \) points straight out from the centre:
2. Parametrize the circle 1:38
A point on the circle is \( (\cos t, \sin t)\text{,} \) and one turn is \( {0 \le t \le 2\pi}\text{,} \) as in the video Sirkel:
\[ \vec{r}(t) = (\cos t,\ \sin t), \quad 0 \le t \le 2\pi \]
With the parametrization, as in the video Linjeintegral, the integral becomes:
\[ \begin{aligned} &\oint_C \textcolor{blue}{\vec{F}} \cdot \textcolor{red}{\vec{n}}\,\textcolor{green}{ds} \\ &= \int_0^{2\pi} \textcolor{blue}{\vec{F}\big(\vec{r}(t)\big)} \cdot \textcolor{red}{\vec{n}(t)}\,\textcolor{green}{|\vec{r}\,'(t)|\,dt} \end{aligned} \]
3. Find the unit normal 2:09
The tangent vector is the derivative of the parametrization:
\[ \vec{r}\,'(t) = (-\sin t,\ \cos t) \]
Swapping the components of \( (a, b) \) and changing the sign of one of them gives a vector perpendicular to \( (a, b)\text{.} \) Of the two choices, \( (\cos t, \sin t) \) is the one pointing out of the circle, and it has length \( 1\text{:} \)
\[ \begin{aligned} \textcolor{red}{\vec{n}(t)} &= \textcolor{red}{(\cos t,\ \sin t)} \\ \vec{n} \cdot \vec{r}\,' &= -\cos t\sin t + \sin t\cos t = 0 \\ |\vec{n}| &= \sqrt{\cos^2 t + \sin^2 t} = 1 \end{aligned} \]
4. Find ds 5:52
\( ds \) is the length of the tangent vector times \( dt\text{:} \)
\[ \textcolor{green}{ds} = \sqrt{\sin^2 t + \cos^2 t}\,dt = \textcolor{green}{dt} \]
5. Write the field using t 9:33
On the circle, \( {x^2 + y^2 = \cos^2 t + \sin^2 t = 1}\text{,} \) so:
\[ \textcolor{blue}{\vec{F}\big(\vec{r}(t)\big)} = \textcolor{blue}{(1,\ 0)} \]
6. Compute the integral 10:20
Plugging this in, we get:
\[ \begin{aligned} &\oint_C \vec{F} \cdot \vec{n}\,ds \\ &= \int_0^{2\pi} \textcolor{blue}{(1, 0)} \cdot \textcolor{red}{(\cos t, \sin t)}\,\textcolor{green}{dt} \\ &= \int_0^{2\pi} \cos t\,dt \\ &= \Big[\sin t\Big]_0^{2\pi} \\ &= \sin 2\pi - \sin 0 = 0 \end{aligned} \]
Exercise 4b)
Compute using the divergence theorem.
Show solutionHide solution for exercise 4b
Answer
The divergence theorem turns the integral around \( C \) into a double integral of the divergence over the disk inside. We integrate over the disk in polar coordinates.
1. Write down the divergence theorem 0:06
The divergence theorem in the plane tells us that when \( C \) is the boundary of the region \( R \) and \( \vec{n} \) is the outward unit normal, we have:
\[ \oint_C \vec{F} \cdot \vec{n}\,ds = \iint_R \nabla \cdot \vec{F}\,dA \]It is the same theorem as for a closed surface in space, as in the video Fluks gjennom LUKKET FLATE, just one dimension down.
Here \( R \) is the disk \( {x^2 + y^2 \le 1}\text{:} \)
2. Compute the divergence 1:55
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}{\partial x}(x^2 + y^2) + \dfrac{\partial}{\partial y}(0) = \textcolor{blue}{2x} \]
3. Switch to polar coordinates 3:44
\( R \) is a disk, so we use polar coordinates:
\[ x = r\cos\theta, \quad dA = \textcolor{red}{r}\,dr\,d\theta \]Where the \( \textcolor{red}{r} \) in \( dA \) comes from is shown in the video Hvor kommer r fra?.
The disk is \( {0 \le r \le 1} \) and \( {0 \le \theta \le 2\pi}\text{.} \) Plugging this in, we get:
\[ \begin{aligned} &\iint_R \textcolor{blue}{2x}\,dA \\ &= \int_0^{2\pi} \int_0^1 \textcolor{blue}{2r\cos\theta} \cdot \textcolor{red}{r}\,dr\,d\theta \\ &= \int_0^{2\pi} \int_0^1 2r^2\cos\theta\,dr\,d\theta \end{aligned} \]
4. Compute the integral 6:25
We integrate the inner integral first, with \( \cos\theta \) as a constant:
\[ \begin{aligned} \int_0^1 2r^2\cos\theta\,dr &= \left[\dfrac{2}{3}r^3\cos\theta\right]_0^1 \\ &= \dfrac{2}{3}\cos\theta \end{aligned} \]
Then with respect to \( \theta\text{:} \)
\[ \int_0^{2\pi} \dfrac{2}{3}\cos\theta\,d\theta = \dfrac{2}{3}\Big[\sin\theta\Big]_0^{2\pi} = 0 \]This agrees with a).
Exercise 5
- Flere oppgaver om divergensteoremet,
- Flere oppgaver om fluks,
- Flere oppgaver om kulekoordinater,
- Flere oppgaver om trippelintegraler
Let be the sphere and let be the outgoing unit normal vector. Consider the vector field
Compute the flux using the divergence theorem.
Show solutionHide solution for exercise 5
Answer
\( S \) is a closed surface, so the divergence theorem turns the flux into a triple integral of the divergence over the ball. We integrate over the ball in spherical coordinates.
1. Write down the divergence theorem 0:26
The divergence theorem tells us that when \( S \) is the boundary of a closed region \( V \) and \( \vec{n} \) points outwards, we have:
\[ \iint_S \vec{F} \cdot \vec{n}\,ds = \iiint_V \nabla \cdot \vec{F}\,dV \]If you are unsure about the theorem, you can watch the video Fluks gjennom LUKKET FLATE.
Here \( S \) is the sphere with radius \( 1\text{,} \) and \( V \) is the ball inside:
2. Compute the divergence 1:55
The divergence is the sum of the partial derivatives of the components, as in the video Utregning av divergens:
\[ \begin{aligned} \nabla \cdot \vec{F} &= \dfrac{\partial}{\partial x}\left(\textcolor{blue}{\dfrac{x^3}{3}}\right) + \dfrac{\partial}{\partial y}\left(\textcolor{red}{\dfrac{y^3}{3}}\right) \\ &\quad + \dfrac{\partial}{\partial z}\left(\textcolor{green}{\dfrac{z^3}{3} + xy}\right) \\ &= \textcolor{blue}{x^2} + \textcolor{red}{y^2} + \textcolor{green}{z^2} \end{aligned} \]\( xy \) has no \( z\text{,} \) so that term vanishes when we differentiate with respect to \( z\text{.} \)
3. Switch to spherical coordinates 5:07
The divergence is the squared distance to the origin, so we use spherical coordinates. They tell us that:
\[ \begin{aligned} x^2 + y^2 + z^2 &= \rho^2 \\ dV &= \rho^2\sin\varphi\,d\rho\,d\theta\,d\varphi \end{aligned} \]If you are unsure about this, you can watch the video Kulekoordinater & Trippelintegraler.
The ball with radius \( 1 \) is:
\[ \begin{aligned} 0 &\le \rho \le 1 \\ 0 &\le \theta \le 2\pi \\ 0 &\le \varphi \le \pi \end{aligned} \]
Plugging this in, we get:
\[ \begin{aligned} \Phi &= \iiint_V \rho^2 \cdot \rho^2\sin\varphi\,d\rho\,d\theta\,d\varphi \\ &= \int_0^{\pi} \int_0^{2\pi} \int_0^1 \rho^4\sin\varphi\,d\rho\,d\theta\,d\varphi \end{aligned} \]
4. Compute the integral 11:00
We integrate the inner integral first, with \( \sin\varphi \) as a constant, and we integrate \( \rho^4 \) as a power, as in the video Basic integrasjonsregler/formler:
\[ \begin{aligned} \int_0^1 \rho^4\sin\varphi\,d\rho &= \left[\dfrac{\rho^5}{5}\right]_0^1 \sin\varphi \\ &= \dfrac{1}{5}\sin\varphi \end{aligned} \]
Then with respect to \( \theta\text{:} \)
\[ \int_0^{2\pi} \dfrac{1}{5}\sin\varphi\,d\theta = \dfrac{2\pi}{5}\sin\varphi \]
Finally with respect to \( \varphi\text{:} \)
\[ \begin{aligned} \Phi &= \int_0^{\pi} \dfrac{2\pi}{5}\sin\varphi\,d\varphi \\ &= \dfrac{2\pi}{5}\Big[-\cos\varphi\Big]_0^{\pi} \\ &= \dfrac{2\pi}{5}(1 + 1) = \dfrac{4\pi}{5} \end{aligned} \]
Ferdig med settet? Se de andre settene i Matte 3000, eller repeter temaene på fagsiden.