Hopp til hovedinnholdet

Matte 3000 OsloMet

DAVE3700 ordinær eksamen 2020

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.

14. desember 2020

Last ned PDF

Exercises

5 exercises

Exercise 1

The goal is to find the points (x,y) (x, y) on the ellipse x2+2y2=4 {x^2 + 2y^2 = 4} with the smallest and largest distance from the origin.

Exercise 1a)

Use Lagrange's method to formulate this problem and write down the Lagrange equations (hint: use the distance squared f(x,y)=x2+y2 {f(x, y) = x^2 + y^2} ).
Show solution for exercise 1a
Answer
We find the smallest and largest value of f(x,y)=x2+y2 {f(x, y) = x^2 + y^2} with the ellipse as the constraint, and with the multiplier λ \lambda the equations are:
2x=2λx2y=4λyx2+2y2=4‾‾ \underline{\underline{\begin{aligned} 2x &= 2\lambda x \\ 2y &= 4\lambda y \\ x^2 + 2y^2 &= 4 \end{aligned}}}
We want to find the smallest and largest distance from the origin when the point 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. Setting \( {y = 0}\text{,} \) we get \( {x = \pm 2}\text{,} \) and setting \( {x = 0}\text{,} \) we get \( {y = \pm\sqrt{2}}\text{.} \) We are looking for the points \( (x, y) \) on the ellipse that lie closest to and 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 smallest and largest where \( f \) is smallest and largest. We therefore use \( f \) and avoid the root.
The point must lie on the ellipse. We move the \( 4 \) to the left-hand side and get the constraint: \[ g(x, y) = x^2 + 2y^2 - 4 = 0 \]
3. Set up the Lagrange equations Lagrange's method tells us that, at the points 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.
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) = (\textcolor{blue}{2x},\ \textcolor{red}{4y}) \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}{2x} \\ \textcolor{red}{2y} &= \lambda \cdot \textcolor{red}{4y} \\ x^2 + 2y^2 &= 4 \end{aligned} \]

Exercise 1b)

Using Lagrange's method, find the points on the ellipse x2+2y2=4 {x^2 + 2y^2 = 4} with the smallest and largest distance from the origin.
Show solution for exercise 1b
Answer
The smallest distance is 2 \sqrt{2} and the largest is 2: 2\text{:}
Closest: (0,2) and (0,−2)‾‾ \underline{\underline{\text{Closest: } (0, \sqrt{2}) \text{ and } (0, -\sqrt{2})}}
Farthest: (2,0) and (−2,0)‾‾ \underline{\underline{\text{Farthest: } (2, 0) \text{ and } (-2, 0)}}
We use the equations from a).
We can factorise the first two equations. This gives two cases, and in each of them we find the points with the constraint.
1. Factorise the first two equations In a) we found the equations: \[ \begin{aligned} 2x &= 2\lambda x \\ 2y &= 4\lambda y \\ x^2 + 2y^2 &= 4 \end{aligned} \]
We do not divide by \( x \) or \( y\text{,} \) because then we may lose solutions. Instead we move everything to one side and factorise: \[ \begin{aligned} 2\textcolor{darkorange}{x}(\textcolor{magenta}{1 - \lambda}) &= 0 \\ 2y(1 - 2\lambda) &= 0 \end{aligned} \]
A product is zero only when one of the factors is zero. The first equation therefore gives two cases: \[ \textcolor{darkorange}{x = 0} \quad \text{or} \quad \textcolor{magenta}{\lambda = 1} \]
2. Solve the first case The constraint with \( {\textcolor{darkorange}{x = 0}} \) gives: \[ \begin{aligned} \textcolor{darkorange}{0}^2 + 2y^2 &= 4 \\ y^2 &= 2 \\ y &= \pm\sqrt{2} \end{aligned} \]
Then \( {y \neq 0}\text{,} \) so the second equation gives: \[ 1 - 2\lambda = 0, \quad \lambda = \dfrac{1}{2} \]
3. Solve the second case The second equation with \( {\textcolor{magenta}{\lambda = 1}} \) gives: \[ \begin{aligned} 2y(1 - 2 \cdot \textcolor{magenta}{1}) &= 0 \\ -2y &= 0 \\ y &= 0 \end{aligned} \]
The constraint then gives: \[ \begin{aligned} x^2 + 2 \cdot 0^2 &= 4 \\ x &= \pm 2 \end{aligned} \]
4. Compare the distances So the equations give four points. Lagrange's method gives only the candidates, not which are smallest and largest, as the video Finn de kritiske punktene til f ved å bruke Lagranges metode shows at the very end. We put them into \( f\text{:} \) \[ \begin{aligned} f(0, \pm\sqrt{2}) &= 0^2 + (\sqrt{2})^2 = 2 \\ f(\pm 2, 0) &= 2^2 + 0^2 = 4 \end{aligned} \]
The ellipse is closed and bounded, so \( f \) has both a smallest and a largest value on it, and they must lie among the candidates. The distances are therefore: \[ \begin{aligned} d_{\min} &= \sqrt{2} \\ d_{\max} &= \sqrt{4} = 2 \end{aligned} \]

