Ca Foscari University of Venice - Department of Management - A.A Luciano Battaia. December 14, 2017

Similar documents
The theorem of Rouché & Capelli

Linear Equations in Linear Algebra

One variable optimization

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Linear Equations in Linear Algebra

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

Matrices and RRE Form

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

Relationships Between Planes

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

Solving Linear Systems Using Gaussian Elimination

Math 308 Spring Midterm Answers May 6, 2013

Notes on Row Reduction

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 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.

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

A dash of derivatives

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

Lecture Notes in Linear Algebra

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

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

5x 2 = 10. x 1 + 7(2) = 4. x 1 3x 2 = 4. 3x 1 + 9x 2 = 8

Linear Systems and Matrices

Reference Material /Formulas for Pre-Calculus CP/ H Summer Packet

Methods for Solving Linear Systems Part 2

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

1 Determinants. 1.1 Determinant

Section 1.1: Systems of Linear Equations

Algebra II Vocabulary Alphabetical Listing. Absolute Maximum: The highest point over the entire domain of a function or relation.

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

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

Algebraic. techniques1

JUST THE MATHS UNIT NUMBER 9.3. MATRICES 3 (Matrix inversion & simultaneous equations) A.J.Hobson

September Math Course: First Order Derivative

Review of Optimization Methods

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

Linear Algebra Practice Problems

9.1 - Systems of Linear Equations: Two Variables

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics. The Basics of Linear Algebra

1 - Systems of Linear Equations

MATH 2331 Linear Algebra. Section 1.1 Systems of Linear Equations. Finding the solution to a set of two equations in two variables: Example 1: Solve:

System of Equations: An Introduction

CHAPTER 3 REVIEW QUESTIONS MATH 3034 Spring a 1 b 1

DM559 Linear and Integer Programming. Lecture 6 Rank and Range. Marco Chiarandini

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

Section-A. Short Questions

Lecture 7: Introduction to linear systems

Chapter 2. Matrix Arithmetic. Chapter 2

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

Section 8.1 Vector and Parametric Equations of a Line in

Math 302 Outcome Statements Winter 2013

Math 1314 Week #14 Notes

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Digital Workbook for GRA 6035 Mathematics

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

1300 Linear Algebra and Vector Geometry

MTH 2032 Semester II

Math Camp Notes: Linear Algebra I

Linear System Equations

ELEMENTARY LINEAR ALGEBRA

function independent dependent domain range graph of the function The Vertical Line Test

Basic Equations and Inequalities

Mathematics Syllabus UNIT I ALGEBRA : 1. SETS, RELATIONS AND FUNCTIONS

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

SOLUTIONS TO EXERCISES FOR MATHEMATICS 133 Part 1. I. Topics from linear algebra

P.1 Prerequisite skills Basic Algebra Skills

Introduction to Matrices

2. Every linear system with the same number of equations as unknowns has a unique solution.

Rectangular Systems and Echelon Forms

Matrix operations Linear Algebra with Computer Science Application

Linear Algebra March 16, 2019

CHAPTER 1 Systems of Linear Equations

5.6 Logarithmic and Exponential Equations

DEPARTMENT OF MATHEMATICS

x n -2.5 Definition A list is a list of objects, where multiplicity is allowed, and order matters. For example, as lists

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

Basics of Calculus and Algebra

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

1 Inhomogeneous linear systems.

LECTURES 4/5: SYSTEMS OF LINEAR EQUATIONS

Eigenvalues and Eigenvectors

Solving Systems of Equations Row Reduction

Math 2331 Linear Algebra

Mathematics. EC / EE / IN / ME / CE. for

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

MA 242 LINEAR ALGEBRA C1, Solutions to First Midterm Exam

Section 29: What s an Inverse?

The trick is to multiply the numerator and denominator of the big fraction by the least common denominator of every little fraction.

OR MSc Maths Revision Course

1 Last time: inverses

M 340L CS Homework Set 1

Mathematics 1EM/1ES/1FM/1FS Notes, weeks 18-23

MHCA Math Summer Packet 2015

2. TRIGONOMETRY 3. COORDINATEGEOMETRY: TWO DIMENSIONS

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

Solving Systems of Linear Equations Using Matrices

Transcription:

