mathematical preliminaries - west virginia...

504
Outline Mathematical Preliminaries K. Subramani 1 1 Lane Department of Computer Science and Electrical Engineering West Virginia University January 20, 2015 Subramani Optimization Methods in Finance

Upload: others

Post on 30-Apr-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Mathematical Preliminaries

K. Subramani1

1Lane Department of Computer Science and Electrical EngineeringWest Virginia University

January 20, 2015

Subramani Optimization Methods in Finance

Page 2: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 3: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 4: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 5: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 6: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 7: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Outline

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 8: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 9: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em (also <m).Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 10: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em (also <m).Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 11: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em (also <m).Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 12: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em (also <m).Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 13: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em

(also <m).Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 14: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em (also <m).

Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 15: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Basics

Definition

A vector is an ordered array of numbers.

Geometric Representation

The collection of all m-dimensional vectors is called Euclidean m-space and isdenoted by Em (also <m).Vectors can be represented geometrically, where a vector can be thought of as either apoint or as an arrow directed from the origin to the point.

Subramani Optimization Methods in Finance

Page 16: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

Euclidean 2-space, E2.

(52

)(−4 6

)

(−7−1

)(0 −4

)

Subramani Optimization Methods in Finance

Page 17: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

Euclidean 2-space, E2.

(52

)(−4 6

)

(−7−1

)(0 −4

)

Subramani Optimization Methods in Finance

Page 18: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Addition

Vector Addition

Vectors of the same type (row or column) can be added if they have the same numberof entries.

Given two vectors a and b, we simply add one element in a with the correspondingelement in b that is in the same position.In other words, given c = a + b where ci is the element in the i th position, we haveci = ai + bi .

Vector addition satisfies both the commutative (a + b = b + a) and associative(a + (b + c) = (a + b) + c = a + b + c) laws.

Subramani Optimization Methods in Finance

Page 19: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Addition

Vector Addition

Vectors of the same type (row or column) can be added if they have the same numberof entries.Given two vectors a and b, we simply add one element in a with the correspondingelement in b that is in the same position.

In other words, given c = a + b where ci is the element in the i th position, we haveci = ai + bi .

Vector addition satisfies both the commutative (a + b = b + a) and associative(a + (b + c) = (a + b) + c = a + b + c) laws.

Subramani Optimization Methods in Finance

Page 20: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Addition

Vector Addition

Vectors of the same type (row or column) can be added if they have the same numberof entries.Given two vectors a and b, we simply add one element in a with the correspondingelement in b that is in the same position.In other words, given c = a + b where ci is the element in the i th position, we haveci = ai + bi .

Vector addition satisfies both the commutative (a + b = b + a) and associative(a + (b + c) = (a + b) + c = a + b + c) laws.

Subramani Optimization Methods in Finance

Page 21: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Addition

Vector Addition

Vectors of the same type (row or column) can be added if they have the same numberof entries.Given two vectors a and b, we simply add one element in a with the correspondingelement in b that is in the same position.In other words, given c = a + b where ci is the element in the i th position, we haveci = ai + bi .

Vector addition satisfies both the commutative (a + b = b + a) and associative(a + (b + c) = (a + b) + c = a + b + c) laws.

Subramani Optimization Methods in Finance

Page 22: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Addition Example

a =

407

b =

591

c =(6 8 0

)d =

4

1023

a + b =

407

+

591

=

998

a + c is undefined (not the same type)a + d is undefined (different number of elements)

Subramani Optimization Methods in Finance

Page 23: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Addition Example

a =

407

b =

591

c =(6 8 0

)d =

4

1023

a + b =

407

+

591

=

998

a + c is undefined (not the same type)a + d is undefined (different number of elements)

Subramani Optimization Methods in Finance

Page 24: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication of a Vector by a Scalar

We define a scalar as an element of E1, Euclidean 1-space.

For example, 3, 19, 37.5,and 2

3 are scalars.To multiply a vector by a scalar, we simply multiply each element in the vector by thescalar.For example, if we are given a scalar α, a row vector a, and a column vector b, we have

α · a = α · (a1, a2, . . . , an) = (α · a1, α · a2, . . . , α · an)

α · b = α

b1b2...

bm

=

α · b1α · b2

...α · bm

Subramani Optimization Methods in Finance

Page 25: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication of a Vector by a Scalar

We define a scalar as an element of E1, Euclidean 1-space. For example, 3, 19, 37.5,and 2

3 are scalars.

To multiply a vector by a scalar, we simply multiply each element in the vector by thescalar.For example, if we are given a scalar α, a row vector a, and a column vector b, we have

α · a = α · (a1, a2, . . . , an) = (α · a1, α · a2, . . . , α · an)

α · b = α

b1b2...

bm

=

α · b1α · b2

...α · bm

Subramani Optimization Methods in Finance

Page 26: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication of a Vector by a Scalar

We define a scalar as an element of E1, Euclidean 1-space. For example, 3, 19, 37.5,and 2

3 are scalars.To multiply a vector by a scalar, we simply multiply each element in the vector by thescalar.

For example, if we are given a scalar α, a row vector a, and a column vector b, we have

α · a = α · (a1, a2, . . . , an) = (α · a1, α · a2, . . . , α · an)

α · b = α

b1b2...

bm

=

α · b1α · b2

...α · bm

Subramani Optimization Methods in Finance

Page 27: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication of a Vector by a Scalar

We define a scalar as an element of E1, Euclidean 1-space. For example, 3, 19, 37.5,and 2

3 are scalars.To multiply a vector by a scalar, we simply multiply each element in the vector by thescalar.For example, if we are given a scalar α, a row vector a, and a column vector b, we have

α · a = α · (a1, a2, . . . , an) = (α · a1, α · a2, . . . , α · an)

α · b = α

b1b2...

bm

=

α · b1α · b2

...α · bm

Subramani Optimization Methods in Finance

Page 28: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication of a Vector by a Scalar

We define a scalar as an element of E1, Euclidean 1-space. For example, 3, 19, 37.5,and 2

3 are scalars.To multiply a vector by a scalar, we simply multiply each element in the vector by thescalar.For example, if we are given a scalar α, a row vector a, and a column vector b, we have

α · a = α · (a1, a2, . . . , an) = (α · a1, α · a2, . . . , α · an)

α · b = α

b1b2...

bm

=

α · b1α · b2

...α · bm

Subramani Optimization Methods in Finance

Page 29: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication of a Vector by a Scalar

We define a scalar as an element of E1, Euclidean 1-space. For example, 3, 19, 37.5,and 2

3 are scalars.To multiply a vector by a scalar, we simply multiply each element in the vector by thescalar.For example, if we are given a scalar α, a row vector a, and a column vector b, we have

α · a = α · (a1, a2, . . . , an) = (α · a1, α · a2, . . . , α · an)

α · b = α

b1b2...

bm

=

α · b1α · b2

...α · bm

Subramani Optimization Methods in Finance

Page 30: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Multiplication

Vector Multiplication

We can multiply two vectors if both have the same number of entries, one of them is arow vector, and the other is a column vector.

The result, often called the dot product, is a scalar. By convention, having a · b or abmeans a is the row vector and b is the column vector.To multiply the vectors, we multiply the corresponding entries and add the results.What this means that if we assume the vectors have m entries, we have

a · b = ab =m∑

i=1

ai bi = α.

We should also note that vector multiplication satisfies the distributive lawa(b + c) = ab + ac.

Subramani Optimization Methods in Finance

Page 31: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Multiplication

Vector Multiplication

We can multiply two vectors if both have the same number of entries, one of them is arow vector, and the other is a column vector.The result, often called the dot product, is a scalar.

By convention, having a · b or abmeans a is the row vector and b is the column vector.To multiply the vectors, we multiply the corresponding entries and add the results.What this means that if we assume the vectors have m entries, we have

a · b = ab =m∑

i=1

ai bi = α.

We should also note that vector multiplication satisfies the distributive lawa(b + c) = ab + ac.

Subramani Optimization Methods in Finance

Page 32: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Multiplication

Vector Multiplication

We can multiply two vectors if both have the same number of entries, one of them is arow vector, and the other is a column vector.The result, often called the dot product, is a scalar. By convention, having a · b or abmeans a is the row vector and b is the column vector.

To multiply the vectors, we multiply the corresponding entries and add the results.What this means that if we assume the vectors have m entries, we have

a · b = ab =m∑

i=1

ai bi = α.

We should also note that vector multiplication satisfies the distributive lawa(b + c) = ab + ac.

Subramani Optimization Methods in Finance

Page 33: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Multiplication

Vector Multiplication

We can multiply two vectors if both have the same number of entries, one of them is arow vector, and the other is a column vector.The result, often called the dot product, is a scalar. By convention, having a · b or abmeans a is the row vector and b is the column vector.To multiply the vectors, we multiply the corresponding entries and add the results.

What this means that if we assume the vectors have m entries, we have

a · b = ab =m∑

i=1

ai bi = α.

We should also note that vector multiplication satisfies the distributive lawa(b + c) = ab + ac.

Subramani Optimization Methods in Finance

Page 34: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Multiplication

Vector Multiplication

We can multiply two vectors if both have the same number of entries, one of them is arow vector, and the other is a column vector.The result, often called the dot product, is a scalar. By convention, having a · b or abmeans a is the row vector and b is the column vector.To multiply the vectors, we multiply the corresponding entries and add the results.What this means that if we assume the vectors have m entries, we have

a · b = ab =m∑

i=1

ai bi = α.

We should also note that vector multiplication satisfies the distributive lawa(b + c) = ab + ac.

Subramani Optimization Methods in Finance

Page 35: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vector Multiplication

Vector Multiplication

We can multiply two vectors if both have the same number of entries, one of them is arow vector, and the other is a column vector.The result, often called the dot product, is a scalar. By convention, having a · b or abmeans a is the row vector and b is the column vector.To multiply the vectors, we multiply the corresponding entries and add the results.What this means that if we assume the vectors have m entries, we have

a · b = ab =m∑

i=1

ai bi = α.

We should also note that vector multiplication satisfies the distributive lawa(b + c) = ab + ac.

Subramani Optimization Methods in Finance

Page 36: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Vector Multiplication Example

a =

307

b =

−2101

c =(4 9 2

)

d =(5 1 4 2

)e =

(3 −2

)

ca =(4 9 2

)307

= 12 + 0 + 14 = 26

cb =(4 9 2

)−2101

= −8 + 90 + 2 = 84

Subramani Optimization Methods in Finance

Page 37: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Vector Multiplication Example

a =

307

b =

−2101

c =(4 9 2

)

d =(5 1 4 2

)e =

(3 −2

)

ca =(4 9 2

)307

= 12 + 0 + 14 = 26

cb =(4 9 2

)−2101

= −8 + 90 + 2 = 84

Subramani Optimization Methods in Finance

