Professor Dr. S. K. Bhattacharjee Department of Statistics

Slides:



Advertisements
Similar presentations
Gauss Elimination.
Advertisements

PRECALCULUS I SOLVING SYSTEMS OF EQUATIONS Dr. Claude S. Moore Cape Fear Community College Chapter 8.
Chapter 2 Simultaneous Linear Equations
12.1 Systems of Linear Equations: Substitution and Elimination.
Matrices and Systems of Equations
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
Chapter 1 Systems of Linear Equations
Linear Equations in Linear Algebra
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
10.1 Gaussian Elimination Method
Linear Systems The definition of a linear equation given in Chapter 1 can be extended to more variables; any equation of the form for real numbers.
化工應用數學 授課教師: 郭修伯 Lecture 9 Matrices
7.1 Systems of Linear Equations: Two Equations Containing Two Variables.
LINEAR EQUATIONS IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear.
LINEAR EQUATION IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear equations.
INDR 262 INTRODUCTION TO OPTIMIZATION METHODS LINEAR ALGEBRA INDR 262 Metin Türkay 1.
Applications of matrices and determinants
5  Systems of Linear Equations: ✦ An Introduction ✦ Unique Solutions ✦ Underdetermined and Overdetermined Systems  Matrices  Multiplication of Matrices.
Linear Algebra - Chapter 1 [YR2005]
Linear Algebra – Linear Equations
Systems of Linear Equations Math 0099 Section Section Created and Presented by Laura Ralston.
Systems of Linear Equations
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Math Dept, Faculty of Applied Science, HCM University of Technology
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Identifying Solutions
Chapter 1 – Linear Equations
5.1 Solving Systems of Linear Equations by Graphing
Linear Systems of Equations
Graphing Systems of Equations Graph of a System Intersecting lines- intersect at one point One solution Same Line- always are on top of each other,
Systems and Matrices (Chapter5)
1 資訊科學數學 13 : Solutions of Linear Systems 陳光琦助理教授 (Kuang-Chi Chen)
System of Linear Equations Nattee Niparnan. LINEAR EQUATIONS.
Math 201 for Management Students
MA2213 Lecture 5 Linear Equations (Direct Solvers)
Systems of Linear Equation and Matrices
CALCULUS – II Gauss Elimination
Chapter 2 Simultaneous Linear Equations (cont.)
9.2 Solving Systems of Linear Equations by Addition BobsMathClass.Com Copyright © 2010 All Rights Reserved. 1 Step 1.Write both equations in the form Ax.
8.1 Solving Systems of Linear Equations by Graphing
A matrix equation has the same solution set as the vector equation which has the same solution set as the linear system whose augmented matrix is Therefore:
Section 3.5 Systems of Equations. What is a system of equations? Two or more equations in the same variables.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 2. Linear systems.
Chapter 4.1 Solving Systems of Linear Equations in two variables.
January 22 Review questions. Math 307 Spring 2003 Hentzel Time: 1:10-2:00 MWF Room: 1324 Howe Hall Instructor: Irvin Roy Hentzel Office 432 Carver Phone.
1 1.3 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra VECTOR EQUATIONS.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
SYSTEMS OF LINEAR EQUATIONS SUBSTITUTION AND ELIMINATION Objectives: Solve Systems of Equations by Substitution and Elimination Identify Inconsistent Systems.
Linear Equation The equation Which express the real or complex quantity b in terms of the unknowns and the real or complex constants is called a linear.
Chapter 1 Linear Algebra S 2 Systems of Linear Equations.
Slide Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley A set of equations is called a system of equations. The solution.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall.
Chapter 1 Systems of Linear Equations Linear Algebra.
Arab Open University Faculty of Computer Studies M132: Linear Algebra
WEEK 6 Day 2. Progress report Thursday the 11 th.
Matrices, Vectors, Determinants.
 Students will be able to solve linear systems using substitution. In Chapter 3-1, you were able to solve a linear system of equations by rewriting each.
1 SYSTEM OF LINEAR EQUATIONS BASE OF VECTOR SPACE.
Linear Equations in Linear Algebra
Systems of Linear Equations
Part B. Linear Algebra, Vector Calculus
The Inverse of a Square Matrix
5 Systems of Linear Equations and Matrices
Linear independence and matrix rank
Systems of First Order Linear Equations
6 Systems of Linear Equations and Matrices
SYSTEMS OF LINEAR EQUATIONS
Systems of linear equations substitution and elimination
Linear Equations in Linear Algebra
Presentation transcript:

G-inverse and Solution of System of Equations and their Applications in Statistics Professor Dr. S. K. Bhattacharjee Department of Statistics University of Rajshahi, Bangladesh

System of Linear Equations

Linear Combination of Vectors

Vector Form

Solution of Linear System A solution of a linear system is an assignment of values to the variables x1, x2, ..., xn such that each of the equations is satisfied. The set of all possible solutions is called the solution set. A linear system may behave in any one of three possible ways: The system has infinitely many solutions. The system has a single unique solution. The system has no solution.

Geometric Interpretation For a system involving two variables (x and y), each linear equation determines a line on the xy-plane. Because a solution to a linear system must satisfy all of the equations, the solution set is the intersection of these lines, and is hence either a line, a single point, or the empty set. For three variables, each linear equation determines a plane in three-dimensional space, and the solution set is the intersection of these planes. Thus the solution set may be a plane, a line, a single point, or the empty set. For n variables, each linear equations determines a hyperplane in n-dimensional space. The solution set is the intersection of these hyperplanes, which may be a flat of any dimension

Solution of Two Vectors

Solution of Three Equations

