Professional Documents
Culture Documents
Business Mathematics
Business Mathematics
Calculus
• A statement or a proposition is a sentence that is either true (T) or
false (F) – but not both:
• “19 is a prime number” is a true statement. • “This statement is
false” is not a statement. • “x is an odd number.” is not a statement.
• When making precise arguments, we often need to make conditional
statements, like if the price of output increases then a competitive
firm increases its output.
• These statements are instances of the statement if A then B, where A
and B stand for statements. We may alternatively write this general
statement as A implies B, or, using a symbol, as A ⇒ B.
• Connectives: Statements can be connected to more complex statements by
means of words like “and”, “or”, “not”, “if . . . then . . .” or “if and only if”.
Here are the most important ones:
• Let P and Q be two statements.
• Connective Symbol Name
• not ¬P or 𝑃ത negation
• P and Q P ∧Q conjunction
• P or Q P ∨Q disjunction
• if P then Q P⇒Q implication
• Q if and only if P P ⇔ Q equivalence (double implication)
• In an implication P ⇒ Q there are two parts: Statement P is called the
hypothesis or assumption, and statement Q is called the conclusion.
• Notice that P ⇒ Q says nothing about the truth of P or Q!
• Below you can see a truth table for some connectives:
• Note that not(not(A)) ⇔ A.
• If A and B are statements, and both are true, we write
A and B, and if at least one of them is true we write A or
B.
• Note, in particular, that writing “A or B” includes the
possibility that both statements are true.
• Explaining truth table for implications:
• "If you get an A, then I'll give you a dollar."
• The statement will be true if I keep my promise and false if I don't.
• Suppose it's true that you get an A and it's true that I give you a dollar. Since I kept my promise,
the implication is true. This corresponds to the first line in the table.
• Suppose it's true that you get an A but it's false that I give you a dollar. Since I didn't keep my
promise, the implication is false. This corresponds to the second line in the table.
• What if it's false that you get an A? Whether or not I give you a dollar, I haven't broken my
promise. Thus, the implication can't be false, so (since this is a two-valued logic) it must be true.
This explains the last two lines of the table.
• The double implication is true if P and Q are both true or if P and Q are both false; otherwise, the
double implication is false.
• A friend tells you that “if you upload that picture to Facebook, you’ll lose
your job.” There are four possible outcomes:
1.You upload the picture and keep your job
2.You upload the picture and lose your job
3.You don’t upload the picture and keep your job
4.You don’t upload the picture and lose your job
• There is only one possible case where your friend was lying—the first option
where you upload the picture and keep your job. In the last two cases, your
friend didn’t say anything about what would happen if you didn’t upload the
picture, so you can’t conclude their statement is invalid, even if you didn’t
upload the picture and still lost your job.
• Quantifiers:
• The phrase “for all” is the universal quantifier, denoted by ∀.
• The phrase “there exists” is the existential quantifier, denoted by ∃.
• For example, denoting the total demand for tomatoes at the
price p by D(p), it might be true that D(p) > 100 for every price p in
the set S. In this statement, “for every price” is a quantifier.
• Exercises:
• 1. For each statement, decide whether they are TRUE or FALSE.
Explain your decision briefly.
• (a) “For all x, there exists y such that x < y.
• (b) “There exists x such that for all y, x < y.
• (c) “For all x and for all y, x < y.
• (d) “There exists x and there exists y such that x < y.
• (e) “There is a smallest positive number”.
• 2. A and B are statements. The following theorem is true: A is true if
and only if B is true. Which of the following statements follow from
this theorem?
a.If A is true, then B is true.
b.If B is true, then A is true.
c.If A is not true, then B is not true.
d.If B is not true, then A is not true.
Sets
• A set is a well-defined collection of distinct objects, considered as an
object in its own right.
• Examples:
A = {4, 2, 1, 3}
B = {blue, white, red}
C = {1, 2, 3, ..., 1000}
• If B is a set and x is one of the objects of B, this is denoted as x ∈ B,
and is read as "x is an element of B", as "x belongs to B", or "x is in
B". If y is not a member of B then this is written as y ∉ B, read as "y is
not an element of B", or "y is not in B"
• The empty set (or the null set) is denoted by the symbol ∅.
• The cardinality of a set S, denoted |S|, is the number of members
of S.
• Set of all natural numbers: N = {1, 2, 3, ...}
• Set of all integers (positive, negative or zero): Z = {...,−2, −1, 0, 1, 2,... }
• Set of all rational numbers (that is, the set of all proper and improper
fractions): Q = {a/b | a, b ∈ Z, b ≠ 0}.
• Set of all real numbers R ( all rational numbers, together with all
irrational numbers like 2 , 𝝿, 𝑒.
• A set B is called a subset of a set A, if all elements of B are also elements of
A. We write: 𝐵 ⊆ 𝐴 𝑜𝑟 𝐵 ⊂ 𝐴 if B is a proper subset (if there is at least
one element of B which is not an element of A).
• Basic operations with sets:
• Intersection A ∩ B is the set of all objects that are members of
both A and B.
• Union A ∪ B is the set of all objects that are members of either A or B.
• Difference A \ B is the set of all objects that are members of A but not
members of B. It is also called the relative complement of B in A.
• Cartesian product A × B is the set of all ordered pairs (a, b) such that a is a
member of A and b is a member of B.
• Examples:
• A={2,4,6}
• B={1,2,3}
• A ∪ B={1,2,3,4,6}
• A ∩ B={2}
• A \ B={4,6}
• A x B={(2,1),(2,2),(2,3), (4,1), (4,2), (4,3), (6,1), (6,2), (6,3)}
Functions
• Function is a relation between sets that associates every element of
a first set exactly one element of the second set.
• Notation: f(x):X→Y
• X is called the domain of f (all the x values).
• Y is called the codomain
• All the y values are called range or image of f.
• Constant function: f(x) = c
• Vertex: each parabola has a highest (if a<0) or lowest (if a>0) point
called vertex.
• A cubic function or a polynomial function of degree three is a
function of the form
f(x)= 𝑎𝑥 3 + 𝑏𝑥 2 + 𝑐𝑥 + 𝑑
where the coefficients a, b, c, and d are real numbers, and the variable
x takes real values, and a ≠ 0.
• Exponential function is a mathematical function of the following
form: f ( x ) = a x. where x is a variable, and a is a constant called the
base of the function, a > 0 and a ≠ 1.
For a>1: For a<1:
• The most commonly encountered exponential-function base is the
transcendental number e , which is equal to approximately 2.71828.
• Thus the natural exponential function is: f ( x ) = e x
• Domain is 𝑹+
• x=1 is the only zero
• Range is R
• The natural logarithm function is the inverse of the natural
exponential function.
• The square root function 𝑥 is defined to take any x≥ 0 as input and
return the positive number y which would have to be squared (i.e.
multiplied by itself), to obtain x.
• Domain: 𝑅0+ (𝑎𝑙𝑙 x ≥ 0)
• Range: 𝑅𝟎+
• x=0 is the only zero
1
• The reciprocal function 𝑓 𝑥 = is a function defined on the set of
𝑥
nonzero reals, that sends every real number to its reciprocal, i.e., its
multiplicative inverse.
• The graph of a reciprocal function is a curve called a hyperbola.
• Domain: R∖ 0
• Range: R∖ 0
• No zeros
Exercises
• 1.
• Build the union, intersection, difference and cartesian product of A=
{2,4,6} and B= {1,2,3}
• Build the union, intersection, difference of N and Z.
• 2. Fill in the blanks:
• The graph of a ………….. function is a straight line.
• The graph of a ………….. function is a parabola, which is a symmetrical
curve with a maximum or minimum point and an axis of symmetry.
• The graph of an ………….. function is a curve with a horizontal
asymptote and is either strictly increasing or strictly decreasing.
• 3. Find domain, range and zeros of following functions:
• 𝑓 𝑥 = 2𝑥 + 3
• 𝑓 𝑥 = 𝑥2 − 4
• 𝑓 𝑥 = 𝑥 2 − 4𝑥 + 3
• 𝑓 𝑥 = e𝑥
• 𝑓 𝑥 = e𝑥 − 3
• 𝑓 𝑥 = ln 𝑥
• 𝑓 𝑥 = ln 𝑥 − 2
Solutions:
• 1. A= {2,4,6} , B= {1,2,3}
• A ∪ B = {1,2,3,4,6}
• A ∩ B = {2}
• A \ B={4,6}
• A x B={(2,1),(2,2),(2,3), (4,1), (4,2), (4,3), (6,1), (6,2), (6,3)}
• 2. linear;quadratic; exponential
• 3.
•𝑓 𝑥 = 2𝑥 + 3; D=R, W=R, x=-3/2=-1,5
•𝑓 𝑥 = 𝑥 2 − 4; D=R, W=[-4; +∞[, 𝑥1 = −2, 𝑥2 = 2
•𝑓 𝑥 = 𝑥 2 − 4𝑥 + 3; D=R, W=[-1; +∞[, 𝑥1 = 1, 𝑥2 = 3
•𝑓 𝑥 = e𝑥 ; D=R, W=𝑅 + , 𝑛𝑜 𝑧𝑒𝑟𝑜𝑠
•𝑓 𝑥 = e𝑥 − 3; D=R, ]-3; +∞[, x=ln3
•𝑓 𝑥 = ln 𝑥; D= 𝑅 + , W=R, x=1
•𝑓 𝑥 = ln 𝑥 − 2; D= 𝑅 + , W=R, x=e2
Rules for Exponents
x1 = x Example: 61 = 6
x0 = 1 70 = 1
x-1 = 1/x 4-1 = 1/4
• Rules are valid for any basis a. When a=e, we write ln instead of loge.
HW
• Find domain, range and zeros of following functions:
• 𝑓 𝑥 = 12x − 3
• 𝑓 𝑥 = 3𝑥 2 − 27
• 𝑓 𝑥 = 2𝑥 2 − 10𝑥 + 12
• 𝑓 𝑥 = 4e 𝑥
• 𝑓 𝑥 = 5e 𝑥 + 1
• 𝑓 𝑥 = 3ln 𝑥-6
• 𝑓 𝑥 = 4ln 𝑥 + 8
• 𝑓 𝑥 = 2𝑥 − 7
4
• 𝑓 𝑥 =
𝑥−1
• Simplify (write with only one base and one exponent):
• 𝑥2 ⋅ 𝑥4
• 𝑥5: 𝑥
• 𝑥2 3
Function Derivative
• C • 0
• X • 1
• 𝑥2 • 2x
• 𝑥n • n 𝑥 n−1
• e𝑥 • e𝑥
1
• lnx •
𝑥
• 𝑥 •
1
2 𝑥
Example:
• 𝑓 𝑥 = 𝑥 3 − 4𝑥 2 + 3𝑥
• 𝑓 ′ 𝑥 = 3𝑥 2 - 8 𝑥 + 3
• Set 𝑓 ′ 𝑥 = 0
• Thus 3 -8 + 3 = 0 and
• 𝑥1 ≈ 0,45 and 𝑥2 ≈ 2,2
x 0,45 2,2
𝑓′ 𝑥 + 0 - 0 +
𝑓 𝑥 increasing max. decreasing min increasing
• Thus the function has a local max. for 𝑥1 = 0,45 and a local min. for
𝑥2 = 2,2
• In order to find the corresponding y values, insert the x values in the
function:
• 𝑦1 = 𝑓 0,45 ≈0,63
• 𝑦2 = 𝑓 2,2 ≈-2,1
HW
• Find the local maximum and minimum for these functions:
• A. 𝑓 𝑥 = 𝑥 3 − 4,5𝑥 2 +6𝑥
• B. 𝑓 𝑥 = 2𝑥 3 − 3𝑥 2 − 12 𝑥
• 𝐶. 𝑓 𝑥 = 𝑥 2 − 4𝑥 + 3
• D. 𝑓 𝑥 = 𝑥 2 − 10𝑥 + 1
• E. 𝑓 𝑥 = 𝑥 3 + 15 𝑥
Solution:
• A. 𝑓 ′ 𝑥 = 3𝑥 2 − 9𝑥 + 6, the zeros of 𝑓 ′ 𝑥 are 1 and 2; max (1;2,5)
and min (2;2)
• B. 𝑓 ′ 𝑥 = 6𝑥 2 − 6𝑥 – 12, the zeros of 𝑓 ′ 𝑥 are -1 and 2; max (-1;7)
and min (2;-20)
• C. 𝑓 ′ 𝑥 = 2𝑥 – 4, the zero of 𝑓 ′ 𝑥 is 2; min(2;-1)
• D. 𝑓 ′ 𝑥 = 2𝑥 – 10, the zero of 𝑓 ′ 𝑥 is 5; min (5; -24)
• E. 𝑓 ′ 𝑥 = 3𝑥 2 + 15, no zeros of 𝑓 ′ 𝑥 ; no min or max for 𝑓 𝑥
Rules for Derivatives
′
• Product rule: 𝑓 ⋅ 𝑔 = 𝑓′ ⋅ 𝑔 + 𝑓 ⋅ 𝑔′
• Quotient rule:
• Chain rule: (f ∘ g)´ = (f’ ∘ g) × g’
• The chain rule actually allows you to use a simple formula for a
composite function!
Examples
′ 1
• 𝑥 ⋅ ln 𝑥 = 1 ⋅ ln 𝑥 + 𝑥 ⋅ = ln 𝑥 + 1
𝑥
4 ′ 3
• 7𝑥 + 5 = 4 ⋅ 7𝑥 + 5 ⋅7
′ 1 1
• ln 3𝑥 = ⋅3=
3𝑥 𝑥
′ 1 1
• ln 3 + 𝑥 = ⋅1 =
3+𝑥 3+𝑥
HW
• Build the derivatives:
• 4𝑥 ⋅ ln 𝑥 ′ =
=
=
• ln 5𝑥 ′ =
• ln 2 − 4𝑥 ′ =
• ln 𝑥 2 − 𝑥 ′ =
• ( 𝑥 2 − 𝑥 lnx)´=
Second Derivative of a Function
• The second derivative of a function f measures the concavity of
the graph of f.
• A function whose second derivative is positive will be concave up.
• A function whose second derivative is negative will be concave down.
• The "Second Derivative" is the derivative of the derivative of a
function. So:
• Find the derivative f‘(x) of a function
• Then take the derivative f‘‘(x) of that.
• For a local maximum, f‘‘(x)<0
• For a local minimum, f‘‘(x)>0
• Points where f‘‘(x)=0 and where the curve changes ist concavity
(meaning f‘‘(x) is changing its sign) are called inflection points.
Examples
• 1. 𝑓 𝑥 = 𝑥 3 − 4,5𝑥 2 +6𝑥
• f‘(x)=3𝑥 2 − 9𝑥+6
• f‘‘(x)=6𝑥-9
• We set f‘‘(x)=0 and get x=1,5.
• For x<1,5, f‘‘(x)<0, the graph is concave down
• For x>1,5, f‘‘(x)>0, the graph is concave up
• For x=1,5 the graph has an inflection point (1,5|2,25)
• 2. 𝑓 𝑥 = 2𝑥 3 − 3𝑥 2 − 12 𝑥
• f‘(x)=6𝑥 2 − 6𝑥- 12
• f‘‘(x)=12𝑥-6
• We set f‘‘(x)=0 and get x=0,5.
• For x<0,5, f‘‘(x)<0, the graph is concave down
• For x>0,5, f‘‘(x)>0, the graph is concave up
• For x=0,5 the graph has an inflection point (0,5| − 6,5)
• 3. 𝑓 𝑥 = 𝑥 2 − 4𝑥 + 3
• f‘(x)=2𝑥-4
• f‘‘(x)=2
• For all x, f‘‘(x)>0, the graph is concave up and has no inflection point
• 4. 𝑓 𝑥 = 𝑥 3 + 7,5 𝑥 2
• f‘(x)=3𝑥 2 + 15𝑥
• f‘‘(x)=6𝑥 + 15
15
• We set f‘‘(x)=0 and get x=− = −2,5.
6
• For x<-2,5, f‘‘(x)<0, the graph is concave down
• For x>-2,5, f‘‘(x)>0, the graph is concave up
• For x=-2,5 the graph has an inflection point (-2,5|31,25)
• 4. 𝑓 𝑥 = 3𝑥 5 − 5𝑥 4 Discuss this function.
• Zeros: x=0 and x=5/3
• f‘(x)=15𝑥 4 − 20𝑥 3 Set f‘(x)=0. We get: x=0 and x=20/15=4/3
x 0 4/3
f‘(x) + 0 - 0 +
f(x) increasing Max. decreasing Min. increasing
f‘‘(x) - 0 - 0 -
f(x) Concave down Concave down Inflection point Concave up
W(1; -2)
Min=(4/3;-3,16)
• 5. Let x denote the level of output of a firm’s production process. The
cost function is given by C (x) = x(x +2)+30 and the demand function
of the product by x=25 - 0,5p.
• (a) Show that the profit is given by E(x) = −3 𝑥 2 + 48x − 30.
• (b) Find the output x at which profit is maximized.
• (a) compute price per unit: x=25-0,5p ⇒ p = 25 − x : 0,5 = 50 − 2x
Profit=revenue-costs=units*price per unit – costs = x*p - C (x) =
=x*(50-2x)- (x(x +2)+30)=50x-2 𝑥 2 - 𝑥 2 -2x-30= −3 𝑥 2 + 48x − 30
• (b) E‘(x)=-6x+48 Set E‘(x)=0, thus x=8.
• 6. Compute the derivative of the following function and find local
extrema:
𝑥 2 +1
•𝑓 𝑥 = 𝑥2 +1⋅e
′
′ 𝑥 2 +1
• Use the product rule: 𝑓 𝑥 = 𝑥2 +1 ⋅e + 𝑥2 + 1 ⋅
′
𝑥 2 +1
e and then the chain rule:
′ 1 𝑥 2 +1 𝑥 2 +1
•𝑓 𝑥 = ⋅ 2𝑥 ⋅ e +e ⋅ 2𝑥 ⋅ 𝑥 2 + 1=
2 𝑥 2 +1
•=
• Now check for extrema:
′ 𝑥 2 +1 𝑥 2 +1
• Set 𝑓 𝑥 =0 ⇒ 𝑥e + 2𝑥 ⋅ e ⋅ (𝑥 2 + 1)=0
𝑥 2 +1 𝑥 2 +1
• Factor 𝑥 and e out: 𝑥e (1+2 (𝑥 2 + 1))=0
𝑥 2 +1
• This means: 𝑥e (3+2 𝑥 2 )=0
𝑥 2 +1
• As e >0 and 3+2 𝑥 2 >0 for each x value, the only zero is: x=0. There
is a min for x=0, 𝑓 0 = 1 ⋅ e1 = e ⇒ Min(0; e)
x 0
𝑓′ 𝑥 - 0 +
𝑓 𝑥 decreasing min increasing
• 7. Compute the derivative of the following function and find local
extrema:
𝑥+1
• 𝑓 𝑥 = ln
𝑥−1
• Differentiate as a ln function and then use the chain rule:
′ 𝑥−1 𝑥+1 ′ 𝑥−1 𝑥+1 ´ 𝑥−1 − 𝑥+1 𝑥−1 ´ 𝑥−1 𝑥−1 − 𝑥+1
•𝑓 𝑥 = ⋅ = ⋅ = ⋅
𝑥+1 𝑥−1 𝑥+1 𝑥−1 2 𝑥+1 𝑥−1 2
1 𝑥−1−𝑥−1 −2
•= ⋅ =
𝑥+1 𝑥−1 (𝑥+1) 𝑥−1
′
• No local extrema as 𝑓 𝑥 can never be zero.
HW
• 1. Let x denote the level of output of a firm’s production process. The
cost function is given by C (x) = x(x +1)+40 and the demand function
of the product by x=30 - 0,5p.
• (a) Compute profit
• (b) Find the output x at which profit is maximized.
• 2. Compute the derivative of the following function and find local
extrema:
𝑥 2 +1
•𝑓 𝑥 = 3𝑥 2 +4⋅e
Antiderivative and Integral
• The integral of a non-negative function 𝑓 𝑥 of a single variable can
be regarded, in the simplest case, as the area between the graph of
that function and the x-axis: the integral of a positive
function f between limits a and b can be interpreted as the area
under the graph of f.
𝑏
• We write: 𝐴 = 𝑓 𝑎 𝑥 d𝑥 = 𝐹 𝑥 𝑏𝑎 = 𝐹 𝑏 − 𝐹 𝑎
• Where 𝐹 𝑥 is the antiderivative of 𝑓 𝑥 ,a function whose derivative
is equal to the original function f: 𝐹 ′ 𝑥 = 𝑓 𝑥
• The area between 2 functions is:
𝑏
•𝐴= 𝑟𝑒𝑝𝑝𝑢( 𝑎 𝑓𝑐𝑡 − 𝑙𝑜𝑤𝑒𝑟 𝑓𝑐𝑡) d𝑥
Useful Antiderivatives
Function f Antiderivative F
c cx
x 1 2
𝑥
2
𝑥2 1 3
𝑥
3
𝑥𝑛 1
𝑥 𝑛+1
n+ 1
e𝑥 e𝑥
e𝑛𝑥 1 𝑛𝑥
e
𝑛
lnx xlnx-x
• Applications of integrals in finance and economics:
• Marginal and total revenue, cost, and profit;
• Capital accumulation over a specified period of time;
• Consumer and producer surplus;
• Lorenz curve and Gini coefficient;
𝐴
Gini coefficient G=
𝐴+𝐵
Ex 1:
• For a certain product, the demand function is D(Q)=1000-25Q
and the supply function is S(Q)=100+5Q. Compute the consumer
surplus.
• We set D and S equal to find equilibrium point:
1000-25Q=100+5Q ⇒ Q = 30 and D = S = 250
• Consumer surplus is the area between demand curve and the
horizontal line through equilibrium point:
• CS=A=
11 250
P
Consumer Surplus D
P=250
Equil. point
Q
Ex 2:
• For a certain product, the demand function is D(Q)=1000-25Q
and the supply function is S(Q)=100+𝑄2 . Compute the consumer
surplus and producer surplus.
• We set D and S equal to find equilibrium point:
• 1000-25Q= 100+𝑄2 and get: 𝑄2 + 25Q − 900 = 0, thus Q =20
and D=S=500
• Consumer surplus is the area below demand curve and the
horizontal line through equilibrium point:
• CS=A= =5000
• Producer surplus is the area between the horizontal line through
equilibrium point and supply curve:
• PS= =5333,33
CS
P=500
PS
Ex 3:
• Marginal revenue MR is the additional revenue gained by
producing one more unit of a product or service.
• It can also be described as the change in total revenue TR
divided by the change in number of units sold (Q):
ⅆ𝑇𝑅
MR= (the derivarive of TR with respect to Q)
ⅆ𝑄
• This implies that: 𝑇𝑅 = 𝑅𝑀 d𝑄
• The marginal revenue of a company is given by MR=100 +
20𝑄 + 3𝑄2 , where Q is amount of units sold for a period. Find
the total revenue function if at Q=0 it is equal to 0.
ln : ln = 18,9 years
Sequences and Series
• A sequence is a list of objects (usually numbers) that are in order.
• When the sequence goes on forever it is called an infinite sequence,
otherwise it is a finite sequence.
• A sequence is like a set, except:
-the terms are in order (with sets the order does not matter)
-the same value can appear many times (only once in sets)
A sequence usually has a rule, which is a way to find the value of each
term.
• Examples:
• {1, 2, 3, 4, ...} is a very simple sequence (and it is an infinite sequence)
• {20, 25, 30, 35, ...} is also an infinite sequence
• {1, 3, 5, 7} is the sequence of the first 4 odd numbers (and is a finite
sequence)
• {4, 3, 2, 1} is 4 to 1 backwards
• {1, 2, 4, 8, 16, 32, ...} is an infinite sequence where every term doubles
• {a, b, c, d, e} is the sequence of the first 5 letters alphabetically
• {f, r, e, d} is the sequence of letters in the name "fred"
• {0, 1, 0, 1, 0, 1, ...} is the sequence of alternating 0s and 1s (yes they are in
order, it is an alternating order in this case)
• Arithmetic sequences: the difference between one term and the next is a
constant.
• Generally, we can write an arithmetic sequence like this:
{a, a+d, a+2d, a+3d, ... }
where:
• a is the first term
• d is the difference between the terms (called the "common difference")
And we can make the rule:
xn = a + d(n-1)
(We use "n-1" because d is not used in the 1st term).
• Geometric sequences: each term is found by multiplying the previous term
by a constant.
• Generally, we can write a geometric sequence like this:
{a, ar, ar2, ar3, ... }
where:
• a is the first term, and
• r is the factor between the terms (called the "common ratio")
And the rule is:
xn = ar(n-1)
(We use "n-1" because ar0 is the 1st term)
• If we sum up a part of a sequence, we get a partial sum.
• The sum of a sequence is called a series.
• Example: Sequence: {1, 3, 5, 7, ...}
• Series: 1 + 3 + 5 + 7 + ...
• Partial sum of first 3 terms: 1 + 3 + 5
𝑎1 +𝑎n
• The partial sum 𝑆𝑛 of an arithmetic series is: 𝑆𝑛 = σ𝑛𝑖=1 𝑎𝑖 =𝑛⋅
2
1−𝑟𝑛
• The partial sum of a geometric series is: 𝑆𝑛 = σ𝑛𝑖=1 𝑎𝑖 = 𝑎𝑖
1−𝑟
Functions of 2 variables:
• In economics we often encounter functions of 2 or more variables.
• For example, demand for a product is generally considered to be a
function of its own price, prices of other commodities (which may be
substitutes or complements), income of the consumers, tastes and
preferences of the consumers and advertising expenditure made by a
firm to promote its product.
• Examples of functions of 2 variables:
• A particular production function: 𝑄 = 𝐾 + 𝐿2
• Cobb-Douglas production function: Q =𝐾 𝑎 𝐿1−𝛼 depends on capital
(K) and labour (L).
• In order to find the local minimum/maximum, we proceed similarly to functions of one
variable, but we consider the partial derivatives: derivatives with respect to one of those
variables, with the other held constant.
• We set the first order partial derivatives 0 to find the critical points.
′′ ′′ ′′
• We compute the second order partial derivatives 𝑓𝑥𝑥 , 𝑓𝑦𝑦 and 𝑓𝑥𝑦 .
• We compute the determinant of the Hessian matrix:
′′ ′′ ′′ ′′
• D = 𝑓𝑥𝑥 (a,b) 𝑓𝑦𝑦 (a,b) - 𝑓𝑥𝑦 (a,b) 𝑓𝑥𝑦 (a,b)
′′
• a) If D > 0 and 𝑓𝑥𝑥 (a,b) > 0, then f has a relative minimum at (a,b).
′′
b) If D > 0 and 𝑓𝑥𝑥 (a,b) < 0, then f has a relative maximum at (a,b).
c) If D < 0, then f has a saddle point at (a,b).
d) If D = 0, then no conclusion can be drawn.
• Example: f(x , y) = 2x2 + 2xy + 2y2 - 6x
• We compute the first order partial derivatives:
• fx(x,y) = 4x + 2y - 6
fy(x,y) = 2x + 4y and set each 0 and get: x=2, y=-1
• We compute the second order partial derivatives fxx(x,y), fyy(x,y) and
fxy(x,y): fxx(x,y) = 4, fyy(x,y) = 4, fxy(x,y) = 2.
• We compute the determinant of the Hessian matrix: D = fxx(2,-1)
fyy(2,-1) - fxy2(2,-1) = ( 4 )( 4 ) - 22 = 12
• Since D >0 and fxx(2,-1) is also positive, the function f has a local
minimum at (2,-1).
• Check for maxima and minima:
• f(x , y) = 2x2 + 2 x2 y2 + 2y2 - 6x
• f(x , y) = 2x2 + 2 x2 y2 + 2y2 - 6
• f(x , y) = x3 + 2 x2 y - y2 -4y
• Check for maxima and minima:
• 𝑓 𝑥, 𝑦 = 𝑥 2 + 𝑦 2 ⋅ 𝑒 −𝑦
• The profit obtained by producing x units of product A and y units of
product B is approximated by the model
P(x,y) = 8x + 10y - (0.001)(x2 + xy + y2) - 10000
• Find the production level that produces a maximum profit
Matrices
• 1. Two competing companies offer satellite television service to a city
with 100,000 households.
• Figure 2.1 shows the changes in satellite subscriptions each year.
Company A now has 15,000 subscribers and Company B has 20,000
subscribers.
• How many subscribers will each company have in one year?
• The matrix representing the given transition probabilities is
• In one year, Company A will have 23,250 subscribers and Company B
will have 28,750 subscribers.
• Once we have created the model, it becomes relatively easy to find
the state matrices representing future years by repeatedly multiplying
by the matrix.
• This matrix enables us to build a so-called consumer preference
model.
• 2. Consider a simple economic system consisting of three industries:
electricity, water, and coal.
• Production, or output, of one unit of electricity requires 0.5 unit of
itself, 0.25 unit of water, and 0.25 unit of coal.
• Production of one unit of water requires 0.1 unit of electricity, 0.6
unit of itself, and 0 units of coal.
• Production of one unit of coal requires 0.2 unit of electricity, 0.15 unit
of water, and 0.5 unit of itself.
• Find the input-output matrix for this system.
• The column entries show the amounts each industry requires from
the others, and from itself, to produce one unit of output.
• This is the so-called Leontief Input-Output Model.
• In economics, an input–output model is a quantitative
economic model that represents the interdependencies between different
sectors of a national economy or different regional economies.
• A matrix is a two-dimensional arrangement of numbers in rows and
columns enclosed by a pair of brackets or square brackets ([ ]).
• Matrices are used to describe linear equations, keep track of the
coefficients of linear transformations and to record data that depend on
multiple parameters. They can be added, multiplied, and decomposed in
various ways.
• Example 1:
• The quarterly sales for coffee, tea and chocolate for 2018 are:
Q1 Q2 Q3 Q4
Coffee
• A= Tea
chocolate
• B=
• By adding the two matrices A+B we can find the total quarterly sales
for the 2 years.
+ =
• QxR= x = =
x =
• C=
• With the help of matrix multiplication, the per unit cost of production
of each product would be calculated as:
• MxC= x =
• 3. The total cost of production if the firm produces 200 units of each
product would be given as:
x =34000
• Ex. 4: Suppose we divide the economy into 3 sectors: 1. Agriculture 2.
Manufacturing 3. Services.
• The three industries each use inputs from two sources:
1. Domestically produced commodities form the three industries
2. Other inputs, such as imports, labour, and capital.
• The outputs of the industries have two broad uses or destinations:
• 1. Inputs to production of the three industries (intermediate inputs) 2.
Final demand (Consumption, Investment, Government expenditure,
Exports)
• All this can be summarised in a so-called input-output table (in billions of
euros):
• Take for example manufacturing:
• Its output is worth € 400 bln, which is allocated as follows:
• 10 bln is used by the agricultural sector
• 200 bln as intermediate goods for the manufacturing sector
• 50 bln. is used by the services sector.
• 140 bln. is the final demand (consumption, investment, government
expenditure & exports)
• In order to produce, the manufacturing sector uses inputs worth of
400 bln, of which
• 40 bln comes from the agricultural sector,
• 200 bln from the manufacturing sector (intermediate inputs),
• 80 bln from the services sector,
• 80 bln from other sources, including imports, labour and capital
• Note that sector outputs equal sector inputs and that the economy-
wide value of inputs equals the value of outputs at 1600 bln.
Solving systems of linear equations
• Matrices can also be used to solve systems of linear equations.
• There are a few different ways to solve a system like this:
• (I) x + y + z = 6
• (II) 2y + 5z = −4
• (III) 2x + 5y − z = 27
• 1. Substitution:
• In one equation (e.g.the first), solve for one of the variables in terms of the
others. z=6-x-y
• Substitute this expression into the remaining equations. Get here: 2y+5(6-
x-y)=-4 and 2x+5y-(6-x-y)=27. Simplify these: -5x-3y=-34 and 3x+6y=33
• Repeat step 1 until the system is reduced to a single linear equation: solve
e.g. 3x+6y=33 for x in terms of z from and get x=11-2y. Substitute this
expression into the remaining equation and get: -5(11-2y)-3y=-34
• Solve this equation, and then back-substitute until the entire solution is
found: -55+7y=-34, thus y=3, x=5 and z=-2.
• 2. Gaussian elimination: swap II and III:
• (I) x + y + z =6 multiply by -2 and add to III
• (III) 2x + 5y − z =27
• (II) 2y + 5z =−4
• You get:
• (I) x +y + z =6
• (III) 0 +3y - 3z =15 multiply by -2 and add to II*3
• (II) 2y + 5z =−4
• (I) x + y + z =6
• (III) 0 + 3y - 3z =15
• (II) 0 + 21z =-42
• Now solve II: z=-2 and substitute in III to get: y=3, then substitute z
and y in I and get x=5
• As you see, you can multiply each equation and also add this to
another one.
• 3. Gaussian elimination with augmented matrix:
• We can convert the system into an augmented matrix of the
coefficients:
• Do the allowed row operations like swap, multiply, add and get,
similar to the previous method:
• The last row can now be read as: 21z=-42, thus z=-2
• The middle row can be read as: 3y-3z=15, thus y=3
• The first row means: x+y+z=6, thus x=5
• Summarizing, we can say:
• We formed the augmented matrix A |b and applied the elementary
row operations:
• Multiplying a row by a scalar
• Subtracting a multiple of one row from another
• Exchanging two rows
• to reduce A to upper-triangular form. Following this step, back
substitution computes the solution.
• Ex: solve the system by using the augmented matrix:
Determinant of a Matrix
Definition
The determinant of a 1 × 1 matrix is the single number in the matrix. For any n ≥ 2,
the determinant of the n × n matrix A is
|A| =σ𝑛𝑗=1 −1 1+ja1j|A1j|
where a1j is the number in the first row and jth column of A and A1j is the n − 1 × n − 1
matrix obtained by deleting the first row and jth column of A.
• Notice that the term (−1)1+j in the sum in the definition
is equal to 1 if 1 + j is even and −1 if 1 + j is odd, so
that the signs of the coefficients of the a1j|Aij| terms in
the sum alternate between positive and negative. If we
expand the sum we get:
• |A|=𝑎11 𝐴11 − 𝑎12 𝐴12 + 𝑎13 𝐴13 -…
• Let A be the 2 × 2 matrix:
• B. x + z = 6
• -3y + z = 7
• 2x + y + 3z = 15 (sol: x = 2, y = −1, z = 4)
• C
• x+2y−z=4
• 2x+y+z=−2
• x+2y+z=2
• D
• 3x+2y−z=6
• −2x+2y+z=3
• x+y+z=4
• 13. Let x denote the level of output of a firm’s production process.
The cost function is given by C (x) = 2x(x +1)+30 and the demand
function of the product by x=50 - p.
• (a) Compute profit E(x).
• (b) Find the output x at which profit is maximized.
• (a) compute price per unit: x=50-p ⇒p=50−x
• Profit=revenue-costs=units*price per unit – costs = x*p - C (x) =
• =x*(50-x)- (2x(x +1)+30)=50x- 𝑥^2- 2𝑥^2-2x-30= −3 𝑥^2 + 48x − 30
• (b) E‘(x)=-6x+48 Set E‘(x)=0, thus x=8.
• 14. For a company that faces a market demand function Q = 25-0,5P
and has a cost function C(Q) = 20+2Q+0,5𝑄2 , what are the profit-
maximizing price and output?
• 15. A hot-dog vendor wants to minimize the average cost of selling his
dogs. After a careful analysis he determines that his actual daily cost
is: C(x) = 16 + 0.5x + 0.01𝑥 2 dollars when selling x dogs. What level of
sales will minimize his average cost? And what will that minimum cost
be?
Solutions:
• 1.
• A ∩ B={7}
• A ∪ B={6,7,8,9}
• A \ B={8,9}
• A x B={(7,6),(7,7),(8,6), (8,7), (9,6), (9,7) }
• 2.
• D=R, W=R, x=-30
• D=R, W= [-6; +∞[, 𝑥1 = − 6, 𝑥2 = 6
• D=R, W= [-2,25; +∞[, x=2 and x=5
• D=R, W= ]0; +∞[, no zeros
• D=R, W= ]5; +∞[, no zeros
• D= ]0; +∞[, W=R, x=1
• D= ]0; +∞[, W=R, x=e−4
• 3.
• A. Max(-5/137,5) and min(4/-152)
• B. Max(-1/3,5) and min(2/-10)
• C. Min(5/5)
• D. Min(-1/-1)
• E. no max or min
• F. Max(-1/2), min(1/-2)
• 4.
• 3 ln 𝑥+3
2 ln 𝑥−2
• ln 𝑥 2
• 15 3𝑥 + 1,5 4
1
• 𝑥
2
• 5+2𝑥
2𝑥
•
𝑥2 +4
1
• 2e2𝑥 ⋅ ln 3𝑥+ e2𝑥 ⋅ 𝑥
𝑥
•
3+𝑥2
• e2𝑥= e𝑥
2
• 6x e3𝑥
• 5.
• 6.
2 2 4 3
• 𝑇𝑅 = 𝑅𝑀 d𝑄= (20 + 3𝑄 + 4𝑄 )dQ = 20Q + 1,5𝑄 + 𝑄
3
• 7.
𝐴
• Gini coefficient G=
𝐴+𝐵
1
• A=0𝑥 − 𝑥 5 d𝑥 (the area between equality line y=x and Lorenz curve,
here L(x)=𝑥 5)
• A+B= 0,5 (the area between equality line y=x and x-axis)
• Thus A = =
1 2
• G= :0,5= =0,67
3 3
• 8.
• We set D and S equal to find equilibrium point:
• 9000-30Q= 1000+10Q and get Q =200 and D=S=3000
• Consumer surplus is the area below demand curve and the
horizontal line through equilibrium point:
200
• CS=A=0 9000 − 30𝑄 − 3000 d𝑄 = ቂ6000𝑄 − 30 ⋅
=600000
• 9.
• GDP per capita 2018= 16 289
ln : ln =23,03
• 10.
0,25 0,2 0,3
0,5 0,3 0,4
0 0 0,1
FORMULARY:
Derivative of a function:
Useful derivatives:
Function Derivative
• Product rule: (𝑓 ⋅ 𝑔)′ = 𝑓 ′ ⋅ 𝑔 + 𝑓 ⋅ 𝑔′
𝑓 ′ 𝑓 ′ ⋅𝑔−𝑓⋅𝑔 ′
• Quotient rule: =
𝑔 𝑔2
c cx
𝑥2
𝑥𝑛
e𝑥 e𝑥
e 𝑛𝑥
lnx xlnx-x
Maximum and minimum for functions of 2 variables:
• We set the partial derivatives 0 to find the critical points.
• We compute the determinant of the Hessian matrix:
• ′′ (a,b) 𝑓 ′′ (a,b) - 𝑓 ′′ (a,b) 𝑓 ′′ (a,b)
D = 𝑓𝑥𝑥 𝑦𝑦 𝑥𝑦 𝑥𝑦