Exercise 2

Consider the curve parametrized by
r⃗(t)=(t+2,t2+1),0≤t≤1 \vec{r}(t) = (t + 2, t^2 + 1), \quad 0 \le t \le 1

Exercise 2a)

Determine the time t~ \tilde{t} such that v⃗(t~)=(1,1), {\vec{v}(\tilde{t}) = (1, 1)}\text{,} where v⃗ \vec{v} is the velocity.
Show solution for exercise 2a
Answer
t~=12‾‾ \underline{\underline{\tilde{t} = \dfrac{1}{2}}}
The velocity is the derivative of \( \vec{r}(t)\text{.} \) We differentiate coordinate by coordinate and set it equal to \( (1, 1)\text{.} \)
1. Draw a sketch We draw the curve first. It starts and ends at: \[ \vec{r}(0) = (2, 1), \quad \vec{r}(1) = (3, 2) \]
2. Differentiate the parametrization The velocity is the derivative of the position, coordinate by coordinate, as in the video Posisjon, fart & akselerasjon: \[ \vec{v}(t) = \vec{r}\,'(t) = \big(\textcolor{blue}{x'(t)},\ \textcolor{red}{y'(t)}\big) \]
Here \( {\textcolor{blue}{x(t) = t + 2}} \) and \( {\textcolor{red}{y(t) = t^2 + 1}}\text{,} \) so: \[ \vec{v}(t) = (\textcolor{blue}{1},\ \textcolor{red}{2t}) \]
3. Equate the velocity and the vector Two vectors are equal when their coordinates are equal: \[ (\textcolor{blue}{1},\ \textcolor{red}{2\tilde{t}}) = (1, 1) \]
The first coordinates agree for every \( \tilde{t}\text{.} \) The second gives: \[ \begin{aligned} \textcolor{red}{2\tilde{t}} &= 1 \\ \tilde{t} &= \dfrac{1}{2} \end{aligned} \]
This lies in the interval \( {0 \le t \le 1}\text{.} \)

Exercise 2b)

Determine the unit tangent vector T⃗(t). \vec{T}(t)\text{.}
Show solution for exercise 2b
Answer
T⃗(t)=(1,2t)1+4t2‾‾ \underline{\underline{\vec{T}(t) = \dfrac{(1, 2t)}{\sqrt{1 + 4t^2}}}}
The unit tangent vector is the derivative of \( \vec{r}(t) \) divided by its length. We therefore differentiate coordinate by coordinate and find the length.
1. Write down the definition The definition of the unit tangent vector tells us that: \[ \vec{T}(t) = \dfrac{\vec{r}\,'(t)}{|\vec{r}\,'(t)|} \]So we divide the vector by its length, as in the video Regn ut linjeintegralet ved å bruke definisjonen.
We differentiate coordinate by coordinate: \[ \vec{r}\,'(t) = (\textcolor{blue}{1},\ \textcolor{red}{2t}) \]
2. Find the length As in the video Lengden til en Vektor, Pythagoras gives the length of a vector: \[ |(\textcolor{blue}{v_1}, \textcolor{red}{v_2})| = \sqrt{\textcolor{blue}{v_1}^2 + \textcolor{red}{v_2}^2} \]
Plugging in the coordinates of \( \vec{r}\,'(t)\text{,} \) we get: \[ \begin{aligned} |\vec{r}\,'(t)| &= \sqrt{\textcolor{blue}{1}^2 + (\textcolor{red}{2t})^2} \\ &= \sqrt{1 + 4t^2} \end{aligned} \]
3. Divide by the length Plugging this into the definition, we get: \[ \vec{T}(t) = \dfrac{(\textcolor{blue}{1},\ \textcolor{red}{2t})}{\sqrt{1 + 4t^2}} \]

Exercise 2c)