Solution of Three Equations

Solution of Three Equations

Solution of Three Equations

Solution of Two Equations in Three Variables

Solution of Linear System In general, the behavior of a linear system is determined by the relationship between the number of equations and the number of unknowns: Usually, a system with fewer equations than unknowns has infinitely many solutions. Such a system is also known as an underdetermined system. Usually, a system with the same number of equations and unknowns has a single unique solution. Usually, a system with more equations than unknowns has no solution. Such a system is also known as an overdetermined system.

Examples The system has exactly 1 solution. Systems have 1 and only 1 solution when the two lines have different slope. Think about it, if the two lines have different slopes then eventually at some point they must meet. After all the lines are not parallel. system has no solutions Systems have no solution when the lines are parallel (ie have the same slope) and the lines have different y-intercepts. As an example look at the following two lines Line 1: y = 5x +13 Line 2: y = 5x + 12 The system has infinite solutions Systems have infinite solutions when the lines are parallel and the lines have the same y-intercept. If two lines have the same slope (ie are parallel) and the same y-intercept, they are actually the same exact line. In other words, systems have infinite solutions when the two lines are the same line! As an example consider the following two lines Line 1: y = x +3 Line 2: 2y = 2x +6 These two lines are exactly the same line. If you multiply line 1 by two you get line 2.

Solution of Linear System

Two Variables Three Eq.

Example The equations 3x + 2y = 6 and 3x + 2y = 12 are inconsistent.

Methods of Solution The Methods of finding the solution to systems of linear equations: graph : by looking at where lines intersect (meet) on a graph algebraic equation : by setting the equations of the system equal to each other then solving this equation. substitution : by solving for one of the variables and substituting its value in to the other equation. Elimination : Elimination involves algebraic manipulations of two or more equations. The end goal is to eliminate a variable by creating opposite coefficients (The examples below should clarify this straightforward approach).

Graphical Method

Algebraic Equation Method

Substitution Method The Substitution Method   The substitution method involves algebraic substitution of one equation into a variable of the other. A quick refresher on algebraic substitution: Refresher:Substitution Equation 1 : x = 5 Equation 2: y = x +2 How to Substitute 1) Use equation 1( x= 5) to substitute 5 for x in second equation y = (5) + 2 2) So love for Y y = 5+ 2 = 7

Example Substitution Example Two Line 1 : y=2x+1 Line 2 : 2y=3x-2 Step 1: Substitute one equation into the other 2(2x+1)=3x-2 Step 2: Now that you have a single variable equation, solve for that variable's equation 4x+2 = 3x-2 x+2= -2 x= –4 Step 3 : Once you have solved for the one variable insert that variable back into either equation to obtain the value of y at the solution. Insert x= –4 to find y value y = 2(–4)+1= –7 This example's solution is ( –4, –7).

Elimination Method Elimination method is an algebraic method for solving systems. To use elimination you perform an operation on 1 equation then add the two equations so that one of the variables cancels. Example of Elimination Line 1: y = x + 1 Line 2: y = –x

Elimination Method

Matrix Methods of Solution

Inverse Method The Matrix form of a linear system of equations is Ax= b If the coefficient matrix is non-singular then the solution is: x = A-1b

Elementary Row Transformation Solving a system of linear equations by reducing the augmented matrix of the system to row canonical form

Example

Example

Homogeneous System

Homogeneous System Homogeneous Systems are always Consistent Every homogeneous system has at least one solution, known as the zero solution (or trivial solution), which is obtained by assigning the value of zero to each of the variables. The solution set has the following additional properties: If u and v are two vectors representing solutions to a homogeneous system, then the vector sum u + v is also a solution to the system. If u is a vector representing a solution to a homogeneous system, and r is any scalar, then ru is also a solution to the system.

Homogeneous System Suppose that a homogeneous system of linear equations has m equations and n variables with n>m. Then the system has infinitely many solutions.

Example

Example

Example

Generalized Inverse

Generalized Inverse

Generalized Inverse

Method of Obtaining g-Inverse

Example

Method of Obtaining g- Inverse

Example

Properties of g Inverse of X’X The matrix X’X has an important role in statistics where it arises in least square equations X’Xb = X’y. When G is a generalized inverse of X’X: G’ is also a generalized inverse of X’X XGX’X=X, i.e., GX’ is a generalized inverse of X XGX’ is invariant to G XGX’ is symmetric whether G is or not. Let X+ be the Moore – Penrose inverse of X. Then XX+ = XGX’ but X+ may not be equal to GX’.

g-Inverse

g-Inverse

Properties Every singular symmetric matrix (of order two or more) has both symmetric and non-symmetric generalized inverses. Let A represent a matrix of full column rank and B a matrix of full row rank. Then, (1) a matrix G is a generalized inverse of A if and only if G is a left inverse of A. And, (2) a matrix G is a generalized inverse of B if and only if G is a right inverse of B.

Properties For any matrix A and any nonzero scalar k, (1/k)A− is a generalized inverse of kA. For any matrix A,−A− is a generalized inverse of −A. For any matrix A, (A−)’ is a generalized inverse of A’ . For any symmetric matrix A, (A−)’ is a generalized inverse of A’ .

Properties A linear system Ax = b is consistent if and only if AA- b = b or, equivalently, if and only if (I − AA-)B = 0

The Moore-Penrose Inverse Given any matrix A, there is a unique matrix M such that (i) AMA=A (ii) MAM=M (iii) AM is symmetric (iv) MA is symmetric Then matrix M is called the Moore-Penrose inverse of A. M = L’(K’AL’)-1 K’

The Moore-Penrose Inverse

Example

Example