Professional Documents
Culture Documents
4ECON007C
Lecture 1
Univariable Functions
Modeling
Sets
Linear Models
Mathematical modeling
Values of variables
P 0 10 20 30 40 50
Q 25 20 15 10 5 0
Graph of a linear function
QD = 0.5P + 25
60
50
40
Price
30
20
10
0
0 5 10 15 20 25
Quantity
Linear function y = ax + b
Values of variables
P 25 30 35 40 45 50
Q 0 10 20 30 40 50
Graph of a linear function
QS = 2P 50
55
50
45
40
35
Price
30
25
20
15
10
5
0
0 10 20 30 40 50
Quantity
Equilibrium point
Demand = Supply
QD = QS or PD = PS
1
Example: QD P 25 and QS 2P 50
2
1
Qd Qs P 25 2 P 50 P 30
2
Q (30) = 2P 50 = (2)(30) 50 = 10
QD = 0.5P + 25 QS = 2P 50
60
50
40
Price
30
20
10
0
0 5 10 15 20 25
Quantity
Quadratic function y = ax2 + bx + c
Graph is called a parabola
Example: y = x2 2x + 2
Values of variables
x 2 1 0 1 2 3
y 10 5 2 1 2 5
Graph of a quadratic function
18
16
Axis of symmetry
14
12
Branches
10
8
6 Vertex
4
2
0
-4 -3 -2 -1 0 1 2 3 4 5 6
Revenue, cost and profit
Profit function: = TR TC
Profit function
Example: If the fixed costs are 4, variable costs per unit are 1 and the
demand function is P = 10 2Q,
1) obtain an expression for in terms of Q
2) find for what values of Q the firm breaks even
3) calculate the maximum profit
Solution:
TC = FC + (VC)Q = 4 + (1)Q = 4 + Q
TR = PQ = (10 2Q)Q = 10Q 2Q2
= TR TC = (10Q 2Q2) (4+Q) = 2Q2 + 9Q 4
TR = TC or = 0
Algebraically:
TR = TC 10Q 2Q2 = 4 + Q
2Q2 + 9Q 4 = 0 Q1 = 0.5, Q2 = 4
Graphically:
Sketch the graphs
TR = 10Q 2Q2 (parabola) and TC = 4 + Q (straight line)
The intersection points are breakeven points
Breakeven point graphically
14
12
10 TR TC
8
Cost
0
0 1 2 3 4 5
Quantity
Maximum profit
0
-2 0 1 2 3 4 5
Quantity
-4
-6
-8
-10
Rational function
f ( x)
y
g ( x)
where f (x) and g (x) are polynomials and g (x) 0
6
4
Example:
2
1
y -3 -2 -1
0
0 1 2 3
x -2
Asymptotes y = 0, x = 0 -4
-6
Average cost function
TC Q 4
For the case above: TC = 4 + Q, then AC
Q Q
25 where D(AC) = (0, +), E(AC) = (1, +)
20
Average cost
15
10
0
0 1 2 Quantity 3 4 5
Linear Models
Linear Regression
Linear Models
The number of students enrolled at WIUT in selected years is shown in the
following table.
Year 2010 2013 2015 2017 2019 2020
a) Let x=1 correspond to 2010, use the data points (5, 917) and (9, 991) to find a
line that models the data;
b) Use the points (3, 814) and (5, 917) to find another line that models the data.
Hint: find the equation of the line which passes through two points
Solution
Solution
a) The slope of the line through (5,917) and (7,991) is 37
y= 37x+732
So we have question which line best fits the data? And one way to compute the
difference between the number of students and (y) and the amount () given by
the model, (y-) residual
Solution
For each model, determine the residuals, square of each residual, and the sum
of the squares of the residuals.
y=51.5x + 659.5
Data Point Model Point Residual Squared Residual
(x,y) (x,) y- (y-)*2
(1, 764) (1, 711) 53 2809
Sum=10875
Solution
y=37x+732
Sum = 1595
Solution
y=37x+732 is a better fit for the data because the sum of the squares of its
residuals is small
The line of best fit is called the least-squares regression line, and the
computational process for finding its equation is called linear regression.
Linear-regression formulas are quite complicated and require a large amount of
computation. Most spreadsheet programs can do linear regression quickly and
easily.
Correlation coefficient, we calculate correlation coefficient to assess the fit of
the regression line to the scatterplot, (r is always between -1 and 1, when
absolute value is close to 1, the line fits the data quite well)
Reading
Any of the recommended textbook, any edition, sections on:
sets
univariable functions
linear functions
quadratic functions
rational functions
system of linear/nonlinear equations
supply and demand analysis
revenue, cost and profit