Notes on Linear Algebra I. # 1

Similar documents
Vector Spaces. Chapter 1

Chapter 1 Vector Spaces

Linear Algebra, Summer 2011, pt. 2

ROOTS COMPLEX NUMBERS

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

2 so Q[ 2] is closed under both additive and multiplicative inverses. a 2 2b 2 + b

Introduction to Vector Spaces Linear Algebra, Fall 2008

Linear Algebra Practice Problems

Chapter 8B - Trigonometric Functions (the first part)

Basic Linear Algebra in MATLAB

ENGINEERING MATH 1 Fall 2009 VECTOR SPACES

Introduction to Linear Algebra

2.2 Graphs of Functions

Math 52: Course Summary

CHAPTER 2 POLYNOMIALS KEY POINTS

2.1 Definition. Let n be a positive integer. An n-dimensional vector is an ordered list of n real numbers.

The Integers. Peter J. Kahn

LINEAR ALGEBRA KNOWLEDGE SURVEY

Complex Numbers: A Brief Introduction. By: Neal Dempsey. History of Mathematics. Prof. Jennifer McCarthy. July 16, 2010

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

1 Differentiability at a point

The Complex Numbers c ). (1.1)

CHMC: Finite Fields 9/23/17

APPLICATIONS OF DIFFERENTIATION

1.4 Techniques of Integration

Lecture 8: A Crash Course in Linear Algebra

Chapter 4 & 5: Vector Spaces & Linear Transformations

Math 309 Notes and Homework for Days 4-6

Integer-Valued Polynomials

Diagonalization. MATH 1502 Calculus II Notes. November 4, 2008

Math (P)Review Part I:

Vector calculus background

North Carolina State University

MAT137 - Term 2, Week 2

P.6 Complex Numbers. -6, 5i, 25, -7i, 5 2 i + 2 3, i, 5-3i, i. DEFINITION Complex Number. Operations with Complex Numbers

Mathematical Focus 1 Complex numbers adhere to certain arithmetic properties for which they and their complex conjugates are defined.

Matrices and Deformation

The Integers. Math 3040: Spring Contents 1. The Basic Construction 1 2. Adding integers 4 3. Ordering integers Multiplying integers 12

Section 4.1: Polynomial Functions and Models

MEI Core 1. Basic Algebra. Section 1: Basic algebraic manipulation and solving simple equations. Manipulating algebraic expressions

Math 115A: Linear Algebra

Matrices and Linear transformations

Linear Models Review

Quarter 2 400, , , , , , ,000 50,000

APPLICATIONS The eigenvalues are λ = 5, 5. An orthonormal basis of eigenvectors consists of

Notes on multivariable calculus

9.4 Radical Expressions

Systems of Equations and Inequalities. College Algebra

Vector Spaces. Addition : R n R n R n Scalar multiplication : R R n R n.

Eigenvalues and Eigenvectors

Linear Algebra March 16, 2019

Chapter Five Notes N P U2C5

2 Metric Spaces Definitions Exotic Examples... 3

QUADRATIC FUNCTIONS AND MODELS

Section 20: Arrow Diagrams on the Integers

Row and column spaces

NOTES ON LINEAR ALGEBRA CLASS HANDOUT

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

CMU CS 462/662 (INTRO TO COMPUTER GRAPHICS) HOMEWORK 0.0 MATH REVIEW/PREVIEW LINEAR ALGEBRA

Math 24 Spring 2012 Questions (mostly) from the Textbook

Cambridge University Press The Mathematics of Signal Processing Steven B. Damelin and Willard Miller Excerpt More information

Math 155 Prerequisite Review Handout

Symmetries and Polynomials

Math 110, Spring 2015: Midterm Solutions

Chapter 2. Motion in One Dimension. AIT AP Physics C

GRE Subject test preparation Spring 2016 Topic: Abstract Algebra, Linear Algebra, Number Theory.

In this initial chapter, you will be introduced to, or more than likely be reminded of, a

Review of Coordinate Systems

Function Junction: Homework Examples from ACE

Transpose & Dot Product

5.3 Other Algebraic Functions

10.1 Complex Arithmetic Argand Diagrams and the Polar Form The Exponential Form of a Complex Number De Moivre s Theorem 29

