Math 136 - Week 1

Chapter 1 - Vectors in Euclidean Space

1.1 Vector Addition and Scalar Multiplication

Instead of points, we work with vectors.

Definition 1.1.1 - Rn

The set Rn is defined by Rn={xโ†’=[x1โ‹ฎxn]|x1,โ€ฆ,xnโˆˆR}. An element vโ†’ of Rn is called a vector.
Two vectors xโ†’=[x1โ‹ฎxn]โˆˆRn and yโ†’=[y1โ‹ฎym]โˆˆRn are said to be equal if n=m and xi=yi for 1โ‰คiโ‰คn.

In other words, they are said to be equal if the vectors are both in the same space (R2, R3, etc.) AND if each dimension of each vector is the same.

For example,

[12]โ‰ [120]

And,

[12]โ‰ [123]

But,

[12]=[12]
Remark!

Just because you are working in R6 doesn't mean you are working in the 6th dimension. For example, an engineer analyzing the motion of a particle would require 3 variables for a particle's position and 3 variables for a particle's velocity. In Economics, one could work with 1000 different variables and hence working in R1000.

Geometrically, a vector in Rn always has its tail at the origin and its head at the corresponding point.

Definition 1.1.2 - Addition and Scalar Multiplication

Let xโ†’=[x1โ‹ฎxn],ย yโ†’=[y1โ‹ฎym]โˆˆRn and let cโˆˆR (called a scalar).
Addition, xโ†’, and scalar multiplication, cxโ†’, are defined by

xโ†’+yโ†’=[x1+y1โ‹ฎxn+yn]andcxโ†’=[cx1โ‹ฎcxn]

In linear algebra, a scalar is just a number in R. In the above definition, each x is being scaled by c times.

Remark!

Subtraction is just defined as the addition of a negative. When we write xโ†’โˆ’yโ†’, we mean

xโ†’โˆ’yโ†’=xโ†’+(โˆ’1)yโ†’
Example 1.1.3

For xโ†’=[12โˆ’3] and yโ†’=[โˆ’130] in R3, we have

xโ†’+yโ†’=[1+(โˆ’1)2+3โˆ’3+0]=[05โˆ’3]2yโ†’=2[(โˆ’1)30]=[โˆ’2320]2xโ†’โˆ’3yโ†’=2[12โˆ’3]+(โˆ’3)[โˆ’130]=[24โˆ’6]+[3โˆ’90]=[5โˆ’5โˆ’6]
Exercise 1.1.5

Add xโ†’=[32] and yโ†’=[โˆ’4โˆ’1] in R2. Then, express the results geometrically.

xโ†’+yโ†’=[32]+[โˆ’4โˆ’1]=[โˆ’11]

Geometrically, We can express it as:
{8EBDB53A-B178-43E5-BBA2-EEDF58DE8EF8}.png

Definition 1.1.6 - Linear Combination

For vโ†’1,โ€ฆ,vโ†’kโˆˆRn and c1,โ€ฆ,ckโˆˆR, we call the expression

c1vโ†’1+c2vโ†’2+โ€ฆ+ckvโ†’k

a linear combination of vโ†’1,โ€ฆ,vโ†’k.

This definition IS EXTREMELY IMPORTANT!!!!

Theorem 1.1.7

If xโ†’,yโ†’,wโ†’โˆˆRn and c,dโˆˆR, then:

V1xโ†’+yโ†’โˆˆRnV2(xโ†’+yโ†’)+wโ†’=xโ†’+(yโ†’+wโ†’)V3xโ†’+yโ†’=yโ†’+xโ†’V4There existsย 0โ†’โˆˆRnย s.t.ย xโ†’+0โ†’=xโ†’ย for allย xโ†’โˆˆRnV5For everyย xโ†’โˆˆRnย there existsย (โˆ’xโ†’)โˆˆRnย s.t.ย xโ†’+(โˆ’xโ†’)=0โ†’V6cxโ†’โˆˆRnV7c(dxโ†’)=(cd)xโ†’V8(c+d)xโ†’=cxโ†’+dxโ†’V9c(xโ†’+yโ†’)=cxโ†’+cyโ†’V101xโ†’=xโ†’

Proofs:
Let xโ†’=[x1โ‹ฎxn],ย yโ†’=[y1โ‹ฎyn],ย wโ†’=[w1โ‹ฎwn]โˆˆRn and c,d,โˆˆR.

V1:

xโ†’+yโ†’=[x1โ‹ฎxn]+[y1โ‹ฎyn]=[x1+y1โ‹ฎxn+yn]

Since x1+y1,โ€ฆ,ย xn+ynโˆˆR, by definition, xโ†’+yโ†’โˆˆRn, as desired.

