Top Banner
© Stefano Stramigioli II Geoplex-EURON Summer School II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005 Mathematical Background Mathematical Background (1h) (1h)
45

© Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Mathematical BackgroundMathematical Background(1h)(1h)

Page 2: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 2

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Goal

To give a basic and INTUITIVE background of the tools which will be used for the school and the understanding of basic concepts of physics and robotics.

Page 3: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 3

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

General Remarks

• Stop me at ANY time if something is not clear!!

• The treatment will NOT be mathematically precise but yields to convey intuition

• Hopefully you will appreciate concepts which are very often discarded in basic courses, but that they are ESSENTIAL in engineering sciences (i.e.tensors).

Page 4: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 4

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

• More meant as a reference, do not concentrate on the details!!!

• Most of the material is not ALL essential for understanding, but it usually HELPs in focusing the robotics concepts and understand them deeply

Page 5: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 5

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Contents

• Vectors and Co-Vectors• Higher Order Tensors

•Linear maps, Quadratic Forms..• Intuition of Differential Geometric Concepts

• manifolds, (co-)tangent spaces • Groups• Lie-Groups

Page 6: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Vectors and Co-vectorsVectors and Co-vectors

Page 7: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 7

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Vector Space (finite dimensional)

• A real vector space is characterized by– An origin– Elements can be scaled by any

real number and still belong to the vector space:

– You can take a linear combination of elements and get again an element in the vector space

Page 8: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 8

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

From a Vector Space to

Change of Change of basebase

basebase11

basebase22

Page 9: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 9

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Co-vectors

Consider the set of LINEAR operators:

Once a base has been chosen, it can Once a base has been chosen, it can be seen that numerically they are be seen that numerically they are represented by an n-dim row vector:represented by an n-dim row vector:

==

Page 10: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 10

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Changing coordinates

Te vector space of this linear Te vector space of this linear operators, called dual space is operators, called dual space is indicated with .indicated with .Consider the velocity of a point Consider the velocity of a point mass as an element of a 3D vector mass as an element of a 3D vector spacespace

A force applied to this mass will A force applied to this mass will transfer power to the mass. transfer power to the mass. The The value of power is a scalar value of power is a scalar INDEPENDENT of the coordinate INDEPENDENT of the coordinate choice.choice.

Page 11: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 11

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Changing coordinates

Coord 1Coord 1 Coord 2Coord 2

Consider the change of base such Consider the change of base such thatthat

Different!Different!!!

Page 12: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 12

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Co-vectors

•Co-vectors are also represented by Co-vectors are also represented by numerical arrays once a base is chosen, numerical arrays once a base is chosen, but they are different than vectors since but they are different than vectors since they transform diferently !!they transform diferently !!

•A A velocityvelocity is a is a vectorvector

•A A forceforce is a is a co-vectorco-vector NOT a vector !! NOT a vector !!

•A force is a linear operator from A force is a linear operator from velocity to powervelocity to power

Page 13: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 13

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Examples

• Vectors– Velocities– Twists

• Co-vectors– Forces– Wrenches

Page 14: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

TensorsTensors

Page 15: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 15

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Tensors

A tensor of typeis defined as a multi-linear operator of

the following form:

VectoVectorr

Co-vectorCo-vector

Order 1(=p+q) tensors areOrder 1(=p+q) tensors are

Page 16: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 16

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Matrices and 2nd order tensors

What does a matrix represent ? 4 options:

- Map (linear map)- Map (quadratic form)- Map (linear map on dual

space)- Map (quadratic form on d.s.)

Page 17: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 17

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Linear Map

We are used to think of a linear map We are used to think of a linear map asas

But can be seen as a l.m. mapBut can be seen as a l.m. map

Page 18: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 18

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Linear Map

Change of coord of vectorsChange of coord of vectors

Page 19: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 19

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Quadratic Form (i.e. Kinetic energy)

Change of coord of vectorsChange of coord of vectors

Page 20: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 20

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Makes sense to take eigen-values of a matrix ?

vectovectorr

vectovectorr

Linear operator!!Linear operator!!

