Basics of Calculus and Algebra

Size: px
Start display at page:

Download "Basics of Calculus and Algebra"

Transcription

1 Monika Department of Economics ISCTE-IUL September 2012

2 Basics of linear algebra Real valued Functions Differential Calculus Integral Calculus Optimization

3 Introduction I A matrix is a rectangular array of numbers, symbols, or expressions, arranged in rows and columns. The individual items in a matrix are called its elements or entries. Examples of matrices: A = ( ) B = [ ]

4 Introduction II A n m matrix (n and m are called dimensions) has the form a 11 a a 1n a 21 a a 2n... a m1 a m2... a mn Entries have the form a ij, where the first index i = 1, 2,..., m denotes the row, and the second index j = 1, 2,..., n denotes the column.

5 Introduction III Special cases: A n n matrix is called a square matrix of a dimension n. A matrix for which n m is called rectangular. Given a square matrix, we call a main diagonal, a diagonal formed of elements a ij for which i = j. These entries are called main elements. A matrix for which all expect for the main elements are equal to 0 is called a diagonal matrix. If all the main elements of a diagonal matrix are equal to 1, we call this matrix unit or identity matrix. If only all entries above (below) the main diagonal are zero, a matrix is called a lower triangular matrix (upper triangular matrix, respectively).

6 Basic Operations I Matrix addition: Matrix addition is the operation of adding two matrices by adding the corresponding entries together: C = A + B c ij = a ij + b ij It is only possible if the matrices are of the same dimension.

7 Basic Operations I Matrix addition: Matrix addition is the operation of adding two matrices by adding the corresponding entries together: C = A + B c ij = a ij + b ij It is only possible if the matrices are of the same dimension. Example Consider matrices A, B, C and D [ ] [ A =, B = [ ] [ ] C = D = ]

8 Basic Operations II [ 2 3 A + C = 2 1 [ 3 3 = 4 6 ] ] [ ] = [ ] [ B + D = = ] [ ] [ = ] [ ]

9 Basic Operations III Scalar multiplication: The scalar multiplication λa of a matrix A and a number λ is given by multiplying every entry of A by λ: B = λa b ij = λa ij λ R

10 Basic Operations III Scalar multiplication: The scalar multiplication λa of a matrix A and a number λ is given by multiplying every entry of A by λ: B = λa b ij = λa ij λ R Example Given a real number and a matrix: λ = 3 ; A = [ ] we have λa = 3 [ ] = [ ( 2) ] = [ ]