V2:
LHS:

(xโ†’+yโ†’)+wโ†’=([x1โ‹ฎxn]+[y1โ‹ฎyn])+[w1โ‹ฎwn]=([x1+y1โ‹ฎxn+yn])+[w1โ‹ฎwn]=[(x1+y1)+w1โ‹ฎ(xn+yn)+wn]=[x1+y1+w1โ‹ฎxn+yn+wn]

RHS:

xโ†’+(yโ†’+wโ†’)=[x1โ‹ฎxn]+([y1โ‹ฎyn]+[w1โ‹ฎwn])=[x1โ‹ฎxn]+([y1+w1โ‹ฎyn+wn])=[x1+(y1+w1)โ‹ฎxn+(yn+wn)]=[x1+y1+w1โ‹ฎxn+yn+wn]

LHS=RHS as desired.

V3:

xโ†’+yโ†’=[x1โ‹ฎxn]+[y1โ‹ฎyn]=[x1+y1โ‹ฎxn+yn]=[y1+x1โ‹ฎyn+xn]since addition of real numbers is commutative=yโ†’+xโ†’

V4:
Let 0โ†’โˆˆRn. Then,

xโ†’+0โ†’=[x1โ‹ฎxn]+[0โ‹ฎ0]=[x1+0โ‹ฎxn+0]=[x1โ‹ฎxn]=xโ†’

As desired.

V5:
Let (โˆ’xโ†’โˆˆRn). Then,

xโ†’+(โˆ’xโ†’)=[x1โ‹ฎxn]+(โˆ’1)[x1โ‹ฎxn]=[x1โ‹ฎxn]+[โˆ’x1โ‹ฎโˆ’xn]=[x1โˆ’x1โ‹ฎxnโˆ’xn]=[0โ‹ฎ0]=0โ†’

As desired.

V6:

cxโ†’=c[x1โ‹ฎxn]=[cx1โ‹ฎcxn]โˆˆRnsinceย cxiโˆˆRย for allย 1โ‰คiโ‰คn.

V7:

c(dxโ†’)=c(d[x1โ‹ฎxn])=c([dx1โ‹ฎdxn])=c[dx1โ‹ฎdxn]=[c(dx1)โ‹ฎc(dxn)]=[d(cx1)โ‹ฎd(cxn)]=d[cx1โ‹ฎcxn]=d(c[x1โ‹ฎxn])=d(cxโ†’)

As desired.

V8:

(c+d)xโ†’=(c+d)[x1โ‹ฎxn]=[(c+d)x1โ‹ฎ(c+d)xn]=[cx1+dx1โ‹ฎcxn+dxn]=[cx1โ‹ฎcxn]+[dx1โ‹ฎdxn]=c[x1โ‹ฎxn]+d[x1โ‹ฎxn]=cxโ†’+dxโ†’

As desired.

V9:

c(xโ†’+yโ†’)=c[x1+y1โ‹ฎxn+yn]=[c(x1+y1)โ‹ฎc(xn+yn)]=[cx1+cy1โ‹ฎcxn+cyn]=[cx1โ‹ฎcxn]+[cy1โ‹ฎcyn]=c[x1โ‹ฎxn]+c[y1โ‹ฎyn]=cxโ†’+cyโ†’

As desired.

V10:

1xโ†’=1[x1โ‹ฎxn]=[(1)x1โ‹ฎ(1)xn]by addition=[x1โ‹ฎxn]rules of multiplication onย R=xn

As desired.