Ca Foscari University of Venice - Department of Management - A.A.27-28 Mathematics Luciano Battaia December 4, 27 Brief summary for second partial - Sample Exercises Two variables functions Here and in the following the functions are continuous and differentiable as many times as needed. The main problems considered in our course are the following, for some of which examples are proposed: all these examples have been solved in class. You can also check all the examples proposed in the exercises sheets or the mockups you can find in the usual web site.. Finding the domain Usually straight lines, circles, parabolas or simple one variable functions are involved.. f (x, y) = ln(x 2 + y 2 ) 2. f (x, y) = ln( x 2 y 2 ) 3. f (x, y) = x 2 + y 2 4. f (x, y) = x 2 y 2 5. f (x, y) = 2x2 3y 6. f (x, y) = y x 2 7. f (x, y) = ln(y e x ) 8. f (x, y) = ln(2 ).2 Studying and plotting level curves Usually straight lines, circles, parabolas or simple one variable functions are involved.. f (x, y) = x 2 + y 2, curves at levels,,. 2. f (x, y) = x 2 y 2, curves at levels,,. 3. f (x, y) = 2x2 3y, curves at levels,,. 4. f (x, y) = y x 2, curves at levels,,. Luciano Battaia

.3 Local optimization problems in open subsets of the plane As far as our course is concerned, open means border excluded, and often means the entire plane. In this case you must use the first order test, that is find the solutions of the system f x = f y = and then check the Hessian (second order test). Pay attention to the fact the points must belong to the interior of the domain. For example if you consider the function f (x, y) = ln(x 2 + y 2 ), the point (,) that, at first sight, solves the system of the first order conditions, is not in the domain. You can try to find local maxima and minima for the functions of subsection., except example 5..4 Optimization problems with constraints As far as our course is concerned the constraints are always curves in the plane (usually straight lines, circles, parabolas or graphs of simple one variable functions). Two cases have been considered.. If it is possible to use the equation of the constraint in order to obtain a single variable function from the given two variables function, then you can use the usual strategy for one variable functions. In this case both local and global optimization problems can be considered, as the limits involved, if there are any, are one variable limits. Pay attention to the restrictions, if there are any, for the residual variable. For example if we need to optimize the function f (x, y) = x 2 2x+y on the constraint y = x 2, the single variable function obtained by substituting y with x 2 in f (x, y) is g(x) = 2x 2 2x with no restriction for x. If we need to optimize the same function on the segment whose borders are A = (,) and B = (3,3), then the equation of the segment is y = x, with x 3, the single variable function obtained as usual is h(x) = 2x 2 x, but now x has the restriction x 3. We call this strategy elementary strategy, and it is by far the simplest one. 2. If it is not possible, or not simple, to use the equation of the constraint in order to obtain a single variable function from the given two variables function, then you must use the Lagrangian multiplier method. In this case: a) if the constraint if closed and bounded, and the question concerns global optimization (as is normally the case) you can limit yourself to use the first order check and find the global maximum and minimum by direct comparison of the values of the function in the points that solve the system with first order derivatives; b) if the constraint is not bounded we have only considered the possibility of finding local maxima or minima, and you must use the bordered Hessian; bordered Hessian can also be used in the previous case if local maxima or minima are requested (but we have never considered such a problem)..5 Global optimization in closed and bounded subsets of the plane In this case you must divide the problem in three parts.. First, using the strategy outlined in subsection.3, find the possible maximum and minimum points at the interior of the given set. Unless explicitly required there is non need to check the Hessian. 2. Second, using the strategy outlined in subsection.4, find the possible maximum and minimum points on the border. Luciano Battaia 2

3. Then compare the values of the given function at all points previously obtained: the greatest one will be the global maximum, the lowest one the global minimum. Example. Given the function f (x, y) = 2x2 3y find the global maximum and/or minimum on the constraint + =. (Use strategy.4.) Example 2. Given the function f (x, y) = (x ) 2 + y 2 find the local maxima and minima using Lagrangian multiplier method on the constraint x 2 y 2 =. Example 3. Given the function f (x, y) = (x ) 2 + y 2 find the global maximum and/or minimum on the constraint x = y 2. (Use strategy.4.) Example 4. Given the function f (x, y) = (x ) 2 + y 2 find the global maximum and/or minimum on the set given by x 2 + y 2 4. (Use strategy.5) 2 Linear algebra 2. Preliminaries. Matrices and matrix operations (addition, multiplication by a number, product). 2. Determinants (only for square matrices; the number obtained is an arbitrary real number). 3. Matrix inversion (only for square matrices with determinant not zero: non singular matrices). 4. Rank (for all matrices, even rectangular matrices; the number obtained is a positive integer number, that is, 2, 3,..., except for the null matrix whose rank is ). 2.2 Linear systems The first thing to remember is that a linear system can only have. one solution (sometimes we write solutions: in this case we agree that this special notation, used only in this context, implies that = ); 2. infinitely many solutions (usually we write, 2,..., depending on the number of unknowns that remain undetermined; when there is only one solution no unknown remains undetermined and this is the origin of the symbol of the previous item); 3. no solution at all. Systems that have solutions (one or infinitely many) are called consistent, system with no solution are called inconsistent. Linear systems can be explicitly written. in a traditional form, using equations, unknowns and a connecting brace on the left; 2. using the coefficients matrix, the constants vector and the unknowns vector in the form A x = b; 3. using only the augmented matrix A b. Luciano Battaia 3