Page 38: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan), L2 norm (Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 39: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm

(Manhattan), L2 norm (Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 40: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan),

L2 norm (Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 41: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan), L2 norm

(Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 42: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan), L2 norm (Euclidean)

ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 43: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan), L2 norm (Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 44: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan), L2 norm (Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 45: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Norms

Norm of a Vector

The Lp norm of a vector a ∈ En, denoted by ‖a‖p , is a measure of the size of a and is

given by ‖a‖p =

( n∑i=1

|ai |p)1/p

.

Some common norms are the L1 norm (Manhattan), L2 norm (Euclidean) ant the L∞norm.

Example

a =

32−1

‖a‖2 = [32 + 22 + (−1)2]1/2 = (14)1/2

Note

The dot product of two vectors can also be defined by using the Euclidean norm, whichis given by a · b = ‖a‖2 · ‖b‖2 cos θ, where θ is the angle between the two vectors.

Subramani Optimization Methods in Finance

Page 46: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere.

We normally denote this byej , where 1 appears in the j th position.For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 47: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere. We normally denote this byej , where 1 appears in the j th position.

For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 48: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere. We normally denote this byej , where 1 appears in the j th position.For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 49: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere. We normally denote this byej , where 1 appears in the j th position.For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 50: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere. We normally denote this byej , where 1 appears in the j th position.For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.

We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 51: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere. We normally denote this byej , where 1 appears in the j th position.For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 52: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Special Vector Types

Unit Vector - Has a 1 in the j th position and 0’s elsewhere. We normally denote this byej , where 1 appears in the j th position.For example, if ej ∈ E3,

e1 =

100

e2 =

010

e3 =

001

Null or Zero Vector - Denoted by 0, is a vector having only 0’s.

Sum Vector - Denoted by 1, is a vector having only 1’s.We call this the sum vector because the dot product of 1 and some vector a is a scalarthat is equal to the sum of the elements in a.

Subramani Optimization Methods in Finance

Page 53: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Linear Dependence and Independence

A set of vectors, a1, a2, . . . , am is linearly dependent if there exist some scalars, αi ,that are not all zero such that

α1 · a1 + α2 · a2 + · · ·+ αm · am = 0 (1)

If the only set of scalars, αi , for which the above equation holds isα1 = α2 = · · · = αm = 0, the vectors are linearly independent.

Subramani Optimization Methods in Finance

Page 54: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Linear Dependence and Independence

A set of vectors, a1, a2, . . . , am is linearly dependent if there exist some scalars, αi ,that are not all zero such that

α1 · a1 + α2 · a2 + · · ·+ αm · am = 0 (1)

If the only set of scalars, αi , for which the above equation holds isα1 = α2 = · · · = αm = 0, the vectors are linearly independent.

Subramani Optimization Methods in Finance

Page 55: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

Linearly Dependent:

a1 =

(11

)a2 =

(23

)a3 =

(8

11

)

2a1 + 3a2 − 1a3 = 2(

11

)+ 3

(23

)− 1

(8

11

)=

(00

)

Subramani Optimization Methods in Finance

Page 56: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

Linearly Dependent:

a1 =

(11

)a2 =

(23

)a3 =

(8

11

)

2a1 + 3a2 − 1a3 = 2(

11

)+ 3

(23

)− 1

(8

11

)=

(00

)

Subramani Optimization Methods in Finance

Page 57: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Example

Linearly Independent:

a1 =

(11

)a2 =

(20

)Consider the equation

α1

(11

)+ α2

(20

)=

(00

)

α1 + 2α2 = 0 (2)

α1 = 0 (3)

We can see that the only solution is α1 = α2 = 0. This means a1 and a2 are linearlyindependent.

Subramani Optimization Methods in Finance

Page 58: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Spanning Sets and Bases

The vectors b1,b2, . . . ,bp ∈ En are said to form a spanning set if every vector in En

can be written as a linear combination of the bi .

In other words, if v ∈ En, then there exist scalars α1, α2, . . . , αp such thatv = α1 · b1 + α2 · b2 + · · ·+ αp · bp .We say that the vectors b1,b2, . . . ,bn ∈ En form a basis for En, if they are linearlyindependent and form a spanning set for En.

Note that a basis is a minimal spanning set. This is because adding a new vectorwould make the set linearly dependent and removing one of the vectors would meanthe remaining ones no longer span En.

Subramani Optimization Methods in Finance

Page 59: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Spanning Sets and Bases

The vectors b1,b2, . . . ,bp ∈ En are said to form a spanning set if every vector in En

can be written as a linear combination of the bi .In other words, if v ∈ En, then there exist scalars α1, α2, . . . , αp such thatv = α1 · b1 + α2 · b2 + · · ·+ αp · bp .

We say that the vectors b1,b2, . . . ,bn ∈ En form a basis for En, if they are linearlyindependent and form a spanning set for En.

Note that a basis is a minimal spanning set. This is because adding a new vectorwould make the set linearly dependent and removing one of the vectors would meanthe remaining ones no longer span En.

Subramani Optimization Methods in Finance

Page 60: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Spanning Sets and Bases

The vectors b1,b2, . . . ,bp ∈ En are said to form a spanning set if every vector in En

can be written as a linear combination of the bi .In other words, if v ∈ En, then there exist scalars α1, α2, . . . , αp such thatv = α1 · b1 + α2 · b2 + · · ·+ αp · bp .We say that the vectors b1,b2, . . . ,bn ∈ En form a basis for En, if they are linearlyindependent and form a spanning set for En.

Note that a basis is a minimal spanning set. This is because adding a new vectorwould make the set linearly dependent and removing one of the vectors would meanthe remaining ones no longer span En.

Subramani Optimization Methods in Finance

Page 61: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Spanning Sets and Bases

The vectors b1,b2, . . . ,bp ∈ En are said to form a spanning set if every vector in En

can be written as a linear combination of the bi .In other words, if v ∈ En, then there exist scalars α1, α2, . . . , αp such thatv = α1 · b1 + α2 · b2 + · · ·+ αp · bp .We say that the vectors b1,b2, . . . ,bn ∈ En form a basis for En, if they are linearlyindependent and form a spanning set for En.

Note that a basis is a minimal spanning set.

This is because adding a new vectorwould make the set linearly dependent and removing one of the vectors would meanthe remaining ones no longer span En.

Subramani Optimization Methods in Finance

Page 62: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Vectors

Spanning Sets and Bases

The vectors b1,b2, . . . ,bp ∈ En are said to form a spanning set if every vector in En

can be written as a linear combination of the bi .In other words, if v ∈ En, then there exist scalars α1, α2, . . . , αp such thatv = α1 · b1 + α2 · b2 + · · ·+ αp · bp .We say that the vectors b1,b2, . . . ,bn ∈ En form a basis for En, if they are linearlyindependent and form a spanning set for En.

Note that a basis is a minimal spanning set. This is because adding a new vectorwould make the set linearly dependent and removing one of the vectors would meanthe remaining ones no longer span En.

Subramani Optimization Methods in Finance

Page 63: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 64: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Definition

A matrix is a rectangular array of numbers.

We represent them by uppercase boldface type with m rows and n columns.The order of a matrix is the number of rows and columns of the matrix, so the examplebelow would be an m x n matrix.

Example

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

Subramani Optimization Methods in Finance

Page 65: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Definition

A matrix is a rectangular array of numbers.We represent them by uppercase boldface type with m rows and n columns.

The order of a matrix is the number of rows and columns of the matrix, so the examplebelow would be an m x n matrix.

Example

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

Subramani Optimization Methods in Finance

Page 66: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Definition

A matrix is a rectangular array of numbers.We represent them by uppercase boldface type with m rows and n columns.The order of a matrix is the number of rows and columns of the matrix, so the examplebelow would be an m x n matrix.

Example

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

Subramani Optimization Methods in Finance

Page 67: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Definition

A matrix is a rectangular array of numbers.We represent them by uppercase boldface type with m rows and n columns.The order of a matrix is the number of rows and columns of the matrix, so the examplebelow would be an m x n matrix.

Example

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

Subramani Optimization Methods in Finance

Page 68: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Addition

Matrix Addition

If two matrices are of the same order, then we can add them together.

To add two matrices, we add the elements in each corresponding position.For example, if C = A + B, then ci,j = ai,j + bi,j for every i and j .Matrix addition satisfies both the commutative and associative laws.

Example

A =

(7 1 −23 3 0

)B =

(2 −3 41 5 9

)C =

2 17 39 2

A + B =

(7 1 −23 3 0

)+

(2 −3 41 5 9

)=

(9 −2 24 8 9

)

Subramani Optimization Methods in Finance

Page 69: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Addition

Matrix Addition

If two matrices are of the same order, then we can add them together.To add two matrices, we add the elements in each corresponding position.

For example, if C = A + B, then ci,j = ai,j + bi,j for every i and j .Matrix addition satisfies both the commutative and associative laws.

Example

A =

(7 1 −23 3 0

)B =

(2 −3 41 5 9

)C =

2 17 39 2

A + B =

(7 1 −23 3 0

)+

(2 −3 41 5 9

)=

(9 −2 24 8 9

)

Subramani Optimization Methods in Finance

Page 70: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Addition

Matrix Addition

If two matrices are of the same order, then we can add them together.To add two matrices, we add the elements in each corresponding position.For example, if C = A + B, then ci,j = ai,j + bi,j for every i and j .

Matrix addition satisfies both the commutative and associative laws.

Example

A =

(7 1 −23 3 0

)B =

(2 −3 41 5 9

)C =

2 17 39 2

A + B =

(7 1 −23 3 0

)+

(2 −3 41 5 9

)=

(9 −2 24 8 9

)

Subramani Optimization Methods in Finance

Page 71: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Addition

Matrix Addition

If two matrices are of the same order, then we can add them together.To add two matrices, we add the elements in each corresponding position.For example, if C = A + B, then ci,j = ai,j + bi,j for every i and j .Matrix addition satisfies both the commutative and associative laws.

Example

A =

(7 1 −23 3 0

)B =

(2 −3 41 5 9

)C =

2 17 39 2

A + B =

(7 1 −23 3 0

)+

(2 −3 41 5 9

)=

(9 −2 24 8 9

)

Subramani Optimization Methods in Finance

Page 72: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Addition

Matrix Addition

If two matrices are of the same order, then we can add them together.To add two matrices, we add the elements in each corresponding position.For example, if C = A + B, then ci,j = ai,j + bi,j for every i and j .Matrix addition satisfies both the commutative and associative laws.

Example

A =

(7 1 −23 3 0

)B =

(2 −3 41 5 9

)C =

2 17 39 2

A + B =

(7 1 −23 3 0

)+

(2 −3 41 5 9

)=

(9 −2 24 8 9

)

Subramani Optimization Methods in Finance

Page 73: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication by a Scalar

Like vectors, if we have a scalar α and a matrix A, the product α · A is obtained bymultiplying each elements ai,j by α.

α · A =

αa1,1 αa1,2 · · · αa1,nαa2,1 αa2,2 · · · αa2,n

......

. . ....

αam,1 αam,2 · · · αam,n

Example

β = 3 A =

8 3−1 27 1

β · A = 3

8 3−1 27 1

=

24 9−3 621 3

Subramani Optimization Methods in Finance

Page 74: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication by a Scalar

Like vectors, if we have a scalar α and a matrix A, the product α · A is obtained bymultiplying each elements ai,j by α.

α · A =

αa1,1 αa1,2 · · · αa1,nαa2,1 αa2,2 · · · αa2,n

......

. . ....

αam,1 αam,2 · · · αam,n

Example

β = 3 A =

8 3−1 27 1

β · A = 3

8 3−1 27 1

=

24 9−3 621 3

Subramani Optimization Methods in Finance

Page 75: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Scalar Multiplication

Multiplication by a Scalar

Like vectors, if we have a scalar α and a matrix A, the product α · A is obtained bymultiplying each elements ai,j by α.

α · A =

αa1,1 αa1,2 · · · αa1,nαa2,1 αa2,2 · · · αa2,n

......

. . ....

αam,1 αam,2 · · · αam,n

Example

β = 3 A =

8 3−1 27 1

β · A = 3

8 3−1 27 1

=

24 9−3 621 3

Subramani Optimization Methods in Finance

Page 76: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix multiplicatoin

Matrix Multiplication

Two matrices A and B can be multiplied if and only if the number of columns in A isequal to the number of rows in B.

If A is an m x n matrix, and B is a p x q matrix, then AB = C is defined as an m x qmatrix if and only if n = p.

Each element in C is given by ci,j =n∑

k=1

ai,k bk,j , where n is the number of columns of

A or rows of B, i = 1, . . . ,m where m is the number of rows of A, and j = 1, . . . , qwhere q is the number of columns of B.

Matrix multiplication satisfies the associative and distributive laws, but it does notsatisfy the commutative law in general.

Subramani Optimization Methods in Finance

Page 77: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix multiplicatoin

Matrix Multiplication

Two matrices A and B can be multiplied if and only if the number of columns in A isequal to the number of rows in B.If A is an m x n matrix, and B is a p x q matrix, then AB = C is defined as an m x qmatrix if and only if n = p.

Each element in C is given by ci,j =n∑

k=1

ai,k bk,j , where n is the number of columns of

A or rows of B, i = 1, . . . ,m where m is the number of rows of A, and j = 1, . . . , qwhere q is the number of columns of B.

Matrix multiplication satisfies the associative and distributive laws, but it does notsatisfy the commutative law in general.

Subramani Optimization Methods in Finance

Page 78: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix multiplicatoin

Matrix Multiplication

Two matrices A and B can be multiplied if and only if the number of columns in A isequal to the number of rows in B.If A is an m x n matrix, and B is a p x q matrix, then AB = C is defined as an m x qmatrix if and only if n = p.

Each element in C is given by ci,j =n∑

k=1

ai,k bk,j , where n is the number of columns of

A or rows of B, i = 1, . . . ,m where m is the number of rows of A, and j = 1, . . . , qwhere q is the number of columns of B.

Matrix multiplication satisfies the associative and distributive laws, but it does notsatisfy the commutative law in general.

Subramani Optimization Methods in Finance

Page 79: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix multiplicatoin

Matrix Multiplication

Two matrices A and B can be multiplied if and only if the number of columns in A isequal to the number of rows in B.If A is an m x n matrix, and B is a p x q matrix, then AB = C is defined as an m x qmatrix if and only if n = p.

Each element in C is given by ci,j =n∑

k=1

ai,k bk,j , where n is the number of columns of

A or rows of B, i = 1, . . . ,m where m is the number of rows of A, and j = 1, . . . , qwhere q is the number of columns of B.

Matrix multiplication satisfies the associative and distributive laws, but it does notsatisfy the commutative law in general.

Subramani Optimization Methods in Finance

Page 80: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

7 14 −32 0

B =

(2 1 70 −1 4

)

AB =

7 14 −32 0

(2 1 70 −1 4

)=

14 6 538 7 164 2 14

Subramani Optimization Methods in Finance

Page 81: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

7 14 −32 0

B =

(2 1 70 −1 4

)

AB =

7 14 −32 0

(2 1 70 −1 4

)=

14 6 538 7 164 2 14

Subramani Optimization Methods in Finance

Page 82: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 83: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 84: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1.

Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 85: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 86: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 87: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0.

Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 88: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 89: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices

Diagonal Matrix - A square matrix (m = n) whose entries that are not on the diagonalare zero.

A =

a1,1 0 00 a2,2 00 0 a3,3

Identity Matrix - A diagonal matrix where all diagonal elements are equal to 1. Wedenote this matrix as Im or I.

I3 =

1 0 00 1 00 0 1

Null or Zero Matrix - All elements are equal to zero and is denoted as 0. Note that thisdoes not have to be a square matrix.

0 =

(0 0 00 0 0

)

Subramani Optimization Methods in Finance

Page 90: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices (Contd.)

Matrix Transpose - The transpose of A, denoted as At , is a reordering of A byinterchanging the rows and columns.

For example, row 1 of A would be column 1 of At .

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

At =

a1,1 a2,1 · · · am,1a1,2 a2,2 · · · am,2

......

. . ....

a1,n a2,n · · · am,n

Symmetric Matrix - A matrix A where A = At .

A =

1 2 32 6 43 4 9

Positive Semidefinite - A symmetric matrix A is said to be positive semidefinite, ifxT · A · x ≥ 0 for all x and xT · A · x = 0, only if x = 0.

Subramani Optimization Methods in Finance

Page 91: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices (Contd.)

Matrix Transpose - The transpose of A, denoted as At , is a reordering of A byinterchanging the rows and columns. For example, row 1 of A would be column 1 of At .

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

At =

a1,1 a2,1 · · · am,1a1,2 a2,2 · · · am,2

......

. . ....

a1,n a2,n · · · am,n

Symmetric Matrix - A matrix A where A = At .

A =

1 2 32 6 43 4 9

Positive Semidefinite - A symmetric matrix A is said to be positive semidefinite, ifxT · A · x ≥ 0 for all x and xT · A · x = 0, only if x = 0.

Subramani Optimization Methods in Finance

Page 92: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices (Contd.)

Matrix Transpose - The transpose of A, denoted as At , is a reordering of A byinterchanging the rows and columns. For example, row 1 of A would be column 1 of At .

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

At =

a1,1 a2,1 · · · am,1a1,2 a2,2 · · · am,2

......

. . ....

a1,n a2,n · · · am,n

Symmetric Matrix - A matrix A where A = At .

A =

1 2 32 6 43 4 9

Positive Semidefinite - A symmetric matrix A is said to be positive semidefinite, ifxT · A · x ≥ 0 for all x and xT · A · x = 0, only if x = 0.

Subramani Optimization Methods in Finance

Page 93: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices (Contd.)

Matrix Transpose - The transpose of A, denoted as At , is a reordering of A byinterchanging the rows and columns. For example, row 1 of A would be column 1 of At .

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

At =

a1,1 a2,1 · · · am,1a1,2 a2,2 · · · am,2

......

. . ....

a1,n a2,n · · · am,n

Symmetric Matrix - A matrix A where A = At .

A =

1 2 32 6 43 4 9

Positive Semidefinite - A symmetric matrix A is said to be positive semidefinite, ifxT · A · x ≥ 0 for all x and xT · A · x = 0, only if x = 0.

Subramani Optimization Methods in Finance

Page 94: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Special Matrices

Special Matrices (Contd.)

Matrix Transpose - The transpose of A, denoted as At , is a reordering of A byinterchanging the rows and columns. For example, row 1 of A would be column 1 of At .

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

At =

a1,1 a2,1 · · · am,1a1,2 a2,2 · · · am,2

......

. . ....

a1,n a2,n · · · am,n

Symmetric Matrix - A matrix A where A = At .

A =

1 2 32 6 43 4 9

Positive Semidefinite - A symmetric matrix A is said to be positive semidefinite, ifxT · A · x ≥ 0 for all x and xT · A · x = 0, only if x = 0.

Subramani Optimization Methods in Finance

Page 95: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Special Matrices (Contd.)

Augmented Matrix - A matrix where the rows and columns of another matrix areappended to the original matrix.

If A is augmented with B, we get (A,B) or (A|B).

A =

(1 45 6

)B =

(3 21 9

)(A|B) =

(1 4 3 25 6 1 9

)

Subramani Optimization Methods in Finance

Page 96: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Special Matrices (Contd.)

Augmented Matrix - A matrix where the rows and columns of another matrix areappended to the original matrix. If A is augmented with B, we get (A,B) or (A|B).

A =

(1 45 6

)B =

(3 21 9

)(A|B) =

(1 4 3 25 6 1 9

)

Subramani Optimization Methods in Finance

Page 97: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Special Matrices (Contd.)

Augmented Matrix - A matrix where the rows and columns of another matrix areappended to the original matrix. If A is augmented with B, we get (A,B) or (A|B).

A =

(1 45 6

)B =

(3 21 9

)(A|B) =

(1 4 3 25 6 1 9

)

Subramani Optimization Methods in Finance

Page 98: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.

Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.We denote the minor of an element ai,j in matrix A as |Ai,j |.The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 99: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.We denote the minor of an element ai,j in matrix A as |Ai,j |.The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 100: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.We denote the minor of an element ai,j in matrix A as |Ai,j |.The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 101: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.

To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.We denote the minor of an element ai,j in matrix A as |Ai,j |.The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 102: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.

We denote the minor of an element ai,j in matrix A as |Ai,j |.The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 103: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.We denote the minor of an element ai,j in matrix A as |Ai,j |.

The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 104: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Determinants

Given a square matrix A, the determinant denoted by |A| is a number associated withA.Determinant of a 1 x 1 matrix: |a1,1| = a1,1

Determinant of a 2 x 2 matrix:∣∣∣∣ a1,1 a1,2

a2,1 a2,2

∣∣∣∣ = a1,1a2,2 − a1,2a2,1

Every element of a determinant, except for a 1 x 1 matrix, has an associated minor.To get the minor, we remove the row and column corresponding to the element and findthe determinant of the new matrix.We denote the minor of an element ai,j in matrix A as |Ai,j |.The cofactor of an element is its minor with the sign (−1)i+j attached to it.

Subramani Optimization Methods in Finance

Page 105: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

|A| =

∣∣∣∣∣∣7 −1 03 2 18 1 −4

∣∣∣∣∣∣The cofactor for a2,1 = 3 is

(−1)2+1|A2,1| = (−1)∣∣∣∣ −1 0

1 −4

∣∣∣∣ = −4

Subramani Optimization Methods in Finance

Page 106: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

|A| =

∣∣∣∣∣∣7 −1 03 2 18 1 −4

∣∣∣∣∣∣The cofactor for a2,1 = 3 is

(−1)2+1|A2,1| = (−1)∣∣∣∣ −1 0

1 −4

∣∣∣∣ = −4

Subramani Optimization Methods in Finance

Page 107: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Value of a determinant

Value of Determinants

The value of a determinant of order n is found by adding the products of each elementby its respective cofactor.

For any row i , this would be

|A| =n∑

j=1

ai,j (−1)i+j |Ai,j |

and for any column j , this would be

|A| =n∑

i=1

ai,j (−1)i+j |Ai,j |

Subramani Optimization Methods in Finance

Page 108: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Value of a determinant

Value of Determinants

The value of a determinant of order n is found by adding the products of each elementby its respective cofactor. For any row i , this would be

|A| =n∑

j=1

ai,j (−1)i+j |Ai,j |

and for any column j , this would be

|A| =n∑

i=1

ai,j (−1)i+j |Ai,j |

Subramani Optimization Methods in Finance

Page 109: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Value of Determinants Example

|A| =

∣∣∣∣∣∣1 4 32 0 21 3 5

∣∣∣∣∣∣Expanding |A| by column 3, we get

|A| = 3(−1)1+3∣∣∣∣2 01 3

∣∣∣∣+ 2(−1)2+3∣∣∣∣1 41 3

∣∣∣∣+ 5(−1)3+3∣∣∣∣1 42 0

∣∣∣∣= 3(6)− 2(−1) + 5(−8) = −20

Subramani Optimization Methods in Finance

Page 110: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Value of Determinants Example

|A| =

∣∣∣∣∣∣1 4 32 0 21 3 5

∣∣∣∣∣∣

Expanding |A| by column 3, we get

|A| = 3(−1)1+3∣∣∣∣2 01 3

∣∣∣∣+ 2(−1)2+3∣∣∣∣1 41 3

∣∣∣∣+ 5(−1)3+3∣∣∣∣1 42 0

∣∣∣∣= 3(6)− 2(−1) + 5(−8) = −20

Subramani Optimization Methods in Finance

Page 111: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Determinants

Value of Determinants Example

|A| =

∣∣∣∣∣∣1 4 32 0 21 3 5

∣∣∣∣∣∣Expanding |A| by column 3, we get

|A| = 3(−1)1+3∣∣∣∣2 01 3

∣∣∣∣+ 2(−1)2+3∣∣∣∣1 41 3

∣∣∣∣+ 5(−1)3+3∣∣∣∣1 42 0

∣∣∣∣= 3(6)− 2(−1) + 5(−8) = −20

Subramani Optimization Methods in Finance

Page 112: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders.

We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 113: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties.

Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 114: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 115: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 116: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 117: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 118: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 119: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Value of Determinants (Contd.)

The expansion of determinants can become complex for larger orders. We can simplifythe process by utilizing five properties. Note that we can interchange the words ”row”and ”column”.

1 If one complete row of a determinant is all zero, the value of the determinant iszero.

2 If two rows have elements that are proportional to one another, the value of thedeterminant is zero.

3 If two rows of a determinant are interchanged, the value of the new determinant isequal to the negative of the value of the old determinant.

4 Elements of any row may be multiplied by a nonzero constant if the entiredeterminant is multiplied by the reciprocal of the constant.

5 To the elements of any row, you may add a constant times the correspondingelement of any other row without changing the value of the determinant.

Subramani Optimization Methods in Finance

Page 120: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Adjoint Matrix

Adjoint

If A is a square matrix, the adjoint of A, denoted as Aα, can be found using thefollowing procedure:

1 Replace each element ai,j of A by its cofactor.2 Take the transpose of the matrix of cofactors found in step 1.3 The resulting matrix is Aα, the adjoint of A.

Example

Let γi,j = (−1)i+j |Ai,j | be the cofactor for ai,j , then

Aα =

γ1,1 γ2,1 · · · γn,1γ1,2 γ2,2 · · · γn,2

......

. . ....

γ1,n γ2,n · · · γn,n

Subramani Optimization Methods in Finance

Page 121: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Adjoint Matrix

Adjoint

If A is a square matrix, the adjoint of A, denoted as Aα, can be found using thefollowing procedure:

1 Replace each element ai,j of A by its cofactor.2 Take the transpose of the matrix of cofactors found in step 1.3 The resulting matrix is Aα, the adjoint of A.

Example

Let γi,j = (−1)i+j |Ai,j | be the cofactor for ai,j , then

Aα =

γ1,1 γ2,1 · · · γn,1γ1,2 γ2,2 · · · γn,2

......

. . ....

γ1,n γ2,n · · · γn,n

Subramani Optimization Methods in Finance

Page 122: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Adjoint Matrix

Adjoint

If A is a square matrix, the adjoint of A, denoted as Aα, can be found using thefollowing procedure:

1 Replace each element ai,j of A by its cofactor.

2 Take the transpose of the matrix of cofactors found in step 1.3 The resulting matrix is Aα, the adjoint of A.

Example

Let γi,j = (−1)i+j |Ai,j | be the cofactor for ai,j , then

Aα =

γ1,1 γ2,1 · · · γn,1γ1,2 γ2,2 · · · γn,2

......

. . ....

γ1,n γ2,n · · · γn,n

Subramani Optimization Methods in Finance

Page 123: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Adjoint Matrix

Adjoint

If A is a square matrix, the adjoint of A, denoted as Aα, can be found using thefollowing procedure:

1 Replace each element ai,j of A by its cofactor.2 Take the transpose of the matrix of cofactors found in step 1.

3 The resulting matrix is Aα, the adjoint of A.

Example

Let γi,j = (−1)i+j |Ai,j | be the cofactor for ai,j , then

Aα =

γ1,1 γ2,1 · · · γn,1γ1,2 γ2,2 · · · γn,2

......

. . ....

γ1,n γ2,n · · · γn,n

Subramani Optimization Methods in Finance

Page 124: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Adjoint Matrix

Adjoint

If A is a square matrix, the adjoint of A, denoted as Aα, can be found using thefollowing procedure:

1 Replace each element ai,j of A by its cofactor.2 Take the transpose of the matrix of cofactors found in step 1.3 The resulting matrix is Aα, the adjoint of A.

Example

Let γi,j = (−1)i+j |Ai,j | be the cofactor for ai,j , then

Aα =

γ1,1 γ2,1 · · · γn,1γ1,2 γ2,2 · · · γn,2

......

. . ....

γ1,n γ2,n · · · γn,n

Subramani Optimization Methods in Finance

Page 125: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Adjoint Matrix

Adjoint

If A is a square matrix, the adjoint of A, denoted as Aα, can be found using thefollowing procedure:

1 Replace each element ai,j of A by its cofactor.2 Take the transpose of the matrix of cofactors found in step 1.3 The resulting matrix is Aα, the adjoint of A.

Example

Let γi,j = (−1)i+j |Ai,j | be the cofactor for ai,j , then

Aα =

γ1,1 γ2,1 · · · γn,1γ1,2 γ2,2 · · · γn,2

......

. . ....

γ1,n γ2,n · · · γn,n

Subramani Optimization Methods in Finance

Page 126: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Inverse

Inverse

The inverse of a square matrix A is denoted as A−1.For a matrix to have an inverse, it must be nonsingular; i.e., its determinant cannot bezero.Given a nonsingular matrix A, we find the inverse by

A−1 =1|A|

Subramani Optimization Methods in Finance

Page 127: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Inverse

Inverse

The inverse of a square matrix A is denoted as A−1.

For a matrix to have an inverse, it must be nonsingular; i.e., its determinant cannot bezero.Given a nonsingular matrix A, we find the inverse by

A−1 =1|A|

Subramani Optimization Methods in Finance

Page 128: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Inverse

Inverse

The inverse of a square matrix A is denoted as A−1.For a matrix to have an inverse, it must be nonsingular; i.e., its determinant cannot bezero.

Given a nonsingular matrix A, we find the inverse by

A−1 =1|A|

Subramani Optimization Methods in Finance

Page 129: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Inverse

Inverse

The inverse of a square matrix A is denoted as A−1.For a matrix to have an inverse, it must be nonsingular; i.e., its determinant cannot bezero.Given a nonsingular matrix A, we find the inverse by

A−1 =1|A|

Subramani Optimization Methods in Finance

Page 130: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

(2 16 5

)|A| = 2(5)− 1(6) = 10− 6 = 4

Aα =

(|5| −|1|−|6| |2|

)=

(5 −1−6 2

)

A−1 =1|A|

Aα =14

(5 −1−6 2

)=

( 54 − 1

4− 3

212

)

Subramani Optimization Methods in Finance

Page 131: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

(2 16 5

)|A| = 2(5)− 1(6) = 10− 6 = 4

Aα =

(|5| −|1|−|6| |2|

)=

(5 −1−6 2

)

A−1 =1|A|

Aα =14

(5 −1−6 2

)=

( 54 − 1

4− 3

212

)

Subramani Optimization Methods in Finance

Page 132: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

(2 16 5

)|A| = 2(5)− 1(6) = 10− 6 = 4

Aα =

(|5| −|1|−|6| |2|

)=

(5 −1−6 2

)

A−1 =1|A|

Aα =14

(5 −1−6 2

)=

( 54 − 1

4− 3

212

)

Subramani Optimization Methods in Finance

Page 133: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

(2 16 5

)|A| = 2(5)− 1(6) = 10− 6 = 4

Aα =

(|5| −|1|−|6| |2|

)=

(5 −1−6 2

)

A−1 =1|A|

Aα =14

(5 −1−6 2

)=

( 54 − 1

4− 3

212

)

Subramani Optimization Methods in Finance

Page 134: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

(2 16 5

)|A| = 2(5)− 1(6) = 10− 6 = 4

Aα =

(|5| −|1|−|6| |2|

)=

(5 −1−6 2

)

A−1 =1|A|

Aα =14

(5 −1−6 2

)=

( 54 − 1

4− 3

212

)

Subramani Optimization Methods in Finance

Page 135: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Gauss-Jordan Elimination

This is another method for computing the inverse of a matrix.The idea is to augment the matrix with the identity matrix and then perform elementaryrow operations.

Elementary Row Operations

1 Interchange a row i with a row j .2 Multiply a row i by a nonzero scalar α.3 Replace a row i by a row i plus a multiple of some row j .

Subramani Optimization Methods in Finance

Page 136: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Gauss-Jordan Elimination

This is another method for computing the inverse of a matrix.

The idea is to augment the matrix with the identity matrix and then perform elementaryrow operations.

Elementary Row Operations

1 Interchange a row i with a row j .2 Multiply a row i by a nonzero scalar α.3 Replace a row i by a row i plus a multiple of some row j .

Subramani Optimization Methods in Finance

Page 137: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Gauss-Jordan Elimination

This is another method for computing the inverse of a matrix.The idea is to augment the matrix with the identity matrix and then perform elementaryrow operations.

Elementary Row Operations

1 Interchange a row i with a row j .2 Multiply a row i by a nonzero scalar α.3 Replace a row i by a row i plus a multiple of some row j .

Subramani Optimization Methods in Finance

Page 138: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Gauss-Jordan Elimination

This is another method for computing the inverse of a matrix.The idea is to augment the matrix with the identity matrix and then perform elementaryrow operations.

Elementary Row Operations

1 Interchange a row i with a row j .

2 Multiply a row i by a nonzero scalar α.3 Replace a row i by a row i plus a multiple of some row j .

Subramani Optimization Methods in Finance

Page 139: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Gauss-Jordan Elimination

This is another method for computing the inverse of a matrix.The idea is to augment the matrix with the identity matrix and then perform elementaryrow operations.

Elementary Row Operations

1 Interchange a row i with a row j .2 Multiply a row i by a nonzero scalar α.

3 Replace a row i by a row i plus a multiple of some row j .

Subramani Optimization Methods in Finance

Page 140: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrices

Gauss-Jordan Elimination

This is another method for computing the inverse of a matrix.The idea is to augment the matrix with the identity matrix and then perform elementaryrow operations.

Elementary Row Operations

1 Interchange a row i with a row j .2 Multiply a row i by a nonzero scalar α.3 Replace a row i by a row i plus a multiple of some row j .

Subramani Optimization Methods in Finance

Page 141: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Rank

Rank of a Matrix

The rank of an m x n matrix A, denoted as r(A), is the number of linearly independentcolumns (or rows) of A.By definition, r(A) ≤ min{m, n}.If r(A) = min{m, n}, then A is said to be of full rank.There are several ways to get the rank, but the method used here will use elementaryrow operations to get (

Ik D0 0

)This shows that r(A) = k .

Subramani Optimization Methods in Finance

Page 142: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Rank

Rank of a Matrix

The rank of an m x n matrix A, denoted as r(A), is the number of linearly independentcolumns (or rows) of A.

By definition, r(A) ≤ min{m, n}.If r(A) = min{m, n}, then A is said to be of full rank.There are several ways to get the rank, but the method used here will use elementaryrow operations to get (

Ik D0 0

)This shows that r(A) = k .

Subramani Optimization Methods in Finance

Page 143: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Rank

Rank of a Matrix

The rank of an m x n matrix A, denoted as r(A), is the number of linearly independentcolumns (or rows) of A.By definition, r(A) ≤ min{m, n}.

If r(A) = min{m, n}, then A is said to be of full rank.There are several ways to get the rank, but the method used here will use elementaryrow operations to get (

Ik D0 0

)This shows that r(A) = k .

Subramani Optimization Methods in Finance

Page 144: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Rank

Rank of a Matrix

The rank of an m x n matrix A, denoted as r(A), is the number of linearly independentcolumns (or rows) of A.By definition, r(A) ≤ min{m, n}.If r(A) = min{m, n}, then A is said to be of full rank.

There are several ways to get the rank, but the method used here will use elementaryrow operations to get (

Ik D0 0

)This shows that r(A) = k .

Subramani Optimization Methods in Finance

Page 145: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Rank

Rank of a Matrix

The rank of an m x n matrix A, denoted as r(A), is the number of linearly independentcolumns (or rows) of A.By definition, r(A) ≤ min{m, n}.If r(A) = min{m, n}, then A is said to be of full rank.There are several ways to get the rank, but the method used here will use elementaryrow operations to get (

Ik D0 0

)

This shows that r(A) = k .

Subramani Optimization Methods in Finance

Page 146: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Matrix Rank

Rank of a Matrix

The rank of an m x n matrix A, denoted as r(A), is the number of linearly independentcolumns (or rows) of A.By definition, r(A) ≤ min{m, n}.If r(A) = min{m, n}, then A is said to be of full rank.There are several ways to get the rank, but the method used here will use elementaryrow operations to get (

Ik D0 0

)This shows that r(A) = k .

Subramani Optimization Methods in Finance

Page 147: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

1 1 1 3 12 1 2 3 01 3 1 9 5

A =

1 0 1 0 −10 1 0 3 20 0 0 0 0

=

(I2 D0 0

)This means that the rank of A is 2.

Subramani Optimization Methods in Finance

Page 148: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

1 1 1 3 12 1 2 3 01 3 1 9 5

A =

1 0 1 0 −10 1 0 3 20 0 0 0 0

=

(I2 D0 0

)This means that the rank of A is 2.

Subramani Optimization Methods in Finance

Page 149: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

1 1 1 3 12 1 2 3 01 3 1 9 5

A =

1 0 1 0 −10 1 0 3 20 0 0 0 0

=

(I2 D0 0

)

This means that the rank of A is 2.

Subramani Optimization Methods in Finance

Page 150: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

1 1 1 3 12 1 2 3 01 3 1 9 5

A =

1 0 1 0 −10 1 0 3 20 0 0 0 0

=

(I2 D0 0

)This means that the rank of A is 2.

Subramani Optimization Methods in Finance

Page 151: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 152: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Simultaneous linear Equations

Equations

One of the best known uses for matrices and determinants is for solving simultaneouslinear equations.Matrices and vectors give us a nice method for expressing the problem.

Example

a1,1x1 + a1,2x2 + · · · + a1,nxn = b1a2,1x1 + a2,2x2 + · · · + a2,nxn = b2

...am,1x1 + am,2x2 + · · · + am,nxn = bm

Subramani Optimization Methods in Finance

Page 153: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Simultaneous linear Equations

Equations

One of the best known uses for matrices and determinants is for solving simultaneouslinear equations.

Matrices and vectors give us a nice method for expressing the problem.

Example

a1,1x1 + a1,2x2 + · · · + a1,nxn = b1a2,1x1 + a2,2x2 + · · · + a2,nxn = b2

...am,1x1 + am,2x2 + · · · + am,nxn = bm

Subramani Optimization Methods in Finance

Page 154: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Simultaneous linear Equations

Equations

One of the best known uses for matrices and determinants is for solving simultaneouslinear equations.Matrices and vectors give us a nice method for expressing the problem.

Example

a1,1x1 + a1,2x2 + · · · + a1,nxn = b1a2,1x1 + a2,2x2 + · · · + a2,nxn = b2

...am,1x1 + am,2x2 + · · · + am,nxn = bm

Subramani Optimization Methods in Finance

Page 155: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Simultaneous linear Equations

Equations

One of the best known uses for matrices and determinants is for solving simultaneouslinear equations.Matrices and vectors give us a nice method for expressing the problem.

Example

a1,1x1 + a1,2x2 + · · · + a1,nxn = b1a2,1x1 + a2,2x2 + · · · + a2,nxn = b2

...am,1x1 + am,2x2 + · · · + am,nxn = bm

Subramani Optimization Methods in Finance

Page 156: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Simultaneous linear Equations

Equations

One of the best known uses for matrices and determinants is for solving simultaneouslinear equations.Matrices and vectors give us a nice method for expressing the problem.

Example

a1,1x1 + a1,2x2 + · · · + a1,nxn = b1a2,1x1 + a2,2x2 + · · · + a2,nxn = b2

...am,1x1 + am,2x2 + · · · + am,nxn = bm

Subramani Optimization Methods in Finance

Page 157: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Example

Example

A =

a1,1 a1,2 · · · a1,na2,1 a2,2 · · · a2,n

......

. . ....

am,1 am,2 · · · am,n

b =

b1b2...

bm

x =

x1x2...

xm

Subramani Optimization Methods in Finance

Page 158: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.

When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.Conditions where a solutions exists for A · x = b:

1 If r(A|b) = r(A) + 1, then no solution exists.2 If r(A|b) = r(A), then there does exist a solution. This is because we can write b

as a linear combination of the columns of A. Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 159: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.

Conditions where a solutions exists for A · x = b:1 If r(A|b) = r(A) + 1, then no solution exists.2 If r(A|b) = r(A), then there does exist a solution. This is because we can write b

as a linear combination of the columns of A. Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 160: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.Conditions where a solutions exists for A · x = b:

1 If r(A|b) = r(A) + 1, then no solution exists.2 If r(A|b) = r(A), then there does exist a solution. This is because we can write b

as a linear combination of the columns of A. Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 161: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.Conditions where a solutions exists for A · x = b:

1 If r(A|b) = r(A) + 1, then no solution exists.

2 If r(A|b) = r(A), then there does exist a solution. This is because we can write bas a linear combination of the columns of A. Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 162: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.Conditions where a solutions exists for A · x = b:

1 If r(A|b) = r(A) + 1, then no solution exists.2 If r(A|b) = r(A), then there does exist a solution.

This is because we can write bas a linear combination of the columns of A. Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 163: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.Conditions where a solutions exists for A · x = b:

1 If r(A|b) = r(A) + 1, then no solution exists.2 If r(A|b) = r(A), then there does exist a solution. This is because we can write b

as a linear combination of the columns of A.

Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 164: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Solution Set

Solutions

The set of linear equations A · x = b has either no solution, a unique solution, or aninfinite number of solutions.When determining if a solution exists, we are trying to find scalars x1, x2, . . . , xn so thatb can be written as a linear combination of the columns of A.Conditions where a solutions exists for A · x = b:

1 If r(A|b) = r(A) + 1, then no solution exists.2 If r(A|b) = r(A), then there does exist a solution. This is because we can write b

as a linear combination of the columns of A. Furthermore, if r(A) = n, where n isthe number of variables, then there exists a unique solution for the system ofequations.

Subramani Optimization Methods in Finance

Page 165: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Unique solution

A Unique Solution of Ax = b

There are several methods for solving for a unique solution, including Cramer’s ruleand Gaussian elimination.We will first use Cramer’s rule; however, we should note that this is not an efficientapproach computationally. Let Aj be the matrix A where the j th column is replaced byb.Cramer’s rule states that the unique solution is given by xj =

|Aj ||A| , for all j = 1, . . . , n.

Subramani Optimization Methods in Finance

Page 166: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Unique solution

A Unique Solution of Ax = b

There are several methods for solving for a unique solution, including Cramer’s ruleand Gaussian elimination.

We will first use Cramer’s rule; however, we should note that this is not an efficientapproach computationally. Let Aj be the matrix A where the j th column is replaced byb.Cramer’s rule states that the unique solution is given by xj =

|Aj ||A| , for all j = 1, . . . , n.

Subramani Optimization Methods in Finance

Page 167: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Unique solution

A Unique Solution of Ax = b

There are several methods for solving for a unique solution, including Cramer’s ruleand Gaussian elimination.We will first use Cramer’s rule; however, we should note that this is not an efficientapproach computationally.

Let Aj be the matrix A where the j th column is replaced byb.Cramer’s rule states that the unique solution is given by xj =

|Aj ||A| , for all j = 1, . . . , n.

Subramani Optimization Methods in Finance

Page 168: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Unique solution

A Unique Solution of Ax = b

There are several methods for solving for a unique solution, including Cramer’s ruleand Gaussian elimination.We will first use Cramer’s rule; however, we should note that this is not an efficientapproach computationally. Let Aj be the matrix A where the j th column is replaced byb.

Cramer’s rule states that the unique solution is given by xj =|Aj ||A| , for all j = 1, . . . , n.

Subramani Optimization Methods in Finance

Page 169: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Unique solution

A Unique Solution of Ax = b

There are several methods for solving for a unique solution, including Cramer’s ruleand Gaussian elimination.We will first use Cramer’s rule; however, we should note that this is not an efficientapproach computationally. Let Aj be the matrix A where the j th column is replaced byb.Cramer’s rule states that the unique solution is given by xj =

|Aj ||A| , for all j = 1, . . . , n.

Subramani Optimization Methods in Finance

Page 170: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Cramer’s rule

Using Cramer’s Rule

2x1 + x2 + 2x3 = 62x1 + 3x2 + x3 = 9x1 + x2 + x3 = 3

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

x1 =

∣∣∣∣∣∣∣∣6 1 29 3 13 1 1

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= 6

1 = 6 x2 =

∣∣∣∣∣∣∣∣2 6 22 9 11 3 1

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= 0 x3 =

∣∣∣∣∣∣∣∣2 1 62 3 91 1 3

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= −3

Subramani Optimization Methods in Finance

Page 171: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Cramer’s rule

Using Cramer’s Rule

2x1 + x2 + 2x3 = 62x1 + 3x2 + x3 = 9x1 + x2 + x3 = 3

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

x1 =

∣∣∣∣∣∣∣∣6 1 29 3 13 1 1

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= 6

1 = 6 x2 =

∣∣∣∣∣∣∣∣2 6 22 9 11 3 1

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= 0 x3 =

∣∣∣∣∣∣∣∣2 1 62 3 91 1 3

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= −3

Subramani Optimization Methods in Finance

Page 172: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Cramer’s rule

Using Cramer’s Rule

2x1 + x2 + 2x3 = 62x1 + 3x2 + x3 = 9x1 + x2 + x3 = 3

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

x1 =

∣∣∣∣∣∣∣∣6 1 29 3 13 1 1

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= 6

1 = 6 x2 =

∣∣∣∣∣∣∣∣2 6 22 9 11 3 1

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= 0 x3 =

∣∣∣∣∣∣∣∣2 1 62 3 91 1 3

∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣∣2 1 22 3 11 1 1

∣∣∣∣∣∣∣∣= −3

Subramani Optimization Methods in Finance

Page 173: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 174: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.

Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 175: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b,

which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 176: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b,

and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 177: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 178: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 179: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 180: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

The Inverse Method

Using Inverses

Another approach to finding a unique solution is by using the inverse.Given A · x = b and A−1 · A = I, we can see that A−1 · A · x = A−1 · b, which meansthat I · x = A−1 · b, and hence x = A−1 · b.

Example

A =

2 1 22 3 11 1 1

b =

693

x =

x1x2x3

A−1 =

2 1 −5−1 0 2−1 −1 4

x = A−1 · b =

2 1 −5−1 0 2−1 −1 4

693

=

60−3

Subramani Optimization Methods in Finance

Page 181: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions

This case is one of most interest since this scenario is the most likely to happen inlinear programming.This happens when r(A) = r(A|b) < n, where n is the number of variables.

Example

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

We see that r(A) = r(A|b) = 2 < 3, where

A =

(3 1 −11 1 1

)b =

(84

)

Subramani Optimization Methods in Finance

Page 182: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions

This case is one of most interest since this scenario is the most likely to happen inlinear programming.

This happens when r(A) = r(A|b) < n, where n is the number of variables.

Example

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

We see that r(A) = r(A|b) = 2 < 3, where

A =

(3 1 −11 1 1

)b =

(84

)

Subramani Optimization Methods in Finance

Page 183: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions

This case is one of most interest since this scenario is the most likely to happen inlinear programming.This happens when r(A) = r(A|b) < n, where n is the number of variables.

Example

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

We see that r(A) = r(A|b) = 2 < 3, where

A =

(3 1 −11 1 1

)b =

(84

)

Subramani Optimization Methods in Finance

Page 184: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions

This case is one of most interest since this scenario is the most likely to happen inlinear programming.This happens when r(A) = r(A|b) < n, where n is the number of variables.

Example

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

We see that r(A) = r(A|b) = 2 < 3, where

A =

(3 1 −11 1 1

)b =

(84

)

Subramani Optimization Methods in Finance

Page 185: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions

This case is one of most interest since this scenario is the most likely to happen inlinear programming.This happens when r(A) = r(A|b) < n, where n is the number of variables.

Example

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

We see that r(A) = r(A|b) = 2 < 3, where

A =

(3 1 −11 1 1

)b =

(84

)

Subramani Optimization Methods in Finance

Page 186: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions (Contd.)

For this case, we can choose r equations, where r is the rank, and find r of thevariables in terms of the remaining n − r variables.

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

Solving for x1 and x2 getsx1 = 2 + x3x2 = 2 − 2x3

x =

x1x2x3

=

2 + x32− 2x3

x3

Subramani Optimization Methods in Finance

Page 187: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions (Contd.)

For this case, we can choose r equations, where r is the rank, and find r of thevariables in terms of the remaining n − r variables.

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

Solving for x1 and x2 getsx1 = 2 + x3x2 = 2 − 2x3

x =

x1x2x3

=

2 + x32− 2x3

x3

Subramani Optimization Methods in Finance

Page 188: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions (Contd.)

For this case, we can choose r equations, where r is the rank, and find r of thevariables in terms of the remaining n − r variables.

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

Solving for x1 and x2 getsx1 = 2 + x3x2 = 2 − 2x3

x =

x1x2x3

=

2 + x32− 2x3

x3

Subramani Optimization Methods in Finance

Page 189: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions (Contd.)

For this case, we can choose r equations, where r is the rank, and find r of thevariables in terms of the remaining n − r variables.

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

Solving for x1 and x2 getsx1 = 2 + x3x2 = 2 − 2x3

x =

x1x2x3

=

2 + x32− 2x3

x3

Subramani Optimization Methods in Finance

Page 190: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

VectorsMatricesThe Solution of Simultaneous Linear Equations

Linear Equations

Infinite Number of Solutions (Contd.)

For this case, we can choose r equations, where r is the rank, and find r of thevariables in terms of the remaining n − r variables.

3x1 + x2 − x3 = 8x1 + x2 + x3 = 4

Solving for x1 and x2 getsx1 = 2 + x3x2 = 2 − 2x3

x =

x1x2x3

=

2 + x32− 2x3

x3

Subramani Optimization Methods in Finance

Page 191: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 192: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 193: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 194: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 195: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 196: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:

(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 197: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1])

