ME751 Advanced Computational Multibody Dynamics Introduction January 21, 2010 Dan Negrut University of Wisconsin, Madison © Dan Negrut, 2010 ME751, UW-Madison.

Slides:



Advertisements
Similar presentations
5.1 Real Vector Spaces.
Advertisements

ME751 Advanced Computational Multibody Dynamics Section 9.2 February 2, 2010 © Dan Negrut, 2010 ME751, UW-Madison “My own business always bores me to death;
ME751 Advanced Computational Multibody Dynamics Section 9.2 February 9, 2010 © Dan Negrut, 2010 ME751, UW-Madison “In England, if you commit a crime, the.
1.5 Elementary Matrices and a Method for Finding
Dan Witzner Hansen  Groups?  Improvements – what is missing?
Matrix Operations. Matrix Notation Example Equality of Matrices.
Matrices and Systems of Equations
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
CSci 6971: Image Registration Lecture 2: Vectors and Matrices January 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel. and Acc. of a Point fixed in a Ref Frame – 2.6 Absolute vs.
ME451 Kinematics and Dynamics of Machine Systems Review of Matrix Algebra – 2.2 Review of Elements of Calculus – 2.5 Vel. and Acc. of a point fixed in.
ME451 Kinematics and Dynamics of Machine Systems Review of Matrix Algebra – 2.2 September 13, 2011 Dan Negrut University of Wisconsin-Madison © Dan Negrut,
ME751 Advanced Computational Multibody Dynamics Section 9.2 January 28, 2010 © Dan Negrut, 2010 ME751, UW-Madison “Age is an issue of mind over matter.
ME451 Kinematics and Dynamics of Machine Systems
ME751 Advanced Computational Multibody Dynamics Review Calculus Starting Chapter 9 of Haug book January 26, 2010 © Dan Negrut, 2010 ME751, UW-Madison "Motivation.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1 through 2.4 Th, Sept. 08 © Dan Negrut, 2011 ME451, UW-Madison TexPoint fonts.
 Row and Reduced Row Echelon  Elementary Matrices.
Systems of Linear Equation and Matrices
+ Review of Linear Algebra Optimization 1/14/10 Recitation Sivaraman Balakrishnan.
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
Review of Matrices Or A Fast Introduction.
ME 440 Intermediate Vibrations Th, March 26, 2009 Chapter 5: Vibration of 2DOF Systems © Dan Negrut, 2009 ME440, UW-Madison.
ME451 Kinematics and Dynamics of Machine Systems
Matrix Algebra and Regression a matrix is a rectangular array of elements m=#rows, n=#columns  m x n a single value is called a ‘scalar’ a single row.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1 through 2.4 Tu, Sept. 07 © Dan Negrut, 2009 ME451, UW-Madison TexPoint fonts.
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1, 2.2, 2.3 September 06, 2013 Radu Serban University of Wisconsin-Madison.
Matrix Differential Calculus By Dr. Md. Nurul Haque Mollah, Professor, Dept. of Statistics, University of Rajshahi, Bangladesh Dr. M. N. H. MOLLAH.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
ME451 Kinematics and Dynamics of Machine Systems Vel. And Acc. of a Fixed Point in Moving Frame Basic Concepts in Planar Kinematics February.
ME451 Kinematics and Dynamics of Machine Systems Review of Differential Calculus 2.5, 2.6 September 11, 2013 Radu Serban University of Wisconsin-Madison.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 07 Chapter 7: Eigenvalues, Eigenvectors.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems May 07, 2009 EOM in non-Cartesian Reference Frames ~ not in textbook~ Quote.
Review of Matrix Operations Vector: a sequence of elements (the order is important) e.g., x = (2, 1) denotes a vector length = sqrt(2*2+1*1) orientation.
ME 440 Intermediate Vibrations Th, April 16, 2009 Chapter 6: Multi-degree of Freedom (MDOF) Systems © Dan Negrut, 2009 ME440, UW-Madison Quote of the Day:
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 16, , starting 6.3 © Dan Negrut, 2010 ME451, UW-Madison TexPoint.
2.2 The Inverse of a Matrix. Example: REVIEW Invertible (Nonsingular)
Advanced Computer Graphics Spring 2014 K. H. Ko School of Mechatronics Gwangju Institute of Science and Technology.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems December 9, 2010 Solving Index 3 DAEs using Newmark Method © Dan Negrut, 2010.
2.5 – Determinants and Multiplicative Inverses of Matrices.
ME451 Kinematics and Dynamics of Machine Systems Driving Constraints 3.5 Start Position, Velocity, and Acc. Analysis 3.6 February 26, 2009 © Dan Negrut,
ME451 Kinematics and Dynamics of Machine Systems Start Position, Velocity, and Acc. Analysis 3.6 October 21, 2010 © Dan Negrut, 2010 ME451, UW-Madison.
ME751 Advanced Computational Multibody Dynamics Section 9.4 February 23, 2010 © Dan Negrut, 2010 ME751, UW-Madison “When You Come to a Fork in the Road,
ME451 Kinematics and Dynamics of Machine Systems Review of Linear Algebra 2.1 through 2.4 Th, Jan. 22 © Dan Negrut, 2009 ME451, UW-Madison.
Matrices CHAPTER 8.9 ~ Ch _2 Contents  8.9 Power of Matrices 8.9 Power of Matrices  8.10 Orthogonal Matrices 8.10 Orthogonal Matrices 
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Boot Camp in Linear Algebra TIM 209 Prof. Ram Akella.
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
Matrices, Vectors, Determinants.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel and Acc of a Point fixed in a Ref Frame – 2.6 Jan. 29, 2009 ©
Copyright © Cengage Learning. All rights reserved. 8 Matrices and Determinants.
ME451 Kinematics and Dynamics of Machine Systems Dynamics of Planar Systems November 4, 2010 Chapter 6 © Dan Negrut, 2010 ME451, UW-Madison TexPoint fonts.
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
MAT 322: LINEAR ALGEBRA.
Review of Matrix Operations
The Inverse of a Square Matrix
ME451 Kinematics and Dynamics of Machine Systems
Systems of First Order Linear Equations
Elementary Matrix Methid For find Inverse
Sec 3.5 Inverses of Matrices
DETERMINANT MATH 80 - Linear Algebra.
Chapter 2 Determinants.
Presentation transcript:

