Académique Documents
Professionnel Documents
Culture Documents
Functions
Laurenz Wiskott
Institut fur Neuroinformatik
Ruhr-Universitat Bochum, Germany, EU
2 February 2017
Contents
2.1 Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2017 Laurenz Wiskott (homepage https://www.ini.rub.de/PEOPLE/wiskott/). This work (except for all figures from
other sources, if present) is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view
a copy of this license, visit http://creativecommons.org/licenses/by-sa/4.0/. Figures from other sources have their own
copyright, which is generally indicated. Do not distribute parts of these lecture notes showing figures with non-free copyrights
(here usually figures I have the rights to publish but you dont, like my own published figures).
Several of my exercises (not necessarily on this topic) were inspired by papers and textbooks by other authors. Unfortunately,
I did not document that well, because initially I did not intend to make the exercises publicly available, and now I cannot trace
it back anymore. So I cannot give as much credit as I would like to. The concrete versions of the exercises are certainly my
own work, though.
These exercises complement my corresponding lecture notes available at https://www.ini.rub.de/PEOPLE/wiskott/
Teaching/Material/, where you can also find other teaching material such as programming exercises. The table of contents of
the lecture notes is reproduced here to give an orientation when the exercises can be reasonably solved. For best learning effect
I recommend to first seriously try to solve the exercises yourself before looking into the solutions.
1
2.1.1 Set of curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1 Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5 Differential operators 8
5.2 Gradient . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
5.3 Divergence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2
1 Scalar functions in one variable
Construct the following functions step by step, for each intermediate step write down an equation and sketch
the graph.
Construct and draw the following functions by stepwise transformation of the underlying elementary function.
Illustrate each step.
Construct and draw the following functions by stepwise transformation of the underlying elementary function.
Illustrate each step.
(a) e2(x3) + 7
x3
(b) x3 +1
3
1.2 Combination of functions
Discuss the following functions intuitively, like in the lecture, and sketch them.
x2
(a) f (x) = cos (x) + 20 (sum of functions)
2
(b) g(x) = x sin(x) (product of functions)
Discuss the following functions intuitively, like in the lecture, and sketch them.
(a) ln(x2 )
(b) esin x
(c) sin(1/x)
Discuss the following functions intuitively, like in the lecture, and sketch them.
2
+2)2
(a) e(x
(b) ln(x)2
4
1.4 Logarithmic plots
2.1 Visualization
1. Compress the function by a factor 1/2 in the x-direction and stretch it by a factor 3 in the y-direction.
2. Shift the function horizontally 3 units to the left in x-direction and 1 unit up in y-direction.
3. Shift the function vertically 2 units down in z-direction.
For each step write a corresponding equation and sketch the final result if you combine all three steps.
Write a corresponding equation for each step and sketch the final result. Use matrix notation as far as
possible.
5
1. Write the function in matrix notation like
f0 (x) = c + f T x + xT Hx , (2)
f1 (x) := xT Vx := b + f0 (x a) (3)
becomes diagonal.
3.1 Visualization
Sketch the trajectories of the following functions without using a computer or pocket calculator.
Sketch the trajectories of the following functions without using a computer or pocket calculator.
6
3.1.6 Exercise: Analytical expressions for given trajectories
Invent functions f (t) = (x(t), y(t)) that generate trajectory plots like those below.
10
-5
-10
-10 -5 0 5 10
CC BY-SA 4.0
4.1.3 Exercise: Analytic expression for a given vector field
7
1
0.5
y
-0.5
-1
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
x
CC BY-SA 4.0
5 Differential operators
5.2 Gradient
2. Sketch the function with a contour plot and draw the gradient field, both without the help of a
calculator.
Calculate the gradient of the function f (x, y) = xy 12 y 2 . Sketch the gradient field and the level lines.
5.3 Divergence