x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 198: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 199: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set.

Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 200: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Sets

Definition (Convex Combination)

Given two points x and y in Em, and α ∈ [0, 1], the parametric point α · x + (1− α) · yis said to be a convex combination of x and y.

Note

The set of all convex combinations of x and y is the line segment joining them.

Definition (Convex Set)

A set S is said to be convex, if:(∀x)(∀y)(∀α ∈ [0, 1]) x, y ∈ S → α · x + (1− α) · y ∈ S.

Exercise

A set of the form A · x ≤ b, x ≥ 0 is said to be a polyhedral set. Argue that polyhedralsets are convex.

Subramani Optimization Methods in Finance

Page 201: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 202: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 203: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex,

if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 204: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 205: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 206: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 207: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 208: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 209: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 210: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set

{(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 211: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 212: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 213: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Functions

Definition (Convex function)

Given a convex set S, a function f : S → < is called convex, if ∀ x, y ∈ S, λ ∈ [0, 1],we have,

f (λ · x + (1− λ) · y) ≤ λ · f (x) + (1− λ) · f (y).

If < holds as opposed to ≤, the function is said to be strictly convex.

Definition (Concave function)

A function f is concave if and only if −f is convex.

Definition

The epigraph of a function f : S → <, is defined as the set {(x, r) : x ∈ S, f (x) ≤ r}.

Theorem

f is a convex function if and if its epigraph is a convex set.

Subramani Optimization Methods in Finance

Page 214: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Checking convexity

Theorem

If f is a twice-diferentiable, univariate function, then f is convex on set S, if and only iff ′′(x) ≥ 0, for all x ∈ S. A multivariate function f is convex if and only if,52f (x) ispositive semidefinite. Recall that,

[52f (x)]i,j =∂2f (x)∂xi∂xj

, ∀i, j

Subramani Optimization Methods in Finance

Page 215: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Checking convexity

Theorem

If f is a twice-diferentiable, univariate function, then f is convex on set S, if and only iff ′′(x) ≥ 0, for all x ∈ S.

A multivariate function f is convex if and only if,52f (x) ispositive semidefinite. Recall that,

[52f (x)]i,j =∂2f (x)∂xi∂xj

, ∀i, j

Subramani Optimization Methods in Finance

Page 216: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Checking convexity

Theorem

If f is a twice-diferentiable, univariate function, then f is convex on set S, if and only iff ′′(x) ≥ 0, for all x ∈ S. A multivariate function f is convex if and only if,

52f (x) ispositive semidefinite. Recall that,

[52f (x)]i,j =∂2f (x)∂xi∂xj

, ∀i, j

Subramani Optimization Methods in Finance

Page 217: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Checking convexity

Theorem

If f is a twice-diferentiable, univariate function, then f is convex on set S, if and only iff ′′(x) ≥ 0, for all x ∈ S. A multivariate function f is convex if and only if,52f (x) ispositive semidefinite.

Recall that,

[52f (x)]i,j =∂2f (x)∂xi∂xj

, ∀i, j

Subramani Optimization Methods in Finance

Page 218: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Checking convexity

Theorem

If f is a twice-diferentiable, univariate function, then f is convex on set S, if and only iff ′′(x) ≥ 0, for all x ∈ S. A multivariate function f is convex if and only if,52f (x) ispositive semidefinite. Recall that,

[52f (x)]i,j =∂2f (x)∂xi∂xj

, ∀i, j

Subramani Optimization Methods in Finance

Page 219: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Convex optimization theorem

Theorem

Consider the following optimization problem:

minx f (x)

s.t . x ∈ S

If S is a convex set and f is a convex function of x on S, the all local optima are alsoglobal optima.

Subramani Optimization Methods in Finance

Page 220: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Convex optimization theorem

Theorem

Consider the following optimization problem:

minx f (x)

s.t . x ∈ S

If S is a convex set and f is a convex function of x on S, the all local optima are alsoglobal optima.

Subramani Optimization Methods in Finance

Page 221: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Convex optimization theorem

Theorem

Consider the following optimization problem:

minx f (x)

s.t . x ∈ S

If S is a convex set and f is a convex function of x on S, the all local optima are alsoglobal optima.

Subramani Optimization Methods in Finance

Page 222: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Convex optimization theorem

Theorem

Consider the following optimization problem:

minx f (x)

s.t . x ∈ S

If S is a convex set and f is a convex function of x on S, the all local optima are alsoglobal optima.

Subramani Optimization Methods in Finance

Page 223: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 224: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cones

Definition

A cone is a set that is closed under positive scalar multiplication. It is called pointed, ifit does not include any lines.

Note

Are cones convex? We will be dealing with pointed, convex cones only.

Subramani Optimization Methods in Finance

Page 225: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cones

Definition

A cone is a set that is closed under positive scalar multiplication. It is called pointed, ifit does not include any lines.

Note

Are cones convex? We will be dealing with pointed, convex cones only.

Subramani Optimization Methods in Finance

Page 226: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cones

Definition

A cone is a set that is closed under positive scalar multiplication.

It is called pointed, ifit does not include any lines.

Note

Are cones convex? We will be dealing with pointed, convex cones only.

Subramani Optimization Methods in Finance

Page 227: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cones

Definition

A cone is a set that is closed under positive scalar multiplication. It is called pointed, ifit does not include any lines.

Note

Are cones convex? We will be dealing with pointed, convex cones only.

Subramani Optimization Methods in Finance

Page 228: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cones

Definition

A cone is a set that is closed under positive scalar multiplication. It is called pointed, ifit does not include any lines.

Note

Are cones convex?

We will be dealing with pointed, convex cones only.

Subramani Optimization Methods in Finance

Page 229: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cones

Definition

A cone is a set that is closed under positive scalar multiplication. It is called pointed, ifit does not include any lines.

Note

Are cones convex? We will be dealing with pointed, convex cones only.

Subramani Optimization Methods in Finance

Page 230: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Examples

Examples

1 The positive orthant - {x ∈ <n : x ≥ 0}.2 Polyhedral cones - {x ∈ <n : A · x ≥ 0}.3 Lorentz cones - {x = [x1, . . . xn] ∈ <n+1 : xn ≥ ||(x1, x2 . . . xn−1)||2.4 The cone of symmetric positive semidefinite matrices -{X ∈ <n×n : X = XT, and X is positive semidefinite}.

Subramani Optimization Methods in Finance

Page 231: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Examples

Examples

1 The positive orthant - {x ∈ <n : x ≥ 0}.2 Polyhedral cones - {x ∈ <n : A · x ≥ 0}.3 Lorentz cones - {x = [x1, . . . xn] ∈ <n+1 : xn ≥ ||(x1, x2 . . . xn−1)||2.4 The cone of symmetric positive semidefinite matrices -{X ∈ <n×n : X = XT, and X is positive semidefinite}.

Subramani Optimization Methods in Finance

Page 232: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Examples

Examples

1 The positive orthant - {x ∈ <n : x ≥ 0}.

2 Polyhedral cones - {x ∈ <n : A · x ≥ 0}.3 Lorentz cones - {x = [x1, . . . xn] ∈ <n+1 : xn ≥ ||(x1, x2 . . . xn−1)||2.4 The cone of symmetric positive semidefinite matrices -{X ∈ <n×n : X = XT, and X is positive semidefinite}.

Subramani Optimization Methods in Finance

Page 233: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Examples

Examples

1 The positive orthant - {x ∈ <n : x ≥ 0}.2 Polyhedral cones - {x ∈ <n : A · x ≥ 0}.

3 Lorentz cones - {x = [x1, . . . xn] ∈ <n+1 : xn ≥ ||(x1, x2 . . . xn−1)||2.4 The cone of symmetric positive semidefinite matrices -{X ∈ <n×n : X = XT, and X is positive semidefinite}.

Subramani Optimization Methods in Finance

Page 234: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Examples

Examples

1 The positive orthant - {x ∈ <n : x ≥ 0}.2 Polyhedral cones - {x ∈ <n : A · x ≥ 0}.3 Lorentz cones - {x = [x1, . . . xn] ∈ <n+1 : xn ≥ ||(x1, x2 . . . xn−1)||2.

4 The cone of symmetric positive semidefinite matrices -{X ∈ <n×n : X = XT, and X is positive semidefinite}.

Subramani Optimization Methods in Finance

Page 235: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Examples

Examples

1 The positive orthant - {x ∈ <n : x ≥ 0}.2 Polyhedral cones - {x ∈ <n : A · x ≥ 0}.3 Lorentz cones - {x = [x1, . . . xn] ∈ <n+1 : xn ≥ ||(x1, x2 . . . xn−1)||2.4 The cone of symmetric positive semidefinite matrices -{X ∈ <n×n : X = XT, and X is positive semidefinite}.

Subramani Optimization Methods in Finance

Page 236: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Properties

Definition (Dual Cone)

If C is a cone in vector space X , with an inner product “·”, then its dual cone is denotedby:

C∗ = {x ∈ X : x · y ≥ 0, ∀y ∈ C}.

Definition (Polar Cone)

The polar cone of a cone C is the negative of its dual, i.e.,

CP = {x ∈ X : x · y ≤ 0, ∀y ∈ C}.

Exercise

Show that the cone <n+ is its own dual cone.

Subramani Optimization Methods in Finance

Page 237: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Properties

Definition (Dual Cone)

If C is a cone in vector space X , with an inner product “·”, then its dual cone is denotedby:

C∗ = {x ∈ X : x · y ≥ 0, ∀y ∈ C}.

Definition (Polar Cone)

The polar cone of a cone C is the negative of its dual, i.e.,

CP = {x ∈ X : x · y ≤ 0, ∀y ∈ C}.

Exercise

Show that the cone <n+ is its own dual cone.

Subramani Optimization Methods in Finance

Page 238: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Properties

Definition (Dual Cone)

If C is a cone in vector space X , with an inner product “·”, then its dual cone is denotedby:

C∗ = {x ∈ X : x · y ≥ 0, ∀y ∈ C}.

Definition (Polar Cone)

The polar cone of a cone C is the negative of its dual, i.e.,

CP = {x ∈ X : x · y ≤ 0, ∀y ∈ C}.

Exercise

Show that the cone <n+ is its own dual cone.

Subramani Optimization Methods in Finance

Page 239: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Properties

Definition (Dual Cone)

If C is a cone in vector space X , with an inner product “·”, then its dual cone is denotedby:

C∗ = {x ∈ X : x · y ≥ 0, ∀y ∈ C}.

Definition (Polar Cone)

The polar cone of a cone C is the negative of its dual, i.e.,

CP = {x ∈ X : x · y ≤ 0, ∀y ∈ C}.

Exercise

Show that the cone <n+ is its own dual cone.

Subramani Optimization Methods in Finance

Page 240: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Properties

Definition (Dual Cone)

If C is a cone in vector space X , with an inner product “·”, then its dual cone is denotedby:

C∗ = {x ∈ X : x · y ≥ 0, ∀y ∈ C}.

Definition (Polar Cone)

The polar cone of a cone C is the negative of its dual, i.e.,

CP = {x ∈ X : x · y ≤ 0, ∀y ∈ C}.

Exercise

Show that the cone <n+ is its own dual cone.

Subramani Optimization Methods in Finance

Page 241: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

ConvexityCones

Cone Properties

Definition (Dual Cone)

If C is a cone in vector space X , with an inner product “·”, then its dual cone is denotedby:

C∗ = {x ∈ X : x · y ≥ 0, ∀y ∈ C}.

Definition (Polar Cone)

The polar cone of a cone C is the negative of its dual, i.e.,

CP = {x ∈ X : x · y ≤ 0, ∀y ∈ C}.

Exercise

Show that the cone <n+ is its own dual cone.

Subramani Optimization Methods in Finance

Page 242: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 243: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 244: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 245: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance,

butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 246: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 247: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 248: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin.

Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 249: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.

(ii) Suppose that the experiment consists of tossing a die. Then,S = {1, 2, 3, 4, 5, 6}.

(iii) Suppose that the experiment consists of tossing two coins. Then,S = {HH, HT , TH, TT}.

(iv) Suppose that the experiment consists of measuring the life of a battery. Then,S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 250: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die.

Then,S = {1, 2, 3, 4, 5, 6}.

(iii) Suppose that the experiment consists of tossing two coins. Then,S = {HH, HT , TH, TT}.

(iv) Suppose that the experiment consists of measuring the life of a battery. Then,S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 251: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.

(iii) Suppose that the experiment consists of tossing two coins. Then,S = {HH, HT , TH, TT}.

(iv) Suppose that the experiment consists of measuring the life of a battery. Then,S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 252: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins.

Then,S = {HH, HT , TH, TT}.

(iv) Suppose that the experiment consists of measuring the life of a battery. Then,S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 253: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.

(iv) Suppose that the experiment consists of measuring the life of a battery. Then,S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 254: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery.

Then,S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 255: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 256: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Sample Space and Events

Definition

A random experiment is an experiment whose outcome is not known in advance, butbelongs to a non-empty, non-singleton set called the sample space (usually denotedby S).

Example

(i) Suppose that the experiment consists of tossing a coin. Then, S = {H, T}.(ii) Suppose that the experiment consists of tossing a die. Then,

S = {1, 2, 3, 4, 5, 6}.(iii) Suppose that the experiment consists of tossing two coins. Then,

S = {HH, HT , TH, TT}.(iv) Suppose that the experiment consists of measuring the life of a battery. Then,

S = [0,∞).

Definition

Any subset of the sample space S is called an event.

Subramani Optimization Methods in Finance

Page 257: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 258: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 259: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union)

is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 260: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ;

e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 261: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 262: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 263: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF

(intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 264: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ;

e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 265: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining Events

Definition

Given two events E and F , the event E ∪ F (union) is defined as the event whoseoutcomes are in E or F ; e.g., in the die tossing experiment, the union of the eventsE = {2, 4} and F = {1} is {1, 2, 4}.

Definition

Given two events E and F , the event EF (intersection) is defined as the event whoseoutcomes are in E and F ; e.g., in the die tossing experiment, the intersection of theevents E = {1, 2, 3} and F = {1} is {1}.

Subramani Optimization Methods in Finance

Page 266: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 267: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 268: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ;

e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 269: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 270: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 271: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and

E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 272: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive.

In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 273: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0;

in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 274: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 275: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets.

This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 276: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Combining events (contd.)

Definition

Given an event E , the event Ec (complement) denotes the event whose outcomes arein S, but not in E ; e.g., in the die tossing experiment, the complement of the eventE = {1, 2, 3} is {4, 5, 6}.

Definition

If events E and F have no outcomes in common, then EF = ∅ and E and F are said tobe mutually exclusive. In this case, P(EF ) = 0; in the single coin tossing experimentthe events {H} and {T} are mutually exclusive.

Note

Never forget that events are sets. This is particularly important when using logic toreason about them.

Subramani Optimization Methods in Finance

Page 277: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 278: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 279: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 280: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space.

We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 281: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 282: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 283: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 284: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 285: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 286: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E .

The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 287: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace.

The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 288: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Defining Probabilities on Events

Assigning probabilities

Let S denote a sample space. We assume that the number P(E) is assigned to eachevent E in S, such that:

(i) 0 ≤ P(E) ≤ 1.

(ii) P(S) = 1.

(iii) If E1, E2, . . . , En are mutually exclusive events, then,

P(E1 ∪ E2 . . .En) =n∑

i=1

P(Ei ).

P(E) is called the probability of event E . The 2-tuple (S,P) is called a probabilityspace. The above three conditions are called the axioms of probability theory.

Subramani Optimization Methods in Finance

Page 289: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 290: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 291: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S.

Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 292: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 293: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S.

Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 294: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).

What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 295: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?

Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 296: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Two Identities

Note

(i) Let E be an arbitrary event on the sample space S. Then, P(E) + P(Ec) = 1.

(ii) Let E and F denote two arbitrary events on the sample space S. Then,P(E ∪ F ) = P(E) + P(F )− P(EF ).What is P(E ∪ F ), when E and F are mutually exclusive?Let G be another event on S. What is P(E ∪ F ∪ G)?

Subramani Optimization Methods in Finance

Page 297: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 298: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 299: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 300: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins.

What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 301: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads?

Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 302: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads.

What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 303: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 304: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 305: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F )

and is equal to P(EF )P(F )

,assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 306: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 307: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 308: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.

Accordingly, we are interested in P(E | F ). Observe that P(F ) = 12 and P(EF ) = 1

4 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 309: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ).

Observe that P(F ) = 12 and P(EF ) = 1

4 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 310: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 311: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 .

Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 312: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Conditional Probability

Motivation

Consider the experiment of tossing two fair coins. What is the probability that bothcoins turn up heads? Now, assume that the first coin turns up heads. What is theprobability that both coins turn up heads?

Definition

Let E and F denote two events on a sample space S. The conditional probability of E ,given that the event F has occurred is denoted by P(E | F ) and is equal to P(EF )

P(F ),

assuming P(F ) > 0.

Example

In the previously discussed coin tossing example, let E denote the event that bothcoins turn up heads and F denote the event that the first coin turns up heads.Accordingly, we are interested in P(E | F ). Observe that P(F ) = 1

2 and P(EF ) = 14 .

Hence, P(E | F ) =1412= 1

2 . Notice that P(E) = 14 6= P(E | F ).

Subramani Optimization Methods in Finance

Page 313: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 314: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 315: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.

Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 316: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 317: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 318: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 319: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 320: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice.

Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 321: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4.

Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 322: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.

Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 323: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7.

Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 324: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent?

How about E2 and F?

Subramani Optimization Methods in Finance

Page 325: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Events

Definition

Two events E and F on a sample space S are said to be independent, if theoccurrence of one does not affect the occurrence of the other.Mathematically,

P(E | F ) = P(E).

Alternatively,

P(EF ) = P(E) · P(F )

Exercise

Consider the experiment of tossing two fair dice. Let F denote the event that the firstdie turns up 4. Let E1 denote the event that the sum of the faces of the two dice is 6.Let E2 denote the event that the sum of the faces of the two dice is 7. Are E1 and Findependent? How about E2 and F?

Subramani Optimization Methods in Finance

Page 326: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 327: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 328: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S.

Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 329: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive.

Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 330: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 331: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) =

P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 332: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 333: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 334: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 335: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E

is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 336: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred,

each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 337: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Bayes’ Formula

Derivation

Let E and F denote two arbitrary events on a sample space S. Clearly, E = EF ∪ EF c ,where the events EF and EF c are mutually exclusive. Now, observe that,

P(E) = P(EF ) + P(EF c)

= P(E | F )P(F ) + P(E | F c)P(F c)

= P(E | F )P(F ) + P(E | F c)(1− P(F ))

Thus, the probability of an event E is the weighted average of the conditionalprobability of E , given that event F has occurred and the conditional probability of E ,given that event F has not occurred, each conditional probability being given as muchweight as the probability of the event that it is conditioned on, has of occurring.

Subramani Optimization Methods in Finance

Page 338: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 339: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 340: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 341: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome,

but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 342: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g.,

in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 343: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7.

We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 344: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 345: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 346: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice.

What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 347: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 348: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} =

0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 349: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 350: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36

...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 351: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 352: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Random Variables

Motivation

In case of certain random experiments, we are not so much interested in the actualoutcome, but in some function of the outcome, e.g., in the experiment of tossing twodice, we could be interested in knowing whether or not the the sum of the upturnedfaces is 7. We may not care whether the actual outcome is (1, 6), (6, 1), or . . . .

Example

Let X denote the random variable that is defined as the sum of two fair dice. What arethe values that X can take?

P{X = 1} = 0

P{X = 2} =1

36...

P{X = 12} =1

36

Subramani Optimization Methods in Finance

Page 353: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 354: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 355: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes;

one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 356: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 357: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 358: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 359: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 360: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 361: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Bernoulli Random Variable

Main idea

Consider an experiment which has exactly two outcomes; one is labeled a “success”and the other a “failure”.

If we let the random variable X assume the value 1, if the experiment was a successand 0, if the experiment was a failure, then X is said to be a Bernoulli random variable.

Assume that the probability that the experiment results in a success is p.

The probability mass function of X is given by:

p(1) = P{X = 1} = p

p(0) = P{X = 0} = 1− p.

Subramani Optimization Methods in Finance

Page 362: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} = C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 363: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} = C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 364: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} = C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 365: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} = C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 366: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} = C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 367: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} =