Math Boot Camp Functions and Algebra

Chapter 2. Polynomial and Rational Functions. 2.5 Zeros of Polynomial Functions

CP Algebra 2. Unit 3B: Polynomials. Name: Period:

Linear Algebra I. Ronald van Luijk, 2015

2.1 Affine and Projective Coordinates

2.5 The Fundamental Theorem of Algebra.

ABSTRACT VECTOR SPACES AND THE CONCEPT OF ISOMORPHISM. Executive summary

3.4 The Fundamental Theorem of Algebra

CS168: The Modern Algorithmic Toolbox Lecture #8: How PCA Works

Homework For each of the following matrices, find the minimal polynomial and determine whether the matrix is diagonalizable.

( 3) ( ) ( ) ( ) ( ) ( )

8.6 Partial Fraction Decomposition

Designing Information Devices and Systems I Spring 2019 Lecture Notes Note 2

To get horizontal and slant asymptotes algebraically we need to know about end behaviour for rational functions.

Supplementary Material for MTH 299 Online Edition

1. What is the determinant of the following matrix? a 1 a 2 4a 3 2a 2 b 1 b 2 4b 3 2b c 1. = 4, then det

A primer on matrices

Announcements Wednesday, November 7

Main topics for the First Midterm Exam

Elliptic Curves and Public Key Cryptography

Transpose & Dot Product

Complex Numbers Year 12 QLD Maths C

Chapter 4E - Combinations of Functions

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

Section 1.8 Matrices as Linear Transformations

Lecture 9 4.1: Derivative Rules MTH 124

Math 2250 Lab 08 Lab Section: Class ID: Name/uNID: Due Date: 3/23/2017

Transcription:

Notes on Linear Algebra I. # 1 Oussama Moutaoikil Contents 1 Introduction 1 2 On Vector Spaces 5 2.1 Vectors................................... 5 2.2 Vector Spaces................................ 7 2.3 A Good Stack of Examples........................ 7 2.4 Subspaces.................................. 7 2.5 Sums and Direct Sums........................... 7 2.6 Linear Combinations............................ 7 2.7 Span..................................... 7 1 Introduction Linear algebra is the study of linear transformations on finite-dimensional vector spaces. All these words may seem unfamiliar to you for now but they will become clear once we deal with a great stack of examples. A transformation is any operation that takes an input and transforms it into an output. There are many types of transformations, but only some of them are linear. This last class of transformations is the one that satisfy the following properties : 1. If you amplify the input then there will be a corresponding amplification to the output. (e.g. tripling the input will triple the output) This property is known as homogeneity. 2. Adding inputs together leads to adding of their respective outputs. This is known as additivity. An example of such transformation is the map (or function) x 10x. It is linear since if you amplify the input by some number a, then the output will also be amplified by a, i.e. ax a(10x). And let s say that for some x 1 the output is 10x 1, and for some x 2 the output is 10x 2, then adding those two inputs x 1 + x 2 leads to adding of their respective outputs 10x 1 + 10x 2 : x 1 + x 2 10(x 1 + x 2 ) = 10x 1 + 10x 2. 1

Input x Transformation Output 10x 2 20 4 40 2 + 4 = 6 60 = 20 + 40 5 2 = 10 100 = 5 20 In general, any map of the form x cx, where c is some constant, is a linear transformation as you can check. A non-example of a linear transformation is the map x x 2, doubling the input quadruples the output since 2x (2x 2 ) = 4x 2. Also if one adds two inputs together, their outputs do not add, example: an input of 2 has a 4 output, and an input of 3 has a 9 output. If it was linear one would expect that the input 2 + 3 = 5 has a 4 + 9 = 13 output, yet if we input 5 we get 5 2 = 25! Input x Transformation Output x 2 2 4 3 9 2 + 3 = 5 25 13 = 4 + 9 2 3 = 6 36 18 = 2 9 If we now graph each map in an xy-coordinate system we can see that our first map represents a line, whereas the second is highly non-linear : Figure 1: Comparison between the graph of x 10x and of x x 2. Now we may ask: If the graph of a certain transformation is a line, does it mean that it is linear? Well we know that the equation of a line is y = ax + b, i.e. the map x ax + b, where a, b are constants in R. For it to be a linear transformation, a doubling in the input should produce a doubling of the output, so we double the input x to get 2x. If we apply the transformation we get 2ax+b. However, if we double the output y we get 2(ax + b) = 2ax + 2b, those are equal if and only if : 2ax + b = 2ax + 2b b = 2b b = 0. What this tells us is that the line must have as an equation y = ax, hence it must pass through the origin since the coordinates of the point (0, 0) satisfies that equation. So if the graph of a certain transformation is a line doesn t necessarily mean that it is linear, it needs also to pass through the origin! 2