ME751 Advanced Computational Multibody Dynamics Introduction January 21, 2010 Dan Negrut University of Wisconsin, Madison © Dan Negrut, 2010 ME751, UW-Madison Continuous effort - not strength or intelligence - is the key to unlocking our potential. W. ChurchillW. Churchill

Before we get started… Last Time: Class Intro + Syllabus Outline Final Project discussion Established time/date of midterm exam Trip to Iowa and John Deere looks likely Started review on Linear Algebra Today: Finish review of Linear Algebra Review of Calculus (two definitions and three theorems) HW: posted on class website, due on Jan

Matrix Review [Cntd.] Symmetric matrix: a square matrix A for which A=A T Skew-symmetric matrix: a square matrix B for which B=-B T Examples: Singular matrix: square matrix whose determinant is zero Inverse of a square matrix A: a matrix of the same dimension, called A -1, that satisfies the following: 3

Singular vs. Nonsingular Matrices Let A be a square matrix of dimension n. The following are equivalent: 4

Orthogonal & Orthonormal Matrices Definition (Q, orthogonal matrix): a square matrix Q is orthogonal if the product Q T Q is a diagonal matrix Matrix Q is called orthonormal if it’s orthogonal and also Q T Q=I n Note that people in general don’t make a distinction between an orthogonal and orthonormal matrix Note that if Q is an orthonormal matrix, then Q -1 =Q T Example, orthonormal matrix: 5

Remark: On the Columns of an Orthonormal Matrix Assume Q is an orthonormal matrix 6 In other words, the columns (and the rows) of an orthonormal matrix have unit norm and are mutually perpendicular to each other

Condition Number of a Matrix Let A be a square matrix. By definition, its condition number is Note that condition number depends on the norm used in its evaluation The concept of ill-conditioned linear system Ax=b: A system for which small perturbations in b lead to large changes in solution x NOTE: A linear system is ill-condition if cond(A) is large Three quick remarks: The closer a matrix is to being singular, the larger its condition number You can’t get cond(A) to be smaller than 1 If Q is orthonormal, then cond(Q)=1 7

Condition Number of a Matrix Example 8