C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 368: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Binomial Random Variable

Motivation

Consider an experiment which consists of n independent Bernoulli trials, with theprobability of success in each trial being p.

If X is the random variable that counts the number of successes in the n trials, then Xis said to be a Binomial Random Variable.

The probability mass function of X is given by:

p(i) = P{X = i} = C(n, i) · pi · (1− p)n−i , i = 0, 1, 2, . . . n

Subramani Optimization Methods in Finance

Page 369: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} = (1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 370: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} = (1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 371: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} = (1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 372: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} = (1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 373: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} = (1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 374: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} =

(1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 375: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

The Geometric Random Variable

Motivation

Suppose that independent Bernoulli trials, each with probability p of success areperformed until a success occurs.

If X is the random variable that counts the number of trials until the first success, thenX is said to be a geometric random variable.

The probability mass function of X is given by:

p(i) = P{X = i} = (1− p)i−1 · p, i = 1, 2, . . .

Subramani Optimization Methods in Finance

Page 376: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt) (Already discussed).2 Cumulative distribution function or distribution function.3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 377: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt) (Already discussed).2 Cumulative distribution function or distribution function.3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 378: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:

1 Probability mass function (pmt) (Already discussed).2 Cumulative distribution function or distribution function.3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 379: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt)

(Already discussed).2 Cumulative distribution function or distribution function.3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 380: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt) (Already discussed).

