DAVE3700 ordinær eksamen 2021 – 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 2021
Exercises
5 exercises
Exercise 1
Consider a rectangle with sides of length and and perimeter (perimeter – length of rectangle). We want to maximize/minimize the area of this rectangle.
Exercise 1a)
Formulate this problem using Lagrange's equations and find the solutions.
Show solutionHide solution for exercise 1a
Answer
For with the constraint the Lagrange equations and their only solution are:
The area is the function we want to optimize, and the fixed perimeter is the constraint. Lagrange's method then gives us three equations in three unknowns.
1. Draw a sketch
We draw a sketch first. The rectangle has the sides \( x \) and \( y\text{,} \) and we call the area \( A\text{:} \)
2. Choose the function and the constraint
The area is the base times the height:
\[ A(x, y) = xy \]
The perimeter is two times \( x \) plus two times \( y\text{:} \)
\[ 2x + 2y = 24 \]
We move the \( 24 \) to the left-hand side and get the constraint:
\[ g(x, y) = 2x + 2y - 24 = 0 \]
3. Set up the Lagrange equations
Lagrange's method tells us that at the points we are looking for, we have:
\[ \nabla A = \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.
Here are the gradients, with the \( {x\text{-components}} \) in blue and the \( {y\text{-components}} \) in red:
\[ \begin{aligned} \nabla A &= \left(\dfrac{\partial A}{\partial x},\ \dfrac{\partial A}{\partial y}\right) = (\textcolor{blue}{y},\ \textcolor{red}{x}) \\ \nabla g &= \left(\dfrac{\partial g}{\partial x},\ \dfrac{\partial g}{\partial y}\right) = (\textcolor{blue}{2},\ \textcolor{red}{2}) \end{aligned} \]
Plugging this in, we get one equation for each component, and the constraint is the third:
\[ \begin{aligned} \textcolor{blue}{y} &= \lambda \cdot \textcolor{blue}{2} \\ \textcolor{red}{x} &= \lambda \cdot \textcolor{red}{2} \\ 2x + 2y &= 24 \end{aligned} \]
4. Solve the equations
The first two equations say that both \( x \) and \( y \) are equal to \( 2\lambda\text{,} \) so:
\[ x = y \]
Putting \( {y = x} \) into the constraint, we get:
\[ \begin{aligned} 2x + 2x &= 24 \\ 4x &= 24 \\ x &= 6 \end{aligned} \]
Then \( {y = 6}\text{,} \) and the first equation gives \( \lambda\text{:} \)
\[ 6 = 2\lambda \quad \Rightarrow \quad \lambda = 3 \]
The area at this point is:
\[ A(6, 6) = 6 \cdot 6 = 36 \]
Exercise 1b)
Discuss your solution from point a), is it a maximum or a minimum?
Show solutionHide solution for exercise 1b
Answer
The solution from a) is a maximum, and there is no minimum:
We use the solution from a).
We put the constraint into the area and get a function of one variable. It shows whether the candidate from a) is a maximum or a minimum.
1. Put the constraint into the area
In a) we found the candidate \( {(x, y) = (6, 6)} \) with the area \( 36\text{.} \) Lagrange's method does not say whether this is a maximum or a minimum, as the video Finn de kritiske punktene til f ved å bruke Lagranges metode says at the very end.
We solve the constraint for \( y \) and put it into the area, as in the video Finn de kritiske punktene ved insettingsmetoden:
\[ \begin{aligned} 2x + 2y &= 24 \\ y &= 12 - x \end{aligned} \]The sides must be positive, so \( {0 < x < 12}\text{.} \)
That gives the area as a function of \( x \) alone:
\[ A(x) = x(12 - x) = 12x - x^2 \]
2. Complete the square
We complete the square, as in the video abc-formelen – hvor kommer den fra?. The square of a difference gives us:
\[ (x - 6)^2 = x^2 - 12x + 36 \]
Then we can rewrite \( A(x)\text{:} \)
\[ \begin{aligned} A(x) &= -(x^2 - 12x) \\ &= -\big((x - 6)^2 - 36\big) \\ &= 36 - \textcolor{darkorange}{(x - 6)^2} \end{aligned} \]
A square is never negative, so we always subtract something that is zero or positive:
\[ \textcolor{darkorange}{(x - 6)^2} \ge 0 \quad \Rightarrow \quad A(x) \le 36 \]
We have equality only when \( {x = 6}\text{,} \) that is, for the square with side \( 6\text{.} \) The solution from a) is therefore a maximum.
3. Look at the ends
If we let \( x \) approach \( 0 \) or \( 12\text{,} \) one of the sides becomes tiny:
\[ \begin{aligned} A(x) &= x(12 - x) \to 0 \\ &\text{when } x \to 0 \text{ or } x \to 12 \end{aligned} \]
The area becomes as small as we like, but never \( 0 \) for an actual rectangle. There is therefore no minimum.
Exercise 2
- Flere oppgaver om fluks,
- Flere oppgaver om greens teorem,
- Flere oppgaver om linjeintegraler,
- Flere oppgaver om parameterframstilling
Consider the triangle depicted in Fig. 0.1. It has vertices and sides labeled as in the picture.
Figure 0.1. The triangle with vertices and positive orientation.
Exercise 2a)
Give a parametrization of with orientation as in the picture.
Show solutionHide solution for exercise 2a
Answer
With for all three sides:
Each side is a line segment from one vertex to the next. We start at the vertex the arrow leaves and add part of the vector to the vertex the arrow points to.
1. Draw a sketch
We draw the triangle in a coordinate system. The arrows show that we go counterclockwise: from \( (0, 0) \) to \( (2, 0)\text{,} \) on to \( (1, 1) \) and back to \( (0, 0)\text{:} \)
2. Write down the segment formula
We can parametrize a line segment from the point \( \textcolor{blue}{P} \) to the point \( Q \) like this, with the starting point in blue and the vector \( \textcolor{red}{\overrightarrow{PQ}} \) in red:
\[ \vec{r}(t) = \textcolor{blue}{P} + t \cdot \textcolor{red}{\overrightarrow{PQ}}, \quad 0 \le t \le 1 \]We check the end points, as in the video Parametrisering, eksempel oppgave 1: for \( {t = 0} \) we are at the starting point \( \textcolor{blue}{P}\text{,} \) and for \( {t = 1} \) we are at \( Q\text{.} \) Then we go in the right direction.
3. Parametrize the three sides
\( S_1 \) goes from \( (0, 0) \) to \( (2, 0)\text{:} \)
\[ \begin{aligned} \textcolor{red}{\overrightarrow{PQ}} &= (2 - 0,\ 0 - 0) = \textcolor{red}{(2,\ 0)} \\ \vec{r}_1(t) &= \textcolor{blue}{(0, 0)} + t\textcolor{red}{(2, 0)} = (2t,\ 0) \end{aligned} \]
\( S_2 \) goes from \( (2, 0) \) to \( (1, 1)\text{:} \)
\[ \begin{aligned} \textcolor{red}{\overrightarrow{PQ}} &= (1 - 2,\ 1 - 0) = \textcolor{red}{(-1,\ 1)} \\ \vec{r}_2(t) &= \textcolor{blue}{(2, 0)} + t\textcolor{red}{(-1, 1)} \\ &= (2 - t,\ t) \end{aligned} \]
\( S_3 \) goes from \( (1, 1) \) to \( (0, 0)\text{:} \)
\[ \begin{aligned} \textcolor{red}{\overrightarrow{PQ}} &= (0 - 1,\ 0 - 1) = \textcolor{red}{(-1,\ -1)} \\ \vec{r}_3(t) &= \textcolor{blue}{(1, 1)} + t\textcolor{red}{(-1, -1)} \\ &= (1 - t,\ 1 - t) \end{aligned} \]
Exercise 2b)
Consider the outgoing normal vectors to and given by
Moreover consider the vector field
Compute the flux using the definition of line integral.
Show solutionHide solution for exercise 2b
Answer
We use the parametrizations from a).
The boundary consists of three sides, each with its own normal vector. We compute the line integral along each side separately with \( {ds = |\vec{r}\,'(t)|\,dt}\text{,} \) and add them up.
1. Draw a sketch
Each normal vector is perpendicular to its side and points out of the triangle:
2. Write down the definition
The flux out of the triangle is the sum of the fluxes through the three sides:
\[ \begin{aligned} \Phi &= \textcolor{blue}{\int_{S_1} \vec{F} \cdot \vec{n}_1\,ds} + \textcolor{red}{\int_{S_2} \vec{F} \cdot \vec{n}_2\,ds} \\ &\quad + \textcolor{green}{\int_{S_3} \vec{F} \cdot \vec{n}_3\,ds} \end{aligned} \]
The definition of the line integral of a function \( h \) along a curve tells us that:
\[ \int_C h\,ds = \int_a^b h\big(\vec{r}(t)\big)\,|\vec{r}\,'(t)|\,dt \]If you are unsure about \( ds\text{,} \) you can watch the video Regn ut linjeintegralet ved å bruke definisjonen. Here \( {h = \vec{F} \cdot \vec{n}}\text{,} \) and we use the parametrizations from a), with \( {0 \le t \le 1}\text{.} \)
3. Compute the flux through each side
\( S_1\text{:} \) We differentiate \( {\vec{r}_1(t) = (2t, 0)} \) and find the length:
\[ |\vec{r}_1\,'(t)| = |(2,\ 0)| = 2 \]
That gives us:
\[ \begin{aligned} \vec{F} \cdot \vec{n}_1 &= (2t,\ 0) \cdot (0,\ -1) = 0 \\ \int_{S_1} \vec{F} \cdot \vec{n}_1\,ds &= \int_0^1 0 \cdot 2\,dt = \textcolor{blue}{\underline{0}} \end{aligned} \]
\( S_2\text{:} \) We differentiate \( {\vec{r}_2(t) = (2 - t, t)} \) and find the length:
\[ |\vec{r}_2\,'(t)| = |(-1,\ 1)| = \sqrt{2} \]
That gives us:
\[ \begin{aligned} \vec{F} \cdot \vec{n}_2 &= \dfrac{1}{\sqrt{2}}\big((2 - t) + t\big) \\ &= \dfrac{2}{\sqrt{2}} \\ \int_{S_2} \vec{F} \cdot \vec{n}_2\,ds &= \int_0^1 \dfrac{2}{\sqrt{2}} \cdot \sqrt{2}\,dt \\ &= \int_0^1 2\,dt = \textcolor{red}{\underline{2}} \end{aligned} \]
\( S_3\text{:} \) We differentiate \( {\vec{r}_3(t) = (1 - t, 1 - t)} \) and find the length:
\[ |\vec{r}_3\,'(t)| = |(-1,\ -1)| = \sqrt{2} \]
That gives us:
\[ \begin{aligned} \vec{F} \cdot \vec{n}_3 &= \dfrac{-(1 - t) + (1 - t)}{\sqrt{2}} \\ &= 0 \\ \int_{S_3} \vec{F} \cdot \vec{n}_3\,ds &= \int_0^1 0 \cdot \sqrt{2}\,dt \\ &= \textcolor{green}{\underline{0}} \end{aligned} \]
Putting this together, we get:
\[ \Phi = \textcolor{blue}{0} + \textcolor{red}{2} + \textcolor{green}{0} = 2 \]
Exercise 2c)
Compute the flux using the divergence theorem.
Show solutionHide solution for exercise 2c
Answer
The boundary of the triangle is a closed curve. The divergence theorem turns the flux out through the boundary into a double integral of the divergence over the triangle.
1. Write down the divergence theorem
For a closed curve \( C \) around a region \( R\text{,} \) with the outward normal vector \( \vec{n}\text{,} \) the divergence theorem tells us that:
\[ \oint_C \vec{F} \cdot \vec{n}\,ds = \iint_R \nabla \cdot \vec{F}\,dA \]If you are unsure about the theorem, you can watch the video Regn ut linjeintegralet ved å bruke divergenssetningen. Here \( C \) is the boundary of the triangle and \( {R = T}\text{.} \)
2. Compute the divergence
With \( {\vec{F} = (\textcolor{blue}{x},\ \textcolor{red}{y})} \) the divergence is, as in the video Utregning av divergens:
\[ \nabla \cdot \vec{F} = \dfrac{\partial \textcolor{blue}{x}}{\partial x} + \dfrac{\partial \textcolor{red}{y}}{\partial y} = \textcolor{blue}{1} + \textcolor{red}{1} = 2 \]
3. Compute the double integral
The divergence is constant, so we can move it outside:
\[ \Phi = \iint_T 2\,dA = 2 \iint_T dA \]
The integral \( \iint_T dA \) is the area of the triangle. The base goes from \( (0, 0) \) to \( (2, 0)\text{,} \) and the height is \( 1\text{:} \)
\[ \iint_T dA = \dfrac{2 \cdot 1}{2} = 1 \]
That gives us:
\[ \Phi = 2 \cdot 1 = 2 \]That is the same as in b).
Exercise 3
- Flere oppgaver om greens teorem,
- Flere oppgaver om konservative vektorfelt,
- Flere oppgaver om linjeintegraler
Consider the vector field where
Exercise 3a)
Compute the line integral where is the curve parametrized by
Show solutionHide solution for exercise 3a
Answer
The vector field is the gradient of \( f\text{.} \) Then the line integral is just the difference between \( f \) at the end point and at the starting point, and we do not need to integrate.
1. Write down the fundamental theorem
For a gradient field \( \nabla f \) and a curve \( \vec{r}(t) \) with \( {a \le t \le b} \) the fundamental theorem for line integrals tells us that:
\[ \int_C \nabla f \cdot d\vec{r} = f\big(\textcolor{red}{\vec{r}(b)}\big) - f\big(\textcolor{blue}{\vec{r}(a)}\big) \]If you are unsure about this, you can watch the video La c = 1. Regn ut linjeintegralet til F*dr langs kurven C. Here \( {a = 0} \) and \( {b = 2\pi}\text{.} \)
2. Find the start and end points
We put \( {t = 0} \) and \( {t = 2\pi} \) into \( {\vec{r}(t) = (t, e^t, \cos t)}\text{:} \)
\[ \begin{aligned} \textcolor{blue}{\vec{r}(0)} &= \textcolor{blue}{(0,\ e^0,\ \cos 0)} \\ &= \textcolor{blue}{(0,\ 1,\ 1)} \\ \textcolor{red}{\vec{r}(2\pi)} &= \textcolor{red}{(2\pi,\ e^{2\pi},\ \cos 2\pi)} \\ &= \textcolor{red}{(2\pi,\ e^{2\pi},\ 1)} \end{aligned} \]
3. Put the points into f
With \( {f(x, y, z) = xy + z^2} \) we get:
\[ \begin{aligned} f\big(\textcolor{red}{2\pi,\ e^{2\pi},\ 1}\big) &= 2\pi e^{2\pi} + 1^2 \\ &= \underline{2\pi e^{2\pi} + 1} \\ f\big(\textcolor{blue}{0,\ 1,\ 1}\big) &= 0 \cdot 1 + 1^2 = \underline{1} \end{aligned} \]
Plugging this into the fundamental theorem, we get:
\[ \begin{aligned} \int_C \nabla f \cdot d\vec{r} &= (2\pi e^{2\pi} + 1) - 1 \\ &= 2\pi e^{2\pi} \end{aligned} \]
Exercise 3b)
Let be the circle of radius 1 centered at the origin, with positive orientation. Consider
Compute the line integral (the circulation of
Show solutionHide solution for exercise 3b
Answer
The curve is closed and goes counterclockwise. Then we can use Green's theorem and compute a double integral over the disk instead.
1. Draw a sketch
We draw a sketch first. Positive orientation means counterclockwise, and \( D \) is the disk inside:
2. Write down Green's theorem
When \( {\vec{F} = (\textcolor{blue}{P},\ \textcolor{red}{Q})} \) and \( C \) goes counterclockwise around \( D\text{,} \) Green's theorem tells us that:
\[ \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 \]If you are unsure about Green's theorem, you can watch the video Greens setning.
Here:
\[ \begin{aligned} \textcolor{blue}{P} &= \textcolor{blue}{2xy} & \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= \textcolor{blue}{2x} \\ \textcolor{red}{Q} &= \textcolor{red}{x + x^2} & \dfrac{\partial \textcolor{red}{Q}}{\partial x} &= \textcolor{red}{1 + 2x} \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(\textcolor{red}{1 + 2x} - \textcolor{blue}{2x}\big)\,dA \\ &= \iint_D 1\,dA \end{aligned} \]
The integral \( \iint_D 1\,dA \) is the area of the disk, and the radius is \( 1\text{.} \) The area of a circle is \( \pi r^2\text{,} \) as in the video Dobbelt integral:
\[ \oint_C \vec{F} \cdot d\vec{r} = \pi \cdot 1^2 = \pi \]
Exercise 4
Consider the three-dimensional region
In other words, this is the portion of the ball of radius 1 such that
Exercise 4a)
Describe the region in spherical coordinates.
Show solutionHide solution for exercise 4a
Answer
We write \( x\text{,} \) \( y \) and \( z \) in spherical coordinates and put them into each inequality. Each inequality gives the limits for one of \( \rho\text{,} \) \( \phi \) and \( \theta\text{.} \)
1. Draw a sketch
We draw a sketch first. \( T \) is one eighth of the ball, the part where none of the coordinates is negative. A point has the distance \( \rho \) from the origin, the angle \( \phi \) from the \( {z\text{-axis}} \) and the angle \( \theta \) from the \( {x\text{-axis}} \) in the \( {xy\text{-plane:}} \)
2. Write down the spherical coordinates
As in the video Kulekoordinater, we write \( x\text{,} \) \( y \) and \( z \) in spherical coordinates:
\[ \begin{aligned} x &= \rho\sin\phi\cos\theta \\ y &= \rho\sin\phi\sin\theta \\ z &= \rho\cos\phi \end{aligned} \]Here \( {\rho \ge 0} \) and \( {0 \le \phi \le \pi}\text{,} \) so \( {\sin\phi \ge 0}\text{.} \)
3. Find the limits
The distance from the origin is \( \rho\text{,} \) so \( {x^2 + y^2 + z^2 = \rho^2}\text{.} \) The first inequality gives:
\[ \rho^2 \le 1 \quad \Rightarrow \quad \textcolor{blue}{0 \le \rho \le 1} \]
The inequality \( {z \ge 0} \) gives the limits for \( \phi\text{,} \) as in the video Eksempel oppgave. We divide by \( {\rho > 0}\text{:} \)
\[ \rho\cos\phi \ge 0 \quad \Rightarrow \quad \cos\phi \ge 0 \]
Since \( {0 \le \phi \le \pi}\text{,} \) this means that:
\[ \textcolor{red}{0 \le \phi \le \dfrac{\pi}{2}} \]
The inequalities \( {x \ge 0} \) and \( {y \ge 0} \) give the limits for \( \theta\text{.} \) We divide by \( {\rho\sin\phi > 0}\text{:} \)
\[ \begin{aligned} \rho\sin\phi\cos\theta \ge 0 \quad &\Rightarrow \quad \cos\theta \ge 0 \\ \rho\sin\phi\sin\theta \ge 0 \quad &\Rightarrow \quad \sin\theta \ge 0 \end{aligned} \]
Both are non-negative only in the first quadrant, so:
\[ \textcolor{green}{0 \le \theta \le \dfrac{\pi}{2}} \]
Exercise 4b)
Compute the triple integral
Hint: you can use the result
Show solutionHide solution for exercise 4b
Answer
We use the limits from a).
In spherical coordinates all three variables have fixed limits. We write \( x \) and \( dV \) in spherical coordinates and integrate from the inside out.
1. Change to spherical coordinates
In spherical coordinates we have:
\[ \begin{aligned} \textcolor{blue}{x} &= \textcolor{blue}{\rho\sin\phi\cos\theta} \\ \textcolor{red}{dV} &= \textcolor{red}{\rho^2\sin\phi\,d\rho\,d\phi\,d\theta} \end{aligned} \]The expression for \( x \) is in the video Kulekoordinater, and \( dV \) in the video Kulekoordinater & Trippelintegraler.
In a) we found the limits:
\[ \begin{aligned} 0 \le {} & \rho \le 1 \\ 0 \le {} & \phi \le \dfrac{\pi}{2} \\ 0 \le {} & \theta \le \dfrac{\pi}{2} \end{aligned} \]
2. Set up the integral
Plugging this in, the integrand becomes:
\[ \begin{aligned} \textcolor{blue}{x} \cdot \textcolor{red}{\rho^2\sin\phi} &= \textcolor{blue}{\rho\sin\phi\cos\theta} \cdot \textcolor{red}{\rho^2\sin\phi} \\ &= \rho^3\sin^2\phi\cos\theta \end{aligned} \]
That gives us the integral:
\[ \int_0^{\pi/2}\!\!\int_0^{\pi/2}\!\!\int_0^1 \rho^3\sin^2\phi\cos\theta\,d\rho\,d\phi\,d\theta \]
3. Compute the inner integral
We integrate with respect to \( \rho \) first, as in the video Eksempel oppgave. Here \( \phi \) and \( \theta \) are constants:
\[ \begin{aligned} & \int_0^1 \rho^3\sin^2\phi\cos\theta\,d\rho \\ &= \left[\dfrac{\rho^4}{4}\right]_0^1 \sin^2\phi\cos\theta \\ &= \dfrac{1}{4}\sin^2\phi\cos\theta \end{aligned} \]
4. Compute the middle integral
With respect to \( \phi \) we use the result from the hint:
\[ \int (\sin\phi)^2\,d\phi = \dfrac{\phi}{2} - \dfrac{1}{4}\sin(2\phi) + c \]
That gives us:
\[ \begin{aligned} & \int_0^{\pi/2} \sin^2\phi\,d\phi \\ &= \left[\dfrac{\phi}{2} - \dfrac{1}{4}\sin(2\phi)\right]_0^{\pi/2} \\ &= \dfrac{\pi}{4} - \dfrac{1}{4}\sin\pi - 0 \\ &= \dfrac{\pi}{4} \end{aligned} \]
Here \( \cos\theta \) is a constant, so the middle integral becomes:
\[ \begin{aligned} \int_0^{\pi/2} \dfrac{1}{4}\sin^2\phi\cos\theta\,d\phi &= \dfrac{1}{4}\cos\theta \cdot \dfrac{\pi}{4} \\ &= \dfrac{\pi}{16}\cos\theta \end{aligned} \]
5. Compute the outer integral
An antiderivative of cosine is sine:
\[ \int \cos\theta\,d\theta = \sin\theta + C \]
That gives us:
\[ \begin{aligned} \iiint_T x\,dV &= \int_0^{\pi/2} \dfrac{\pi}{16}\cos\theta\,d\theta \\ &= \dfrac{\pi}{16}\Big[\sin\theta\Big]_0^{\pi/2} \\ &= \dfrac{\pi}{16}\left(\sin\dfrac{\pi}{2} - \sin 0\right) \\ &= \dfrac{\pi}{16}(1 - 0) = \dfrac{\pi}{16} \end{aligned} \]
Exercise 5
- Flere oppgaver om curl og divergens,
- Flere oppgaver om fluks,
- Flere oppgaver om konservative vektorfelt,
- Flere oppgaver om linjeintegraler,
- Flere oppgaver om stokes' teorem
Consider the vector field given by
Exercise 5a)
Compute the curl Is conservative?
Show solutionHide solution for exercise 5a
Answer
We compute the curl as a determinant. A conservative vector field has zero curl everywhere, so if the curl is not zero, the field is not conservative.
1. Set up the determinant
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} \\ xz & yz & 0 \end{vmatrix} \]
2. Compute the components
Expanding along the first row, we get one component at a time:
\[ \begin{aligned} \vec{i}\text{:} \quad & \dfrac{\partial 0}{\partial y} - \dfrac{\partial (yz)}{\partial z} = \textcolor{blue}{-y} \\ \vec{j}\text{:} \quad & -\left(\dfrac{\partial 0}{\partial x} - \dfrac{\partial (xz)}{\partial z}\right) = \textcolor{red}{x} \\ \vec{k}\text{:} \quad & \dfrac{\partial (yz)}{\partial x} - \dfrac{\partial (xz)}{\partial y} = \textcolor{green}{0} \end{aligned} \]
Putting this together, we get:
\[ \nabla \times \vec{F} = (\textcolor{blue}{-y},\ \textcolor{red}{x},\ \textcolor{green}{0}) \]
3. Decide whether the field is conservative
A conservative vector field has zero curl at every point, as in the video Hva er et konservativt vektorfelt:
\[ \vec{F} \text{ conservative} \quad \Rightarrow \quad \nabla \times \vec{F} = \vec{0} \]
Here the curl is not zero. At the point \( (1, 0, 0) \) it is, for example:
\[ \nabla \times \vec{F}(1, 0, 0) = (0,\ 1,\ 0) \neq \vec{0} \]Therefore \( \vec{F} \) is not conservative.
Exercise 5b)
Let be a sphere of radius 1 centered at the origin.
Determine normal vectors to the sphere which are outgoing.
Show solutionHide solution for exercise 5b
Answer
At the point on the outward unit normal is:
The sphere is a level surface, \( {x^2 + y^2 + z^2 = 1}\text{.} \) The gradient is perpendicular to the level surface, so it gives us the normal vectors, and then we check that they point outwards.
1. Draw a sketch
We draw a sketch first. At a point \( (x, y, z) \) on the sphere an outward normal vector points straight out from the center:
2. Find the gradient
We write the sphere as \( {g(x, y, z) = 0}\text{,} \) with:
\[ g(x, y, z) = x^2 + y^2 + z^2 - 1 \]
A normal vector is the gradient of \( g\text{,} \) as in the video Normalvektor:
\[ \begin{aligned} \nabla g &= \left(\dfrac{\partial g}{\partial x},\ \dfrac{\partial g}{\partial y},\ \dfrac{\partial g}{\partial z}\right) \\ &= (2x,\ 2y,\ 2z) \end{aligned} \]
3. Check direction, divide by length
The gradient is two times the position vector \( (x, y, z)\text{,} \) so it points away from the center, that is, out of the ball:
\[ \nabla g = 2(x,\ y,\ z) \]
On the sphere we have \( {x^2 + y^2 + z^2 = 1}\text{,} \) so the length is:
\[ |\nabla g| = 2\sqrt{x^2 + y^2 + z^2} = 2 \cdot 1 = 2 \]
We get a unit vector by dividing the vector by its length, as in the video Regn ut linjeintegralet ved å bruke definisjonen. This gives the outward unit normal:
\[ \begin{aligned} \textcolor{red}{\vec{n}} &= \dfrac{\nabla g}{|\nabla g|} = \dfrac{(2x,\ 2y,\ 2z)}{2} \\ &= \textcolor{red}{(x,\ y,\ z)} \end{aligned} \]Any positive constant times this is also an outward normal vector, for example \( (2x, 2y, 2z)\text{.} \)
Exercise 5c)
Let be the portion of the sphere with (a half-sphere). Let be the boundary of with positive orientation (see Fig. 0.2).
Figure 0.2. The half-sphere and its boundary circle
Use Stokes' theorem to compute
(Hint: you can get normal vectors for from the sphere
Show solutionHide solution for exercise 5c
Answer
We use the curl from a) and the normal vector from b).
Stokes' theorem turns the line integral around \( C \) into the flux of the curl through \( H\text{.} \) We take the dot product of the curl and the normal vector and see what the integrand becomes.
1. Write down Stokes' theorem
When \( C \) is the boundary of the surface \( H \) and goes counterclockwise seen from the tip of \( \vec{n}\text{,} \) Stokes' theorem tells us that:
\[ \oint_C \vec{F} \cdot d\vec{r} = \iint_H (\textcolor{blue}{\nabla \times \vec{F}}) \cdot \textcolor{red}{\vec{n}}\,dS \]
Here are the curl from a) and the outward normal vector from b), which points up from the half-sphere:
\[ \begin{aligned} \textcolor{blue}{\nabla \times \vec{F}} &= \textcolor{blue}{(-y,\ x,\ 0)} \\ \textcolor{red}{\vec{n}} &= \textcolor{red}{(x,\ y,\ z)} \end{aligned} \]Positive orientation means that \( C \) goes counterclockwise seen from above, and that fits with \( \vec{n} \) pointing out of the ball. The right-hand side is the flux of the curl through \( H\text{,} \) and we compute flux as in the video Fluks gjennom ÅPEN FLATE.
2. Compute the integrand
The dot product is:
\[ \begin{aligned} & (\textcolor{blue}{\nabla \times \vec{F}}) \cdot \textcolor{red}{\vec{n}} \\ &= \textcolor{blue}{(-y)} \cdot \textcolor{red}{x} + \textcolor{blue}{x} \cdot \textcolor{red}{y} + \textcolor{blue}{0} \cdot \textcolor{red}{z} \\ &= -xy + xy + 0 = 0 \end{aligned} \]
Plugging this into Stokes' theorem, we get:
\[ \oint_C \vec{F} \cdot d\vec{r} = \iint_H 0\,dS = 0 \]
Kontroll: The boundary circle \( C \) lies in the plane \( {z = 0}\text{,} \) and there \( {\vec{F} = (x \cdot 0,\ y \cdot 0,\ 0) = \vec{0}}\text{.} \) The line integral along \( C \) is therefore \( 0 \) also when we compute it directly.
Ferdig med settet? Se de andre settene i Matte 3000, eller repeter temaene på fagsiden.