MATHEMATICAL FUNDAMENTALS I. Michele Fitzpatrick

Similar documents
Review of Linear Algebra

Get Solution of These Packages & Learn by Video Tutorials on Matrices

Review of Linear Algebra

Matrices and Linear Algebra

And similarly in the other directions, so the overall result is expressed compactly as,

Chapter 2. Determinants

Linear Algebra Review. Vectors

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

Module #4. Fundamentals of strain The strain deviator Mohr s circle for strain READING LIST. DIETER: Ch. 2, Pages 38-46

m x n matrix with m rows and n columns is called an array of m.n real numbers

Vector Calculus Review

Mathematics 13: Lecture 10

In this chapter a student has to learn the Concept of adjoint of a matrix. Inverse of a matrix. Rank of a matrix and methods finding these.

MATRIX DEFINITION A matrix is any doubly subscripted array of elements arranged in rows and columns.

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

MMJ1153 COMPUTATIONAL METHOD IN SOLID MECHANICS PRELIMINARIES TO FEM

15. Eigenvalues, Eigenvectors

KINEMATIC RELATIONS IN DEFORMATION OF SOLIDS

Lecture Notes in Linear Algebra

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

MEG 741 Energy and Variational Methods in Mechanics I

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

u z u y u x ChE 342 Vectors 1 VECTORS Figure 1 Basic Definitions Vectors have magnitude and direction: u = i u x + j u y + k u z (1)

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

MATRICES AND VECTORS SPACE

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Elementary Linear Algebra

Introduction to Matrices

Matrices. Elementary Matrix Theory. Definition of a Matrix. Matrix Elements:

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

Chapter 2: Matrices and Linear Systems

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Eigenvectors and Eigenvalues 1

Chapter 3. Determinants and Eigenvalues

Math Linear Algebra Final Exam Review Sheet

Linear Algebra Highlights

Homework Notes Week 6

Demonstrate solution methods for systems of linear equations. Show that a system of equations can be represented in matrix-vector form.

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Geometry review, part I

Identifying second degree equations

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Math 215 HW #9 Solutions

ME 7502 Lecture 2 Effective Properties of Particulate and Unidirectional Composites

A Review of Matrix Analysis

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Elements of Continuum Elasticity. David M. Parks Mechanics and Materials II February 25, 2004

VECTORS, TENSORS AND INDEX NOTATION

Linear Algebra (Review) Volker Tresp 2018

TENSOR TRANSFORMATION OF STRESSES

Vector and tensor calculus

Knowledge Discovery and Data Mining 1 (VO) ( )

CHAPTER 8: Matrices and Determinants

Image Registration Lecture 2: Vectors and Matrices

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

Symmetry and Properties of Crystals (MSE638) Stress and Strain Tensor

Matrix inversion and linear equations

Matrices. Chapter Definitions and Notations

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Eigenvalues and Eigenvectors

4. Determinants.

Matrices and Determinants

1. Tensor of Rank 2 If Φ ij (x, y) satisfies: (a) having four components (9 for 3-D). (b) when the coordinate system is changed from x i to x i,

Fundamentals of Engineering Analysis (650163)

Introduction to Matrix Algebra

Determinants by Cofactor Expansion (III)

Tensors, and differential forms - Lecture 2

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Algebra Of Matrices & Determinants

Graduate Mathematical Economics Lecture 1

Linear Algebra (Review) Volker Tresp 2017

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

MATRIX ALGEBRA. or x = (x 1,..., x n ) R n. y 1 y 2. x 2. x m. y m. y = cos θ 1 = x 1 L x. sin θ 1 = x 2. cos θ 2 = y 1 L y.

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures AB = BA = I,

Geometric Modeling Summer Semester 2010 Mathematical Tools (1)

The Algebra (al-jabr) of Matrices

Linear Algebra March 16, 2019

Matrix & Linear Algebra

Example. We can represent the information on July sales more simply as

MATRICES AND MATRIX OPERATIONS

Chapter 3 MATRIX. In this chapter: 3.1 MATRIX NOTATION AND TERMINOLOGY

Lecture 3: Matrix and Matrix Operations

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

Linear Algebra & Geometry why is linear algebra useful in computer vision?

1 Determinants. 1.1 Determinant

Transformation of kinematical quantities from rotating into static coordinate system

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