Compute the derivative dT⃗/dt. d\vec{T}/dt\text{.}
Show solution for exercise 2c
Answer
dT⃗dt=(−4t,2)(1+4t2)32‾‾ \underline{\underline{\dfrac{d\vec{T}}{dt} = \dfrac{(-4t, 2)}{(1 + 4t^2)^{\tfrac{3}{2}}}}}
We use \( \vec{T}(t) \) from b).
\( \vec{T}(t) \) is a scalar times a vector. We therefore differentiate with the product rule, and the scalar factor with the chain rule.
1. Write down the product rule In b) we found \( \vec{T}(t)\text{,} \) which we write as a product: \[ \vec{T}(t) = \textcolor{red}{(1 + 4t^2)^{-\tfrac{1}{2}}} \cdot \textcolor{blue}{(1, 2t)} \]
The product rule tells us that: \[ (\textcolor{red}{u} \cdot \textcolor{blue}{\vec{w}})' = \textcolor{red}{u'} \cdot \textcolor{blue}{\vec{w}} + \textcolor{red}{u} \cdot \textcolor{blue}{\vec{w}\,'} \]It also holds when \( \vec{w} \) is a vector, because we differentiate coordinate by coordinate. If you are unsure about the rule, you can watch the video Produktregelen.
2. Find the parts We find the derivative of \( \textcolor{red}{u} \) with the chain rule, as in the video Kjerneregelen. With \( \textcolor{green}{k} \) as the inner function, it tells us that: \[ \big(\textcolor{green}{k}^n\big)' = n \cdot \textcolor{green}{k}^{n - 1} \cdot \textcolor{green}{k'} \]
Here \( {\textcolor{green}{k = 1 + 4t^2}}\text{,} \) \( {\textcolor{green}{k' = 8t}} \) and \( {n = -\dfrac{1}{2}}\text{.} \) This gives the parts: \[ \begin{aligned} \textcolor{red}{u} &= \textcolor{red}{(1 + 4t^2)^{-\tfrac{1}{2}}} \\ \textcolor{red}{u'} &= -\dfrac{1}{2}(\textcolor{green}{1 + 4t^2})^{-\tfrac{3}{2}} \cdot \textcolor{green}{8t} \\ &= \textcolor{red}{-4t(1 + 4t^2)^{-\tfrac{3}{2}}} \\ \textcolor{blue}{\vec{w}} &= \textcolor{blue}{(1, 2t)} \\ \textcolor{blue}{\vec{w}\,'} &= \textcolor{blue}{(0, 2)} \end{aligned} \]
3. Plug in and simplify We write \( \textcolor{red}{u} \) with the same denominator as \( \textcolor{red}{u'}\text{:} \) \[ \textcolor{red}{u} = \dfrac{1}{(1 + 4t^2)^{\tfrac{1}{2}}} = \dfrac{1 + 4t^2}{(1 + 4t^2)^{\tfrac{3}{2}}} \]
Plugging the parts into the product rule, we get: \[ \begin{aligned} \dfrac{d\vec{T}}{dt} &= \dfrac{\textcolor{red}{-4t}\,\textcolor{blue}{(1, 2t)} + \textcolor{red}{(1 + 4t^2)}\textcolor{blue}{(0, 2)}}{(1 + 4t^2)^{\tfrac{3}{2}}} \\ &= \dfrac{(-4t,\ -8t^2 + 2 + 8t^2)}{(1 + 4t^2)^{\tfrac{3}{2}}} \\ &= \dfrac{(-4t, 2)}{(1 + 4t^2)^{\tfrac{3}{2}}} \end{aligned} \]

Exercise 2d)

Compute the curvature of r⃗(t) \vec{r}(t) using c).
Show solution for exercise 2d
Answer
κ(t)=2(1+4t2)32‾‾ \underline{\underline{\kappa(t) = \dfrac{2}{(1 + 4t^2)^{\tfrac{3}{2}}}}}
We use \( \vec{r}\,'(t) \) from b) and \( d\vec{T}/dt \) from c).
The curvature says how fast the unit tangent vector turns per length along the curve. We therefore divide the length of \( d\vec{T}/dt \) by the speed.
1. Write down the formula The curvature is how much \( \vec{T} \) changes per arc length \( s\text{,} \) and along the curve \( {ds = |\vec{r}\,'(t)|\,dt}\text{.} \) The formula for curvature therefore tells us that: \[ \kappa(t) = \left|\dfrac{d\vec{T}}{ds}\right| = \dfrac{|\textcolor{blue}{\vec{T}\,'(t)}|}{|\textcolor{red}{\vec{r}\,'(t)}|} \]
If you are unsure about \( ds\text{,} \) you can watch the video Regn ut linjeintegralet ved å bruke definisjonen.
In c) and b) we found: \[ \begin{aligned} \textcolor{blue}{\vec{T}\,'(t)} &= \textcolor{blue}{\dfrac{(-4t, 2)}{(1 + 4t^2)^{\tfrac{3}{2}}}} \\ |\textcolor{red}{\vec{r}\,'(t)}| &= \textcolor{red}{\sqrt{1 + 4t^2}} \end{aligned} \]
2. Find the length of the derivative The length is the square root of the sum of the squares, as in the video Lengden til en Vektor. The denominator is positive, so it stays as it is: \[ \begin{aligned} |\textcolor{blue}{\vec{T}\,'(t)}| &= \dfrac{\sqrt{(-4t)^2 + 2^2}}{(1 + 4t^2)^{\tfrac{3}{2}}} \\ &= \dfrac{2\sqrt{4t^2 + 1}}{(1 + 4t^2)^{\tfrac{3}{2}}} \\ &= \textcolor{blue}{\dfrac{2}{1 + 4t^2}} \end{aligned} \]
3. Divide by the speed Plugging this into the formula, we get: \[ \begin{aligned} \kappa(t) &= \dfrac{\textcolor{blue}{\dfrac{2}{1 + 4t^2}}}{\textcolor{red}{\sqrt{1 + 4t^2}}} \\ &= \dfrac{2}{(1 + 4t^2)^{\tfrac{3}{2}}} \end{aligned} \]

Exercise 3

Exercise 3a)

Determine if the vector field G⃗=(1,x,y) {\vec{G} = (1, x, y)} is conservative.
Show solution for exercise 3a
Answer
The curl is not zero, so G⃗ \vec{G} is not conservative:
∇×G⃗=(1,0,1)≠0⃗‾‾ \underline{\underline{\nabla \times \vec{G} = (1, 0, 1) \neq \vec{0}}}
The field has three components and is defined in all of space. It is conservative exactly when its curl is zero, so we compute the curl.
1. Write down the criterion A vector field that is defined in all of space is conservative exactly when its curl is zero: \[ \nabla \times \vec{G} = \vec{0} \]If you are unsure about this, you can watch the video Hva er et konservativt vektorfelt.
2. Compute the curl The curl is the determinant whose rows are the unit vectors, \( \nabla \) and \( \vec{G}\text{,} \) as in the video Finn et generelt uttrykk for curlen til vektorfeltet. Expanding it along the first row, we get: \[ \begin{aligned} \nabla \times \vec{G} = \Big(&\dfrac{\partial \textcolor{green}{R}}{\partial y} - \dfrac{\partial \textcolor{red}{Q}}{\partial z}, \\ &\dfrac{\partial \textcolor{blue}{P}}{\partial z} - \dfrac{\partial \textcolor{green}{R}}{\partial x}, \\ &\dfrac{\partial \textcolor{red}{Q}}{\partial x} - \dfrac{\partial \textcolor{blue}{P}}{\partial y}\Big) \end{aligned} \]
Here: \[ \textcolor{blue}{P = 1}, \quad \textcolor{red}{Q = x}, \quad \textcolor{green}{R = y} \]
Plugging this in, we get: \[ \begin{aligned} \nabla \times \vec{G} = \Big(&\dfrac{\partial \textcolor{green}{y}}{\partial y} - \dfrac{\partial \textcolor{red}{x}}{\partial z}, \\ &\dfrac{\partial \textcolor{blue}{1}}{\partial z} - \dfrac{\partial \textcolor{green}{y}}{\partial x}, \\ &\dfrac{\partial \textcolor{red}{x}}{\partial x} - \dfrac{\partial \textcolor{blue}{1}}{\partial y}\Big) \end{aligned} \]
Each of the partial derivatives is \( 1 \) or \( 0\text{,} \) so: \[ \begin{aligned} \nabla \times \vec{G} &= (1 - 0,\ 0 - 0,\ 1 - 0) \\ &= (1, 0, 1) \end{aligned} \]
3. Conclude The curl is not the zero vector: \[ \nabla \times \vec{G} = (1, 0, 1) \neq \vec{0} \]A conservative field always has zero curl, so \( \vec{G} \) is not conservative.

Exercise 3b)

Consider now the conservative vector field
F⃗(x,y)=(x,y) \vec{F}(x, y) = (x, y)
Find a potential for F⃗. \vec{F}\text{.}
Show solution for exercise 3b
Answer
A potential for F⃗ \vec{F} is:
f(x,y)=x2+y22‾‾ \underline{\underline{f(x, y) = \dfrac{x^2 + y^2}{2}}}
A potential is a function with \( {\nabla f = \vec{F}}\text{.} \) We integrate each component with respect to its variable and put the results together.
1. Write down what the 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}{x} \\ \dfrac{\partial f}{\partial y} &= \textcolor{red}{y} \end{aligned} \]
2. Integrate each component We integrate each component with respect to its variable, as in the video La c = 1. Finn et skalarfelt f slik at gradienten til f = F vektor.
When we integrate with respect to \( x \) we treat \( y \) as a constant, so the constant of integration may depend on \( y\text{:} \) \[ \int \textcolor{blue}{x}\,dx = \dfrac{x^2}{2} + C(y) \]
In the same way, \( x \) is a constant with respect to \( y\text{:} \) \[ \int \textcolor{red}{y}\,dy = \dfrac{y^2}{2} + C(x) \]
3. Put the potential together The two expressions are the same function \( f\text{.} \) The first is missing \( \dfrac{y^2}{2}\text{,} \) and the second is missing \( \dfrac{x^2}{2}\text{,} \) so for a constant \( K\text{:} \) \[ C(y) = \dfrac{y^2}{2} + K, \quad C(x) = \dfrac{x^2}{2} + K \]
The task asks for one potential, so we choose \( {K = 0}\text{:} \) \[ f(x, y) = \dfrac{x^2 + y^2}{2} \]
Kontroll: \( {\dfrac{\partial f}{\partial x} = x} \) and \( {\dfrac{\partial f}{\partial y} = y}\text{,} \) which are the components of \( \vec{F}\text{.} \)

Exercise 3c)

Compute the line integral ∫CF⃗⋅dr⃗ {\int_C \vec{F} \cdot d\vec{r}} over the curve C C parametrized by
r⃗(t)=(et2,t5),0≤t≤1 \vec{r}(t) = (e^{t^2}, t^5), \quad 0 \le t \le 1
Show solution for exercise 3c
Answer
∫CF⃗⋅dr⃗=e22‾‾ \underline{\underline{\int_C \vec{F} \cdot d\vec{r} = \dfrac{e^2}{2}}}
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 end points into the potential instead of integrating along the curve.
1. Draw a sketch We draw a sketch first. The curve starts at \( {t = \textcolor{blue}{0}} \) and ends at \( {t = \textcolor{red}{1}}\text{:} \) \[ \begin{aligned} \vec{r}(\textcolor{blue}{0}) &= (e^{0}, 0^5) = \textcolor{blue}{(1, 0)} \\ \vec{r}(\textcolor{red}{1}) &= (e^{1}, 1^5) = \textcolor{red}{(e, 1)} \end{aligned} \]
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 F*dr langs kurven C.
In b) we found the potential: \[ f(x, y) = \dfrac{x^2 + y^2}{2} \]
3. Put them into the potential Here \( {\textcolor{blue}{a = 0}} \) and \( {\textcolor{red}{b = 1}}\text{,} \) so the curve starts at \( \textcolor{blue}{(1, 0)} \) and ends at \( \textcolor{red}{(e, 1)}\text{,} \) as in the sketch. Plugging this in, we get: \[ \begin{aligned} \int_C \vec{F} \cdot d\vec{r} &= f(\textcolor{red}{e, 1}) - f(\textcolor{blue}{1, 0}) \\ &= \dfrac{e^2 + 1^2}{2} - \dfrac{1^2 + 0^2}{2} \\ &= \dfrac{e^2}{2} \end{aligned} \]