11 Basic Operations IV Multiplication: A product of two matrices is calculated by multiplying the rows of the first matrix by the columns of the second matrix. It is, therefore only possible if the number of columns of the first matrix is equal to the number of rows of the second matrix. Definition A multiplication of a matrix A of dimensions m n bya matrix B of dimensions p q is possible if n = p, and the product is a matrix C, of dimensions m p, elements of which are of the form: c ij = a i1 b 1j + a i2 b 2j a in b nj = n a ik b kj k=1 where { i = 1, 2,, m j = 1, 2,, p

12 Basic Operations V Example Find a product of A and B, where A (2 3) = [ ], B (3 2) = It is possible to find a product A 2 3 B 3 2 and the result will be a matrix C 2 2. It is not possible to find a product B A!

13 Basic Operations VI A B = [ ] [ ( 1) ( 1) ( 1) = ( 1) [ ] [ ] = = ]

14 Basic Operations VII Kronecker Product: If A is n m matrix and B is p q matrix, then the Kronecker product A B is the mp nq block matrix a 11 B a 1n B A B = a m1 B a mn B More explicitly, we have a 11b 11 a 11b 12 a 11b 1q a 1nb 11 a 1nb 12 a 1nb 1q a 11b 21 a 11b 22 a 11b 2q a 1nb 21 a 1nb 22 a 1nb 2q a 11b p1 a 11b p2 a 11b pq a 1nb p1 a 1nb p2 a 1nb pq A B = a m1b 11 a m1b 12 a m1b 1q a mnb 11 a mnb 12 a mnb 1q a m1b 21 a m1b 22 a m1b 2q a mnb 21 a mnb 22 a mnb 2q a m1b p1 a m1b p2 a m1b pq a mnb p1 a mnb p2 a mnb pq

15 Basic Operations VIII Example Find A B where and A = B [ ] [ ] [ ] [ ] 0 5 = =

16 Basic Operations IX Transpose: The transpose of a matrix A is another matrix A T (also denoted: A ) created by any one of the following equivalent actions: reflect A over its main diagonal (which runs top-left to bottom-right) write the rows of A as the columns of A T write the columns of A as the rows of A T If A is m n then A T is n m. [A T ] ij = [A] ji Example A = [ ] A T =

17 Basic Operations IX Transpose: The transpose of a matrix A is another matrix A T (also denoted: A ) created by any one of the following equivalent actions: reflect A over its main diagonal (which runs top-left to bottom-right) write the rows of A as the columns of A T write the columns of A as the rows of A T If A is m n then A T is n m. [A T ] ij = [A] ji Example A = [ ] A T = A symmetric matrix is a matrix which is equal to its transpose. If A = A T the matrix is called antisymmeric.

18 Basic Operations X Row operations: The following operations, known as elementary row operations are allowed between the rows of a matrix: A row within the matrix can be switched with another row. Each element in a row can be multiplied by a non-zero constant. A row can be replaced by the sum of that row and a multiple of another row. A rank of a matrix A - r(a), is the maximum number of linearly independent row vectors of A. It can be obtained by transforming a matrix into a upper triangular matrix (row echelon form) by row operations and calculating the number of non zero rows.

19 Determinants I Every square matrix A of a dimension n can be assigned a real number called a determinant. It is denoted det(a) or A = [a ij ] i,j=1,...,n det (A) = A A determinant of a matrix that contains one element, is equal to this element: A = [12] A = 12 = 12

20 Determinants II A determinant of a 2 2 matrix can be found using the following formula: [ ] a11 a A = 12 A = a 21 a 22 a 11 a 12 a 21 a 22 = a 11a 22 a 12 a 21 More precisely, it is a difference between the product of the main diagonal elements and the elements on the other diagonal: A = = ( 1) = 17

21 Determinants III Determinant of a 3 3 matrix can be found using the Sarrus rule. Consider a matrix: A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33

22 Determinants IV The Sarrus rule: A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 a 11 a 12 a 13 a 21 a 22 a 23 A = (a 11 a 22 a 33 + a 21 a 32 a 13 + a 31 a 12 a 23 ) (a 13 a 22 a 31 + a 23 a 32 a 11 + a 33 a 12 a 21 ) Actually, the same trick can be done with columns!

23 Determinants V Example Find the determinant of: A = A = ( ) ( ) = ( ) ( ) = = 1

24 Determinants VI A minor of a matrix A is the determinant of some smaller square matrix, cut down from A by removing one or more of its rows or columns. The minor M i,j is defined to be the determinant of the (n1) (n1) matrix that results from A by removing the i-th row and the j-th column. Example: A = , D 12 = D 33 = = 1 1 (0) (2) = = 2 0 ( 1) ( 1) = 1

25 Determinants VI Determinant can be found using the Laplace formula. The determinant of A is given by: det(a) = n ( 1) i+j a i,j M i,j = j=1 n ( 1) i+j a i,j M i,j i=1

26 Determinants VII Example For the example 3-by-3 matrix A = [ ] det(a) = ( 1) det 2 1 [ ] ( 1) det ( 1) det [ ] = ( 2) (( 1) ( 1) 2 3) + 1 (( 2) ( 1) 2 ( 3)) = ( 2) ( 5) + 8 = 18

27 Inverse of a matrix I An inverse of a matrix A (here B) is matrix that satisfies If B exists it is denoted A 1. AB = BA = I A matrix is invertible or nonsingular if det(a) 0 or in other words it has a full rank its rank is equal to its dimension. There are several ways to find the inverse.

28 Inverse of a matrix II Using the adjugate matrix: Define the (i, j) cofactor of A as:  ij = ( 1) i+j M ij Define the cofactor matrix of A as a n n matrix  whose (i, j) is the (i, j) cofactor of A. The adjugate of A is the transpose of the cofactor matrix of A: adj(a) = ÂT

29 Inverse of a matrix II Using the adjugate matrix: Define the (i, j) cofactor of A as:  ij = ( 1) i+j M ij Define the cofactor matrix of A as a n n matrix  whose (i, j) is the (i, j) cofactor of A. The adjugate of A is the transpose of the cofactor matrix of A: adj(a) = ÂT The inverse can be found as: A 1 = 1 (ÂT ) A ij = 1 ) (Âji A = 1 A  11  21  n1  12  22  n  1n  2n  nn

30 Inverse of a matrix III Example Find the inverse of (if it is possible!) [ 2 3 A = 5 1 ] A 1 = ÂT A [ ] 1 5 Â = 3 2 ÂT = [ ]

31 Inverse of a matrix IV Then: A 1 = ÂT A = 1 [ [ ] 1/17 3/17 = 5/17 2/17 ]

32 Inverse of a matrix V Using Gauss Jordan elimination: This can be done by augmenting the square matrix with the identity matrix of the same dimensions and applying the following matrix operations: [AI] A 1 [AI] [IA 1 ] Example: A = Augment by an identity matrix: [AI] =

33 Inverse of a matrix VI Perform elementary row operations on the augmented matrix until it reaches: [IA ] = Finally we have: I = A 1 =

34 Proprieties of determinants If a matrix has a zero row its determinant is 0; Also if two or more rows are identical. A = A T, A 1 = A 1 Interchanging two rows or columns multiplies the determinant by 1. In general a permutation of the rows or columns multiplies the determinant by the sign of the permutation. det(ab) = det(a) det(b) det(ca) = c n det(a) for a n n matrix. If A is a triangular matrix, the determinant equals the product of the entries on the main diagonal: det(a) = a 1,1 a 2,2 a n,n = n i=1 a i,i

35 Eigenvalues I Let A be a square matrix of a dimension n. An eigenvalue of A is a scalar λ which satisfies det(a λi n ) = 0 A matrix can have between 1 and n eigenvalues. The equation det(a λi n ) = 0 is known as the characteristic equation and it is a polynomial of degree n of variable λ of the form: det (A λi n ) = λ n + c n 1 λ n 1 + c n 2 λ n c 1 λ + c 0,

36 Eigenvalues II Example Find the eigenvalues of A. A = [ We need to find the characteristic polynomial of A, given by ([ ] [ ]) 5 2 λ 0 det (A λi 2 ) = det λ [ ] 5 λ 2 = det 2 2 λ ]. = (λ + 5)(λ + 2) 4 = λ 2 + 7λ + 6

37 Eigenvalues III We solve the characteristic equation: det (A λi 2 ) = 0 λ 2 + 7λ + 6 = 0 (λ + 1)(λ + 6) = 0 The solutions are λ 1 = 1 and λ 2 = 6 which are the eigenvalues.

38 Basics of linear algebra Real valued Functions Differential Calculus Integral Calculus Optimization

39 Introduction A function of one real variable f : D R R is given by the correspondence y = f (x) where x independent variable y dependent variable A function of two real variables f : D R 2 R is given by the correspondence z = f (x, y) where x, y independent variables z dependent variable Example Cobb-Douglas Production Function: f : R 2 + R +, f (k, l) = k α l β, where k (capital), l (labour) are independent variables and production z = f (k, l) is the dependent variable.

40 Convex vs. concave functions A convex function: a function f : [a, b] R R is convex if the graph of the function lies below the line segment joining any two points of the graph that is if for x and y on [a, b] and t [0, 1], it holds that f(tx + (1 t)y) tf(x) + (1 t)f(y) Equivalently, a function is convex if its epigraph (the set of points on or above the graph of the function) is a convex set. A concave function: a function f : [a, b] R R is concave if it is not convex.

41 Exponential function Exponential function: f : R R + Properties: f (x) = e x e f (x) = a x, a > 0 e A e B = e A+B e A, e B = ea B, a x = e x ln a a x b x = (ab) x, e 0 = 1, e = 0, e + = +

42 Logarythmic function Logarythmic function: f : R + R Properties: f (x) = log a x, a > 0, a 1 a = e log natural ln ln A + ln B = ln (AB), ln A ln B = ln A ln B = ln B A, ln 1 = 0, ln e = 1 ln 0 + =, ln(+ ) = + ( ) A B

43 Power function Power function: f : R R f (x) = ax k, a, k R

44 Basics of linear algebra Real valued Functions Differential Calculus Integral Calculus Optimization

45 Derivatives I Differentiation is a method to compute the rate at which a dependent variable y changes with respect to the change in the independent variable x. This rate of change is called the derivative of y with respect to x. If x and y are real numbers, and if the graph of y is plotted against x, the derivative measures the slope of this graph at each point.

46 Derivatives I Differentiation is a method to compute the rate at which a dependent variable y changes with respect to the change in the independent variable x. This rate of change is called the derivative of y with respect to x. If x and y are real numbers, and if the graph of y is plotted against x, the derivative measures the slope of this graph at each point. If y = f(x) is differentiable at a, then f must also be continuous at a (necessary condition). The graph of a differentiable function must have a non vertical tangent line at each point in its domain no kinks, jumps etc.

47 Derivatives II Here: k is a real number and u, v are real valued functions of one variable. Rules of differentiation: (ku) = ku (u + v) = u + v ( ) x k ( ) = kx k 1 u k = ku k 1 u ( (uv) u ) = u v + uv u v uv = v v 2 (e x ) = e x (e u ) = u e u (a x ) = a x ln a, a > 0 (a u ) = u a u ln a, a > 0 (ln x) = 1 x (ln u) = u u

48 Derivatives III Some examples: 1 f (x) = 4x 3 = f (x) = 12x 2 = f (x) = 24x 2 f (x) = (x 1) 2 = f (x) = 2 (x 1) = f (x) = 2 3 f (x) = 2 x 2 = f (x) = 2 ( x 2) = f (x) = 4 x 3 4 f (x) = x 3 e x = f (x) = x 2 e x (3 + x) 5 f (x) = (ln x) 4 = f (x) = 4 ln3 x x

49 Partial Derivatives I A (first order) partial derivative of f(x, y) with respect to x is denoted f f(x, y) x is a derivative of f wrt x while treating y as constant. A (first order) partial derivative of f(x, y) with respect to y is denoted f f(x, y) y is a derivative of f wrt y while treating x as constant.

50 Partial Derivatives II The function f(x, y) is differentiable at the point (a, b) if the partial derivatives are continuous and finite at this point. In this case the first order differential of function f at point (a, b) is given by: df(a, b) = ( f x ) (a, b) dx + where dx and dy are infinitesimals. ( f y ) (a, b) dy

51 Partial Derivatives II The function f(x, y) is differentiable at the point (a, b) if the partial derivatives are continuous and finite at this point. In this case the first order differential of function f at point (a, b) is given by: df(a, b) = ( f x ) (a, b) dx + where dx and dy are infinitesimals. ( f y ) (a, b) dy When the function is differentiable at (a, b), we can use the following approximate formula to calculate value of the function in the neighborhood of the point: f(a + h, b + k) f(a, b) + dx ( ) f + dy x (a,b) ( ) f y (a,b)

52 Partial Derivatives III When we calculate the partial derivatives of the partial derivatives of the first order, we obtain four partial derivatives of the second order: ( f x ( f y ) x ) x = x = x ( ) f x ( ) f y = 2 f x 2 ; = 2 f y x ; ( f x ) ( f y = ( ) f = 2 f y y x x y ) ( ) f = 2 f y y 2 y = y

53 Partial Derivatives III When we calculate the partial derivatives of the partial derivatives of the first order, we obtain four partial derivatives of the second order: ( f x ( f y ) x ) x = x = x ( ) f x ( ) f y = 2 f x 2 ; = 2 f y x ; ( f x ) ( f y = ( ) f = 2 f y y x x y ) ( ) f = 2 f y y 2 y = y A second order differential at point (a, b) is defined as: ( d 2 2 ) ( f f(a, b) = x 2 (a, b) dx 2 2 ) f + 2 (a, b) dxdy y x ( 2 ) f + y 2 (a, b) dy 2

54 Partial Derivatives IV Example: The function f(x, y) = x 3 + 2y 2 has the following first and second order partial derivatives: f (x, y) = 3x2 x f (x, y) = 4y y 2 ( f f (x, y) = x2 x 2 ( f f (x, y) = y x x 2 ( f f (x, y) = y2 y ) x ) y ) y = ( 3x 2) x = 6x = ( 3x 2) y = 0 = (4y) y = 4

55 Partial Derivatives V Example cont d: The first and second differentials of f at point (1, 2) are given by: ( ) ( ) f f df(a, b) = (1, 2) dx + (1, 2) dy x y = ( 3x 2) (1, 2) dx + (4y) (1, 2) dy = 3dx + 8dy ( d 2 2 ) ( f f(a, b) = x 2 (a, b) dx 2 2 ) f + 2 (a, b) dxdy y x ( 2 ) f + y 2 (a, b) dy 2 = (6x) (1, 2) dx (0) (1, 2) dxdy + 4 (1, 2) dy 2 = 6dx 2 + 4dy 2

56 Basics of linear algebra Real valued Functions Differential Calculus Integral Calculus Optimization

57 Introduction I Throughout this part we refer to Riemann integration. An indefinite integral is a function F, whose derivative is the given function f: F = f(x)dx A definite integral b a f(x)dx is the area bounded by the graph of f and the vertical lines x = a and x = b. The two definitions are connected by the formula: b a f(x)dx = F (b) F (a)

58 Introduction II Notation f(x)dx represents integration dx indicates the variable of integration, thus that we are integrating over x For definite integration we might have f(x)dx when we integrate over a domain D or D b if the domain is an interval [a, b]. a f(x)dx

59 The Fundamental Theorem of Calculus Theorem Let f be a continuous real valued function defined on a closed interval [a, b]. Let F be the function defined for all x in [a, b] by F (x) = x a f(t)dt Then, F is continuous on [a, b], differentiable on (a, b) and for all x in (a, b) F (x) = f(x)

60 Some Formulas 1 b f(x)dx = for a > b a a b f(x)dx

61 Some Formulas 1 b f(x)dx = a a b for a > b 2 a f(x)dx = 0 a f(x)dx

62 Some Formulas 1 b f(x)dx = a a b for a > b 2 a f(x)dx = 0 a f(x)dx 3 b f(x)dx = c f(x)dx + b a a c f(x)dx

63 Computation of Integrals I Some integrals can be found directly with the help of formulas which can be found in tables. Examples: x a dx = xa+1 a C 1 dx = ln x + C x e x dx = e x + C cos xdx = sin x + C

64 Computation of Integrals II: Integration by Parts Recall the formula (f(x)g(x)) = f (x)g(x) + f(x)g (x)

65 Computation of Integrals II: Integration by Parts Recall the formula (f(x)g(x)) = f (x)g(x) + f(x)g (x) Integrate the whole expression: f(x)g(x) = f (x)g(x)dx + f(x)g (x)dx

66 Computation of Integrals II: Integration by Parts Recall the formula (f(x)g(x)) = f (x)g(x) + f(x)g (x) Integrate the whole expression: f(x)g(x) = f (x)g(x)dx + f(x)g (x)dx Rearrange: f(x)g (x)dx = f(x)g(x) f (x)g(x)dx

67 Computation of Integrals III: Integration by Parts Example Find xe x dx 1 According to our formula we set f(x) = x and g (x) = e x

68 Computation of Integrals III: Integration by Parts Example Find xe x dx 1 According to our formula we set f(x) = x and g (x) = e x 2 We have f (x) = 1 and g(x) = g (x) = e x

69 Computation of Integrals III: Integration by Parts Example Find xe x dx 1 According to our formula we set f(x) = x and g (x) = e x 2 We have f (x) = 1 and g(x) = g (x) = e x 3 Substitute back to the formula: xe x dx = xe x 1 e x dx = xe x e x + C

70 Computation of Integrals IV: Integration by Substituion Recall the formula [f(g(t))] = f (g(t)) g (t)

71 Computation of Integrals IV: Integration by Substituion Recall the formula [f(g(t))] = f (g(t)) g (t) Integrate both sides twice: f(g(t))dt = g(b) g(a) f(x)dx = f(g(t))g (t)dt The trick is to find a substitution which makes it easy.

72 Computation of Integrals V: Integration by Substituion Example Find x cos(x 2 + 1)dx 1 Make the substitution u = x so we obtain du = 2xdx.

73 Computation of Integrals V: Integration by Substituion Example Find x cos(x 2 + 1)dx 1 Make the substitution u = x so we obtain du = 2xdx. 2 x cos(x 2 + 1)dx = 1 2x cos(x 2 + 1)dx 2 = 1 cos udu = sin u + C = 1 2 sin(x2 + 1) + C

74 Basics of linear algebra Real valued Functions Differential Calculus Integral Calculus Optimization

75 Extrema I Definition: Let f : A R R and a Int(A) a is a local (global) minimum of a function f if in the neighborhood V of a it holds that f (x) f (a), x V ( x A) a is a local (global) maximum of a function f if in the neighborhood V of a it holds that f (x) f (a), x V ( x A) Minima and maxima are jointly denoted as extrema (singular: extremum).

76 Extrema II Definition: Let f(x) be a differentiable function defined on A R with values in R. A necessary condition (First order condition) for existence of an extremum at point a A is that f (a) = 0 Points with f = 0 are known as stationary points.

77 Extrema II Definition: Let f(x) be a differentiable function defined on A R with values in R. A necessary condition (First order condition) for existence of an extremum at point a A is that f (a) = 0 Points with f = 0 are known as stationary points. Definition: A sufficient condition (second order condition), which characterizes whether a stationary point is a maximum, minimum or a saddle point is given by: if f (a) > 0 a is a minimum if f (a) < 0 a is a maximum if f (a) = 0 a is a saddle point

78 Extrema III Definition: Let f : A R 2 R and (a, b) Int(A) (a, b) is a local (global) minimum of a function f if in the neighborhood V of (a, b) it holds that f (x, y) f (a, b), x, y V ( x, y A) (a, b) is a local (global) maximum of a function f if in the neighborhood V of (a, b) it holds that f (x, y) f (a, b), x, y V ( x, y A)

79 Extrema IV A necessary condition (FOC) for existence of an extremum at a point (a, b) A is that ( ) f (x, y) = 0 x ( ) f (x, y) = 0 y

80 Extrema V Sufficient conditions, which determine whether a stationary point is a local maximum or a minimum are given by the determinant of the Hessian matrix evaluated at the stationary point. The Hessian matrix is defined as: 2 f H (x, y) = x 2 2 f x y 2 f x y 2 f y 2 (x,y)

81 Extrema VI If det(h(x, y)) > 0 and f xx (a, b) > 0 then (a, b) is a local minimum of f. If det(h(x, y)) > 0 and f xx (a, b) < 0 then (a, b) is a local maximum of f. If det(h(x, y)) < 0 then (a, b) is a saddle point of f. If det(h(x, y)) = 0 the test is inconclusive.

82 Extrema VI If det(h(x, y)) > 0 and f xx (a, b) > 0 then (a, b) is a local minimum of f. If det(h(x, y)) > 0 and f xx (a, b) < 0 then (a, b) is a local maximum of f. If det(h(x, y)) < 0 then (a, b) is a saddle point of f. If det(h(x, y)) = 0 the test is inconclusive. One can extend these results straightforwardly to a case or more than two variables.

83 Example I Example Find the extrema of The necessary conditions: f (x, y) = x 3 + 4xy y 2. { f x (x, y) = 0 { 3x 2 + 4y = 0 { 3x 2 + 4y = 0 f y (x, y) = 0 4x 2y = 0 y = 2x { { { 3x (2x) = 0 3x 2 + 8x = 0 x = 0 or x = 8/3 y = 2x y = 2x y = 0 or y = 16/3 Thus, we have two stationary points: (x, y) = (0, 0) and (x, y) = (8/3, 16/3).

84 Example II Sufficient conditions: The Hessian matrix is given by: [ ] [ ] f x (x, y) f H (x, y) = 2 xy (x, y) 6x 4 = f xy (x, y) f y (x, y) Evaluated at the point (x, y) = (0, 0) we obtain [ ] [ ] [ 6x H (0, 0) = = = (0,0) ]

85 Example III where D 1 = 2 = 2 < 0 D 2 = = 16 < 0 so the point (0, 0) is a saddle point.

86 Example IV For the point (x, y) = (8/3, 16/3) we obtain [ ] 6x 4 H (8/3, 16/3) = = 4 2 (8/3,16/3) [ 48/ ] where D 1 = 48/3 = 48/3 < 0 D 2 = 48/ = 48/3 > 0 so the point (8/3, 16/3) is a local maximum.

87 Conditional Optimization I Definition: The problem of conditional optimization consists of a real valued function f : A R 2 R (objective function) variables of which are constrained by a condition g(x, y) = 0 Finding of conditional extrema of the basic problem is equivalent to finding of extrema of the following function: L (x, y; λ) = f (x, y) + λg(x, y) known as the Lagrange function (Lagrangian). An auxiliary variable λ is known as the Lagrange multiplier.

88 Conditional Optimization II After we define the Lagrangian we find the stationary points (necessary condition) to obtain a system of three equations: ( ) L (x, y; λ) = 0 x ( ) L (x, y; λ) = 0 ( y ) L (x, y; λ) = 0 λ

89 Conditional Optimization III Similar to the case of unconditional extrema, the characterization of the stationary points depends on the signs of the principal minors of a bordered Hessian. For the 3 3 case we have: 0 H 2 (a, b; λ g ) = x g y g x 2 L x 2 2 L x y where (a, b, λ ) are the stationary points. g y 2 L x y 2 L y 2 (a,b,λ ) If H 2 (a, b; λ ) > 0, the point (a, b) is a conditional maximum. If H 2 (a, b; λ ) < 0, the point (a, b) is a conditional minimum.

90 Example I Example Determine the conditional extrema of the function f (x, y) = x 2 + y 2 s.t. g (x, y) = x + y 2 = 0 Step 1:We find the Lagrange function: L (x, y, λ) = f (x, y) + λg (x, y) = x 2 + y 2 + λ (x + y 2) Step 2: First order conditions: ( ) L (x, y; λ) = 0 x ( ) L (x, y; λ) = 0 ( y ) L (x, y; λ) = 0 λ 2x + λ = 0 2y + λ = 0 x + y 2 = 0

91 Example II x = λ/2 y = λ/2 x = 2 y x = λ/2 y = λ/2 λ = 2 x = λ/2 y = λ/2 λ/2 = 2 + λ/2 x = 1 y = 1 λ = 2 Therefore, (1, 1, 2) is the only stationary point of the Lagrangian.

92 Example III Step 3: The second order condition: 0 g H 2 (1, 1, 2) = x g y = thus (1, 1) is a conditional minimum. g g x y 2 L 2 L x 2 x y 2 L 2 L x y y 2 = 4 < 0 (1,1, 2) (1,1, 2)

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.

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. Matrices Operations Linear Algebra Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0 The rectangular array 1 2 1 4 3 4 2 6 1 3 2 1 in which the

More information

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

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in Chapter 4 - MATRIX ALGEBRA 4.1. Matrix Operations A a 11 a 12... a 1j... a 1n a 21. a 22.... a 2j... a 2n. a i1 a i2... a ij... a in... a m1 a m2... a mj... a mn The entry in the ith row and the jth column

More information

TOPIC III LINEAR ALGEBRA

TOPIC III LINEAR ALGEBRA [1] Linear Equations TOPIC III LINEAR ALGEBRA (1) Case of Two Endogenous Variables 1) Linear vs. Nonlinear Equations Linear equation: ax + by = c, where a, b and c are constants. 2 Nonlinear equation:

More information

OR MSc Maths Revision Course

OR MSc Maths Revision Course OR MSc Maths Revision Course Tom Byrne School of Mathematics University of Edinburgh t.m.byrne@sms.ed.ac.uk 15 September 2017 General Information Today JCMB Lecture Theatre A, 09:30-12:30 Mathematics revision

More information

Lecture Notes in Linear Algebra

Lecture Notes in Linear Algebra Lecture Notes in Linear Algebra Dr. Abdullah Al-Azemi Mathematics Department Kuwait University February 4, 2017 Contents 1 Linear Equations and Matrices 1 1.2 Matrices............................................

More information

Linear Systems and Matrices

Linear Systems and Matrices Department of Mathematics The Chinese University of Hong Kong 1 System of m linear equations in n unknowns (linear system) a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.......

More information

Graduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1 Graduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 23, 2012 Outline 1 2 Course Outline ematical techniques used in graduate level economics courses Mathematics for Economists

More information

Undergraduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1 Undergraduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 15, 2014 Outline 1 Courses Description and Requirement 2 Course Outline ematical techniques used in economics courses

More information

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

Introduction. Vectors and Matrices. Vectors [1] Vectors [2] Introduction Vectors and Matrices Dr. TGI Fernando 1 2 Data is frequently arranged in arrays, that is, sets whose elements are indexed by one or more subscripts. Vector - one dimensional array Matrix -

More information

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.

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. Introduction Matrix Operations Matrix: An m n matrix A is an m-by-n array of scalars from a field (for example real numbers) of the form a a a n a a a n A a m a m a mn The order (or size) of A is m n (read

More information

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2 MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS SYSTEMS OF EQUATIONS AND MATRICES Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

Math 240 Calculus III

Math 240 Calculus III The Calculus III Summer 2015, Session II Wednesday, July 8, 2015 Agenda 1. of the determinant 2. determinants 3. of determinants What is the determinant? Yesterday: Ax = b has a unique solution when A

More information

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

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 Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

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

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 Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

Elementary Linear Algebra

Elementary Linear Algebra Matrices J MUSCAT Elementary Linear Algebra Matrices Definition Dr J Muscat 2002 A matrix is a rectangular array of numbers, arranged in rows and columns a a 2 a 3 a n a 2 a 22 a 23 a 2n A = a m a mn We

More information

Chapter 3. Determinants and Eigenvalues

Chapter 3. Determinants and Eigenvalues Chapter 3. Determinants and Eigenvalues 3.1. Determinants With each square matrix we can associate a real number called the determinant of the matrix. Determinants have important applications to the theory

More information

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Linear Algebra: Lecture notes from Kolman and Hill 9th edition. Linear Algebra: Lecture notes from Kolman and Hill 9th edition Taylan Şengül March 20, 2019 Please let me know of any mistakes in these notes Contents Week 1 1 11 Systems of Linear Equations 1 12 Matrices

More information

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

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are real numbers. 1

More information

Math Camp Notes: Linear Algebra I

Math Camp Notes: Linear Algebra I Math Camp Notes: Linear Algebra I Basic Matrix Operations and Properties Consider two n m matrices: a a m A = a n a nm Then the basic matrix operations are as follows: a + b a m + b m A + B = a n + b n

More information

6.1 Matrices. Definition: A Matrix A is a rectangular array of the form. A 11 A 12 A 1n A 21. A 2n. A m1 A m2 A mn A 22.

6.1 Matrices. Definition: A Matrix A is a rectangular array of the form. A 11 A 12 A 1n A 21. A 2n. A m1 A m2 A mn A 22. 61 Matrices Definition: A Matrix A is a rectangular array of the form A 11 A 12 A 1n A 21 A 22 A 2n A m1 A m2 A mn The size of A is m n, where m is the number of rows and n is the number of columns The

More information

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

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion Chapter 2:Determinants Section 2.1: Determinants by cofactor expansion [ ] a b Recall: The 2 2 matrix is invertible if ad bc 0. The c d ([ ]) a b function f = ad bc is called the determinant and it associates

More information

Matrices and Linear Algebra

Matrices and Linear Algebra Contents Quantitative methods for Economics and Business University of Ferrara Academic year 2017-2018 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2

More information

Elementary Row Operations on Matrices

Elementary Row Operations on Matrices King Saud University September 17, 018 Table of contents 1 Definition A real matrix is a rectangular array whose entries are real numbers. These numbers are organized on rows and columns. An m n matrix

More information

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method Module 1: Matrices and Linear Algebra Lesson 3 Inverse of Matrices by Determinants and Gauss-Jordan Method 3.1 Introduction In lecture 1 we have seen addition and multiplication of matrices. Here we shall

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to: MAC 2 Module Determinants Learning Objectives Upon completing this module, you should be able to:. Determine the minor, cofactor, and adjoint of a matrix. 2. Evaluate the determinant of a matrix by cofactor

More information

Foundations of Matrix Analysis

Foundations of Matrix Analysis 1 Foundations of Matrix Analysis In this chapter we recall the basic elements of linear algebra which will be employed in the remainder of the text For most of the proofs as well as for the details, the

More information

Math Linear Algebra Final Exam Review Sheet

Math Linear Algebra Final Exam Review Sheet Math 15-1 Linear Algebra Final Exam Review Sheet Vector Operations Vector addition is a component-wise operation. Two vectors v and w may be added together as long as they contain the same number n of

More information

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column Math 20F Linear Algebra Lecture 18 1 Determinants, n n Review: The 3 3 case Slide 1 Determinants n n (Expansions by rows and columns Relation with Gauss elimination matrices: Properties) Formula for the

More information

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

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. MATRICES After studying this chapter you will acquire the skills in knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. List of

More information

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam This study sheet will not be allowed during the test Books and notes will not be allowed during the test Calculators and cell phones

More information

Digital Workbook for GRA 6035 Mathematics

Digital Workbook for GRA 6035 Mathematics Eivind Eriksen Digital Workbook for GRA 6035 Mathematics November 10, 2014 BI Norwegian Business School Contents Part I Lectures in GRA6035 Mathematics 1 Linear Systems and Gaussian Elimination........................

More information

Linear Algebra Primer

Linear Algebra Primer Introduction Linear Algebra Primer Daniel S. Stutts, Ph.D. Original Edition: 2/99 Current Edition: 4//4 This primer was written to provide a brief overview of the main concepts and methods in elementary

More information

MATH2210 Notebook 2 Spring 2018

MATH2210 Notebook 2 Spring 2018 MATH2210 Notebook 2 Spring 2018 prepared by Professor Jenny Baglivo c Copyright 2009 2018 by Jenny A. Baglivo. All Rights Reserved. 2 MATH2210 Notebook 2 3 2.1 Matrices and Their Operations................................

More information

Chapter 2 Notes, Linear Algebra 5e Lay

Chapter 2 Notes, Linear Algebra 5e Lay Contents.1 Operations with Matrices..................................1.1 Addition and Subtraction.............................1. Multiplication by a scalar............................ 3.1.3 Multiplication

More information

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

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices Matrices A. Fabretti Mathematics 2 A.Y. 2015/2016 Table of contents Matrix Algebra Determinant Inverse Matrix Introduction A matrix is a rectangular array of numbers. The size of a matrix is indicated

More information

7.6 The Inverse of a Square Matrix

7.6 The Inverse of a Square Matrix 7.6 The Inverse of a Square Matrix Copyright Cengage Learning. All rights reserved. What You Should Learn Verify that two matrices are inverses of each other. Use Gauss-Jordan elimination to find inverses

More information

Fundamentals of Engineering Analysis (650163)

Fundamentals of Engineering Analysis (650163) Philadelphia University Faculty of Engineering Communications and Electronics Engineering Fundamentals of Engineering Analysis (6563) Part Dr. Omar R Daoud Matrices: Introduction DEFINITION A matrix is

More information

Calculating determinants for larger matrices

Calculating determinants for larger matrices Day 26 Calculating determinants for larger matrices We now proceed to define det A for n n matrices A As before, we are looking for a function of A that satisfies the product formula det(ab) = det A det

More information

1 Determinants. 1.1 Determinant

1 Determinants. 1.1 Determinant 1 Determinants [SB], Chapter 9, p.188-196. [SB], Chapter 26, p.719-739. Bellow w ll study the central question: which additional conditions must satisfy a quadratic matrix A to be invertible, that is to

More information

MATRICES AND MATRIX OPERATIONS

MATRICES AND MATRIX OPERATIONS SIZE OF THE MATRIX is defined by number of rows and columns in the matrix. For the matrix that have m rows and n columns we say the size of the matrix is m x n. If matrix have the same number of rows (n)

More information

Chapter 7. Linear Algebra: Matrices, Vectors,

Chapter 7. Linear Algebra: Matrices, Vectors, Chapter 7. Linear Algebra: Matrices, Vectors, Determinants. Linear Systems Linear algebra includes the theory and application of linear systems of equations, linear transformations, and eigenvalue problems.

More information

POLI270 - Linear Algebra

POLI270 - Linear Algebra POLI7 - Linear Algebra Septemer 8th Basics a x + a x +... + a n x n b () is the linear form where a, b are parameters and x n are variables. For a given equation such as x +x you only need a variable and

More information

MATHEMATICS. IMPORTANT FORMULAE AND CONCEPTS for. Final Revision CLASS XII CHAPTER WISE CONCEPTS, FORMULAS FOR QUICK REVISION.

MATHEMATICS. IMPORTANT FORMULAE AND CONCEPTS for. Final Revision CLASS XII CHAPTER WISE CONCEPTS, FORMULAS FOR QUICK REVISION. MATHEMATICS IMPORTANT FORMULAE AND CONCEPTS for Final Revision CLASS XII 2016 17 CHAPTER WISE CONCEPTS, FORMULAS FOR QUICK REVISION Prepared by M. S. KUMARSWAMY, TGT(MATHS) M. Sc. Gold Medallist (Elect.),

More information

CHAPTER 8: Matrices and Determinants

CHAPTER 8: Matrices and Determinants (Exercises for Chapter 8: Matrices and Determinants) E.8.1 CHAPTER 8: Matrices and Determinants (A) means refer to Part A, (B) means refer to Part B, etc. Most of these exercises can be done without a

More information

MAT Linear Algebra Collection of sample exams

MAT Linear Algebra Collection of sample exams MAT 342 - Linear Algebra Collection of sample exams A-x. (0 pts Give the precise definition of the row echelon form. 2. ( 0 pts After performing row reductions on the augmented matrix for a certain system

More information

September Math Course: First Order Derivative

September Math Course: First Order Derivative September Math Course: First Order Derivative Arina Nikandrova Functions Function y = f (x), where x is either be a scalar or a vector of several variables (x,..., x n ), can be thought of as a rule which

More information

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima

Calculus 2502A - Advanced Calculus I Fall : Local minima and maxima Calculus 50A - Advanced Calculus I Fall 014 14.7: Local minima and maxima Martin Frankland November 17, 014 In these notes, we discuss the problem of finding the local minima and maxima of a function.

More information

Section 9.2: Matrices.. a m1 a m2 a mn

Section 9.2: Matrices.. a m1 a m2 a mn Section 9.2: Matrices Definition: A matrix is a rectangular array of numbers: a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn In general, a ij denotes the (i, j) entry of A. That is, the entry in

More information

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i ) Direct Methods for Linear Systems Chapter Direct Methods for Solving Linear Systems Per-Olof Persson persson@berkeleyedu Department of Mathematics University of California, Berkeley Math 18A Numerical

More information

LINEAR ALGEBRA REVIEW

LINEAR ALGEBRA REVIEW LINEAR ALGEBRA REVIEW SPENCER BECKER-KAHN Basic Definitions Domain and Codomain. Let f : X Y be any function. This notation means that X is the domain of f and Y is the codomain of f. This means that for

More information

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. Section 9.2: Matrices Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. That is, a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn A

More information

Math 302 Outcome Statements Winter 2013

Math 302 Outcome Statements Winter 2013 Math 302 Outcome Statements Winter 2013 1 Rectangular Space Coordinates; Vectors in the Three-Dimensional Space (a) Cartesian coordinates of a point (b) sphere (c) symmetry about a point, a line, and a

More information

Linear Algebra Primer

Linear Algebra Primer Linear Algebra Primer D.S. Stutts November 8, 995 Introduction This primer was written to provide a brief overview of the main concepts and methods in elementary linear algebra. It was not intended to

More information

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88 Math Camp 2010 Lecture 4: Linear Algebra Xiao Yu Wang MIT Aug 2010 Xiao Yu Wang (MIT) Math Camp 2010 08/10 1 / 88 Linear Algebra Game Plan Vector Spaces Linear Transformations and Matrices Determinant

More information

Linear Algebra Highlights

Linear Algebra Highlights Linear Algebra Highlights Chapter 1 A linear equation in n variables is of the form a 1 x 1 + a 2 x 2 + + a n x n. We can have m equations in n variables, a system of linear equations, which we want to

More information

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

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway Linear Algebra: Lecture Notes Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway November 6, 23 Contents Systems of Linear Equations 2 Introduction 2 2 Elementary Row

More information

MATRICES. a m,1 a m,n A =

MATRICES. a m,1 a m,n A = MATRICES Matrices are rectangular arrays of real or complex numbers With them, we define arithmetic operations that are generalizations of those for real and complex numbers The general form a matrix of

More information

EC /11. Math for Microeconomics September Course, Part II Problem Set 1 with Solutions. a11 a 12. x 2

EC /11. Math for Microeconomics September Course, Part II Problem Set 1 with Solutions. a11 a 12. x 2 LONDON SCHOOL OF ECONOMICS Professor Leonardo Felli Department of Economics S.478; x7525 EC400 2010/11 Math for Microeconomics September Course, Part II Problem Set 1 with Solutions 1. Show that the general

More information

4. Determinants.

4. Determinants. 4. Determinants 4.1. Determinants; Cofactor Expansion Determinants of 2 2 and 3 3 Matrices 2 2 determinant 4.1. Determinants; Cofactor Expansion Determinants of 2 2 and 3 3 Matrices 3 3 determinant 4.1.

More information

1. General Vector Spaces

1. General Vector Spaces 1.1. Vector space axioms. 1. General Vector Spaces Definition 1.1. Let V be a nonempty set of objects on which the operations of addition and scalar multiplication are defined. By addition we mean a rule

More information

Matrices. In this chapter: matrices, determinants. inverse matrix

Matrices. In this chapter: matrices, determinants. inverse matrix Matrices In this chapter: matrices, determinants inverse matrix 1 1.1 Matrices A matrix is a retangular array of numbers. Rows: horizontal lines. A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 a 41 a

More information

Phys 201. Matrices and Determinants

Phys 201. Matrices and Determinants Phys 201 Matrices and Determinants 1 1.1 Matrices 1.2 Operations of matrices 1.3 Types of matrices 1.4 Properties of matrices 1.5 Determinants 1.6 Inverse of a 3 3 matrix 2 1.1 Matrices A 2 3 7 =! " 1

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

II. Determinant Functions

II. Determinant Functions Supplemental Materials for EE203001 Students II Determinant Functions Chung-Chin Lu Department of Electrical Engineering National Tsing Hua University May 22, 2003 1 Three Axioms for a Determinant Function

More information

Linear Algebra: Linear Systems and Matrices - Quadratic Forms and Deniteness - Eigenvalues and Markov Chains

Linear Algebra: Linear Systems and Matrices - Quadratic Forms and Deniteness - Eigenvalues and Markov Chains Linear Algebra: Linear Systems and Matrices - Quadratic Forms and Deniteness - Eigenvalues and Markov Chains Joshua Wilde, revised by Isabel Tecu, Takeshi Suzuki and María José Boccardi August 3, 3 Systems

More information

3 Matrix Algebra. 3.1 Operations on matrices

3 Matrix Algebra. 3.1 Operations on matrices 3 Matrix Algebra A matrix is a rectangular array of numbers; it is of size m n if it has m rows and n columns. A 1 n matrix is a row vector; an m 1 matrix is a column vector. For example: 1 5 3 5 3 5 8

More information

A Brief Outline of Math 355

A Brief Outline of Math 355 A Brief Outline of Math 355 Lecture 1 The geometry of linear equations; elimination with matrices A system of m linear equations with n unknowns can be thought of geometrically as m hyperplanes intersecting

More information

Determinants Chapter 3 of Lay

Determinants Chapter 3 of Lay Determinants Chapter of Lay Dr. Doreen De Leon Math 152, Fall 201 1 Introduction to Determinants Section.1 of Lay Given a square matrix A = [a ij, the determinant of A is denoted by det A or a 11 a 1j

More information

Matrices and Determinants

Matrices and Determinants Chapter1 Matrices and Determinants 11 INTRODUCTION Matrix means an arrangement or array Matrices (plural of matrix) were introduced by Cayley in 1860 A matrix A is rectangular array of m n numbers (or

More information

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B Chapter 8 - S&B Algebraic operations Matrix: The size of a matrix is indicated by the number of its rows and the number of its columns. A matrix with k rows and n columns is called a k n matrix. The number

More information

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

MATH 240 Spring, Chapter 1: Linear Equations and Matrices MATH 240 Spring, 2006 Chapter Summaries for Kolman / Hill, Elementary Linear Algebra, 8th Ed. Sections 1.1 1.6, 2.1 2.2, 3.2 3.8, 4.3 4.5, 5.1 5.3, 5.5, 6.1 6.5, 7.1 7.2, 7.4 DEFINITIONS Chapter 1: Linear

More information

Determinants by Cofactor Expansion (III)

Determinants by Cofactor Expansion (III) Determinants by Cofactor Expansion (III) Comment: (Reminder) If A is an n n matrix, then the determinant of A can be computed as a cofactor expansion along the jth column det(a) = a1j C1j + a2j C2j +...

More information

Lecture 10: Determinants and Cramer s Rule

Lecture 10: Determinants and Cramer s Rule Lecture 0: Determinants and Cramer s Rule The determinant and its applications. Definition The determinant of a square matrix A, denoted by det(a) or A, is a real number, which is defined as follows. -by-

More information

MATH 106 LINEAR ALGEBRA LECTURE NOTES

MATH 106 LINEAR ALGEBRA LECTURE NOTES MATH 6 LINEAR ALGEBRA LECTURE NOTES FALL - These Lecture Notes are not in a final form being still subject of improvement Contents Systems of linear equations and matrices 5 Introduction to systems of

More information

Conceptual Questions for Review

Conceptual Questions for Review Conceptual Questions for Review Chapter 1 1.1 Which vectors are linear combinations of v = (3, 1) and w = (4, 3)? 1.2 Compare the dot product of v = (3, 1) and w = (4, 3) to the product of their lengths.

More information

Linear Algebra: Matrix Eigenvalue Problems

Linear Algebra: Matrix Eigenvalue Problems CHAPTER8 Linear Algebra: Matrix Eigenvalue Problems Chapter 8 p1 A matrix eigenvalue problem considers the vector equation (1) Ax = λx. 8.0 Linear Algebra: Matrix Eigenvalue Problems Here A is a given

More information

Introduction Eigen Values and Eigen Vectors An Application Matrix Calculus Optimal Portfolio. Portfolios. Christopher Ting.

Introduction Eigen Values and Eigen Vectors An Application Matrix Calculus Optimal Portfolio. Portfolios. Christopher Ting. Portfolios Christopher Ting Christopher Ting http://www.mysmu.edu/faculty/christophert/ : christopherting@smu.edu.sg : 6828 0364 : LKCSB 5036 November 4, 2016 Christopher Ting QF 101 Week 12 November 4,

More information

ECON 186 Class Notes: Linear Algebra

ECON 186 Class Notes: Linear Algebra ECON 86 Class Notes: Linear Algebra Jijian Fan Jijian Fan ECON 86 / 27 Singularity and Rank As discussed previously, squareness is a necessary condition for a matrix to be nonsingular (have an inverse).

More information

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to : MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible..

More information

Online Exercises for Linear Algebra XM511

Online Exercises for Linear Algebra XM511 This document lists the online exercises for XM511. The section ( ) numbers refer to the textbook. TYPE I are True/False. Lecture 02 ( 1.1) Online Exercises for Linear Algebra XM511 1) The matrix [3 2

More information

REVIEW OF DIFFERENTIAL CALCULUS

REVIEW OF DIFFERENTIAL CALCULUS REVIEW OF DIFFERENTIAL CALCULUS DONU ARAPURA 1. Limits and continuity To simplify the statements, we will often stick to two variables, but everything holds with any number of variables. Let f(x, y) be

More information

Review of Vectors and Matrices

Review of Vectors and Matrices A P P E N D I X D Review of Vectors and Matrices D. VECTORS D.. Definition of a Vector Let p, p, Á, p n be any n real numbers and P an ordered set of these real numbers that is, P = p, p, Á, p n Then P

More information

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero. Finite Mathematics Chapter 2 Section 2.1 Systems of Linear Equations: An Introduction Systems of Equations Recall that a system of two linear equations in two variables may be written in the general form

More information

Review of Basic Concepts in Linear Algebra

Review of Basic Concepts in Linear Algebra Review of Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University September 7, 2017 Math 565 Linear Algebra Review September 7, 2017 1 / 40 Numerical Linear Algebra

More information

3 (Maths) Linear Algebra

3 (Maths) Linear Algebra 3 (Maths) Linear Algebra References: Simon and Blume, chapters 6 to 11, 16 and 23; Pemberton and Rau, chapters 11 to 13 and 25; Sundaram, sections 1.3 and 1.5. The methods and concepts of linear algebra

More information

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8. Linear Algebra M1 - FIB Contents: 5 Matrices, systems of linear equations and determinants 6 Vector space 7 Linear maps 8 Diagonalization Anna de Mier Montserrat Maureso Dept Matemàtica Aplicada II Translation:

More information

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices. MATH 2050 Assignment 8 Fall 2016 [10] 1. Find the determinant by reducing to triangular form for the following matrices. 0 1 2 (a) A = 2 1 4. ANS: We perform the Gaussian Elimination on A by the following

More information

Unit 3: Matrices. Juan Luis Melero and Eduardo Eyras. September 2018

Unit 3: Matrices. Juan Luis Melero and Eduardo Eyras. September 2018 Unit 3: Matrices Juan Luis Melero and Eduardo Eyras September 2018 1 Contents 1 Matrices and operations 4 1.1 Definition of a matrix....................... 4 1.2 Addition and subtraction of matrices..............

More information

Matrices A brief introduction

Matrices A brief introduction Matrices A brief introduction Basilio Bona DAUIN Politecnico di Torino Semester 1, 2014-15 B. Bona (DAUIN) Matrices Semester 1, 2014-15 1 / 41 Definitions Definition A matrix is a set of N real or complex

More information

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2018 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing

More information

Chapter 4. Determinants

Chapter 4. Determinants 4.2 The Determinant of a Square Matrix 1 Chapter 4. Determinants 4.2 The Determinant of a Square Matrix Note. In this section we define the determinant of an n n matrix. We will do so recursively by defining

More information

Matrix & Linear Algebra

Matrix & Linear Algebra Matrix & Linear Algebra Jamie Monogan University of Georgia For more information: http://monogan.myweb.uga.edu/teaching/mm/ Jamie Monogan (UGA) Matrix & Linear Algebra 1 / 84 Vectors Vectors Vector: A

More information

Linear Algebra Practice Problems

Linear Algebra Practice Problems Linear Algebra Practice Problems Math 24 Calculus III Summer 25, Session II. Determine whether the given set is a vector space. If not, give at least one axiom that is not satisfied. Unless otherwise stated,

More information

Linear Algebra Review (Course Notes for Math 308H - Spring 2016)

Linear Algebra Review (Course Notes for Math 308H - Spring 2016) Linear Algebra Review (Course Notes for Math 308H - Spring 2016) Dr. Michael S. Pilant February 12, 2016 1 Background: We begin with one of the most fundamental notions in R 2, distance. Letting (x 1,

More information

Lectures on Linear Algebra for IT

Lectures on Linear Algebra for IT Lectures on Linear Algebra for IT by Mgr. Tereza Kovářová, Ph.D. following content of lectures by Ing. Petr Beremlijski, Ph.D. Department of Applied Mathematics, VSB - TU Ostrava Czech Republic 11. Determinants

More information

UNIVERSITY OF SOUTHAMPTON. A foreign language dictionary (paper version) is permitted provided it contains no notes, additions or annotations.

UNIVERSITY OF SOUTHAMPTON. A foreign language dictionary (paper version) is permitted provided it contains no notes, additions or annotations. UNIVERSITY OF SOUTHAMPTON MATH055W SEMESTER EXAMINATION 03/4 MATHEMATICS FOR ELECTRONIC & ELECTRICAL ENGINEERING Duration: 0 min Solutions Only University approved calculators may be used. A foreign language

More information

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

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient. ENGI 940 Lecture Notes - Matrix Algebra Page.0. Matrix Algebra A linear system of m equations in n unknowns, a x + a x + + a x b (where the a ij and i n n a x + a x + + a x b n n a x + a x + + a x b m

More information

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018 Homework #1 Assigned: August 20, 2018 Review the following subjects involving systems of equations and matrices from Calculus II. Linear systems of equations Converting systems to matrix form Pivot entry

More information

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic Unit II - Matrix arithmetic matrix multiplication matrix inverses elementary matrices finding the inverse of a matrix determinants Unit II - Matrix arithmetic 1 Things we can already do with matrices equality

More information