Professional Documents
Culture Documents
Sets
We write y = f(x)
X is the domain of f
Y is the co-domain
Polynomial functions:
y = a 0 + a 1x + a 2x 2 + … + anx n
Constant functions
Linear
Quadratic
Cubic
Some frequently used functions 2
Rational functions: a ratio of two polynomials
Exponential functions:
Ex: y = bx , b > 0
Functions of several variables
Functions of 2 independent variables
z = g(x,y)
y = h(x1,x2)
Examples:
An optimization problem
Partial Market Equilibrium – A Linear Model
3 linear equations
3 variables
4 parameters
General Market Equilibrium
Most commodities have substitutes and
complementary goods
General Market Equilibrium
A more complete model includes these other
goods as well
Ex:
Let aik (xik , etc.) denote an element in the i-th row and
k-th column
Ex:
Alternative notation:
Square matrices
A matrix is
square
if # rows = # columns
symmetric if square and aik = aki for all i,k
Examples:
2 5 7
B 5 1 3
( 3 3)
7 3 2
Vectors as Special Matrices
One row ==> row vector Ex: b’ = [3 2 24]
Note:
1) A vector is merely an ordered n-tuple
a point in an n-dimensional space
2) Matrix rows can be viewed as vectors
same goes for columns
How does matrix algebra help us?
We can arrange
the coefficients aik in a matrix A
the variables xk in a matrix x
the constant terms di in a matrix d
How does matrix algebra help us?
A= x= d=
How does this help us? 2
Ex:
How does this help us? 3
Ex 2: Can be written as
A + B = [aik + bik ]
A – B = [aik – bik ]
Ex 1:
Addition and Subtraction of Matrices
Ex 2:
Multiplication of a Matrix by a Scalar
Scalar multiplication: Let kR. Then kA = [kaij ].
Inner Product of Vectors
x y x1 y1 x2 y2 ... xn yn
n
xi yi
i 1
Ex: ’
x’ ∙ y =
If
A is of dimension m x n
B is of dimension n x p
==> C = AB is an m x p matrix