DAVE3700 ordinær eksamen 2023 – 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.
desember 2023
Exercises
5 exercises
Exercise 1
Consider the ellipse described by the equation
The goal is to find the point on which has the largest distance from the origin.
Exercise 1a)
Formulate the problem using Lagrange's method and write the corresponding equations. (Hint: use the distance-squared function ).
Show solutionHide solution for exercise 1a
Answer
We maximise with the ellipse as the constraint, and with the Lagrange multiplier the equations are:
We want the largest distance from the origin for a point that must lie on the ellipse. The ellipse becomes the constraint, and Lagrange's method gives us the equations.
1. Draw a sketch
We draw a sketch first. The ellipse has its centre at \( (1, 0)\text{,} \) and we are looking for the point \( (x, y) \) on \( E \) that lies farthest from the origin:
2. Choose the function and the constraint
The distance from the origin to the point \( (x, y) \) is:
\[ d = \sqrt{x^2 + y^2} = \sqrt{f(x, y)} \]The square root is increasing, so \( d \) is largest where \( f \) is largest. We therefore maximise \( f \) and avoid the square root.
The point must lie on \( E\text{.} \) We move the \( 1 \) to the left-hand side and get the constraint:
\[ g(x, y) = (x - 1)^2 + 2y^2 - 1 = 0 \]
3. Set up the Lagrange equations
Lagrange's method tells us that at the point we are looking for, 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 - Eksempel.
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}{2x},\ \textcolor{red}{2y}) \\ \nabla g &= \left(\dfrac{\partial g}{\partial x},\ \dfrac{\partial g}{\partial y}\right) = \big(\textcolor{blue}{2(x - 1)},\ \textcolor{red}{4y}\big) \end{aligned} \]
Plugging this in, we get one equation for each component, and the constraint is the third:
\[ \begin{aligned} \textcolor{blue}{2x} &= \lambda \cdot \textcolor{blue}{2(x - 1)} \\ \textcolor{red}{2y} &= \lambda \cdot \textcolor{red}{4y} \\ (x - 1)^2 + 2y^2 &= 1 \end{aligned} \]
We divide the first two equations by \( 2\text{:} \)
\[ \begin{aligned} x &= \lambda(x - 1) \\ y &= 2\lambda y \\ (x - 1)^2 + 2y^2 &= 1 \end{aligned} \]
Exercise 1b)
Find all solutions to the equations. Which of these corresponds to the largest distance?
Show solutionHide solution for exercise 1b
Answer
The equations have two solutions, and the largest distance is
We use the equations from a).
We can factorise the second equation. That gives two cases, and in each of them we find the points with the constraint.
1. Factorise the second equation
In a) we found the equations:
\[ \begin{aligned} x &= \lambda(x - 1) \\ y &= 2\lambda y \\ (x - 1)^2 + 2y^2 &= 1 \end{aligned} \]
We do not divide by \( y\text{,} \) since then we lose the solution \( {y = 0}\text{.} \) We move everything to one side and factor out \( y \) instead:
\[ \begin{aligned} y - 2\lambda y &= 0 \\ \textcolor{darkorange}{y}(\textcolor{magenta}{1 - 2\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 = \dfrac{1}{2}} \]
2. Solve the first case
With \( {\textcolor{darkorange}{y = 0}} \) the constraint gives:
\[ \begin{aligned} (x - 1)^2 + 2 \cdot \textcolor{darkorange}{0}^2 &= 1 \\ (x - 1)^2 &= 1 \\ x - 1 &= \pm 1 \\ x &= 0 \quad \text{or} \quad x = 2 \end{aligned} \]
The first equation gives \( \lambda \) at each point:
\[ \begin{aligned} x = 0&: \quad 0 = \lambda(0 - 1), \quad \lambda = 0 \\ x = 2&: \quad 2 = \lambda(2 - 1), \quad \lambda = 2 \end{aligned} \]
3. Solve the second case
With \( {\textcolor{magenta}{\lambda = \dfrac{1}{2}}} \) the first equation gives:
\[ \begin{aligned} x &= \textcolor{magenta}{\dfrac{1}{2}}(x - 1) \\ 2x &= x - 1 \\ x &= -1 \end{aligned} \]
The constraint then gives:
\[ \begin{aligned} (-1 - 1)^2 + 2y^2 &= 1 \\ 2y^2 &= -3 \end{aligned} \]
The left-hand side is never negative, so this case gives no solution:
\[ 2y^2 \ge 0 > -3 \]
4. Compare the distances
So the equations have two solutions:
\[ (x, y, \lambda) = (0, 0, 0) \quad \text{and} \quad (2, 0, 2) \]
Lagrange's method only gives the candidates, not which one is largest, as the video Finn de kritiske punktene til f ved å bruke Lagranges metode - Eksempel points out at the end. We put them into \( f\text{:} \)
\[ \begin{aligned} f(0, 0) &= 0^2 + 0^2 = 0 \\ f(2, 0) &= 2^2 + 0^2 = 4 \end{aligned} \]
The ellipse is closed and bounded, so \( f \) has a largest value on \( E\text{,} \) and it must be at one of the candidates. The largest is \( {f(2, 0) = 4}\text{,} \) so the distance is:
\[ d = \sqrt{4} = 2 \]
Exercise 2
- Flere oppgaver om buelengde,
- Flere oppgaver om dobbeltintegraler,
- Flere oppgaver om integrasjon,
- Flere oppgaver om polarkoordinater
Exercise 2a)
Consider the two-dimensional region described in polar coordinates by
Compute the area of using a double integral.
Hint: you can use the indefinite integral
Show solutionHide solution for exercise 2a
Answer
The area of is:
The region is given in polar coordinates, so we integrate in polar coordinates, where \( {dA = r\,dr\,d\theta}\text{.} \) The limits can be read straight from the description of \( R\text{.} \)
1. Draw a sketch
We draw a sketch first. For each angle \( \theta \) the radius \( r \) goes from \( 0 \) out to \( \cos\theta\text{.} \) Multiplying \( {r = \cos\theta} \) by \( r \) and using \( {r^2 = x^2 + y^2} \) and \( {x = r\cos\theta}\text{,} \) we see that the boundary is a circle:
\[ \begin{aligned} r^2 &= r\cos\theta \\ x^2 + y^2 &= x \\ \left(x - \dfrac{1}{2}\right)^2 + y^2 &= \dfrac{1}{4} \end{aligned} \]It is the same as in the video Fra vanlige koordinater til polar - Del 2 - Eksempel, only backwards.
The circle has its centre at \( {\left(\dfrac{1}{2}, 0\right)} \) and radius \( \dfrac{1}{2}\text{,} \) and \( R \) is the disk inside its boundary \( C\text{:} \)
2. Set up the double integral
The area of a region is the double integral of \( 1\text{,} \) as in the video Ekstra kunnskap. In polar coordinates \( {dA = r\,dr\,d\theta}\text{:} \)
\[ A = \iint_R 1\,dA = \int_{\theta_1}^{\theta_2} \int_{\textcolor{blue}{r_1}}^{\textcolor{red}{r_2}} r\,dr\,d\theta \]If you wonder where \( r \) comes from, you can watch the video Hvor kommer r fra?.
Here are the limits from the description of \( R\text{:} \)
\[ \begin{aligned} \textcolor{blue}{r_1} &= \textcolor{blue}{0}, & \textcolor{red}{r_2} &= \textcolor{red}{\cos\theta} \\ \theta_1 &= -\dfrac{\pi}{2}, & \theta_2 &= \dfrac{\pi}{2} \end{aligned} \]
Plugging this in, we get:
\[ A = \int_{-\pi/2}^{\pi/2} \int_{\textcolor{blue}{0}}^{\textcolor{red}{\cos\theta}} r\,dr\,d\theta \]
3. Compute the integral
We start with the inner integral, with respect to \( r\text{:} \)
\[ \int_{\textcolor{blue}{0}}^{\textcolor{red}{\cos\theta}} r\,dr = \left[\dfrac{1}{2}r^2\right]_{\textcolor{blue}{0}}^{\textcolor{red}{\cos\theta}} = \dfrac{1}{2}(\textcolor{red}{\cos\theta})^2 \]
We compute the outer integral using the hint:
\[ \begin{aligned} A &= \int_{-\pi/2}^{\pi/2} \dfrac{1}{2}(\cos\theta)^2\,d\theta \\ &= \dfrac{1}{2}\left[\dfrac{\theta}{2} + \dfrac{1}{4}\sin(2\theta)\right]_{-\pi/2}^{\pi/2} \end{aligned} \]
We insert the limits. Both sine terms become zero, since \( {\sin\pi = \sin(-\pi) = 0}\text{:} \)
\[ \begin{aligned} A &= \dfrac{1}{2}\left(\dfrac{\pi}{4} + 0 - \left(-\dfrac{\pi}{4} + 0\right)\right) \\ &= \dfrac{1}{2} \cdot \dfrac{\pi}{2} = \dfrac{\pi}{4} \end{aligned} \]
Kontroll: The circle has radius \( \dfrac{1}{2}\text{,} \) and its area is \( {\pi \cdot \left(\dfrac{1}{2}\right)^2 = \dfrac{\pi}{4}}\text{.} \)
Exercise 2b)
Let denote the boundary of the region introduced above. This curve can be described in polar coordinates by
Compute the length of the curve (using the appropriate formula in polar coordinates).
Show solutionHide solution for exercise 2b
Answer
The length of is:
The curve is given with \( r \) expressed in terms of \( \theta\text{,} \) so we use the arc length formula in polar coordinates.
1. Draw a sketch
We draw a sketch first. Multiplying \( {r = \cos\theta} \) by \( r \) and using \( {r^2 = x^2 + y^2} \) and \( {x = r\cos\theta}\text{,} \) we get the equation of a circle:
\[ \begin{aligned} x^2 + y^2 &= x \\ \left(x - \dfrac{1}{2}\right)^2 + y^2 &= \dfrac{1}{4} \end{aligned} \]
\( C \) is the circle with centre \( {\left(\dfrac{1}{2}, 0\right)} \) and radius \( \dfrac{1}{2}\text{.} \) As \( \theta \) goes from \( {-\dfrac{\pi}{2}} \) to \( \dfrac{\pi}{2}\text{,} \) the point goes round once:
2. Write down the formula
The arc length formula for a curve \( {r = r(\theta)} \) in polar coordinates tells us that:
\[ L = \int_{\alpha}^{\beta} \sqrt{\textcolor{blue}{r}^2 + \left(\textcolor{red}{\dfrac{dr}{d\theta}}\right)^2}\,d\theta \]It comes from the arc length of a parametric curve, as in the video Regn ut buelengden - opg2b, with \( {x = r\cos\theta} \) and \( {y = r\sin\theta}\text{.} \)
Here:
\[ \begin{aligned} \textcolor{blue}{r} &= \textcolor{blue}{\cos\theta} \\ \textcolor{red}{\dfrac{dr}{d\theta}} &= \textcolor{red}{-\sin\theta} \end{aligned} \]
Plugging this in, we get:
\[ L = \int_{-\pi/2}^{\pi/2} \sqrt{(\textcolor{blue}{\cos\theta})^2 + (\textcolor{red}{-\sin\theta})^2}\,d\theta \]
3. Compute the integral
Under the square root we have \( {\cos^2\theta + \sin^2\theta}\text{,} \) which is \( 1 \) for every angle, as in the video Fra vanlige koordinater til polar - Del 2 - Eksempel:
\[ \begin{aligned} L &= \int_{-\pi/2}^{\pi/2} \sqrt{1}\,d\theta \\ &= \Big[\theta\Big]_{-\pi/2}^{\pi/2} \\ &= \dfrac{\pi}{2} - \left(-\dfrac{\pi}{2}\right) = \pi \end{aligned} \]
Kontroll: The circle has radius \( \dfrac{1}{2}\text{,} \) and its circumference is \( {2\pi \cdot \dfrac{1}{2} = \pi}\text{.} \)
Exercise 3
Consider the vector field
Exercise 3a)
Show that this vector field is conservative.
Show solutionHide solution for exercise 3a
Answer
The curl is zero in the whole plane, so is conservative:
The field lies in the plane and is defined everywhere. It is conservative when its curl is zero, and for a field in the plane this means that two partial derivatives are equal.
1. Write down the criterion
A vector field that is defined in the whole plane is conservative when its curl is zero:
\[ \nabla \times \vec{F} = \vec{0} \]If you are unsure about this, you can watch the video Hva er et konservativt vektorfelt - Teori.
For a field in the plane, \( {\vec{F} = (P, Q, 0)}\text{,} \) only the third component of the curl can be non-zero, as in the video Finn ut om vektorfeltet er konservativt - Konservativt vektorfelt - 3b:
\[ \nabla \times \vec{F} = \left(0,\ 0,\ \dfrac{\partial Q}{\partial x} - \dfrac{\partial P}{\partial y}\right) \]
So we must show that \( {\dfrac{\partial Q}{\partial x} = \dfrac{\partial P}{\partial y}}\text{.} \) Here:
\[ P = 2x + ye^{xy}, \quad Q = xe^{xy} \]
2. Differentiate with the product rule
The terms \( ye^{xy} \) and \( xe^{xy} \) are products, 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, \( e^{xy} \) differentiated with respect to \( y \) is \( xe^{xy}\text{,} \) as in the video Kjerneregelen. For \( ye^{xy} \) differentiated with respect to \( y \) we have:
\[ \begin{aligned} \textcolor{red}{u} &= \textcolor{red}{y} & \textcolor{red}{u'} &= \textcolor{red}{1} \\ \textcolor{blue}{v} &= \textcolor{blue}{e^{xy}} & \textcolor{blue}{v'} &= \textcolor{blue}{xe^{xy}} \end{aligned} \]
The term \( 2x \) is a constant when we differentiate with respect to \( y\text{.} \) Plugging in, we get:
\[ \begin{aligned} \dfrac{\partial P}{\partial y} &= 0 + \textcolor{red}{1} \cdot \textcolor{blue}{e^{xy}} + \textcolor{red}{y} \cdot \textcolor{blue}{xe^{xy}} \\ &= (1 + xy)e^{xy} \end{aligned} \]
In the same way, \( e^{xy} \) differentiated with respect to \( x \) is \( ye^{xy}\text{.} \) For \( xe^{xy} \) differentiated with respect to \( x \) we have:
\[ \begin{aligned} \textcolor{red}{u} &= \textcolor{red}{x} & \textcolor{red}{u'} &= \textcolor{red}{1} \\ \textcolor{blue}{v} &= \textcolor{blue}{e^{xy}} & \textcolor{blue}{v'} &= \textcolor{blue}{ye^{xy}} \end{aligned} \]
Plugging in, we get:
\[ \begin{aligned} \dfrac{\partial Q}{\partial x} &= \textcolor{red}{1} \cdot \textcolor{blue}{e^{xy}} + \textcolor{red}{x} \cdot \textcolor{blue}{ye^{xy}} \\ &= (1 + xy)e^{xy} \end{aligned} \]
3. Conclude
The two are equal, so the third component of the curl is zero:
\[ \dfrac{\partial Q}{\partial x} - \dfrac{\partial P}{\partial y} = 0 \]\( \vec{F} \) is defined in the whole plane, so the field is conservative.
Exercise 3b)
Find a potential corresponding to
Show solutionHide solution for exercise 3b
Answer
A potential for is:
A potential is a function with \( {\nabla f = \vec{F}}\text{.} \) We integrate each component with respect to its own variable and put the results together.
1. Write down what a potential is
For \( f \) to be a potential for \( \vec{F}\text{,} \) the gradient of \( f \) must be the field:
\[ \nabla f = \left(\dfrac{\partial f}{\partial x},\ \dfrac{\partial f}{\partial y}\right) = \vec{F} \]
Here:
\[ \begin{aligned} \dfrac{\partial f}{\partial x} &= \textcolor{blue}{2x + ye^{xy}} \\ \dfrac{\partial f}{\partial y} &= \textcolor{red}{xe^{xy}} \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 - 3b.
With respect to \( x \) the variable \( y \) is a constant, so the constant of integration can depend on \( y\text{.} \) Since \( e^{xy} \) differentiated with respect to \( x \) is \( ye^{xy}\text{,} \) we get:
\[ \int (\textcolor{blue}{2x + ye^{xy}})\,dx = x^2 + e^{xy} + C(y) \]
With respect to \( y \) the variable \( x \) is a constant, and \( e^{xy} \) differentiated with respect to \( y \) is \( xe^{xy}\text{:} \)
\[ \int \textcolor{red}{xe^{xy}}\,dy = e^{xy} + C(x) \]
3. Put the potential together
The two expressions are the same function \( f\text{.} \) The second lacks \( x^2\text{,} \) and the first lacks nothing, so for a constant \( K\text{:} \)
\[ C(x) = x^2 + K, \quad C(y) = K \]
The task asks for one potential, so we choose \( {K = 0}\text{:} \)
\[ f(x, y) = x^2 + e^{xy} \]
Kontroll: \( {\dfrac{\partial f}{\partial x} = 2x + ye^{xy}} \) and \( {\dfrac{\partial f}{\partial y} = xe^{xy}}\text{,} \) which are the components of \( \vec{F}\text{.} \)
Exercise 3c)
Compute the line integral where the curve is described by
Show solutionHide solution for exercise 3c
Answer
We use the potential from b).
The field is conservative, so the line integral depends only on the start and end points. We put the endpoints into the potential instead of integrating along the curve.
1. Draw a sketch
We draw a sketch first. The curve goes from \( {t = 0} \) to \( {t = 1}\text{,} \) and the path in between is winding:
2. Write down the rule
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) \]If you are unsure about this, you can watch the video La c = 1 Regn ut linjeintegralet til Fdr langs kurven C - 3c.
In b) we found the potential:
\[ f(x, y) = x^2 + e^{xy} \]
3. Find the endpoints
Here \( {\textcolor{blue}{a = 0}} \) and \( {\textcolor{red}{b = 1}}\text{,} \) so the curve starts and ends at:
\[ \begin{aligned} \vec{r}(\textcolor{blue}{0}) &= (\cos 0 + 0^2,\ \sin 0 + 0) \\ &= \textcolor{blue}{(1, 0)} \\ \vec{r}(\textcolor{red}{1}) &= (\cos 2\pi + 1^2,\ \sin 2\pi + 2) \\ &= \textcolor{red}{(2, 2)} \end{aligned} \]
4. Put them into the potential
Plugging this in, we get:
\[ \begin{aligned} \int_C \vec{F} \cdot d\vec{r} &= f(\textcolor{red}{2, 2}) - f(\textcolor{blue}{1, 0}) \\ &= \left(2^2 + e^{2 \cdot 2}\right) - \left(1^2 + e^{1 \cdot 0}\right) \\ &= 4 + e^4 - 2 \\ &= e^4 + 2 \end{aligned} \]
Exercise 4
Exercise 4a)
Use a triple integral to compute the volume of the region
Show solutionHide solution for exercise 4a
Answer
The volume of is:
The volume is the triple integral of \( 1 \) over \( T\text{.} \) The limits are in the description of \( T\text{,} \) and we integrate from the inside out.
1. Draw a sketch
We draw a sketch first. The base in the \( {xy\text{-plane}} \) is the triangle below the line \( {y = x} \) for \( {0 \le x \le 1}\text{,} \) and \( T \) goes from \( {z = 0} \) up to \( {z = 2}\text{:} \)
2. Set up the triple integral
The volume is the triple integral of \( 1 \) over the region, as in the video Ekstra kunnskap:
\[ V = \iiint_T 1\,dV \]
Here are the limits. The limit for \( y \) depends on \( x\text{,} \) so we integrate with respect to \( y \) before \( x\text{:} \)
\[ \begin{aligned} \textcolor{green}{0} &\le z \le \textcolor{green}{2} \\ \textcolor{red}{0} &\le y \le \textcolor{red}{x} \\ \textcolor{blue}{0} &\le x \le \textcolor{blue}{1} \end{aligned} \]
Plugging this in, we get:
\[ V = \int_{\textcolor{blue}{0}}^{\textcolor{blue}{1}} \int_{\textcolor{red}{0}}^{\textcolor{red}{x}} \int_{\textcolor{green}{0}}^{\textcolor{green}{2}} 1\,dz\,dy\,dx \]
3. Integrate from the inside out
We start with the innermost integral, with respect to \( z\text{:} \)
\[ \int_{\textcolor{green}{0}}^{\textcolor{green}{2}} 1\,dz = \Big[z\Big]_{0}^{2} = 2 \]
Then we integrate with respect to \( y\text{.} \) The upper limit is the variable \( x\text{,} \) as in the video Eksempel oppgave - Triple integraler:
\[ \int_{\textcolor{red}{0}}^{\textcolor{red}{x}} 2\,dy = \Big[2y\Big]_{0}^{x} = 2x \]
Finally we integrate with respect to \( x\text{:} \)
\[ V = \int_{\textcolor{blue}{0}}^{\textcolor{blue}{1}} 2x\,dx = \Big[x^2\Big]_{0}^{1} = 1 \]
Kontroll: The base is a triangle with area \( {\dfrac{1}{2} \cdot 1 \cdot 1 = \dfrac{1}{2}}\text{,} \) and the height is \( 2\text{,} \) so the prism has volume \( {\dfrac{1}{2} \cdot 2 = 1}\text{.} \)
Exercise 4b)
Consider the region described in cylindrical coordinates by
Compute the triple integral
Show solutionHide solution for exercise 4b
Answer
The region is given in cylindrical coordinates, so we write \( x \) and \( y \) with \( r \) and \( \theta \) and use \( {dV = r\,dz\,dr\,d\theta}\text{.} \) All the limits are numbers.
1. Draw a sketch
We draw a sketch first. \( r \) from \( 0 \) to \( 1 \) and \( \theta \) from \( 0 \) to \( \pi \) give the half disk where \( {y \ge 0}\text{,} \) and \( z \) from \( 0 \) to \( 1 \) makes it a half cylinder:
2. Rewrite in cylindrical coordinates
In cylindrical coordinates:
\[ \begin{aligned} \textcolor{blue}{x} &= \textcolor{blue}{r\cos\theta} \\ \textcolor{red}{y} &= \textcolor{red}{r\sin\theta} \\ dV &= \textcolor{green}{r}\,dz\,dr\,d\theta \end{aligned} \]The extra factor \( \textcolor{green}{r} \) is the same as in polar coordinates, and \( dz \) stays as it is, as in the video Eksempel - Sylinderkoordinater.
We call the integral \( I\text{.} \) With the limits from the description of \( R \) it becomes:
\[ I = \int_0^{\pi} \int_0^1 \int_0^1 z(x + y)\,\textcolor{green}{r}\,dz\,dr\,d\theta \]
Plugging in \( \textcolor{blue}{x} \) and \( \textcolor{red}{y}\text{,} \) the integrand becomes:
\[ \begin{aligned} z(x + y)\,\textcolor{green}{r} &= z(\textcolor{blue}{r\cos\theta} + \textcolor{red}{r\sin\theta})\,\textcolor{green}{r} \\ &= zr^2(\cos\theta + \sin\theta) \end{aligned} \]
3. Integrate from the inside out
We start innermost, with respect to \( z\text{.} \) Here \( {r^2(\cos\theta + \sin\theta)} \) is a constant, so we only need the integral of \( z\text{:} \)
\[ \int_0^1 z\,dz = \left[\dfrac{z^2}{2}\right]_0^1 = \dfrac{1}{2} \]
That gives us:
\[ I = \int_0^{\pi} \int_0^1 \dfrac{1}{2}r^2(\cos\theta + \sin\theta)\,dr\,d\theta \]
Then we integrate with respect to \( r\text{.} \) Here \( {\cos\theta + \sin\theta} \) is a constant:
\[ \int_0^1 \dfrac{1}{2}r^2\,dr = \left[\dfrac{r^3}{6}\right]_0^1 = \dfrac{1}{6} \]
Finally we integrate with respect to \( \theta\text{,} \) where \( {\sin\theta - \cos\theta} \) is an antiderivative:
\[ \begin{aligned} I &= \int_0^{\pi} \dfrac{1}{6}(\cos\theta + \sin\theta)\,d\theta \\ &= \dfrac{1}{6}\Big[\sin\theta - \cos\theta\Big]_0^{\pi} \\ &= \dfrac{1}{6}\big((0 + 1) - (0 - 1)\big) \\ &= \dfrac{1}{6} \cdot 2 = \dfrac{1}{3} \end{aligned} \]
Exercise 5
- Flere oppgaver om fluks,
- Flere oppgaver om linjeintegraler,
- Flere oppgaver om parameterframstilling,
- Flere oppgaver om stokes' teorem
Consider the vector fields
Exercise 5a)
Let be the circle with positive orientation (counter-clockwise). Compute the line integral of along that is
Show solutionHide solution for exercise 5a
Answer
We parametrise the circle counter-clockwise and use the formula for the line integral. The circle lies in the \( {xy\text{-plane,}} \) where \( {z = 0}\text{.} \)
1. Draw a sketch
We draw a sketch first. \( C \) is the unit circle in the \( {xy\text{-plane,}} \) and a point on it makes the angle \( t \) with the \( {x\text{-axis:}} \)
2. Parametrise the circle
The point is \( (\cos t, \sin t)\text{,} \) and the circle lies in the plane \( {z = 0}\text{.} \) Counter-clockwise, \( t \) goes from \( 0 \) to \( 2\pi\text{.} \) That gives the parametrisation, as in the video Sirkel - Parametrisering - Eksempel oppgave 2:
\[ \vec{r}(t) = (\cos t, \sin t, 0), \quad 0 \le t \le 2\pi \]
3. Write down the line integral
The formula for the line integral tells us that:
\[ \oint_C \vec{F} \cdot d\vec{r} = \int_a^b \vec{F}\big(\vec{r}(t)\big) \cdot \vec{r}\,'(t)\,dt \]If you are unsure about the formula, you can watch the video Linjeintegral i vektorfelt & Arbeid - Teori m eksempel.
Here, with the first components in blue, the second in red and the third in green:
\[ \begin{aligned} \vec{F}\big(\vec{r}(t)\big) &= (\textcolor{blue}{0},\ \textcolor{red}{\cos t},\ \textcolor{green}{0^2}) \\ \vec{r}\,'(t) &= (\textcolor{blue}{-\sin t},\ \textcolor{red}{\cos t},\ \textcolor{green}{0}) \end{aligned} \]
The dot product is:
\[ \begin{aligned} \vec{F} \cdot \vec{r}\,' &= \textcolor{blue}{0 \cdot (-\sin t)} + \textcolor{red}{\cos t \cdot \cos t} \\ &\quad + \textcolor{green}{0 \cdot 0} \\ &= \cos^2 t \end{aligned} \]
Plugging this in, we get:
\[ W = \int_0^{2\pi} \cos^2 t\,dt \]
4. Compute the integral
The integral of \( \cos^2 t \) is the same as in the hint in Exercise 2a. It comes from the identity \( {\cos^2 t = \dfrac{1 + \cos(2t)}{2}}\text{,} \) as in the video Eksempel - Linjeintegral i vektorfelt & Arbeid:
\[ \int \cos^2 t\,dt = \dfrac{t}{2} + \dfrac{1}{4}\sin(2t) + c \]
That gives us:
\[ \begin{aligned} W &= \left[\dfrac{t}{2} + \dfrac{1}{4}\sin(2t)\right]_0^{2\pi} \\ &= \left(\pi + \dfrac{1}{4}\sin(4\pi)\right) - (0 + 0) \\ &= \pi \end{aligned} \]
Exercise 5b)
Let be the disk in the given by
First, determine the unit normal vector to which points in the positive Then, use this normal vector to compute the flux of through that is
Show solutionHide solution for exercise 5b
Answer
The unit normal vector and the flux are:
\( D \) lies flat in the \( {xy\text{-plane,}} \) so the normal vector points straight up, and \( dS \) is just \( dA\text{.} \) The flux then becomes an area integral.
1. Draw a sketch
We draw a sketch first. \( D \) is the disk with radius \( 1 \) in the plane \( {z = 0}\text{,} \) and the normal vector is perpendicular to it:
2. Find the unit normal vector
A vector that is perpendicular to the \( {xy\text{-plane}} \) and points in the positive \( {z\text{-direction}} \) has only a \( {z\text{-component,}} \) as in the video Fluks gjennom ÅPEN FLATE - Del 3. With length \( 1 \) it is:
\[ \begin{aligned} \textcolor{red}{\vec{n}} &= \textcolor{red}{(0, 0, 1)} \\ |\vec{n}| &= \sqrt{0^2 + 0^2 + 1^2} = 1 \end{aligned} \]
3. Compute the flux
The flux is the surface integral in the task:
\[ \Phi = \iint_D \textcolor{blue}{\vec{G}} \cdot \textcolor{red}{\vec{n}}\,dS \]
Here the dot product is:
\[ \begin{aligned} \textcolor{blue}{\vec{G}} \cdot \textcolor{red}{\vec{n}} &= \textcolor{blue}{(0, 0, 1)} \cdot \textcolor{red}{(0, 0, 1)} \\ &= 0 + 0 + 1 = 1 \end{aligned} \]\( D \) lies flat in the \( {xy\text{-plane,}} \) so a small piece of surface is a small piece of area, \( {dS = dA}\text{.} \)
Plugging this in, we are left with the area of \( D\text{,} \) a disk with radius \( 1\text{,} \) as in the video Fluks gjennom ÅPEN FLATE - Del 3:
\[ \Phi = \iint_D 1\,dA = \pi \cdot 1^2 = \pi \]
Exercise 5c)
Can you explain why we have the equality
(Hint: consider ).
Show solutionHide solution for exercise 5c
Answer
The curl of is and Stokes' theorem gives:
We use \( W \) from a) and \( \Phi \) and \( \vec{n} \) from b).
\( C \) is the boundary of \( D\text{.} \) Stokes' theorem turns the line integral around \( C \) into the flux of the curl through \( D\text{,} \) and we show that the curl is \( \vec{G}\text{.} \)
1. Compute the curl
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 - Eksempel 2:
\[ \nabla \times \vec{F} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ 0 & x & z^2 \end{vmatrix} \]
Expanding along the first row, we get one component at a time:
\[ \begin{aligned} \vec{i}\text{:} \quad & \dfrac{\partial (z^2)}{\partial y} - \dfrac{\partial x}{\partial z} = \textcolor{blue}{0} \\ \vec{j}\text{:} \quad & -\left(\dfrac{\partial (z^2)}{\partial x} - \dfrac{\partial 0}{\partial z}\right) = \textcolor{red}{0} \\ \vec{k}\text{:} \quad & \dfrac{\partial x}{\partial x} - \dfrac{\partial 0}{\partial y} = \textcolor{green}{1} \end{aligned} \]
Putting this together, we get:
\[ \nabla \times \vec{F} = (\textcolor{blue}{0},\ \textcolor{red}{0},\ \textcolor{green}{1}) = \vec{G} \]
2. Use Stokes' theorem
Stokes' theorem tells us that when \( C \) is the boundary of the surface \( D \) and runs counter-clockwise as seen from the tip of \( \vec{n}\text{,} \) then:
\[ \oint_C \vec{F} \cdot d\vec{r} = \iint_D (\nabla \times \vec{F}) \cdot \vec{n}\,dS \]
Here \( C \) is the boundary of \( D\text{,} \) \( {\vec{n} = (0, 0, 1)} \) points up, and \( C \) runs counter-clockwise as seen from above:
Since \( D \) lies in the \( {xy\text{-plane,}} \) this is the same as Green's theorem, as in the video Greens setning - Intro.
Plugging in \( {\nabla \times \vec{F} = \vec{G}}\text{,} \) we get:
\[ W = \oint_C \vec{F} \cdot d\vec{r} = \iint_D \vec{G} \cdot \vec{n}\,dS = \Phi \]This agrees with a) and b), where both were \( \pi\text{.} \)
Ferdig med settet? Se de andre settene i Matte 3000, eller repeter temaene på fagsiden.