Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

kevinlui's site

7239 views

Jan 17

Announcements

  • Watch 4,5 of YouTube videos

Linear Independence

Let v,wv,w be any vectors in Rn\mathbb{R}^n. How does the span of {v,w}\{v,w\} compare to the span of to the span of {v,w,2v+3w}\{v,w,2v+3w\}?

Consider the matrix this 3x3 matrix where the last row is the sum of the first two. What's the echelon form?

In these 2 examples, there were some redudant information.

Definition: Let S={u1,u2,,um}S=\{u_1,u_2,\ldots,u_m\} be a set of vectors in Rn\mathbb{R}^n. We say that SS is linearly independent if the only if the only solution to the vector equation x1u1+x2u2++xmum=0 x_1u_1+x_2u_2+\ldots+x_mu_m=0 is the trivial solution - x1=x2==xm=0x_1=x_2=\ldots=x_m=0. If a set if not linearly indepedent then it is linearly dependent.

A set is linearly dependent iff some vector is in the span of the others. A set is linearly independent iff no vector is in the span of the others.

Any set containing the zero vector is linearly dependent.

Example: Is the set {(16,2,8)\{(16,2,8), (22,4,4)(22,4,4), (18,0,4)(18,0,4), (18,2,6)}(18,2,6)\} linearly independent?

work out example in class using a linear system

Let S={u1,,um}S=\{u_1,\ldots,u_m\} be a set of vectors in Rn\mathbb{R}^n and A=[u1  u2    um]A=[u_1\;u_2\;\ldots\;u_m] be the matrix formed by these vectors. Then SS is linearly independent if and only if the only solution is the trivial solution.

Theorem: Let S={u1,,um}S=\{u_1,\ldots,u_m\} be a set of vectors in Rn\mathbb{R}^n. Suppose A=[u1  u2    um]B, A=[u_1\;u_2\;\ldots\;u_m]\sim B, where BB is in echelon form. Then

  • SS spans Rn\mathbb{R}^n exactly when BB has a pivot position in every row

  • SS is linearly independent exactly when BB has a pivot position in every column.

A set with fewer than nn vectors will never span Rn\mathbb{R}^n. A set with more than nn vectors will never be linearly independent.

Homogenous Systems

Let AA be a matrix. Then A(x+y)=Ax+AxA(x+y)=Ax+Ax and A(xy)=AxAyA(x-y)=Ax-Ay.

Example: Find a general solution for the linear system ** 2x16x2x3+8x4=7x13x2x3+6x4=6x1+3x2x3+2x4=4.\begin{align} 2x_1-6x_2-x_3+8x_4 &= 7 \\ x_1 - 3x_2 - x_3 + 6x_4 &= 6 \\ -x_1+3x_2-x_3 +2x_4 &= 4. \end{align} ** Using row reduction, we see that a general solution is of the form x=(1,0,5,0)+s1(3,1,0,0)+s2(2,0,4,1)x=(1,0,-5,0)+s_1(3,1,0,0)+s_2(-2,0,4,1).

The solution to the homogenous system is x=s1(3,1,0,0)+s2(2,0,4,1)x=s_1(3,1,0,0)+s_2(-2,0,4,1).

Let xpx_p be a particular solution Ax=bAx=b. Then solutions have the form xg=xp+xhx_g=x_p+x_h, where xpx_p is a particular solution and xhx_h is the general solution to the homogenous equations.

Theorem: Let A=[ai]A=[a_i] and bb be a vector in Rn\mathbb{R}^n. Then the following are equivalent (if one is true then they are all true, if one is false then they are all false).

  • The set {a1,,am}\{a_1,\ldots,a_m\} are linearly independent.

  • The vector equation x1a1+x2a2++xmam=bx_1a_1+x_2a_2+\ldots+x_ma_m=b has at most one solution.

  • The linear system [a1  a2    amb][a_1\;a_2\;\ldots\;a_m | b] has at most one solution.

  • The equation Ax=bAx=b has at most 1 solution.

Example: Consider the vectors a1=(1,7,2)a_1=(1,7,-2), a2=(3,0,1)a_2=(3,0,1), and a3=(5,2,6)a_3=(5,2,6). Set A=[ai]A=[a_i]. Show that the columns of AA are linearly independent and that Ax=bAx=b has a unique solution for every bb in R3\mathbb{R}^3.