Exercise 3d)

Compute the line integral ∮CF⃗⋅dr⃗, {\oint_C \vec{F} \cdot d\vec{r}}\text{,} where C C is the ellipse x2+2y2=1. {x^2 + 2y^2 = 1}\text{.}
Show solution for exercise 3d
Answer
∮CF⃗⋅dr⃗=0‾‾ \underline{\underline{\oint_C \vec{F} \cdot d\vec{r} = 0}}
We use the potential from b).
The ellipse is a closed curve, so the start point and the end point are the same. The field is conservative, so we use the fundamental theorem for line integrals.
1. Draw a sketch We draw a sketch first. The ellipse is a closed curve that crosses the \( {x\text{-axis}} \) at \( {\pm 1}\text{:} \)
2. Use that the field is conservative In b) we found that \( {\vec{F} = \nabla f} \) with: \[ f(x, y) = \dfrac{x^2 + y^2}{2} \]
The fundamental theorem for line integrals tells us that: \[ \int_C \vec{F} \cdot d\vec{r} = f\big(\textcolor{red}{\vec{r}(b)}\big) - f\big(\textcolor{blue}{\vec{r}(a)}\big) \]
Around a closed curve the end point is the same as the start point, \( {\textcolor{red}{\vec{r}(b)} = \textcolor{blue}{\vec{r}(a)}}\text{,} \) as in the video Hva er et konservativt vektorfelt. This gives: \[ \oint_C \vec{F} \cdot d\vec{r} = f\big(\textcolor{blue}{\vec{r}(a)}\big) - f\big(\textcolor{blue}{\vec{r}(a)}\big) = 0 \]