1.1 - Problems

  1. Compute the following linear combinations.
    1. 2[21โˆ’1]+3[โˆ’101].
      Solution:
    2[21โˆ’1]+3[โˆ’101]=[42โˆ’2]+[โˆ’303]=[121]
    1. 13[31โˆ’2]โˆ’[412โˆ’23].
      Solution:
    \displaystyle\frac{1}{3}\begin{bmatrix}3 \ 1 \ -2\end{bmatrix} - \begin{bmatrix}4 \ \frac{1}{2} \-\frac{2}{3}\end{bmatrix} &= \begin{bmatrix}1 \ \frac{1}{3} \ -\frac{2}{3}\end{bmatrix} + \begin{bmatrix}-4 \ -\frac{1}{2} \\frac{2}{3}\end{bmatrix} \
    &= \begin{bmatrix} -3 \ -\frac{1}{6} \ 0
    \end{bmatrix}
    \end{aligned} \Solution:\sqrt{ 2 }\begin{bmatrix}\sqrt{ 2 } \ 0 \ \sqrt{ 2 }\end{bmatrix} + \displaystyle\frac{2}{3}\begin{bmatrix}6 \ 0 \ 0 \end{bmatrix} &= \begin{bmatrix} 2 \ 0 \ 2\end{bmatrix} + \begin{bmatrix}4 \ 0 \ 0 \end{bmatrix} \
    &= \begin{bmatrix}
    6 \ 0 \ 2
    \end{bmatrix}
    \endSolution:(a+b) \begin{bmatrix} 1 \ 1 \ -1\end{bmatrix} + (-a+b) \begin{bmatrix} 1 \ 2 \ -3\end{bmatrix} + (-a+2b) \begin{bmatrix} -1 \ -1 \ 2\end{bmatrix} &= \begin{bmatrix} (a+b) \ (a+b) \ -(a+b)\end{bmatrix} + \begin{bmatrix} (-a+b) \ 2(-a+b) \ -3(-a+b)\end{bmatrix} + \begin{bmatrix} -(-a+2b) \ -(-a+2b) \ 2(-a+2b)\end{bmatrix} \
    &= \begin{bmatrix} a-a+a+b+b-2b \ a -2a+a+b+2b-2b \ -a+3a-2a-b-3b+4b\end{bmatrix} \
    &= \begin{bmatrix}
    a \ b \ 0
    \end{bmatrix}
    \end
    1. 2xโ†’+2vโ†’=4xโ†’.
      Solution:
    2\vec{x} + 2\vec{v} &= 4\vec{x} \
    2\vec{x} + 2(\vec{-x}) + 2\vec{v} &= 4\vec{x} + 2(-\vec{x}) && \text{by V5 and addition} \
    2(\vec{x} + (-\vec{x})) + 2\vec{v} &= 2(2\vec{x} + (-\vec{x})) && \text{by V9} \
    2(\vec{0}) + 2\vec{v} &= 2(\vec{x}) && \text{by V5 and addition of vectors}\
    \vec{0} + 2\vec{v} &= 2\vec{x} && \text{by scalar multiplication} \
    2\vec{v}\left( \frac{1}{2} \right)&=2\vec{x}\left( \frac{1}{2} \right) && \text{by V4} \
    1\vec{v} &=1\vec{x} && \text{by V7} \
    \vec{x} &= \vec{v} && \text{by V10}
    \endSolution:\vec{x} + 2\vec{v} &= \vec{v} + (-\vec{x}) \
    \vec{x} + \vec{x} + 2\vec{v} + 2(-\vec{v}) &= \vec{v} + 2(-\vec{v}) + -\vec{x} + \vec{x} \
    2\vec{x} + 2(\vec{v} + (-\vec{v})) &= \vec{v} + (-2\vec{v}) + \vec{0} && \text{by vector addition, V9, V5} \
    2\vec{x} + 2(\vec{0}) &= (-\vec{v}) && \text{by V5, vector addition, V4} \
    2\vec{x} + \vec{0} &= (-\vec{v}) && \text{by scalar multiplication} \
    2\vec{x} \left( \frac{1}{2} \right) &= (-\vec{v})\left( \frac{1}{2} \right) && \text{by V4} \
    1\vec{x} &= \left( -\frac{1}{2} \right) (\vec{v}) && \text{by V7} \
    \vec{x} &= \left( -\frac{1}{2} \right)(\vec{v}) && \text{by V10}
    \end
  2. Looking at the area of the parallelogram formed by the parallelogram rule for addition on xโ†’,yโ†’โˆˆR2.
    1. Calculate each of the following and show the result geometrically. Find the area of each parallelogram formed by the parallelogram rule for addition.
      1. [โˆ’11]+[02].
        Solution:
      baseร—h=1ร—2=2
      {93D6B702-8A48-4938-AFD5-FB131C132458}.png
      2. [2โˆ’1]+[โˆ’21].
      Solution:0
      {F604E94C-2FB8-45F7-8431-5DC848FBA0BA}.png
    2. What condition must be placed on xโ†’ and yโ†’ to ensure that the parallelogram has non-zero area?
      Solution: xโ†’,yโ†’โ‰ 0 and geometrically, xโ†’ย andย yโ†’ can't be on the same line together.
    3. Create two more pairs xโ†’,yโ†’โˆˆR2 that form a parallelogram with non-zero area. Find the area of each parallelogram.
      Solution:
      1. [20],[01].
        Area: 2ร—1=2
      2. [โˆ’0.50],[11].
        Area:
      2[(โˆ’0.5+1)ร—12]=0.5
    4. Find a general formula for the area of the parallelogram determined by xโ†’,yโ†’โˆˆR2. Prove that your formula is correct.
      Solution:
      Let xโ†’=[x1x2]ย andย yโ†’=[y1y2].
      Area = |x1y1โˆ’x2y2|