A lot of mathematical structures exhibit linear properties. Let s recall for instance what we learnt in Calculus. Say f, g, h are some differentiable functions on a nonempty interval I R, and that f(x) = g(x) + h(x) for all x I (in other words the function f can be expressed as a sum of two other functions), then : d dx f(x) = f (x) = d [ ] g(x) + h(x) = g (x) + h (x). dx We wish to write this fact using a more compact notation. To do so we consider the differential operator D x, which is a transformation from a function space F 1 to another function space F 2. It takes as an input a function and outputs its derivative. (A function space is just a set of functions.) So instead of writing f (x) or d dx we can simply write D x [f]. Hence we can write the previous identity as : D x [f] = D x [g + h] = D x [g] + D x [h]. Now let c be a constant in R. We define the function cf as (cf)(x) = cf(x). Then its derivative is : d dx (cf)(x) = d dx cf(x) = c d dx f(x) = cf (x). Which we can write using the differential operator : D x [cf] = c D x [f]. In other examples the transformation acted on a number and outputed a number. Now the differential operator acts on functions and outputs function. Yet it also shows signs of linearity, so for example a doubling in the input causes a doubling in the output. And adding inputs together leads to adding of their respective outputs. Note also that the zero function 0(x): x 0 can be part of the function space where the operator can act, since it is differentiable. Indeed, even the point of differential calculus is to approximate non-linear functions using linear functions (e.g. approximating a curve using a tangent line), so it is of no suprise to see these rules built into the core of Calculus. It will also be unsuprising to find that linear algebra can help us in solving differential equations. Now what if we think of a transformation that acts on vectors? (Informally, a vector is a quantity that can be represented using a magnitude and a direction, although this is sort of unrigorous and is mainly true for some physical vectors and is false for some other kinds. They are in most cases denoted using a bold font like N, or with an arrow in the top N to distinguish them from scalars) Hooke s law is a principle that states that the force F needed to extend or compress a spring by some distance X is proportional to that distance. In other words, there is a constant k such that F = k X, which can be rewritten as X = F /k. Note that F and X are vector quantities. In our example we let k = 5 N m 1. So if you extend a spring (see Figure 2 to visualize more the direction of the force) using a downward force of 5 N, then the displacement F would be 25 m downward. And if you compress the sptring by an upward force of 2 N, then the resultant displacement would be 10 m. Adding the inputs 5 N downward plus 2 N upward (which is 3 N downward) produces as an output 25 m downward plus 10 m upward (which is 15 m downward). As you can check, it satisfies linearity. 3

Figure 2: Hooke s law F = k X in action. If you apply a very large force which exceeds the limit (since some permanent deformation or change of state once the spring is stretched or compressed to a certain point) then Hooke s no longer holds. However Hooke s law does hold for small forces and deformations, so it is a good approximation for most solid bodies. Figure 3: Applied force F vs. elongation X according to Hooke s law (red line) and what the actual plot might look like (dashed line). This is a good example since it shows that in real life things can be nonlinear, however we can make good linear approximations to them which is useful. 4

