Example 1: Given u=[1−2] and v=[2−5], find 4u,(−3)v and 4u+(−3)v.
Solution:4u=[4−8], (−3)v=[−615] and 4u+(−3)v=[−27].
Example 2: Let a1=1−2−5, a2=256 and b=74−3. Determine whether b can be generated as a linear combination of a1 and a2. That is, determine whether weights x1 and x2 exist such that
x1a1+x2a2=b.
If the vector equation has a solution, find it.
Solution: The following augmented matrix corresponds to the vector equation x1a1+x2a2=b.
1−2−525674−3
Reduce this matrix to its echelon form
100210720
which tells us
x1=3,x2=2.
Example 3: For v1,v2,v3 in Rm, write the linear combination 3v1−5v2+7v3 as a matrix times a vector.
Solution: Suppose A is an m×3 matrix and x is in R
Example 4: Compute Ax, where A=2−1635−24−38 and x=x1x2x3.
Solution: Use the Row-Vector Rule, we have
2−1635−24−38x1x2x3=2x1+3x2+4x3−x1+5x2−3x36x1−2x2+8x3.
Example 5: Determine if the following homogeneous system has a nontrivial solution. Then describe the solution set.
3x1+5x2−4x3−3x1−2x2+4x36x1+x2−8x3===000
Solution: Apply row reduction on the correspondent augmented matrix
3−365−21−44−8000.
We obtain
300030−400000
which tells us that the solution set is x1=4x3/3,x2=0 and x3 is a free variable. For instance, when x3=3, x1=4,x2=0,x3=3 is a nontrivial solution.
Example 6: Describe all solutions of Ax=b, where
A=3−365−21−44−8
and
b=7−1−4.
Solution: Apply row reduction on the correspondent augmented matrix
3−365−21−44−87−1−4.
We obtain
30053−9−40076−18
and then
300010−400−320,
which tells us x1=−1+4x3/3,x2=2 and x3 is a free variable.