MAE 323: Chapter 4. Plane Stress and Plane Strain. The Stress Equilibrium Equation

Linear Algebra V = T = ( 4 3 ).

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34

8 Properties of Lamina

Math 302 Outcome Statements Winter 2013

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Chapter 2: Numeric, Cell, and Structure Arrays

4 Strain true strain engineering strain plane strain strain transformation formulae

Transcription:

MTHEMTICL FUNDMENTLS I Michele Fitpatrick

OVERVIEW Vectors and arras Matrices Linear algebra Del( operator Tensors

DEFINITIONS vector is a single row or column of numbers. n arra is a collection of vectors or numbers. matri is a two-dimensional numeric arra that represents a linear transformation. Linear algebra includes mathematical operations defined on matrices, including matri arithmetic, linear equations, eigenvalues, singular values, and matri factoriations.

VECTOR NOTTION i j k

MTRIX FORMT We can represent a sstem of linear equations, a a a b n n a a a b n n a a a m m mn n b m

MTRIX FORMT (cont. as the matri: where a ij are the matri elements. m n mn m m n n b b b a a a a a a a a a

MTRIX TYPES Square: m n Rectangular: m n Column: m Row: n

MTRIX TYPES (cont. Identit (I: aij where δ ij is the Kronecker delta: δ ij Diagonal: a c δ ij i ij where c i are a set of constants., 0, δ ij i i j j

MTLB VECTORS Creating a vector: [,, 3, 4] or [ 3 4]: row vector also: ::4, Colon operator (start, increment, end [; ; 3; 4]: column vector Creating arras and matrices: [,, 3, 4; 5, 6, 7, 8]

MTLB ELEMENTRY MTRICES eros - Zeros arra. ones - Ones arra. ee - Identit matri. repmat - Replicate and tile arra. rand - Uniforml distributed random numbers. randn - Normall distributed random numbers. linspace - Linearl spaced vector. logspace - Logarithmicall spaced vector. freqspace - Frequenc spacing for frequenc response. meshgrid - X and Y arras for 3-D plots. accumarra - Construct an arra with accumulation. : - Regularl spaced vector and inde into matri.

MTLB VECTOR OPERTIONS dding vectors - Transposing vector (turns row vector into column vector or vice versa

VECTOR MULTIPLICTION Dot product: Cross product: B B B B B B B B B B B ( ( ( B B B B

VECTOR MULTIPLICTION EXERCISE Find B and B for: 3 4 B 5

VECTOR EXERCISE NSWERS B ( 3*5 ( * (4* 5 B [( * (4*] [(4*5 (3*] [( 3* ( *5]ẑ 0 7 6

MTLB VECTOR MULTIPLICTION row vector and a column vector of the same length can be multiplied in either order. The result is either a scalar, the inner product, or a matri, the outer product. u [3; ; 4]; v [ 0 -]; v*u X u*v X 6 0-3 0-8 0-4

MTLB MTRIX MULTIPLICTION * Matri multipl. X*Y is the matri product of X and Y. n scalar (a -b- matri ma multipl anthing. Otherwise, the number of columns of X must equal the number of rows of Y. C MTIMES(,B is called for the snta ' * B' when or B is an object..* rra multipl. X.*Y denotes element-b-element multiplication. X and Y must have the same dimensions unless one is a scalar. C TIMES(,B is called for the snta '.* B' when or B is an object.

MTLB DOT PRODUCT DOT Vector dot product. C DOT(,B returns the scalar product of the vectors and B. and B must be vectors of the same length. When and B are both column vectors, DOT(,B is the same as '*B. DOT(,B, for N-D arras and B, returns the scalar product along the first non-singleton dimension of and B. and B must have the same sie. DOT(,B,DIM returns the scalar product of and B in the dimension DIM.

MTLB CROSS PRODUCT CROSS Vector cross product. C CROSS(,B returns the cross product of the vectors and B. That is, C B. and B must be 3 element vectors. C CROSS(,B returns the cross product of and B along the first dimension of length 3. C CROSS(,B,DIM, where and B are N-D arras, returns the cross product of vectors in the dimension DIM of and B. and B must have the same sie, and both SIZE(,DIM and SIZE(B,DIM must be 3.

MTRIX OPERTIONS Matri transpose ( flips a matri about its main diagonal: a a ij ji

TRNSPOSE EXERCISE What is if 3 9 5 8 3 4 6 7

TRNSPOSE SOLUTION ' 3 5 8 4 9 3 6 7

DETERMINNTS determinant is a square arra of order n n : det( a a a n a a a n a a a n n nn The minor M ij of element a ij is the determinant of order (n- formed b deleting the ith row and the jth column of det(. The product (- ij M ij is the cofactor of a ij. The value of a determinant is defined as i j i j det( ( a M ( j ij ij i a ij M ij

DETERMINNT EXERCISE Use the determinant to find the epression for the cross product. Show all details. Reminder: det( i j i j ( aijm ij ( j i a ij M ij

MTRIX INVERSE The inverse of a matri, -, is defined such that: I MTLB: inv

MTRIX INVERSE EXMPLE Find the inverse of the matri: 0 0

MTRIX INVERSE SOLUTION Satisf the matri equation: Solve as three sets of linear equations with three unknowns each to get: I 0 0 0 0 0 0 0 0 3 3 3 3 4

SOLVING LINER EQUTIONS Given: a a a n n b a a a b n n a a a m m mn n b m Find:,, n

SOLVING L.E. (cont. llowed elementar row operations: Interchange two rows Multipl (or divide a row b a (nonero constant dd a multiple of one row to another; this includes subtracting, that is, using a negative multiple.

SOLVING L.E. EXERCISE Solve the following equations for,, : Corresponding matri: 4 7 3 5 6 4 0 7 3 5 6 0

L.E. EXERCISE RESULT 0 0 0 0 (,, ( 3,,

L.E. EXERCISE SOLUTION Subtract 3 times the first row from the second row Subtract the first row from the third row Interchange the second and third rows dd 5 times the second row to the third row Divide the third row b Back substitute

MTLB RREF RREF Reduced row echelon form. R RREF( produces the reduced row echelon form of.

RREF EXMPLE Eample: Use rref on a rank-deficient magic square: magic(4, R rref( 6 3 3 5 0 8 9 7 6 4 4 5 R 0 0 0 0 3 0 0-3 0 0 0 0

DEL OPERTOR ( r r r θ θ φ φ θ θ θ sin r r r r Rectangular Coordinates: Clindrical Coordinates: Spherical Coordinates:

GRDIENT If the del operator ( operates on a scalar function, f(,,, we get the gradient (a vector: f f f f We can interpret this gradient as a vector with the magnitude and direction of the maimum change of the function in space.

GRDIENT EXERCISES f 3 5,, ( f,, ( 3 3 3,, ( f

GRDIENT EXERCISE NSWERS f 3 5 f ( ( ( f (9 3 ( (4 3 3

DIVERGENCE & CURL Since the del operator is treated as a vector, there are two was for it to operate on another vector: dot product and cross product. The dot product gives us the divergence a scalar quantit. The cross product gives us the curl a vector quantit.

DIVERGENCE [ ]

DIVERGENCE EXERCISES 5 ( 3 ( 4 3 ( B 5 ( 3 ( 4 (3

DIVERGENCE EXERCISE NSWERS 5 ( 3 ( 4 3 ( 6 5 3 5 ( 3 ( 4 (3 B 3 0 4 0 3 ( 6

CURL [ ]

CURL EXERCISE ( 3 4 ( 3 ( 5

CURL EXERCISE NSWER 3 ( 5 ( 5 ( 4 3 ( 4 (3 3 ( 4 3

EIGEN DEFINITIONS Let be an matri, v an column vector, and λ a scalar. If v λv we sa that v is an eigenvector of and λ is an eigenvalue of.

EIGENVLUE SOLUTIONS To find the eigenvalues of, solve det λi 0 where I is the n n identit matri.

EIGENVLUE EXERCISE Find the eigenvalues of 5 9

EIGENVLUE EXERCISE SOLUTION 0 0 I λ λ λ 0 0 I λ λ λ λ λ 9 5 det 0 0 9 5 det det I 8 ( 5 ( λ λ 8 7 8 7 0 λ λ λ λ

EIGENVLUE SOLUTION (cont. Set equal to ero and solve: λ 7λ 8 0 ( λ 8( λ 0 λ λ 8

EIGENVECTORS Find the eigenvectors v of: 5 9 Using the eigenvalues of: λ λ 8

EIGENVECTOR SOLUTION For the first eigenvalue, the matri equation is: 5 v λ v 8 9 If we solve these equations, for and, we get and 3 For the second eigenvalue, we get and -3

EIGENVECTOR SUMMRY Summariing, we have found the eigenvectors of the matri to be: v with eigenvalue 3 8 λ v with eigenvalue λ 3

MTLB EIGENVLUES EIG Eigenvalues and eigenvectors. E EIG(X is a vector containing the eigenvalues of a square matri X. [V,D] EIG(X produces a diagonal matri D of eigenvalues and a full matri V whose columns are the corresponding eigenvectors so that X*V V*D. [V,D] EIG(X,'nobalance' performs the computation with balancing disabled, which sometimes gives more accurate results for certain problems with unusual scaling. If X is smmetric, EIG(X,'nobalance' is ignored since X is alread balanced. E EIG(,B is a vector containing the generalied eigenvalues of square matrices and B. [V,D] EIG(,B produces a diagonal matri D of generalied eigenvalues and a full matri V whose columns are the corresponding eigenvectors so that *V B*V*D.

MTLB EIGENVLUES (cont. EIG(,B,'chol' is the same as EIG(,B for smmetric and smmetric positive definite B. It computes the generalied eigenvalues of and B using the Cholesk factoriation of B. EIG(,B,'q' ignores the smmetr of and B and uses the QZ algorithm. In general, the two algorithms return the same result, however using the QZ algorithm ma be more stable for certain problems. The flag is ignored when and B are not smmetric.

TENSORS n n th rank tensor in m-dimensional space is a mathematical object that has n indices and m n components and obes certain transformation rules. Each inde of a tensor ranges over the number of dimensions of space. Tensors are generaliations of scalars (that have no indices, vectors (that have eactl one inde, and matrices (that have eactl two indices to an arbitrar number of indices.

TENSORS IN GEOPHYSICS Perhaps the most important engineering and geophsics tensor eamples are the stress tensor and strain tensor, which are both second rank tensors, and are related in a general linear material b a fourth rank elasticit tensor: σ C ε ij ijkl kl

TENSOR EXMPLE - STRESS Stress is defined as the force acting on a unit area of a surface: σ F nds This is actuall a tensor, σ ij, with nine components, where i and j represent the cartesian aes, and. σ σ σ σ σ σ σ σ σ σ

STRESS (cont. The first inde, i, gives the ais along which the stress is acting; the second inde, j, is the ais normal to the area on which the stress is acting. For eample, σ denotes a stress parallel to the -ais acting upon a surface perpendicular to the -ais. Stresses σ, σ, and σ are normal stresses. The other 6 are shear stresses. Stress components have the smmetric propert of: σ ij σ ji

STRIN TENSOR The strain tensor is: ε ε ε ε It also has the smmetric propert: ε ε ε ε ε ij ji ε ε ε

STRIN TENSOR (cont. The strain tensor is related to the displacement vector b derivatives in different directions, since strain is the measure of the relative deformation of the material. The normal strain is: The shear strain is: w v u ε ε ε,, ( ( ( u w w v v u ε ε ε

STRIN TENSOR (cont. Together, the can be written as: Here we introduced the notation of using the comma between the sub-indices to epress the unit of strain is dimensionless. ( (,, i j j i i j j i ij u u u u ε

TENSOR EXMPLE ELSTIC MODULI s noted earlier, elastic moduli give the relationship between the nd rank tensor stress and the nd rank tensor strain, and are therefore represented b a 4 th rank tensor: σ C ε ij ijkl kl This is the tensor epression of Hooke s Law

TENSOR LGEBR The mathematics developed for working with matrices can be applied to tensors, so tensor algebra will not be treated as a separate subject. Note that the divergence operation decreases the order of the tensor b one and the gradient operation increases the order of a tensor b one.

MTLB TENSOR OPERTION KRON Kronecker tensor product. KRON(X,Y is the Kronecker tensor product of X and Y. The result is a large matri formed b taking all possible products between the elements of X and those of Y. For eample, if X is b 3, then KRON(X,Y is [ X(,*Y X(,*Y X(,3*Y X(,*Y X(,*Y X(,3*Y ] If either X or Y is sparse, onl nonero elements are multiplied in the computation, and the result is sparse.