6 Slides
6 Slides
6 Slides
Integration
• Constrained Optimization
• Integration: examples of usual primitives and
integration rules
1
Constrained optimization
2
Utility maximization under a budget constraint
Example 1. Suppose a consumer has the following utility function
U=5xy, where
the price of a unit of good x is 5$, and
the price of a unit of good y is 1$.
His budget is 30$. constraint
What quantities of goods x and y maximize the consumers’ utility?
5x+1y=30.
3
Utility maximization under a budget constraint
Solution of the Example 1: (optimize 5𝑥𝑦 under constraint 5𝑥 + 𝑦 = 30)
5
Determinant of a 3x3 matrix
1st method: development using first row (any row/column may be used in a similar way)
𝑎11 𝑎12 𝑎13
𝑎22 𝑎23 𝑎21 𝑎23 𝑎21 𝑎22
𝑎21 𝑎22 𝑎23 = 𝑎11 ∙
𝑎32 𝑎33 − 𝑎12 ∙ 𝑎31 𝑎33 + 𝑎13 ∙ 𝑎31 𝑎32
𝑎31 𝑎32 𝑎33
6
Lagrange multiplier method – 1st order conditions
• To find the optimum values of a function z = f (x, y) subject to a
constraint, ax + by =M, we use Lagrange multiplier method.
Define the Lagrangian function, L as:
𝐿 = 𝐿 𝜆, 𝑥, 𝑦 = 𝑓 𝑥, 𝑦 + 𝜆(𝑀 − 𝑎𝑥 − 𝑏𝑦)
𝜆 is called the Lagrange Multiplier and is treated as a variable.
L is the sum of the original function to be optimized and λ ∙ (constraint =
0). The optimum value of 𝜆 must be determined in addition to the
optimum values of the variables 𝑥 and 𝑦.
7
Lagrange multiplier method – 2nd order conditions
9
Minimize costs subject to a production constraint
2*. A production function is Q =12L0.5K0.5. Find the values of L and K that minimize costs when
- the labor costs are £25 per unit (wage rate),
- the capital costs are £50 per unit (rent), and
- the production constraint is 240 units of output.
Solution:
11
Other applications of constrained optimization
3.Suppose a firm has an order for 200 units of its product and wishes to
distribute its manufacture between two of its plants, plant “1” and
plant “2”. Let q1 and q2 denote the outputs of plants “1” and “2”,
respectively, and suppose the total-cost function is given by
12
Integrals
• A tool that initially designed by Newton and Leibniz to calculate the
surface below a curve (or between to curves).
13
Integrals 𝑦𝑛
𝑦𝑛−1
𝑦0 𝑦1
Suppose 𝑭′ 𝒙 = 𝒇 𝒙 𝑥0 𝑥1 𝑥𝑛−1 𝑥𝑛
Calculate 𝑭 𝒃 − 𝑭(𝒂)
𝑏−𝑎
1. Divide (𝑎, 𝑏) into n equal parts of length ∆𝑥 =
𝑛
2. Denote 𝑥𝑖 = 𝑎 + 𝑖 ∙ ∆𝑥, 𝑖 = 0, … , 𝑛; 𝑦𝑖 = 𝑓(𝑥𝑖 )
3. 𝐹 𝑏 − 𝐹 𝑎 = 𝐹(𝑥𝑛 ) − 𝐹(𝑥𝑛−1 ) + 𝐹(𝑥𝑛−1 ) − ⋯ + 𝐹(𝑥1 ) − 𝐹(𝑥0 )
= σ𝑛1 ∆𝐹𝑖 ≈ σ𝑛1 𝐹 ′ 𝑥𝑖−1 ∆𝑥𝑖 = σ𝑛1 𝑓 𝑥𝑖−1 ∆𝑥 = σ𝑛1 𝑦𝑖−1 ∆𝑥 ≈ 𝑎𝑟𝑒𝑎
14
Integration = search for 𝐹 𝑥 s.t. 𝐹 ′ 𝑥 = 𝑓(𝑥)
• Hence, integration is the reverse of differentiation
𝑛 𝑥 𝑛+1
2. = 𝑥𝑑 𝑥 +𝐶 (𝑛 ∈ ℝ, 𝑛 ≠ −1)
𝑛+1
5. 𝑥𝑑)𝑥(𝑓 𝑘 = 𝑥𝑑)𝑥(𝑓𝑘
2𝑄−5 1
11. 𝑄𝑑 𝑄 12. 𝑄 5 𝑄𝑑𝑥− 5
18
Integrating “by substitution”
Example. (a) Calculate 𝐼 = (5𝑥 − 2)10 𝑑𝑥
𝑓 𝑢 in general
We substitute 𝟓𝒙 − 𝟐 = 𝒖 𝑓𝑢′
′ ′ 1
(𝟓𝒙 − 𝟐)𝒙 𝒅𝒙 = (𝒖)𝒖 𝒅𝒖 → 5𝑑𝑥 = 𝑑𝑢 → 𝑑𝑥 = 𝑑𝑢
5
10 1 1 𝑢11 1
𝐼= 𝑢 5 𝑑𝑢 = = (5𝑥 − 2)11 +𝐶
5 11 55
Exercises
1 5𝑥−2 5
(b) 𝑑𝑥 (c) 𝑒 dx (d) 3𝑥 + 4𝑑𝑥 (e) ( 6𝑥+3)4 𝑑𝑥
5𝑥−2
2
(f) (1 − 3𝑄)5 𝑑𝑄 (g*) 𝑥
𝑥𝑒 𝑑𝑥
19