Exercise 4

Exercise 4a)

Consider the rectangle R=[0,2]×[0,6] {R = [0, 2] \times [0, 6]} in the xy-plane. {xy\text{-plane.}} Write T T for the three-dimensional region above the rectangle R R and below the graph of h(x,y)=x2+y {h(x, y) = x^2 + y} (see the picture). Compute the volume of T. T\text{.}
Figure 1: In orange the rectangle R R and in blue the graph of h(x,y). h(x, y)\text{.}
Show solution for exercise 4a
Answer
V=52‾‾ \underline{\underline{V = 52}}
The volume under a surface and above a rectangle is the double integral of the function over the rectangle. We integrate first with respect to \( y \) and then with respect to \( x\text{.} \)
1. Set up the double integral On \( R \) we have \( {h(x, y) = x^2 + y \ge 0}\text{,} \) so the graph lies above \( R\text{.} \) The volume under such a surface is the double integral, as in the video Doble integraler - Eksempel Teori: \[ V = \iint_R h(x, y)\,dA \]
Here \( x \) goes from \( 0 \) to \( 2 \) and \( y \) from \( 0 \) to \( 6\text{:} \) \[ V = \int_0^2 \int_0^6 (\textcolor{blue}{x^2} + \textcolor{red}{y})\,dy\,dx \]
2. Integrate with respect to y When we integrate with respect to \( y \) we treat \( x \) as a constant, as in the video Doble integraler - Eksempel Teori. We integrate term by term: \[ \begin{aligned} \int_0^6 (\textcolor{blue}{x^2} + \textcolor{red}{y})\,dy &= \left[\textcolor{blue}{x^2 y} + \textcolor{red}{\dfrac{y^2}{2}}\right]_0^6 \\ &= \textcolor{blue}{6x^2} + \textcolor{red}{18} \end{aligned} \]
3. Integrate with respect to x Plugging this into the outer integral, we get: \[ \begin{aligned} V &= \int_0^2 (\textcolor{blue}{6x^2} + \textcolor{red}{18})\,dx \\ &= \left[\textcolor{blue}{2x^3} + \textcolor{red}{18x}\right]_0^2 \\ &= 2 \cdot 2^3 + 18 \cdot 2 \\ &= 16 + 36 = 52 \end{aligned} \]

