Week 9: Preparation#
Reading Material#
Reading: Chapter 7
Python: Demo 9, the sections on curve and surface integrals, Demo 10, and Demo 11. Note that the last half of demo 11 covers material outside of the syllabus.
Key Concepts#
Long Day will cover:
Parametrizations of curves and surfaces in \(\mathbb{R}^n\)
Normal vector of a surface
Line integral and surface integral
The general Jacobian “function”
Vector fields and gradient vector fields
Flow curves
Tangental line integral: Integration along a curve
Short Day will cover:
The antiderivative problem in \(\mathbb{R}^n\)
Circulation
Orientation of parametrized curves and surfaces
Flux
Note
At DTU (but not much elsewhere), the line integral of a vector field along a curve is often called the tangential line integral.
Preparatory Exercises#
I: Parametric Representation and Curve Length of a Circle#
Let \(\mathcal{C}\) denote a circle in \(\mathbb{R}^2\) given by the equation
Question a#
State the center and radius of \(\mathcal{C}\).
Answer
The center is \((1,0)\) and the radius is \(2\).
Question b#
Choose a parametric representation \(\pmb{r}(t)\) for \(\mathcal{C}\) with \(t \in [0, 2\pi]\).
Answer
A natural parametric representation of this shape is:
Question c#
We know that its curve length is \(2\pi r\), so \(4 \pi\), as this is the well-known circumference formula for a circle. We here want to rediscover this value using the general formula for curve length. First, determine the Jacobian function, meaning the norm of \(\pmb{r}'(t)\), and calculate the curve length of \(\mathcal{C}\) using a fitting formula from the textbook.
Answer
Calculate the derivative:
The norm is
The curve length \(L\) is then
II: Line Integral of Scalar Function#
Let \(f(x,y)=x^2+y^2\), and let \(\mathcal{C}\) be the same circle as in exercise I: Parametric Representation and Curve Length of a Circle with the parametric representation
Question a#
Find the expression for \(f(\pmb{r}(t))\).
Answer
Substitute in the parametric representation:
Expand and simplify, first the first term:
and then the second term:
Hence we have:
which simplifies, since \(4\cos^2(t)+4\sin^2(t)=4\), to:
Question b#
Calculate the line integral
Answer
The line integral becomes:
Since \(\Vert \pmb{r}'(t)\Vert = 2\), we get:
We carry out the integration:
III: Determination of a Gradient Field#
Consider the vector field \(\pmb{V}: \mathbb{R}^2 \to \mathbb{R}^2\), \(\pmb{V}(x,y)=(2xy,\,x^2)\).
Question a#
Can you guess a function \(f: \mathbb{R}^2 \to \mathbb{R}\) such that \(\nabla f = \pmb{V}\)?
Question b#
Maybe you cannot easily guess whether an \(f\) exists such that \(\nabla f = \pmb{V}\). So, first, find a way to investigate whether \(\pmb{V}\) is a gradient field. Then, if it is, find an antiderivative \(f(x,y)\), such that \(\nabla f = \pmb{V}\).
Answer
For \(\pmb{V}\) to be a gradient field, it must hold that
Here we have
and
Since these are equal, then \(\pmb{V}\) is a gradient field.
To find an antiderivative \(f(x,y)\), we integrate the first component with respect to \(x\):
where \(g(y)\) is a function of \(y\) only.
We then differentiate \(f(x,y)\) with respect to \(y\):
But we need \(\frac{\partial f}{\partial y}= x^2\) (corresponding to \(V_2\)), which implies that \(g'(y)=0\). Hence, \(g(y)=C\) for any constant \(C\).
So, any antiderivative is:
and we can for example choose \(C=0\) to get the rather simple antiderivative: \(f(x,y)= x^2y\).