2 Cumulative distribution function or distribution function.3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 381: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt) (Already discussed).2 Cumulative distribution function or distribution function.

3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 382: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt) (Already discussed).2 Cumulative distribution function or distribution function.3 Expectation.

4 Variance.

Subramani Optimization Methods in Finance

Page 383: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Features of a random variable

Features

Associated with each random variable are the following parameters:1 Probability mass function (pmt) (Already discussed).2 Cumulative distribution function or distribution function.3 Expectation.4 Variance.

Subramani Optimization Methods in Finance

Page 384: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Distribution Function

Definition (Distribution Function)

For a random variable X , the distribution function F (·) is defined for any real number b,−∞ < b <∞, by

F (b) = P(X ≤ b).

Subramani Optimization Methods in Finance

Page 385: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Distribution Function

Definition (Distribution Function)

For a random variable X , the distribution function F (·) is defined for any real number b,−∞ < b <∞, by

F (b) = P(X ≤ b).

Subramani Optimization Methods in Finance

Page 386: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Distribution Function

Definition (Distribution Function)

For a random variable X , the distribution function F (·) is defined for any real number b,−∞ < b <∞, by

F (b) = P(X ≤ b).

Subramani Optimization Methods in Finance

Page 387: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x). Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume, each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 388: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x). Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume, each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 389: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x).

Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume, each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 390: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x). Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume, each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 391: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x). Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume, each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 392: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x). Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume,