If A had been a quadratic form like an If A had been a quadratic form like an inertia matrix, it would not mean inertia matrix, it would not mean anything to take eigenvalues: other anything to take eigenvalues: other coordinates would give different coordinates would give different values!!values!!

Page 21: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 21

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Conclusions

• Vectors transform differently than co-vectors changing coordinates

• Linear maps transform differently than quadratic forms changing coordinates

• Always think about the kind of objects you are working with (Einstein notation !!)

• Be aware of nonsense like eigenvalues of an inertia matrix!

Page 22: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 22

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Examples

• (1 1) Tensors– Mechanisms transformation matrix

• (0 2) Tensors– Inertia matrices, Inertial elipsoids,

point mass, stiffness matrices at equilibrium, symplectic structure, any metric (!!)

• (2 0) Tensors– Poisson structure

Page 23: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 23

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Remarks

• Frames are an artifact: physics is not based on coordinates

• Be aware of `user metric choices’ !!– Manipulability index– Pseudo-inverses– Hybrid Position-Force Control

•No metric in se(3) !!

….

Page 24: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 24

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Pure Contra-variant tensors: Type (0 q)

Page 25: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 25

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Skew Symmetric Tensor

Since all arguments of this linear function Since all arguments of this linear function now are the same, we can ask wethear now are the same, we can ask wethear commuting them gives the same or commuting them gives the same or different value:different value:

=?=?

Page 26: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 26

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Skew Symmetric tensor

IfIf

We call the tensor We call the tensor skew-symmetric of skew-symmetric of q-formq-form

Page 27: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 27

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Example

• q=2: Skew-simmetric matrix q=3: Skew-simmetric “cube” …..

Page 28: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 28

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Volume

• A skew-symmetric (0 q) tensor is used to measure the volume of the q-dim parallelepiped scanned by its arguments:

++

Volume!Volume!

Page 29: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 29

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Example in 2D

++

Page 30: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

ManifoldsManifolds

Page 31: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 31

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Manifold

Diff. Diff. on on intersintersectionection

Page 32: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 32

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Tangent Spaces

Page 33: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 33

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Co-Tangent spaces

The vector space of co-vectors at The vector space of co-vectors at each configuration is indicated each configuration is indicated withwith

Page 34: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 34

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Examples

• Configuration space of a manipulator• Relative configurations of bodies• Line segment• Earth surface• Space• …

Page 35: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

GroupsGroups

Page 36: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 36

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Group

A group is a set and an operation A group is a set and an operation for whichfor which

AssociativityAssociativity

•IdentityIdentity

•Inverse Inverse

Page 37: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 37

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Examples

• Set of nonsingular matrices with matrix product operation

• Flow of a differential equation• Object motions• Quaternions• …

Page 38: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Lie GroupsLie Groups

Page 39: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 39

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

What is a Lie-Group

• A Lie group is a ``manifold group’’– It is smooth– It is a group

• The tangent space in the identity is an algebra (has a skew symmetric operation) called Lie algebra

Page 40: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 40

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Lie Group

Lie AlgebraLie Algebra

Lie GroupLie Group

Page 41: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 41

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Lie Groups

Common Space thanks Common Space thanks to Lie group structureto Lie group structure

Page 42: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 42

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Examples

• Space of Rotation matrices• Space of Homogeneous matrices• Space of “Abstract” rotations• Space of “Abstract” motions• Unit Quaternions• …

Page 43: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

© Stefano Stramigioli

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Intuition of Differential Intuition of Differential FormsForms

Page 44: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 44

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Tensor Fields

• Given a n-dimensional manifold, we can associate to each point:– A value in R (function on a manifold)– A vector in its tangent space (vector

field)– A covector in its co-tangent space

(co-vector field)– A n-form– …

Page 45: © Stefano Stramigioli II Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Mathematical Background (1h)

04/18/23 II EURON/Geoplex Summer School 45

II Geoplex-EURON Summer SchoolII Geoplex-EURON Summer School Bertinoro, (I) 18-22 July 2005 Bertinoro, (I) 18-22 July 2005

Integration on manifold

• If we have a smooth n-form on a n-dim manifold, we can integrate it on the manifold after having created infinitesimal parallelograms!