Exercise 4b)

Consider the region
S={(x,y,z): x2+y2≤4,0≤z≤1} \begin{aligned} S = \{(x, y, z) :\ &x^2 + y^2 \le 4, \\ &0 \le z \le 1\} \end{aligned}
Compute the triple integral ∭Sz dV. \iiint_S z\,dV\text{.}
Show solution for exercise 4b
Answer
∭Sz dV=2π‾‾ \underline{\underline{\iiint_S z\,dV = 2\pi}}
\( S \) is a cylinder with radius \( 2 \) and height \( 1\text{.} \) We therefore change to cylindrical coordinates, where all the limits become constants.
1. Draw a sketch We draw a sketch first. The inequality \( {x^2 + y^2 \le 4} \) is a disk with radius \( 2\text{,} \) and \( z \) goes from \( 0 \) to \( 1\text{:} \)
2. Change to cylindrical coordinates In cylindrical coordinates \( {x^2 + y^2 = r^2}\text{,} \) and the volume element is: \[ dV = r\,dz\,dr\,d\theta \]If you are unsure about this, you can watch the video Eksempel - Sylinderkoordinater.
Here the limits become: \[ \begin{aligned} 0 &\le \textcolor{blue}{r} \le 2 \\ 0 &\le \textcolor{red}{\theta} \le 2\pi \\ 0 &\le \textcolor{green}{z} \le 1 \end{aligned} \]
Plugging this in, we get: \[ \begin{aligned} &\iiint_S z\,dV \\ &= \int_{\textcolor{red}{0}}^{\textcolor{red}{2\pi}} \int_{\textcolor{blue}{0}}^{\textcolor{blue}{2}} \int_{\textcolor{green}{0}}^{\textcolor{green}{1}} z \cdot r\,dz\,dr\,d\theta \end{aligned} \]
3. Integrate from the inside out We integrate with respect to \( z \) first. Then \( r \) is a constant: \[ \int_{\textcolor{green}{0}}^{\textcolor{green}{1}} z \cdot r\,dz = \left[\dfrac{z^2}{2}\right]_0^1 \cdot r = \dfrac{r}{2} \]
Then with respect to \( r\text{:} \) \[ \int_{\textcolor{blue}{0}}^{\textcolor{blue}{2}} \dfrac{r}{2}\,dr = \left[\dfrac{r^2}{4}\right]_0^2 = 1 \]
Finally with respect to \( \theta\text{:} \) \[ \int_{\textcolor{red}{0}}^{\textcolor{red}{2\pi}} 1\,d\theta = 2\pi \]

