Week 7: Preparation#
Reading Material#
Reading: Chapter 6 through Section 6.3
Python: Demo 7
Key Concepts#
Long Day will cover:
The Riemann integral: the definite integral
Limits
Subdivisioning and mid-sums
The fundamental theorem of calculus
Antiderivatives: the indefinite integral
Short Day will cover:
Integration by parts
Integration by substitution
Riemann integration of functions of two variables
Preparatory Exercises#
I: Antiderivatives for Memorization#
For which of the following functions can you immediately provide an antiderivative?
\(x^n, n \in \mathbb{N}\)
\(\frac{1}{x}\)
\(\ln(x)\)
\(\frac{1}{1+x^2}\)
\(\cos(x)\)
\(\sin(x)\)
\(\exp(x)\)
Where you had to give up, find an antiderivative using SymPy’s integrate and please store the result in your long-term memory.
II: Riemann Sum for \(x^2\)#
Consider a function \(f: [0,1] \to \mathbb{R}\) given by
Compute the Riemann sum of \(f\) over \([0,1]\) with 4 same-sized subintervals using the right end-points in each subinterval. Then, compare the result with the exact value of the integral, which can be found using the antiderivative.
Answer
The Riemann sum gives
The exact value found using the antiderivative is \(1/3\).
III: Parametrization of a Disc Boundary#
Let
be a circular disc in the plane centred at \((0,0)\) with a radius of \(\sqrt{2}\). Provide a parameterization of its boundary \(\partial B\).
Answer
There are infinitely many ways to parameterize the boundary. Here is a reasonable choice using polar coordinates:
Here is a less reasonable parameterization:
\(\pmb{r}_1(x) = (x, \sqrt{2-x^2})\) for \(x \in [-\sqrt{2}, \sqrt{2}]\) which must be combined with \(\pmb{r}_2(x) = (x, -\sqrt{2-x^2})\) for \(x \in ]-\sqrt{2}, \sqrt{2}[\).