Download presentation
Presentation is loading. Please wait.
Published byγγγ―γ γγγγ‘ Modified over 5 years ago
1
Maths for Signals and Systems Linear Algebra in Engineering Lectures 4-5, Tuesday 18th October 2016
DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON
2
Mathematics for Signals and Systems
In this set of lectures we will talk about: The complete or general solution of the system π΄π₯=π. Independent vectors. Dependent vectors. Basis of a space. Dimension of a space.
3
Mathematics for Signals and Systems
In the previous set of lectures, we discussed about the system π΄π₯=0. In this lecture, we are interested in the general case, π΄π₯=π, where the right-hand side is not zero. A system of linear equations, π΄π₯=π, can have one solution, infinite solutions or no solution. Previously we discussed about pivot and free variables. Intuitively, we know that we have free variables if the number of equations is less than the number of unknowns. Furthermore, we know that if the number of equations is less than the number of unknowns the system has infinite number of solutions. Intuitively, we know that if the number of equations is larger than the number of unknowns the system, in general, hasnβt got exact solutions or it might have one solution.
4
Solution of the general form Ax=b General=Particular+Homogeneous
Letβs focus on the system π΄π₯=π. If π₯ 1 and π₯ 2 are solutions of the system π΄π₯=π then (π₯ 2 β π₯ 1 ) and (π₯ 1 β π₯ 2 ) are solutions of the system π΄π₯=0. We see that π₯ 2 = π₯ 1 + (π₯ 2 β π₯ 1 ) and π₯ 1 = π₯ 2 + (π₯ 1 β π₯ 2 ) From the above, we observe that if we pick a specific solution π₯ 1 of the system π΄π₯=π, any other solution π₯ 2 can be expressed as the previous solution π₯ 1 plus a solution of the system π΄π₯=0. Therefore, any solution of the system π΄π₯=π consists of two parts as follows: Any specific solution of the system π΄π₯=π. This is called particular solution. One way to obtain a particular solution, which we denote with π₯ π , is by setting all free variables to zero and solving for the pivot variables. Hence, we have that π΄ π₯ π =π. The (family of) solution(s) of the system π΄π₯=0. We denote these solutions with π₯ π . Hence, we have that π΄ π₯ π =0. The system π΄π₯=0 is called homogeneous system and its solutions are called homogeneous solutions.
5
Solution of the general form Ax=b
In this lecture we will discuss when the system π΄π₯=π has solution(s) and find this(these) solution(s). As already mentioned, systems of linear equations can have one solution, infinite solutions or no solution. Let us consider the system π΄π₯=π, where π΄ is taken from the previous lecture: We will perform elimination for the general case where π is a non-zero vector, so the augmented matrix is: We can immediately spot that the above system of linear equations can be solved only if π 3 β π 2 β π 1 =0. The above formula is a condition for solvability. π΄= π 1 π 2 π 3 π 1 π 2 β 2π 1 π 3 β3 π 1 π 1 π 2 β 2π 1 π 3 β π 2 β π 1 π βπ π π βπ π π β π
6
Solution of the general form Ax=b. Particular Solution.
We have seen in the previous example that the condition for solvability is π 3 β π 2 β π 1 =0. Let us consider the complete solution of the above system for a vector π that satisfies the above condition, for example π= In that case the system becomes: π₯ 1 +2 π₯ 2 +2 π₯ 3 + 2π₯ 4 =1 2 π₯ 3 + 4π₯ 4 =3 The pivot variables of the above system are π₯ 1 and π₯ 3 , and the free variables π₯ 2 and π₯ 4 . By setting all free variables to zero we have: π₯ 1 +2 π₯ 3 =1 2 π₯ 3 =3 π 1 π 2 β 2π 1 π 3 β π 2 β π 1
7
Particular and Homogeneous Solutions cont.
Based on the previous slide, the pivot variables of the system are obtained by solving the equations below. π₯ 1 +2 π₯ 3 =1 2 π₯ 3 =3 The pivot variables are π₯ 3 =3/2, π₯ 1 =β2. Therefore, the particular solution of the system is π₯ π = β2 0 3/2 0 Furthermore, as explained previously, the family of solutions of the homogeneous system π΄π₯=0 is given by: π₯ π = π 1 π₯ 1 π + π 2 π₯ 2 π where π₯ 1 π , π₯ 2 π are the special solutions π₯ 1 π = β , π₯ 2 π = β
8
Particular and Homogeneous Solutions cont.
The complete (general) solution of the system π΄π₯=π is π₯= π₯ π + π₯ π . For the particular example presented previously the complete solution is π₯= β2 0 3/ π 1 β π β2 1 Therefore, the complete solution is a family of solutions which form a two dimensional plane in π
4 that goes through the point π₯ π . π₯ 3 π₯ 4 π₯ π π₯ π π₯ π₯ 1 π₯ 2
9
Solution of the general form Ax=b. More rows than columns.
Consider an πΓπ matrix π΄ with π<π and rank π. We know that πβ€π and πβ€π. Suppose that the condition of full column rank, i.e., π=π holds. In that case: We donβt have free variables. The null space π(π΄) contains only the zero vector. IF there is a solution to the system π΄π₯=π, it is the particular solution π₯ π . Therefore, the system has a unique solution, if this exists. We conclude that the number of solutions is 0 or 1. Example: Consider the system with matrix π΄ shown below. rank = 2 there arenβt any free variables the null space is the zero vector there is a unique solution to π΄π₯=π only when π is a linear combination of the columns of π΄ this unique solution is the particular solution π₯ π ππππππ π΄ π
10
Solution of the general form Ax=b. More columns than rows.
Consider an πΓπ matrix π΄ with π>π and rank π. We know that πβ€π and πβ€π. Suppose that the condition of full row rank, i.e., π=π holds. In that case: We have πβπ free variables. The null space π(π΄) is non-zero. The number of solutions is β. Example: Consider the system with matrix π΄ shown below. Note that in the above example I assumed that the pivot columns are gathered together in the left part of the RREF matrix, so that π
= πΌ πΉ . I can always rearrange the order of my unknowns so that π
= πΌ πΉ . rank = 2 there are 2 free variables the null space is non-zero there are infinite number of solutions ππππππ π π π 12 π 22 π΄ π
11
Solution of the general form Ax=b. Same rows and columns.
Consider an πΓπ matrix π΄ with π=π and rank π. We know πβ€π and πβ€π. Suppose that the condition of full row and column rank, i.e., π=π=π holds. We have 0 free variables. The null space π(π΄) contains only the zero vector. A solution always exists. The solution is unique. Example: Consider the system with matrix π΄ showing below. rank = 2 there are 0 free variables the null space is the zero vector π΄ is invertible and the corresponding echelon matrix π
is the identity matrix there is always a unique solution ππππππ π΄ π
12
Linear Independence The vectors π£ 1 , π£ 2 , π£ 3 , .. π£ π are independent if no linear combination of them gives the zero vector (except the zero combination, all π π =0) π 1 π£ 1 + π 2 π£ 2 + π 3 π£ π π π£ π β 0 Take two non-zero, non-parallel vectors in the two dimensional space. They are independent because there isnβt any linear combination with non-zero coefficients of them that can give the zero vector. Now consider three vectors in the two dimensional space. These are dependent. That means there exist π₯ π , π=1,2,3 for which π₯ 1 π£ 1 + π₯ 2 π£ 2 + π₯ 3 π£ 3 =0 In other words, the above formula consists a system with two equations and three unknowns, so there are definitely free variables and the nullspace is nonzero. Therefore, there are vectors π₯= π₯ 1 π₯ 2 π₯ 3 for which π΄π₯=0 (π΄ has the vectors π£ π in its columns). π£ 2 π£ 1 π£ 3
13
Linear Independence of Column Vectors
Assume that the vectors π£ 1 , π£ 2 , π£ 3 , .. π£ π are the columns of a matrix π΄ and they are independent. Assume that the above vectors have π elements. In that case πβ₯π. The rank of π΄ is π. The rows of π΄ are vectors of π elements. Since the rank of π΄ is π the rows form a basis of the πβ dimensional space. Therefore, the nullspace π(π΄) is only the zero vector. In other words π΄π₯=0 has no solutions other than the zero vector. In this case there are no free variables. On the other hand: The vectors π£ 1 , π£ 2 , π£ 3 , .. π£ π are dependent if π΄π₯=0 has solutions other than zero, i.e. π(π΄) is a non-zero subspace. If a matrix π΄ has dependent columns then ππππ(π΄)<π. In this case there are free variables.
14
Span Vectors π£ 1 , π£ 2 , π£ 3 , .. π£ π span a space. This means that there is a space that consists of all combinations of those vectors. The columns of a matrix span the column space. Let π be the space that a set of vectors span. That space is the smallest space with those vectors in it. Example: Vectors π£ 1 , π£ 2 and π£ 3 span the π
2 . π
2 is the smallest space with π£ 1 , π£ 2 and π£ 3 in it. π£ 1 π£ 2 π£ 3
15
Basis A basis for a vector space is a sequence of vectors π£ 1 , π£ 2 , π£ 3 , .. π£ π with two properties: They are independent. They span the space. Example: Vectors π£ 1 and π£ 2 span the π
2 . The independent vectors π£ 1 and π£ 2 form a basis. π£ 1 π£ 2
16
Basis cont. Consider the hyperplane π
π . π vectors consist a basis if the πΓπ matrix with these vectors as columns or rows is invertible. Consequently, the columns or rows of an invertible πΓπ matrix form a basis of π
π . Every basis of π
π has the same number of vectors, which is π. The number of vectors that form a basis of a space π
π is the dimension of that space. Example: π΄= The columns of π΄ span the column space of π΄. In that example they are not independent. A basis for the column space consists of the first two columns. The dimension of the column space is 2 and therefore, ππππ π΄ =2. π(π΄) has solutions other than the zero vector.
17
Basis cont. We have seen that the rank of the matrix is the dimension of the columns space: ππππΆ π΄ =π The dimension of the nullspace is the same as the number of the free variables. ππππ π΄ =πβπ The vectors of the special solutions form a basis for the nullspace.
18
The Four Fundamental Subspaces: Column Space, Row Space, Nullspace, Left Nullspace
Column space of π΄ : πΆ(π΄) Nullspace of π΄ : π(π΄) Row space of π΄: πΆ(π΄ π ) The row space of π΄ is all combinations of the rows, or all combinations of the columns of π΄ π . The rows of π΄, or the columns of π΄ π , span the row space. If the rows of π΄ are independent then they form a basis of the row space. Nullspace of π΄ π : π(π΄ π ) Usually referred to as the Left Nullspace of π΄ It consists of the vectors π¦ for which π΄ π π¦=0 or π¦ π π΄= 0 π
19
Dimensionality of the Four Fundamental Subspaces
Assume that the matrix π΄ is πΓπ. The column space of π΄, πΆ(π΄), is a subset of π
π . The dimension of πΆ(π΄) is ππππ π΄ =π. A basis of πΆ(π΄) consists of its pivot columns. The nullspace of π΄, π(π΄), is a subset of π
π . The dimension of π(π΄) is πβπ. A basis of π(π΄) consists of the special solutions. The row space of π΄, πΆ(π΄ π ), is a subset of π
π . The dimension of πΆ( π΄ π ) is ππππ π΄ =π. A basis of πΆ(π΄ π ) consists of the first π rows of the RREF matrix π
. Note that the last πβπ rows of π
are zero. The nullspace of π΄ π , π(π΄ π ), is a subset of π
π . The dimension of π(π΄ π ) is πβπ. A basis of π΅(π π» ) consists of the last πβπ rows of π¬. NOTE THAT: π¬ πΓπ π¨ πΓπ π° πΓπ = πΉ πΓπ π¬ πΓπ (please see Prob. 1, Sheet 2)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.