Other Useful Formulas If A and B are invertible, their product is invertible and Also, For any two matrices A and B that can be multiplied For any three matrices A, B, and C that can be multiplied 9

10 Lagrange Multiplier Theorem Theorem:

11 Lagrange Multiplier Theorem Theorem:

12 [AO (Ex )] Example: Lagrange Multipliers First, show that any for any x=[x 1 x 2 x 3 ] T, one has that x T b=0 as soon as Ax=0 Next, show that there is indeed a vector such that b + A T = 0

End: Review of Linear Algebra Begin: Review of Calculus 13

Derivatives of Functions GOAL: Understand how to Take time derivatives of vectors and matrices Take partial derivatives of a function with respect to its arguments We will use a matrix-vector notation for computing these partial derivs. Taking partial derivatives might be challenging in the beginning The use of partial derivatives is a recurring theme in the literature 14

Taking time derivatives of a time dependent vector FRAMEWORK: Vector r is represented as a function of time, and it has three components: x(t), y(t), z(t): Its components change, but the vector is represented in a fixed reference frame THEN: 15

Time Derivatives, Vector Related Operations 16

Taking time derivatives of MATRICES By definition, the time derivative of a matrix is obtained by taking the time derivative of each entry in the matrix A simple extension of what we’ve seen for vector derivatives 17

Done with Time Derivatives … Moving on to Partial Derivatives 18

Derivatives of Functions: Why Bother? Partial derivatives are essential in this class In computing the Jacobian matrix associated with the constraints that define the joints present in a mechanism Essential in computing the Jacobian matrix of any nonlinear system that you will have to solve when using implicit integration to find the time evolution of a dynamic system Beyond this class Whenever you do a sensitivity analysis (in optimization, for instance) you need partial derivatives of your functions 19

What’s the story behind the concept of partial derivative? What’s the meaning of a partial derivative? It captures the “sensitivity” of a function quantity with respect to a variable the function depends upon Shows how much the function changes when the variable changes a bit Simplest case of partial derivative: you have one function that depends on one variable: Then, 20

Partial Derivative, Two Variables Suppose you have one function but it depends on two variables, say x and y: To simplify the notation, an array q is introduced: With this, the partial derivative of f(q) wrt q is defined as 21 Notation…

…and here is as good as it gets (vector function) You have a group of “m” functions that are gathered together in an array, and they depend on a collection of “n” variables: The array that collects all “m” functions is called F: The array that collects all “n” variables is called q: 22

Most general partial derivative ( Vector Function, cntd) Then, in the most general case, by definition Example 2.5.2: This is an m x n matrix! 23

Example: Left and Right mean the same thing Let x, y, and  be three generalized coordinates Define the function r of x, y, and  as Compute the partial derivatives Let x, y, and  be three generalized coordinates, and define the array q Define the function r of q: Compute the partial derivative 24

Exercise 25

Partial Derivatives: Good to Remember… In the most general case, you start with “m” functions in “n” variables, and end with an (m x n) matrix of partial derivatives. You start with a column vector of functions and then end up with a matrix Taking a partial derivative leads to a higher dimension quantity Scalar Function – leads to row vector Vector Function – leads to matrix I call this the “accordion rule” In this class, taking partial derivatives can lead to one of the following: A row vector A full blown matrix If you see something else chances are you made a mistake… So far, we only introduced a couple of definitions 26

Done with Partial Derivatives … Moving on to Chain Rule of Differentiation 27

Scenario 1: Scalar Function f is a function of “n” variables: q 1, …, q n However, each of these variables q i in turn depends on a set of “k” other variables x 1, …, x k. The composition of f and q leads to a new function  (x): 28

Chain Rule for a Scalar Function The question: how do you compute  x ? Using our notation: Theorem: Chain rule of differentiation for scalar function (This theorem is proved in your elementary calculus class) 29

[AO] Example 30

Scenario 2: Vector Function F is a function of “n” variables: q 1, …, q n However, each of these variables q i in turn depends on a set of “k” other variables x 1, …, x k. The composition of F and q leads to a new function  (x): 31

Chain Rule for a Vector Function How do you compute the partial derivative of  ? Theorem: Chain rule of differentiation for vector functions 32 (This theorem is proved in your elementary calculus class)

[AO] Example 33