Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

kevinlui's site

7239 views

Basis and Dimension Round 2

Definition: A set B={u1,,um}B=\{u_1,\ldots,u_m\} is a basis for a subspace SS if

  • BB spans SS,

  • BB is linearly independent

Theorem: Let B={u1,,um}B=\{u_1,\ldots,u_m\} be a basis for a subspace SS. Then every sSs\in S can be written as a linear combination of u1,,umu_1,\ldots,u_m in a unique way.

Example: We'll use the same subspace as last time. Let SR4S\subseteq \mathbb{R}^4 be the subspace spanned by u1=(1,2,3,1),u2=(6,7,5,2),u3=(4,3,1,0)u_1=(-1,2,3,1), u_2=(-6,7,5,2), u_3=(4,-3,1,0). From last class, we determined that a basis for SS is given by {v1,v2}\{v_1,v_2\} where v1=(1,2,3,1),v2=(0,5,13,4)v_1=(-1,2,3,1),v_2=(0,5,13,4). It is clear that u3Su_3\in S. How do we express u3u_3 as a linear combination of v1,v2v_1,v_2? This amounts to solving [v1,  v2u3][v_1,\; v_2 | u_3].

v1 = vector([-1,2,3,1]) v2 = vector([0,5,13,4]) u3 = vector([4,-3,1,0]) A = matrix([v1,v2]).transpose() A, u3
( [-1 0] [ 2 5] [ 3 13] [ 1 4], (4, -3, 1, 0) )
A \ u3
(-4, 1)

Most sets of nn vectors in Rn\mathbb{R}^n are a basis.

Example: Take SS as before with basis B={v1,v2}B=\{v_1,v_2\}. How can we extend BB to be a basis for Rn\mathbb{R}^n?

  • Eyeball it

  • Add 2 random vectors

In this case, we see that {v1,v2,e1,e2}\{v_1,v_2,e_1,e_2\} will form a basis for R4\mathbb{R}^4. But so will {v1,v2,(213,π,4,2),(4,π2,3,4)}\{v_1,v_2,(-213,\pi,4,2),(4,\pi^2,3,4)\}.