We will also deal with matrices, those are mathematical objects like : 1 0 1 [ ] 93 π e 20 1 2 3 4, 5 6 7 8 7 9 9 which are also related to linear transformations. This relation as well as a rigorous definition of a matrix will be given later. To summarize, linear algebra deals with the algebra of linear transformations on finite-dimensional vector spaces. The algebra that you may have learned deals with equating scalars by solving equations, simplifying expressions... and performing operations on them, the same thing can be said about linear algebra where we ll extend the range of operations to a new family made of : direct sums, span, dimension, transpose, determinant, trace, eigenvalue, eigenvector, and characteristic polynomial. Those will be used to manipulate not only scalars, but also vectors, vector spaces, subspaces, inner spaces,... 2 On Vector Spaces 2.1 Vectors We ve discussed in the introduction scalars which are quantities that can be described using only a single number. Examples of scalars are temperature, mass, volume, area, charge, density, interest, populations number, work, energy,... We ll deal with many sets of scalars amongst them are R and C. Now some of you may not be familiar with the set C (which stands for complex numbers), so we ll introduce it now. After the formula for the quadratic equation ax 2 + bx + c = 0 was discovered, which is : x = b ± b 2 4ac, a 0 2a mathematicians began to search for a similar formula for the cubic equation ax 3 + bx 2 + cx + d = 0. We can show, using a tricky substitution, that this equation is equivalent to : x 3 = 3px + 2q. Cardano showed that this equation could be solved by the formula : x = 3 q + q 2 p 3 + 3 q q 2 p 3. Let s apply this formula to the cubic equation x 3 = 15x + 4. But first let s remind ourselves that the solution to that polynomial equation represents the intersection of the curve y = x 3 and the line y = 15x + 4. We give a graph of it in Figure 4. 5

Figure 4: Plot of y = 15x + 4 and of y = x 3. We see that the line and the curve do meet on 3 occasions, so there are 3 solutions to our equation. To determine it we ll use Cardano s formula, we get : x = 3 2 + 11 + 2 3 11. But 11 doesn t make sense. Yet from the graph we know that there are 3 solutions! This paradox was the source of Bombelli s wild thought. He defined a new class of numbers where the square root of a negative number would make sense. Those are the numbers which form an ordered pair (a, b), where a, b R, but you can write this as a + bi. Those ordered pairs have a particular arithmetic, addition is defined as : and multiplication is defined by (a + bi) + (c + di) = (a + c) + (b + d)i, (a + bi)(c + di) = (ac bd) + (ad + bc)i; where a, b, c, d R Using this definition you can check that (0 + 1i)(0 + 1i) = i 2 = 1, from which we can say that i = 1. You may also note that R is in some sort a subset of C if you consider a + 0i, so we have the hierarchy : N Z Q R C. Anyway using these new numbers we can derive all the real solutions to the equation we encountered, and this is one of their useful applications. They also have applications in multiple areas in physics. These numbers are called complex numbers, they share the same properties as those of real numbers : Commutativity z + w = w + z and zw = wz for all z, w C. Associativity (z + v) + w = z + (v + w) and (zv)w = z(vw) for all z, v, w C. Existence of Identities z + 0 = z and z 1 = z for all z C. 6

Additive Inverses For every z C there exists a unique w C such that z + w = 0. The additive inverse of z is denoted as z. Multiplicative Inverses If z C such that z 0, then there exists a unique w C such that zw = 1. The multiplicative inverse of z is denoted as 1/z. Distributive Property z(v + w) = zv + zw for all z, v, w C. Both R and Q form what is called a field, a set along with two binary operations which satisfy the same properties that hold for R and C, namely commutativity, associativity, existence of identities,... We now discuss Cartesian products of sets. As an example R R = R 2 is defined to be the set of all ordered pairs (x, y) such that x, y R. (Don t confuse it with complex numbers, remember C has a different operation of multiplication) You can picture R 2 as a plane. R 2 = {(x, y) : x, y R}. What about R R R = R 3? Well it is made of all ordered triplets of reals : R 3 = {(x, y, z) : x, y, z R}. So we can picture R 3 as ordinary 3D space. In gneral you see that R R = R }{{} n, n N >0, n times is the set of all ordered n-tuples (x 1,..., x n ) of real numbers. Now what if instead of real numbers we pick complex numbers? Well let s start from the basic C C = C 2, it is made of all ordered pairs (z 1, z 2 ) of complex numbers. What about C 3? As you guessed it, it s the set of all ordered triples (z 1, z 2, z 3 ) 2.2 Vector Spaces In the previous section we made some discussions about vectors. 2.3 A Good Stack of Examples 2.4 Subspaces 2.5 Sums and Direct Sums 2.6 Linear Combinations 2.7 Span 7