Exercise 5

Consider the circle C C in the plane described by x2+y2=1. {x^2 + y^2 = 1}\text{.}

Exercise 5a)

Derive a unit normal vector n⃗ \vec{n} to the curve C C in terms of the gradient. Choose it in such a way that it is outgoing.
Show solution for exercise 5a
Answer
For a point (x,y) (x, y) on C C the outward unit normal vector is:
n⃗=(x,y)‾‾ \underline{\underline{\vec{n} = (x, y)}}
The circle is a level curve of \( {g(x, y) = x^2 + y^2}\text{,} \) and the gradient is perpendicular to the level curve. We divide the gradient by its length and check that it points outwards.
1. Draw a sketch We draw a sketch first, with a vector that is perpendicular to the circle and points out:
2. Find the gradient The circle is the level curve \( {g(x, y) = 1} \) of the function: \[ g(x, y) = x^2 + y^2 \]
The gradient of \( g \) is perpendicular to the level curve, so it is a normal vector, as in the video Normalvektor. It is: \[ \nabla g = \left(\dfrac{\partial g}{\partial x},\ \dfrac{\partial g}{\partial y}\right) = (\textcolor{blue}{2x},\ \textcolor{red}{2y}) \]
3. Divide by the length As in the video Lengden til en Vektor, the length is the square root of the sum of the squares. On \( C \) we have \( {x^2 + y^2 = 1}\text{,} \) so: \[ \begin{aligned} |\nabla g| &= \sqrt{(\textcolor{blue}{2x})^2 + (\textcolor{red}{2y})^2} \\ &= 2\sqrt{x^2 + y^2} = 2 \end{aligned} \]
We get a unit vector by dividing the vector by its length, as in the video Regn ut linjeintegralet ved å bruke definisjonen: \[ \vec{n} = \dfrac{\nabla g}{|\nabla g|} = \dfrac{(\textcolor{blue}{2x},\ \textcolor{red}{2y})}{2} = (x, y) \]
4. Check the direction \( {\vec{n} = (x, y)} \) is the same vector as the one from the origin to the point \( (x, y)\text{.} \) So it points away from the centre and out of the circle, as in the sketch. At the point \( (1, 0) \) we have, for example: \[ \vec{n} = (1, 0) \]which points out to the right. The other unit normal, \( {-\vec{n}}\text{,} \) points inwards.

