DAVE3700 konteeksamen 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.
27. februar 2023
Exercises
5 exercises
Exercise 1
Consider the problem of finding maxima and minima of the function
under the constraint
Exercise 1a)
Write down the Lagrange equations for this problem and solve them.
Show solutionHide solution for exercise 1a
Answer
The Lagrange equations and their solutions are:
We use Lagrange's method. It gives three equations in three unknowns: two from the gradients and one from the constraint.
1. Draw a sketch
We draw a sketch first. The constraint is the circle with center \( (1, 0) \) and radius \( 1\text{:} \)
2. Write down the Lagrange equations
Lagrange's method tells us that:
\[ \nabla f = \lambda \nabla g, \qquad g(x, y) = 0 \]If you are unsure about this one, you can watch the video Lagranges metode.
The gradient consists of the partial derivatives, with respect to \( x \) in blue and with respect to \( y \) in red, as in the video Hva er en gradient?:
\[ \nabla f = \left( \textcolor{blue}{\dfrac{\partial f}{\partial x}}, \textcolor{red}{\dfrac{\partial f}{\partial y}} \right) \]
Here:
\[ \begin{aligned} \nabla f &= (\textcolor{blue}{2x}, \textcolor{red}{2y}) \\ \nabla g &= (\textcolor{blue}{2(x - 1)}, \textcolor{red}{2y}) \end{aligned} \]
Two vectors are equal when their components are equal, as in the video Finn de kritiske punktene til f ved å bruke Lagranges metode. With the constraint as the third equation, we get:
\[ \begin{aligned} \textcolor{blue}{2x} &= \lambda \cdot \textcolor{blue}{2(x - 1)} \\ \textcolor{red}{2y} &= \lambda \cdot \textcolor{red}{2y} \\ (x - 1)^2 + y^2 &= 1 \end{aligned} \]
3. Solve the second equation
We move everything over to the left-hand side and factor out \( \textcolor{darkorange}{2y}\text{:} \)
\[ \begin{aligned} 2y - 2\lambda y &= 0 \\ \textcolor{darkorange}{2y}(1 - \lambda) &= 0 \end{aligned} \]
A product is \( 0 \) only when one of the factors is \( 0\text{.} \) That gives two cases:
\[ y = 0 \quad \text{or} \quad \lambda = 1 \]
4. Check the two cases
Putting \( {\lambda = 1} \) into the first equation gives an equation that never holds:
\[ 2x = 2(x - 1) \;\Rightarrow\; 0 = -2 \]
Putting \( {y = 0} \) into the constraint gives:
\[ \begin{aligned} (x - 1)^2 &= 1 \\ x - 1 &= \pm 1 \\ x &= 0 \quad \text{or} \quad x = 2 \end{aligned} \]
We find \( \lambda \) from the first equation:
\[ \begin{aligned} x = 0: \quad 0 &= \lambda \cdot (-2) \;\Rightarrow\; \lambda = 0 \\ x = 2: \quad 4 &= \lambda \cdot 2 \;\Rightarrow\; \lambda = 2 \end{aligned} \]
Exercise 1b)
Find the largest and smallest values among these solutions. Explain geometrically why they correspond to the global maximum and global minimum.
Show solutionHide solution for exercise 1b
Answer
The distance to the origin is largest at and smallest at so the values are the global maximum and minimum:
We use the solutions from a). Full credit can still be given when an earlier error is carried forward.
We put the solutions into \( f\text{.} \) Then we use the fact that \( f \) is the square of the distance to the origin, and that the constraint is a circle.
1. Compare the values
In a) we found the points \( (0, 0) \) and \( (2, 0)\text{.} \) Lagrange's method gives the points where \( f \) can have a maximum or a minimum along the constraint, as in the video Lagranges metode. 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} \]
2. Consider the distance to the origin
\( f \) is the square of the distance from the origin \( O \) to the point \( {P = (x, y)}\text{:} \)
\[ f(x, y) = x^2 + y^2 = |OP|^2 \]
The constraint is the circle with center \( {M = (1, 0)} \) and radius \( 1\text{,} \) and it passes through \( O\text{:} \)
The dashed circle \( {x^2 + y^2 = 4} \) in the sketch is the level curve where \( {f = 4}\text{.} \) It touches the constraint only at \( (2, 0)\text{.} \)
3. Find the largest and smallest distance
The direct path from \( O \) to a point \( P \) on the circle is never longer than the path via the center \( M\text{:} \)
\[ |OP| \le \textcolor{blue}{|OM|} + \textcolor{red}{|MP|} = \textcolor{blue}{1} + \textcolor{red}{1} = 2 \]
We have equality when \( P \) lies on the line through \( O \) and \( M\text{,} \) on the other side of \( M\text{,} \) that is, at \( (2, 0)\text{.} \) The smallest distance is \( 0\text{,} \) at \( {O = (0, 0)}\text{.} \) For all the points on the circle, this gives:
\[ 0 = f(0, 0) \le f(x, y) \le f(2, 0) = 4 \]
Exercise 2
Consider the motion of an object with some initial velocity falling under gravity. Here this means that we have a constant acceleration
where is the horizontal direction and is the vertical direction.
Exercise 2a)
Find the position of the object at generic time under the initial conditions
This means that it starts at the ground and is shot in the air with initial velocity
Show solutionHide solution for exercise 2a
Answer
The acceleration is the derivative of the velocity, and the velocity is the derivative of the position. So we integrate twice and find the constants from the initial conditions.
1. Draw a sketch
We draw a sketch first. The object starts at \( (2, 0) \) with the initial velocity \( {\vec{v}(0) = (1, 5)}\text{,} \) and the acceleration points straight down:
2. Integrate the acceleration
The relation between position, velocity and acceleration tells us that:
\[ \vec{v}(t) = \vec{r}\,'(t), \qquad \vec{a}(t) = \vec{v}\,'(t) \]If you are unsure about this, you can watch the video Regn ut farten med initialbetingelsene.
We integrate \( \vec{a}(t) \) component by component, each with its own constant. The first components are blue and the second components red:
\[ \begin{aligned} \vec{v}(t) &= \left( \textcolor{blue}{\int 0\,dt}, \textcolor{red}{\int (-1)\,dt} \right) \\ &= (\textcolor{blue}{C_1}, \textcolor{red}{-t + C_2}) \end{aligned} \]
We plug in \( {t = 0} \) and use \( {\vec{v}(0) = (1, 5)}\text{:} \)
\[ \begin{aligned} \vec{v}(0) &= (\textcolor{blue}{C_1}, \textcolor{red}{C_2}) = (\textcolor{blue}{1}, \textcolor{red}{5}) \\ \vec{v}(t) &= (\textcolor{blue}{1}, \textcolor{red}{5 - t}) \end{aligned} \]
3. Integrate the velocity
We integrate the velocity in the same way, as in the video Regn ut posisjonen med initialbetingelsene:
\[ \begin{aligned} \vec{r}(t) &= \left( \textcolor{blue}{\int 1\,dt}, \textcolor{red}{\int (5 - t)\,dt} \right) \\ &= \left( \textcolor{blue}{t + C_3}, \textcolor{red}{5t - \dfrac{1}{2}t^2 + C_4} \right) \end{aligned} \]
We plug in \( {t = 0} \) and use \( {\vec{r}(0) = (2, 0)}\text{:} \)
\[ \begin{aligned} \vec{r}(0) &= (\textcolor{blue}{C_3}, \textcolor{red}{C_4}) = (\textcolor{blue}{2}, \textcolor{red}{0}) \\ \vec{r}(t) &= \left( \textcolor{blue}{t + 2}, \textcolor{red}{5t - \dfrac{1}{2}t^2} \right) \end{aligned} \]
Exercise 2b)
Find the time at which the object falls back to the ground.
Show solutionHide solution for exercise 2b
Answer
We use the position from a). Full credit can still be given when an earlier error is carried forward.
The ground is \( {y = 0}\text{.} \) So we set the second coordinate of \( \vec{r}(t) \) equal to \( 0 \) and solve for \( t\text{.} \)
1. Set the height equal to zero
In a) we found:
\[ \vec{r}(t) = \left( t + 2,\ \textcolor{red}{5t - \dfrac{1}{2}t^2} \right) \]
The height above the ground is the second coordinate, in red. The object is on the ground when the height is \( 0\text{:} \)
\[ \textcolor{red}{5t - \dfrac{1}{2}t^2} = 0 \]
2. Solve the equation
Both terms contain \( t\text{,} \) so we factor out \( \textcolor{darkorange}{t}\text{,} \) as in the video Oppgave 4 - Del 1 - 2P Eksamen Høst 2023:
\[ \textcolor{darkorange}{t}\left( 5 - \dfrac{1}{2}t \right) = 0 \]
A product is \( 0 \) only when one of the factors is \( 0\text{.} \) The factor \( \textcolor{darkorange}{t} \) gives \( {t = 0}\text{,} \) which is the start. The other factor gives:
\[ \begin{aligned} 5 - \dfrac{1}{2}t &= 0 \\ t &= 10 \end{aligned} \]
Exercise 3
- Flere oppgaver om konservative vektorfelt,
- Flere oppgaver om linjeintegraler,
- Flere oppgaver om parameterframstilling
Consider the following two curves:
• is the portion of the line from to
• is the portion of the curve from to
Moreover consider the vector field
Exercise 3a)
Compute the line integral along
Show solutionHide solution for exercise 3a
Answer
\( C_1 \) is a line segment. We parametrize it and put it into the formula for the line integral, so we get an ordinary integral in \( t\text{.} \)
1. Draw a sketch
We draw a sketch first. \( C_1 \) goes straight from \( (0, 0) \) to \( (1, 1)\text{,} \) and \( C_2 \) goes back below the line:
2. Parametrize the curve
Along \( C_1 \) we have \( {y = x}\text{,} \) so we can use \( {x = t} \) and \( {y = t}\text{:} \)
\[ \vec{r}(t) = (t, t), \quad 0 \le t \le 1 \]
3. Set up the line integral
The formula for the line integral tells us that:
\[ \int_C \vec{F} \cdot d\vec{r} = \int_a^b \textcolor{blue}{\vec{F}(\vec{r}(t))} \cdot \textcolor{red}{\vec{r}\,'(t)}\,dt \]If you are unsure about this one, you can watch the video Linjeintegral i vektorfelt & Arbeid.
Here:
\[ \begin{aligned} \textcolor{blue}{\vec{F}(\vec{r}(t))} &= \textcolor{blue}{(2t + t,\ t + 3t^2)} \\ &= \textcolor{blue}{(3t,\ t + 3t^2)} \\ \textcolor{red}{\vec{r}\,'(t)} &= \textcolor{red}{(1, 1)} \end{aligned} \]
4. Compute the integral
Plugging this in, we get:
\[ \begin{aligned} &\int_{C_1} \vec{F} \cdot d\vec{r} \\ &= \int_0^1 \textcolor{blue}{(3t,\ t + 3t^2)} \cdot \textcolor{red}{(1, 1)}\,dt \\ &= \int_0^1 (3t + t + 3t^2)\,dt \\ &= \Big[ 2t^2 + t^3 \Big]_0^1 = 2 + 1 = 3 \end{aligned} \]
Exercise 3b)
Compute the line integral along (Hint: consider the curve and check if is conservative).
Show solutionHide solution for exercise 3b
Answer
is conservative, so the integral along is the negative of the integral along
We use the answer from a). Full credit can still be given when an earlier error is carried forward.
We first check whether \( \vec{F} \) is conservative. If it is, the line integral around the closed curve \( {C = C_1 \cup C_2} \) is equal to \( 0\text{.} \)
1. Draw a sketch
We draw a sketch first. Together, \( C_1 \) and \( C_2 \) form the closed curve \( C\text{,} \) which starts and ends at the origin:
2. Check whether the field is conservative
A vector field that is defined in the whole plane is conservative when its curl is zero, as in the video Hva er et konservativt vektorfelt:
\[ \nabla \times \vec{F} = \vec{0} \]
For \( {\vec{F} = (\textcolor{blue}{P}, \textcolor{red}{Q})} \) we write \( 0 \) as the third component, as in the video Finn ut om vektorfeltet er konservativt. Then the curl is:
\[ \nabla \times \vec{F} = \left( 0, 0, \dfrac{\partial \textcolor{red}{Q}}{\partial x} - \dfrac{\partial \textcolor{blue}{P}}{\partial y} \right) \]
Here:
\[ \begin{aligned} \textcolor{blue}{P} &= \textcolor{blue}{2x + y} & \dfrac{\partial \textcolor{blue}{P}}{\partial y} &= 1 \\ \textcolor{red}{Q} &= \textcolor{red}{x + 3y^2} & \dfrac{\partial \textcolor{red}{Q}}{\partial x} &= 1 \end{aligned} \]
Plugging this in, we get:
\[ \nabla \times \vec{F} = (0, 0, 1 - 1) = \vec{0} \]The curl is zero, and \( \vec{F} \) is defined in the whole plane, so \( \vec{F} \) is conservative.
3. Use the closed curve
In a conservative field, the line integral around a closed curve is equal to \( 0\text{,} \) as in the video Hva er et konservativt vektorfelt:
\[ \oint_C \vec{F} \cdot d\vec{r} = 0 \]
In a) we found that the integral along \( C_1 \) is \( \textcolor{green}{3}\text{.} \) This gives us:
\[ \begin{aligned} \oint_C \vec{F} \cdot d\vec{r} &= \textcolor{green}{\int_{C_1} \vec{F} \cdot d\vec{r}} + \int_{C_2} \vec{F} \cdot d\vec{r} \\ 0 &= \textcolor{green}{3} + \int_{C_2} \vec{F} \cdot d\vec{r} \end{aligned} \]
Solving for the integral along \( C_2\text{,} \) we get:
\[ \int_{C_2} \vec{F} \cdot d\vec{r} = -3 \]
Kontroll: \( {\varphi = x^2 + xy + y^3} \) has \( {\nabla \varphi = \vec{F}}\text{,} \) and \( C_2 \) goes from \( (1, 1) \) to \( (0, 0)\text{,} \) so the integral is \( {\varphi(0, 0) - \varphi(1, 1) = -3}\text{.} \)
Exercise 4
Exercise 4a)
Consider the two-dimensional region
Compute the double integral
Show solutionHide solution for exercise 4a
Answer
The limits for \( y \) depend on \( x\text{,} \) while \( x \) goes from \( 0 \) to \( 1\text{.} \) So we integrate first with respect to \( y \) and then with respect to \( x\text{.} \)
1. Draw a sketch
We draw a sketch first. \( R \) lies between the \( {x\text{-axis}} \) and the curve \( {y = x^{1/3}}\text{,} \) from \( {x = 0} \) to \( {x = 1}\text{:} \)
2. Set up the integral
For each \( x \) the variable \( y \) goes from \( \textcolor{blue}{0} \) up to \( \textcolor{blue}{x^{1/3}}\text{,} \) and \( x \) goes from \( \textcolor{red}{0} \) to \( \textcolor{red}{1}\text{.} \) We set up the limits as in the video Hvordan sette opp integral:
\[ \begin{aligned} &\iint_R \dfrac{1}{3}x^{-2/3}\,dA \\ &= \int_{\textcolor{red}{0}}^{\textcolor{red}{1}} \int_{\textcolor{blue}{0}}^{\textcolor{blue}{x^{1/3}}} \dfrac{1}{3}x^{-2/3}\,dy\,dx \end{aligned} \]
3. Compute the inner integral
We take the inner integral first, as in the video Løse 2 doble integraler. Since we integrate with respect to \( y\text{,} \) \( x \) is a constant:
\[ \begin{aligned} \int_{\textcolor{blue}{0}}^{\textcolor{blue}{x^{1/3}}} \dfrac{1}{3}x^{-2/3}\,dy &= \dfrac{1}{3}x^{-2/3} \Big[ y \Big]_{\textcolor{blue}{0}}^{\textcolor{blue}{x^{1/3}}} \\ &= \dfrac{1}{3}x^{-2/3} \cdot x^{1/3} \\ &= \dfrac{1}{3}x^{-1/3} \end{aligned} \]
4. Compute the outer integral
For \( {n \neq -1} \) the power rule tells us that:
\[ \int x^n\,dx = \dfrac{x^{n + 1}}{n + 1} + C \]
Here \( {n = -\dfrac{1}{3}}\text{,} \) so \( {n + 1 = \dfrac{2}{3}}\text{:} \)
\[ \begin{aligned} \int_{\textcolor{red}{0}}^{\textcolor{red}{1}} \dfrac{1}{3}x^{-1/3}\,dx &= \dfrac{1}{3} \left[ \dfrac{3}{2}x^{2/3} \right]_{\textcolor{red}{0}}^{\textcolor{red}{1}} \\ &= \dfrac{1}{2}\left( 1 - 0 \right) \\ &= \dfrac{1}{2} \end{aligned} \]
The integrand is not bounded near \( {x = 0}\text{,} \) but \( x^{2/3} \to 0 \) as \( x \to 0\text{,} \) so the lower limit gives \( 0\text{.} \)
Exercise 4b)
Consider the -coordinates defined by
Let be the triangle in -coordinates with vertices
Explain, using the change of variable formula for double integrals, why the integral from point a) is equal to the area of the triangle
Show solutionHide solution for exercise 4b
Answer
maps to the triangle below the line the mirror image of and the integrand times is
Even if you didn't get a), you can solve this one: the integral and the region \( R \) are given in a).
We rewrite the integral from a) in \( u \) and \( v \) with the change of variable formula. An integral of \( 1 \) over a region is the area of the region.
1. Draw a sketch
We draw a sketch first. The triangle \( S \) lies in the \( {uv\text{-plane,}} \) above the line \( {v = u}\text{:} \)
2. State the change of variable formula
The change of variable formula tells us that:
\[ \begin{aligned} &\iint_R f(x, y)\,dA \\ &= \iint_T f\big(x(u, v), y(u, v)\big)\,\textcolor{blue}{|J|}\,du\,dv \end{aligned} \]where \( T \) is the region in the \( {uv\text{-plane}} \) that corresponds to \( R\text{.} \) If you are unsure about this one, you can watch the video Hvor kommer r fra?
The Jacobian determinant \( \textcolor{blue}{J} \) is the determinant of the partial derivatives of \( x \) and \( y\text{:} \)
\[ \textcolor{blue}{J} = \begin{vmatrix} \dfrac{\partial x}{\partial u} & \dfrac{\partial x}{\partial v} \\ \dfrac{\partial y}{\partial u} & \dfrac{\partial y}{\partial v} \end{vmatrix} = \begin{vmatrix} 3u^2 & 0 \\ 0 & 1 \end{vmatrix} = \textcolor{blue}{3u^2} \]Since \( {3u^2 \ge 0}\text{,} \) we have \( {\textcolor{blue}{|J|} = \textcolor{blue}{3u^2}}\text{.} \)
3. Find the region in the uv-plane
Since \( {x = u^3}\text{,} \) we have \( {u = x^{1/3}}\text{.} \) The limits of \( R \) become:
\[ \begin{aligned} 0 \le x \le 1 \quad &\Leftrightarrow \quad 0 \le u \le 1 \\ 0 \le y \le x^{1/3} \quad &\Leftrightarrow \quad 0 \le v \le u \end{aligned} \]That is the triangle \( T \) with vertices \( (0, 0)\text{,} \) \( (1, 0) \) and \( (1, 1)\text{,} \) the dashed half below the line \( {v = u} \) in the sketch.
Merk – Interpretation: The triangle \( S \) in the problem has the vertex \( (0, 1) \) where \( T \) has \( (1, 0)\text{.} \) The change of variables turns \( R \) into \( T\text{,} \) not into \( S\text{.} \) But \( S \) is the mirror image of \( T \) in the line \( {v = u}\text{,} \) so they have the same area, and the explanation holds.
4. Substitute into the formula
The integrand in terms of \( u \) becomes:
\[ \dfrac{1}{3}x^{-2/3} = \dfrac{1}{3}\left( u^3 \right)^{-2/3} = \dfrac{1}{3}u^{-2} \]
Plugging this and \( {\textcolor{blue}{|J|} = \textcolor{blue}{3u^2}} \) in, we get:
\[ \begin{aligned} &\iint_R \dfrac{1}{3}x^{-2/3}\,dA \\ &= \iint_T \dfrac{1}{3}u^{-2} \cdot \textcolor{blue}{3u^2}\,du\,dv \\ &= \iint_T 1\,du\,dv \end{aligned} \]
An integral of \( 1 \) over \( T \) is the area of \( T\text{,} \) as in the video Ekstra kunnskap. Both triangles are right-angled with legs of length \( 1\text{:} \)
\[ \text{area of } T = \dfrac{1 \cdot 1}{2} = \text{area of } S \]That agrees with the answer \( \dfrac{1}{2} \) in a).
Exercise 5
- Flere oppgaver om divergensteoremet,
- Flere oppgaver om fluks,
- Flere oppgaver om plan,
- Flere oppgaver om vektorer
Consider the three-dimensional vector field
Exercise 5a)
Determine a unit normal vector to the plane
Show solutionHide solution for exercise 5a
Answer
The plane has two unit normal vectors, and the one pointing downward is:
We write the plane as \( {g(x, y, z) = 0} \) and find a normal vector as the gradient of \( g\text{.} \) Then we divide it by its length.
1. Draw a sketch
We draw a sketch first. Here is the part of the plane above the square \( {0 \le x \le 1}\text{,} \) \( {0 \le y \le 1}\text{:} \)
2. Find a normal vector
We move \( z \) over and call the expression \( g\text{,} \) as in the video Normalvektor:
\[ g(x, y, z) = x + 2y - z = 0 \]
The gradient of \( g \) is perpendicular to the plane. It consists of the partial derivatives, with respect to \( x \) in blue, \( y \) in red and \( z \) in green:
\[ \begin{aligned} \vec{n} = \nabla g &= \left( \textcolor{blue}{\dfrac{\partial g}{\partial x}}, \textcolor{red}{\dfrac{\partial g}{\partial y}}, \textcolor{green}{\dfrac{\partial g}{\partial z}} \right) \\ &= (\textcolor{blue}{1}, \textcolor{red}{2}, \textcolor{green}{-1}) \end{aligned} \]
3. Divide by the length
We get a unit vector by dividing the vector by its length, as in the video Regn ut linjeintegralet ved å bruke definisjonen:
\[ \hat{n} = \dfrac{\vec{n}}{|\vec{n}|} \]
The length is:
\[ |\vec{n}| = \sqrt{\textcolor{blue}{1}^2 + \textcolor{red}{2}^2 + (\textcolor{green}{-1})^2} = \sqrt{6} \]
This gives us:
\[ \hat{n} = \dfrac{1}{\sqrt{6}}(\textcolor{blue}{1}, \textcolor{red}{2}, \textcolor{green}{-1}) \]This one points downward, since the \( {z\text{-component}} \) is negative. The vector \( {-\hat{n}} \) points upward and is also a unit normal vector.
Exercise 5b)
Compute the flux of across the portion of the plane described by
Use the unit normal vector from a).
Show solutionHide solution for exercise 5b
Answer
With from a), which points downward, and with instead, the flux is:
We use the unit normal vector from a). Full credit can still be given when an earlier error is carried forward.
The flux is the surface integral of \( {\vec{F} \cdot \hat{n}}\text{.} \) The surface lies above the unit square, so we write \( dS \) in terms of \( dA \) and compute a double integral over the square.
1. Draw a sketch
We draw a sketch first. The surface is the part of the plane above the square \( {0 \le x \le 1}\text{,} \) \( {0 \le y \le 1}\text{:} \)
2. Write down the flux
The formula for flux tells us that:
\[ \Phi = \iint_S \vec{F} \cdot \hat{n}\,dS \]If you are unsure about this one, you can watch the video Fluks gjennom ÅPEN FLATE.
In a) we found:
\[ \hat{n} = \dfrac{1}{\sqrt{6}}(\textcolor{blue}{1}, \textcolor{red}{2}, \textcolor{green}{-1}) \]
3. Compute the integrand
\( \vec{F} \) does not contain \( z\text{,} \) so we don't need to substitute \( {z = x + 2y}\text{.} \) We take the dot product component by component:
\[ \begin{aligned} \vec{F} \cdot \hat{n} &= \dfrac{\textcolor{blue}{x \cdot 1} + \textcolor{red}{(-y) \cdot 2} + \textcolor{green}{x^2 \cdot (-1)}}{\textcolor{darkorange}{\sqrt{6}}} \\ &= \dfrac{x - 2y - x^2}{\textcolor{darkorange}{\sqrt{6}}} \end{aligned} \]
For a surface \( {g(x, y, z) = f(x, y) - z = 0} \) the surface element has the partial derivatives of \( g \) under the square root:
\[ dS = \sqrt{g_x^2 + g_y^2 + g_z^2}\,dA \]If you are unsure about this one, you can watch the video Fluks gjennom ÅPEN FLATE.
With \( {g = x + 2y - z} \) from a), the partial derivatives are \( \textcolor{blue}{1}\text{,} \) \( \textcolor{red}{2} \) and \( {\textcolor{green}{-1}}\text{:} \)
\[ \begin{aligned} dS &= \sqrt{\textcolor{blue}{1}^2 + \textcolor{red}{2}^2 + (\textcolor{green}{-1})^2}\,dA \\ &= \textcolor{darkorange}{\sqrt{6}}\,dA \end{aligned} \]
4. Compute the double integral
Plugging this in, we can cancel \( \textcolor{darkorange}{\sqrt{6}}\text{:} \)
\[ \begin{aligned} \Phi &= \iint_D \dfrac{x - 2y - x^2}{\textcolor{darkorange}{\sqrt{6}}} \cdot \textcolor{darkorange}{\sqrt{6}}\,dA \\ &= \int_0^1 \int_0^1 (x - 2y - x^2)\,dx\,dy \end{aligned} \]where \( D \) is the square \( {0 \le x \le 1}\text{,} \) \( {0 \le y \le 1}\text{.} \)
We take the inner integral first:
\[ \begin{aligned} &\int_0^1 (x - 2y - x^2)\,dx \\ &= \left[ \dfrac{x^2}{2} - 2yx - \dfrac{x^3}{3} \right]_0^1 \\ &= \dfrac{1}{2} - 2y - \dfrac{1}{3} = \dfrac{1}{6} - 2y \end{aligned} \]
Then the outer one:
\[ \begin{aligned} \Phi &= \int_0^1 \left( \dfrac{1}{6} - 2y \right)dy \\ &= \left[ \dfrac{y}{6} - y^2 \right]_0^1 = \dfrac{1}{6} - 1 = -\dfrac{5}{6} \end{aligned} \]The sign follows the normal: with \( {-\hat{n}}\text{,} \) which points upward, the integrand changes sign, and the flux is \( \dfrac{5}{6}\text{.} \)
Exercise 5c)
Compute the flux of across the surface of the region
which corresponds to a cube of edge length
Show solutionHide solution for exercise 5c
Answer
The divergence of is so the flux out of the cube is:
The surface \( S \) is closed. So we use the divergence theorem, and we don't have to compute the flux through each of the six faces.
1. Draw a sketch
We draw a sketch first. \( C \) is the cube with edge length \( 1\text{,} \) and \( S \) consists of its six faces. The normal vector points out of the cube:
2. Use the divergence theorem
The divergence theorem tells us that the flux out of a closed surface is:
\[ \iint_S \vec{F} \cdot \hat{n}\,dS = \iiint_C \nabla \cdot \vec{F}\,dV \]If you are unsure about this, you can watch the video Fluks gjennom LUKKET FLATE.
3. Compute the divergence
The divergence is the sum of the partial derivatives, each component differentiated with respect to its own variable, as in the video Utregning av divergens:
\[ \nabla \cdot \vec{F} = \textcolor{blue}{\dfrac{\partial F_1}{\partial x}} + \textcolor{red}{\dfrac{\partial F_2}{\partial y}} + \textcolor{green}{\dfrac{\partial F_3}{\partial z}} \]
Here:
\[ \textcolor{blue}{F_1 = x}, \quad \textcolor{red}{F_2 = -y}, \quad \textcolor{green}{F_3 = x^2} \]
Plugging this in, we get:
\[ \nabla \cdot \vec{F} = \textcolor{blue}{1} + \textcolor{red}{(-1)} + \textcolor{green}{0} = 0 \]\( x^2 \) does not contain \( z\text{,} \) so the derivative with respect to \( z \) is \( 0\text{.} \) This gives us:
\[ \iint_S \vec{F} \cdot \hat{n}\,dS = \iiint_C 0\,dV = 0 \]
Ferdig med settet? Se de andre settene i Matte 3000, eller repeter temaene på fagsiden.