each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 393: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation

Definition (Expectation)

Let X denote a discrete random variable with probability mass function p(x). Theexpected value of X , denoted by E [X ] is defined by:

E [X ] =∑

xx · p(x).

Note

E [X ] is the weighted average of the possible values that X can assume, each valuebeing weighted by the probability that X assumes that value.

Subramani Optimization Methods in Finance

Page 394: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Variance and Covariance

Definition (Variance)

The variance of a random variable X i(denoted by Var(X) or σ2) is given by

E [(X − E [X ])2].

Definition (Covariance)

Given two (jointly distributed) random variables X and Y , the covariance between Xand Y is defined as:

Cov(X ,Y ) = E [(X − E(X)) · (Y − E(Y )).

Subramani Optimization Methods in Finance

Page 395: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Variance and Covariance

Definition (Variance)

The variance of a random variable X i(denoted by Var(X) or σ2) is given by

E [(X − E [X ])2].

Definition (Covariance)

Given two (jointly distributed) random variables X and Y , the covariance between Xand Y is defined as:

Cov(X ,Y ) = E [(X − E(X)) · (Y − E(Y )).

Subramani Optimization Methods in Finance

Page 396: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Variance and Covariance

Definition (Variance)

The variance of a random variable X i(denoted by Var(X) or σ2) is given by

E [(X − E [X ])2].

Definition (Covariance)

Given two (jointly distributed) random variables X and Y , the covariance between Xand Y is defined as:

Cov(X ,Y ) = E [(X − E(X)) · (Y − E(Y )).

Subramani Optimization Methods in Finance

Page 397: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Variance and Covariance

Definition (Variance)

The variance of a random variable X i(denoted by Var(X) or σ2) is given by

E [(X − E [X ])2].

Definition (Covariance)

Given two (jointly distributed) random variables X and Y , the covariance between Xand Y is defined as:

Cov(X ,Y ) = E [(X − E(X)) · (Y − E(Y )).

Subramani Optimization Methods in Finance

Page 398: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Variance and Covariance

Definition (Variance)

The variance of a random variable X i(denoted by Var(X) or σ2) is given by

E [(X − E [X ])2].

Definition (Covariance)

Given two (jointly distributed) random variables X and Y , the covariance between Xand Y is defined as:

Cov(X ,Y ) = E [(X − E(X)) · (Y − E(Y )).

Subramani Optimization Methods in Finance

Page 399: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Parameters of the important Random Variables

Parameter table

Variable type Expectation VarianceBernoulli p p · (1− p)Binomial n · p n · p · (1− p)

Geometric 1p

1−pp2

Exercise

Find the parameters of the Poisson, Normal, Uniform and exponential randomvariables.

Subramani Optimization Methods in Finance

Page 400: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Parameters of the important Random Variables

Parameter table

Variable type Expectation VarianceBernoulli p p · (1− p)Binomial n · p n · p · (1− p)

Geometric 1p

1−pp2

Exercise

Find the parameters of the Poisson, Normal, Uniform and exponential randomvariables.

Subramani Optimization Methods in Finance

Page 401: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Parameters of the important Random Variables

Parameter table

Variable type Expectation VarianceBernoulli p p · (1− p)Binomial n · p n · p · (1− p)

Geometric 1p

1−pp2

Exercise

Find the parameters of the Poisson, Normal, Uniform and exponential randomvariables.

Subramani Optimization Methods in Finance

Page 402: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Parameters of the important Random Variables

Parameter table

Variable type Expectation VarianceBernoulli p p · (1− p)Binomial n · p n · p · (1− p)

Geometric 1p

1−pp2

Exercise

Find the parameters of the Poisson, Normal, Uniform and exponential randomvariables.

Subramani Optimization Methods in Finance

Page 403: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(), and g() is any real-valued function, then,

E [g(X)] =∑

x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 404: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(), and g() is any real-valued function, then,

E [g(X)] =∑

x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 405: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(),

and g() is any real-valued function, then,

E [g(X)] =∑

x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 406: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(), and g() is any real-valued function, then,

E [g(X)] =∑

x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 407: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(), and g() is any real-valued function, then,

E [g(X)] =

∑x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 408: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(), and g() is any real-valued function, then,

E [g(X)] =∑

x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 409: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Expectation of the function of a random variable

Theorem

If X is a random variable with pmf p(), and g() is any real-valued function, then,

E [g(X)] =∑

x : p(x)>0

g(x) · p(x)

Subramani Optimization Methods in Finance

Page 410: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 411: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 412: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 413: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 414: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 415: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 416: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 417: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 418: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Joint Distributions

Joint distribution functions

For any two random variables X and Y , the joint cumulative distribution function isdefined as:

F (a, b) = P(X ≤ a,Y ≤ b), −∞ < a, b <∞

The distribution of X (or Y ) can be obtained from the joint distribution as follows:

FX (a) = P(X ≤ a)

= P(X ≤ a,Y ≤ ∞)

= F (a,∞).

Note

In case X and Y are discrete random variables, we can define the joint probabilitymass function as:

p(x , y) = P(X = x , Y = y).

Subramani Optimization Methods in Finance

Page 419: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Random Variables

Definition

Two random variables X and Y are said to be independent, if

F (a, b) = FX (a) · FY (b), ∀a, b.

When X and Y are discrete, the above condition reduces to:

p(x , y) = px (x) · py (y)

Subramani Optimization Methods in Finance

Page 420: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Random Variables

Definition

Two random variables X and Y are said to be independent, if

F (a, b) = FX (a) · FY (b), ∀a, b.

When X and Y are discrete, the above condition reduces to:

p(x , y) = px (x) · py (y)

Subramani Optimization Methods in Finance

Page 421: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Random Variables

Definition

Two random variables X and Y are said to be independent, if

F (a, b) = FX (a) · FY (b), ∀a, b.

When X and Y are discrete, the above condition reduces to:

p(x , y) = px (x) · py (y)

Subramani Optimization Methods in Finance

Page 422: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Random Variables

Definition

Two random variables X and Y are said to be independent, if

F (a, b) = FX (a) · FY (b), ∀a, b.

When X and Y are discrete, the above condition reduces to:

p(x , y) = px (x) · py (y)

Subramani Optimization Methods in Finance

Page 423: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Independent Random Variables

Definition

Two random variables X and Y are said to be independent, if

F (a, b) = FX (a) · FY (b), ∀a, b.

When X and Y are discrete, the above condition reduces to:

p(x , y) = px (x) · py (y)

Subramani Optimization Methods in Finance

Page 424: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 425: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 426: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.

Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 427: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 428: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =

n∑i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 429: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 430: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 431: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent.

For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 432: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent.

More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 433: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 434: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Linearity of Expectation

Proposition

Let X1, X2, . . . , Xn denote n random variables, defined over some probability space.Let a1, a2, . . . , an denote n constants. Then,

E [n∑

i=1

ai · Xi ] =n∑

i=1

ai · E [Xi ]

Note

Note that linearity of expectation holds even when the random variables are notindependent. For random variables X1 and X2, Var(X1 + X2) = Var(X1) + Var(X2),only if X1 and X2 are independent. More generally,

Var(X1 + X2) = Var(X1) + Var(X2) + 2 · Cov(X1,X2).

Subramani Optimization Methods in Finance

Page 435: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 436: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem: A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ? In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 437: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem: A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ? In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 438: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem:

A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ? In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 439: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem: A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ?

In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 440: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem: A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ? In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 441: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem: A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ? In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 442: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Sample Space and EventsDefining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

Concentration Inequalities

Tail bounds

Consider the following problem: A fair coin is tossed n times. What is the probabilitythat the number of heads is at least 3·n

4 ? In general, the tail of a random X is the partof its pmf, that is away from its mean.

Inequality Known parameters Tail bound

Markov X ≥ 0,E [X ] P(X ≥ a · E [X ]) ≤ 1a , a > 0

Chebyshev E [X ],Var(X) P(|X − E [X ]| ≥ a · E [X ]) ≤ Var(X)

(a·E [X ])2, a > 0.

Chernoff X is binomial, E [X ] P((X − E [X ]) ≥ δ) ≤ e−−2·δ2

n , δ > 0.

Exercise

Find the tail bounds for the coin tossing problem using all three techniques.

Subramani Optimization Methods in Finance

Page 443: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 444: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 445: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 446: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 447: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 448: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 449: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 450: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region

(Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 451: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility,

Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 452: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness,

Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 453: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 454: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 455: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Fundamentals

Optimization Theory

Fundamentals

Given a function f : <n → < and a set S ⊆ <n, the problem of finding an x∗ ∈ <n thatsolves

minx f (x)

s.t . x ∈ S

is called an optimization problem.

Features of an optimization problem

Decision variables.

Objective function.

Feasible region (Infeasibility, Unboundedness, Discrete).

Global minimizer (strict).

Local minimizer.

Subramani Optimization Methods in Finance

Page 456: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 457: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 458: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 459: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).

2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 460: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).

3 Quadratic programming (minx12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 461: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.

4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 462: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).

5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 463: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.

6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 464: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.

7 Optimization with data uncertainty.1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 465: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 466: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.

2 Robust optimization.

Subramani Optimization Methods in Finance

Page 467: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Tools of Optimization

Models of Optimization

Models

1 Linear programming (minx cT · x A · x = b, x ≥ 0).2 Non-linear programming (minx f (x) gi (x) = 0, i ∈ E, hi (x) ≥ 0, i ∈ I).3 Quadratic programming (minx

12 xT · Q · x + cT · x). Convexity, positive

semidefinite matrices.4 Conic optimization (x ∈ C).5 Integer programming (x ≥ 0, x integral). Binary programs.6 Dynamic programming.7 Optimization with data uncertainty.

1 Stochastic programming.2 Robust optimization.

Subramani Optimization Methods in Finance

Page 468: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 469: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Financial Mathematics

Principal issues

1 Modern finance has become extremely technical.2 This field was originated by Markowitz (1950s) and Black, Schloes and Merton

(1960s).

Subramani Optimization Methods in Finance

Page 470: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Financial Mathematics

Principal issues

1 Modern finance has become extremely technical.2 This field was originated by Markowitz (1950s) and Black, Schloes and Merton

(1960s).

Subramani Optimization Methods in Finance

Page 471: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Financial Mathematics

Principal issues

1 Modern finance has become extremely technical.

2 This field was originated by Markowitz (1950s) and Black, Schloes and Merton(1960s).

Subramani Optimization Methods in Finance

Page 472: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Financial Mathematics

Principal issues

1 Modern finance has become extremely technical.2 This field was originated by Markowitz (1950s) and Black, Schloes and Merton

(1960s).

Subramani Optimization Methods in Finance

Page 473: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Outline

1 Linear AlgebraVectorsMatricesThe Solution of SimultaneousLinear Equations

2 Convexity and ConesConvexityCones

3 Probability and ExpectationSample Space and Events

Defining Probabilities on EventsConditional ProbabilityRandom VariablesConcentration Inequalities

4 Basic optimization theoryFundamentals

5 Models of OptimizationTools of Optimization

6 Financial MathematicsQuantitative modelsProblem Types

Subramani Optimization Methods in Finance

Page 474: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.2 Goal is to maximize return and minimize variance.3 Asset allocation.4 Index fund.5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 475: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.2 Goal is to maximize return and minimize variance.3 Asset allocation.4 Index fund.5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 476: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.

2 Goal is to maximize return and minimize variance.3 Asset allocation.4 Index fund.5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 477: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.2 Goal is to maximize return and minimize variance.

3 Asset allocation.4 Index fund.5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 478: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.2 Goal is to maximize return and minimize variance.3 Asset allocation.

4 Index fund.5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 479: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.2 Goal is to maximize return and minimize variance.3 Asset allocation.4 Index fund.

5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 480: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Portfolio Selection and asset allocation

Main Issues

1 Select some from a number of securities.2 Goal is to maximize return and minimize variance.3 Asset allocation.4 Index fund.5 Number of different models possible.

Subramani Optimization Methods in Finance

Page 481: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.2 American/European style.3 How should an option be priced? Pricing problem.4 The replication approach.

Subramani Optimization Methods in Finance

Page 482: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.2 American/European style.3 How should an option be priced? Pricing problem.4 The replication approach.

Subramani Optimization Methods in Finance

Page 483: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.

2 American/European style.3 How should an option be priced? Pricing problem.4 The replication approach.

Subramani Optimization Methods in Finance

Page 484: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.2 American/European style.

3 How should an option be priced? Pricing problem.4 The replication approach.

Subramani Optimization Methods in Finance

Page 485: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.2 American/European style.3 How should an option be priced?

Pricing problem.4 The replication approach.

Subramani Optimization Methods in Finance

Page 486: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.2 American/European style.3 How should an option be priced? Pricing problem.

4 The replication approach.

Subramani Optimization Methods in Finance

Page 487: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Pricing and hedging of options

Main Issues

1 Call/Put options.2 American/European style.3 How should an option be priced? Pricing problem.4 The replication approach.

Subramani Optimization Methods in Finance

Page 488: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 489: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 490: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.

2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 491: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.

3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 492: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.

4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 493: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.

5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 494: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.

6 Typical problem - Optimize a performance measure, subject to the usual operatingconstraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 495: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure,

subject to the usual operatingconstraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 496: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints,

and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 497: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Risk Management

Main Issues

1 Inherence of risk.2 Elimination versus management.3 Quantitative measures and mathematical techniques.4 Some famous failures.5 Margin requirements.6 Typical problem - Optimize a performance measure, subject to the usual operating

constraints, and the constraint that a particular risk measure does not exceed athreshold.

Subramani Optimization Methods in Finance

Page 498: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.2 Should not penalize for above mean returns.3 Need for multi-period model.4 Optimization under uncertainty.5 Typical problem - What assets and in what quantities should the company hold in

each period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance

Page 499: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.2 Should not penalize for above mean returns.3 Need for multi-period model.4 Optimization under uncertainty.5 Typical problem - What assets and in what quantities should the company hold in

each period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance

Page 500: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.

2 Should not penalize for above mean returns.3 Need for multi-period model.4 Optimization under uncertainty.5 Typical problem - What assets and in what quantities should the company hold in

each period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance

Page 501: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.2 Should not penalize for above mean returns.

3 Need for multi-period model.4 Optimization under uncertainty.5 Typical problem - What assets and in what quantities should the company hold in

each period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance

Page 502: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.2 Should not penalize for above mean returns.3 Need for multi-period model.

4 Optimization under uncertainty.5 Typical problem - What assets and in what quantities should the company hold in

each period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance

Page 503: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.2 Should not penalize for above mean returns.3 Need for multi-period model.4 Optimization under uncertainty.

5 Typical problem - What assets and in what quantities should the company hold ineach period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance

Page 504: Mathematical Preliminaries - West Virginia Universitycommunity.wvu.edu/~krsubramani/courses/sp15/optfin/lecnotes/mat… · Mathematical Preliminaries K. Subramani1 1Lane Department

Linear AlgebraConvexity and Cones

Probability and ExpectationBasic optimization theory

Models of OptimizationFinancial Mathematics

Quantitative modelsProblem Types

Asset/liability Management

Main Issues

1 Problems with the static approach.2 Should not penalize for above mean returns.3 Need for multi-period model.4 Optimization under uncertainty.5 Typical problem - What assets and in what quantities should the company hold in

each period to maximize its wealth at the end of period T ?

Subramani Optimization Methods in Finance