2.3 Non singular square systems These are systems where the number of equations and the number of unknowns are exactly equal and where det(a). Such systems can be solved using. the inverse matrix strategy: x = A b; 2. Cramer s rule. 2.4 General systems These are rectangular systems or square systems with det(a) =. They can be solved using the Rouché-Capelli theorem. If the system is consistent you must have found a minor of the coefficients matrix different from zero. Now you can procede as follows:. discard all equations that are non involved in the minor; 2. put all the unknowns whose columns are not involved in that minor at the second member (remember to change the signs!); there are exactly n k unknowns to be taken to the second member, where k the common rank of the coefficients matrix and the augmented matrix and n the number of unknowns; 3. the remaining system is a square non singular system that can be solved as already said. You obtain n k solutions, with n k possibly zero (and in this case you have one only solution!). Observe that homogeneous systems, that is system with all constants equal to, are surely consistent and they always have, at least, the solution where the value of all the unknowns is. This is a very important consideration for the subject of linear dependence and independence. 2.5 Parametric system These are systems where the entries of the augmented matrix depend on some parameter (one in our problems, but there can be many in applications!!). There is nothing special in this situation: only pay attention to the fact all checks you must do in order to solve the system (determinants, ranks) may vary with the value of the parameter, so you need to consider different possibilities, for the different values of the parameter(s). In our problems you have normally two or three special values that require considerations, while in all other cases the behaviour is similar. 2.6 An important application of linear algebra The application we have considered is the problem of checking if the vectors of a given set are dependent or independent. Given r vectors, v, v 2, v 3,..., v r, with n rows (we shall say vectors of n ), the simplest strategy to check if they are dependent or independent and to check which of them can, if they are dependent, be written as a linear combination of the others is the following.. Write the linear system of n equations in r unknowns c, c 2, c 3,..., c r (that are called the coefficients of the combination): c v + c 2 v 2 + c 3 v 3 + + c r v r =. 2. Solve the system, observing that it is an homogeneous system, so it is certainly consistent. 3. If the system has one only solution (the solution where all unknowns are ) the vectors are independent. 4. If the system has infinitely many solutions then the vectors are dependent. Luciano Battaia 4

In the last case (dependent vectors), all vectors corresponding to non-zero coefficients can be written as a linear combination of the others, all the vectors corresponding to zero coefficients cannot be written as a linear combination of the others. Example 5. Consider the vectors v =, v 2 =, v 3 = 2 2, v 4 = Check if they are dependent or independent and, if they are dependent which of them can be written as a linear combination of the others. When possible write explicitly the linear combination. Solution. For the sake of simplicity we call the coefficients of the combination x, y, z, t: x v + y v 2 + z v 3 + t v 4 =. The coefficients matrix of this system (no need to write the augmented matrix, because it only has an all zeros column in addition) is obtained simply writing the given vectors as columns: A = 2 2 This matrix has rank 3 as its determinant is zero but, for instance, the submatrix obtained at the intersection of rows 2, 3, 4 and columns 2, 3, 4 has determinant 2. The reduced system (discard the first equation and take the x to the second member) is y z t = y + z = x 2z = x., The 4 3 = solutions are x, x 2, x 2,, for all values of x. We can rewrite the combination as follows: So we obtain x v x 2 v 2 x 2 v 3 + v 4 =. v = 2 v 2 + 2 v 3 + v4, v2 = 2 v v 3 + v4, v3 = 2 v v 2 + v4, while v 4 cannot be written as a linear combination of the others. Luciano Battaia 5