Exercise 5b)

Consider also the vector field defined by
F⃗(x,y)=(6x+3cos⁡y,5x−5y+sin⁡x) \begin{aligned} \vec{F}(x, y) = (&6x + 3\cos y, \\ &5x - 5y + \sin x) \end{aligned}
Compute the divergence of F⃗. \vec{F}\text{.}
Show solution for exercise 5b
Answer
∇⋅F⃗=1‾‾ \underline{\underline{\nabla \cdot \vec{F} = 1}}
The divergence is the sum of the partial derivatives of the components, each with respect to its own variable.
1. Write down the divergence The divergence is \( \nabla \) dotted with the field, as in the video Utregning av divergens. For a field \( {\vec{F} = (\textcolor{blue}{P}, \textcolor{red}{Q})} \) in the plane it is: \[ \nabla \cdot \vec{F} = \dfrac{\partial \textcolor{blue}{P}}{\partial x} + \dfrac{\partial \textcolor{red}{Q}}{\partial y} \]
Here: \[ \begin{aligned} \textcolor{blue}{P} &= \textcolor{blue}{6x + 3\cos y} \\ \textcolor{red}{Q} &= \textcolor{red}{5x - 5y + \sin x} \end{aligned} \]
2. Differentiate the components With respect to \( x \) the term \( 3\cos y \) is a constant, and with respect to \( y \) the term \( {5x + \sin x} \) is a constant: \[ \begin{aligned} \dfrac{\partial \textcolor{blue}{P}}{\partial x} &= \underline{6} \\ \dfrac{\partial \textcolor{red}{Q}}{\partial y} &= \underline{-5} \end{aligned} \]
Putting this together, we get: \[ \nabla \cdot \vec{F} = 6 + (-5) = 1 \]

Exercise 5c)

Compute the flux ∫CF⃗⋅n⃗ ds {\int_C \vec{F} \cdot \vec{n}\,ds} with n⃗ \vec{n} as in a). (Hint: use point b)). Can you give a geometrical interpretation of this result?
Show solution for exercise 5c
Answer
The flux out through C C equals the area of the disk that C C encloses:
∫CF⃗⋅n⃗ ds=π‾‾ \underline{\underline{\int_C \vec{F} \cdot \vec{n}\,ds = \pi}}
We use the normal vector from a) and the divergence from b).
\( C \) is a closed curve, and \( \vec{n} \) points outwards. The divergence theorem therefore turns the flux out through \( C \) into a double integral of the divergence over the disk inside.
1. Draw a sketch We draw a sketch first. The circle \( C \) bounds the unit disk \( D\text{,} \) and \( \vec{n} \) points out of it:
2. Write down the divergence theorem The curve is closed, so \( \int_C \) is the same here as \( \oint_C\text{.} \) The divergence theorem in the plane tells us that, when \( \vec{n} \) points out of the region \( D \) that \( C \) bounds, we have: \[ \oint_C \vec{F} \cdot \vec{n}\,ds = \iint_D \textcolor{blue}{\nabla \cdot \vec{F}}\,dA \]If you are unsure about it, you can watch the video Regn ut linjeintegralet ved å bruke divergenssetningen.
In a) we found that \( \vec{n} \) points outwards, and in b) we found: \[ \textcolor{blue}{\nabla \cdot \vec{F} = 1} \]
3. Compute the double integral Plugging this in, the integral becomes the area of \( D\text{,} \) which is a disk with radius \( 1\text{:} \) \[ \begin{aligned} \oint_C \vec{F} \cdot \vec{n}\,ds &= \iint_D \textcolor{blue}{1}\,dA \\ &= \text{the area of } D \\ &= \pi \cdot 1^2 = \pi \end{aligned} \]
4. Interpret the result Positive divergence means that the field flows out from a point, as in the video Hva er divergens. Here the divergence is \( \textcolor{blue}{1} \) everywhere, so each piece of the disk gives as much flux out as its area. The flux out through \( C \) is therefore the area that \( C \) encloses: \[ \oint_C \vec{F} \cdot \vec{n}\,ds = \text{the area of } D = \pi \]

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