Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Linear Algebra I - Solving Linear Equations and Matrix Operations, Study notes of Linear Algebra

The basics of linear algebra, focusing on linear equations, vectors, length and dot product, matrices, matrix vector product, and matrix multiplication. It also discusses solving systems of linear equations and the importance of orthogonality. examples and geometric interpretations.

What you will learn

  • What is the dot product of two vectors and how is it related to the angle between them?
  • What are the advantages and disadvantages of the bisection algorithm for root finding?
  • How can you find the inverse of a matrix and what is its significance?
  • How can you find the length of a vector using the L2 norm?
  • What is the difference between a linear equation and a system of linear equations?

Typology: Study notes

2021/2022

Uploaded on 09/12/2022

obesix
obesix 🇺🇸

4.2

(18)

239 documents

1 / 81

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Lecture 17
Linear Algebra I
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51

Partial preview of the text

Download Linear Algebra I - Solving Linear Equations and Matrix Operations and more Study notes Linear Algebra in PDF only on Docsity!

Lecture 17

Linear Algebra I

Outline

  • Motivation
    • Linear equations, Linear systems
  • Vectors
    • Length, Dot Product
  • Matrices
    • Matrix Vector Product, Matrix Multiplication
  • Solving systems of linear equations

Linear Equations

  • y = mx+b is a linear function
  • Setting mx + b = c is a linear equation
  • A “system” of equations contains multiple equations

Solving a system of equations involves finding a set values that allow all the equations to hold.

- This is not always possible

Systems of Equations

Examples

Linear Equations: y = mx + b

  • One solution
  • No solution
  • Infinite number of solutions

Disks in the plane (non-linear): (x - x0)^2 + (x - y0)^2 = r

  • What are the possibilities?

Linear equations in Matrix Form

m linear equations with n variables:

Can be written in matrix form where

Matrices - Review

  • A matrix consists of a rectangular array of elements represented by a single symbol e.g., A
  • An individual entry of a matrix is an element e.g., a 23 , can also write A (^23)

Matrix Operations

  • isequal(A,B)

Two matrices are considered equal if and only if every element in the first matrix is equal to every corresponding element in the second. This means the two matrices must be the same size.

  • A+B, A-B

Matrix addition and subtraction are performed by adding or subtracting the corresponding elements. This requires that the two matrices be the same size.

  • A*c

Scalar matrix multiplication is performed by multiplying each element by the same scalar

Matrix-Vector multiplication

If A is an n-by-m matrix, and x is an m-by-1 vector, then the “product Ax ” is a n-by-1 vector, whose i’th component is

n-by-m^ =

m-by-1 n-by-

n-by-m =

m-by-1 (^) n-by-

Example norms

By default the L2 (Euclidian) norm

Dot Product - Definition

Dot Product – Geometric

interpretation

The Dot Product equivalent to

where and are the lengths (L2 norm) of x and y, and is the angle between vectors x and y.

Remark: Derivation can be done in 2D: express x and y in polar form, and take the usual dot product

Dot Product – Geometric

interpretation

When applied to a unit vector the dot product is the length of the projection onto that unit vector, when the two vectors are placed tail to tail.

Ax can also be found via dot products

Ax as a collection of dot products

If A is an n-by-m matrix, and x is an m-by-1 vector, then the “product Ax ” is a n-by-1 vector, whose i’th component is