π Lecture 01 β Introducing Econometrics & types of data
π Overview: This lecture introduces the field of Business Econometrics, its definition, methodology, and importance for students of business and economics. It also covers the different types of data structures used in econometric analysis, providing foundational knowledge for the entire course.
ποΈ Topics Covered
The lecture covers the traditional and modern definitions of econometrics, the reasons for studying it, the step-by-step methodology of business econometrics, and the four main types of data structures: cross-sectional, time series, pooled cross sections, and panel/longitudinal data. It also lists data sources and common file types.
π Lecture Summary
What is Econometrics or Business Econometrics?
Traditional Perception: Econometrics is traditionally seen as the branch of economics concerned with using mathematical methods (especially statistics) to describe economic systems. It is a set of quantitative techniques for making economic decisions and testing hypotheses using real-world data (e.g., "Is the value of the US Dollar correlated to Oil Prices?"). The Economist's Dictionary defines it as setting up mathematical models of economic relationships, testing hypotheses, and estimating parameters to measure the influence of independent variables. Econometrics is the intersection of economics, mathematics, and statistics, adding empirical content to economic theory.
π Definition β Econometrics (Traditional): The branch of economics concerned with using mathematical and statistical methods in describing, analyzing, estimating, and forecasting economic relationships.
Modern View: Econometrics is no longer limited to testing economic theory; it is now used in Finance, Marketing, Management, and Sociology. The advent of modern computers and software (like Stata) has enabled the estimation of more complex models, making computer programming an essential component. Econometrics now encompasses both quantitative and qualitative research.
π Definition β Econometrics (Modern): Using the tools of mathematics, statistics, and computer sciences, Econometrics analyses quantitative or qualitative phenomena (from Economics or other disciplines), based on evolution and development of theory, by recording observations based on sampling, related by appropriate methods of inference.
The lecture provides a flow chart showing how Theory (from Economics, Management, etc.) and Mathematical/Statistical Tools (calculus, regression) are combined using Computer Software (Excel, Stata, SPSS) to form Econometrics.
Why should you study Econometrics?
Econometrics provides research tools for your subject. It offers empirical evidence for theoretical statements; without it, theories may have no value. The key phrase is: "Data never speaks for themselves; Econometrics makes Data speak." The process goes from Idea to Forecasting: An idea becomes a theory, then a functional form showing variable relationships, model specification with mathematical equations, data collection, and finally estimation, testing, and forecasting.
The Methodology of Business Econometrics
The methodology follows these steps:
- Creation of a statement of theory or hypothesis
- Collection of Data
- Model Specification
- Model Estimation
- Performing Diagnostic Tests
- Testing the Hypothesis
- Prediction or Forecasting
For example, knowing that quantity demanded depends on price, income, and prices of substitutes, we collect data, specify a model based on demand theory, estimate it using econometric techniques, perform diagnostic tests to check for problems, test hypotheses about estimator validity, and ultimately predict or forecast outcomes.
Structure of Data
Cross-Sectional Data: A sample of entities (individuals, firms, countries) at a given point in time.
π Definition β Cross-Sectional Data: Sample of entities at a given point in time. π Example: Monthly income of Ali (75,000), Faisal (42,000), Iqbal (33,000), Noreen (65,000) in 2014.
Time Series Data: Observations over time for a single entity.
π Definition β Time Series Data: Observations over time. π Example: Average monthly income of a person from 2010 (35,000) to 2014 (55,000).
π‘ Why this matters: Time series data often follow a time trend, requiring special attention in analysis. Time series econometrics is now a separate subfield.
Pooled Data / Pooled Cross Sections: Combined cross sections from different years, where the entities sampled can change each year.
π Definition β Pooled Data: Combined Cross Sections from different years. π Example: Income of Ali and Iqbal in 2011, Salma and Kumail in 2012, Sultan and Lubna in 2013. Note that individuals change in different years.
Panel / Longitudinal Data: A time series for each cross section unit, where the same cross-sectional units are followed over time.
π Definition β Panel Data: Time Series of each Cross Section, same cross sectional units are followed over time. π Example: Exchange rate data for Indonesia, Pakistan, and Sri Lanka from 2008 to 2010. Note that individual entities (countries) do not change over time.
β Key Takeaways
Econometrics is the intersection of economics, mathematics, and statistics, using these tools (now including computer science) to give empirical content to theories. Its modern definition encompasses both quantitative and qualitative analysis across many disciplines. The core methodology involves moving from a theory to data collection, model specification and estimation, diagnostic testing, hypothesis testing, and forecasting. The four fundamental data structures are cross-sectional (entities at one time), time series (one entity over time), pooled cross sections (different entities over time), and panel data (same entities over time).
π§ Quick Revision Questions
- What is the modern definition of Econometrics?
- What are the key steps in the methodology of Business Econometrics?
- What is the difference between cross-sectional data and time series data?
- How does pooled data differ from panel (longitudinal) data?
- State two reasons why a business student should study Econometrics.
π Lecture 02 β The Summation Notation
π Overview: This lecture introduces the summation operator (β), which is fundamental for expressing and manipulating sums in econometrics. It covers basic summation notation, properties of the summation operator, common pitfalls, and applications including double summation and linear functions. Understanding summation algebra is critical for later topics in regression analysis and model estimation.
ποΈ Topics Covered
The lecture begins with the concept and notation of summation, then moves through five practice exercises to build familiarity. It then systematically presents three core properties of the summation operator, followed by a warning about invalid operations. The latter half covers an application proving useful expressions for sums of deviations, introduces double (nested) summation, and concludes with linear functions and their econometric applications including demand functions and various functional forms.
π Lecture Summary
The Summation Notation
The summation operator is heavily used in econometrics. This operator is used to show that we are summing up something e.g. an expression. The Greek letter β (sigma) is used to indicate summation or addition. Usually β is followed by an expression. Summation Notation is an effective and comprehensive way to describe a sum of terms.
For example, the sum of a column of variable X is given as: Sum of X = Xβ + Xβ + Xβ + Xβ + Xβ = $\sum_{i=1}^{5} X_i$
Where i is a subscript and changes from 1 to 5. In general we write summation of X as $\sum_{i=1}^{n} X_i$, where n is a finite number.
Another example: Consider the expression $\frac{2}{3} + \frac{3}{4} + \frac{4}{5} + \frac{5}{6} + \frac{6}{7}$. Let k = 2, then the expression can be written as $\sum_{k=2}^{6} \frac{k}{k+1}$. This is called expanding the summation expression.
Practice Question 2.1: Try expanding $\sum_{i=1}^{5} \frac{(i+1)^2}{i}$ and finding the value.
Practice Question 2.2: Try expanding $\sum_{j=1}^{3} \frac{(2j+1)^2}{10j^2}$ and finding the value.
Practice Question 2.3: Try expanding and finding the value of $\sum_{i=1}^{5} X^2$, where X assumes the values 5, 6, 7, 8, and 9.
Practice Question 2.4: Try to write the following in summation notation: 1 + 4 + 9 + 16 + 25 + 36 + 49 + 64 + 81 + 100.
Practice Question 2.5: Try to write the following in summation notation: $2 + \frac{3}{4} + \frac{4}{9} + \frac{5}{16} + \frac{6}{25} + \frac{7}{36}$.
Properties of the Summation Operator
Property 1 $\sum_{i=1}^{n} a_i = na$
For example, if a = 2 for all observations, then $\sum_{i=1}^{5} a_i = 2 + 2 + 2 + 2 + 2 = 10$. In fact it is five times 2 = 5 multiplied by 2 = na = 10.
IMPORTANT: We usually do not write subscript 'i' with a constant. Note that 'a' is a constant and all values of it are identical. When β is multiplied by a constant we can write 'n' instead of β.
π Definition β Property 1 (Sum of a Constant): The sum of a constant a taken n times equals n times that constant.
Property 2 $\sum_{i=1}^{n} kX_i = k \sum_{i=1}^{n} X_i$
Let k = 5. In a table with X values 1, 2, 3, 4, 5, the sum of 5X is 5 + 10 + 15 + 20 + 25 = 75 = $\sum_{i=1}^{5} 5X_i$. This can also be computed as 5 x 15 = 75 = $5 \sum_{i=1}^{5} X_i$.
π Definition β Property 2 (Factoring Out a Constant): A constant value can be factored out of the summation operator.
π Example: Let k=5, X={1,2,3,4,5}. $\sum_{i=1}^{5} 5X_i$ = 75. Also, $5 \sum_{i=1}^{5} X_i$ = 5 Γ 15 = 75. Therefore both methods yield the same result.
Property 3 $\sum_{i=1}^{n} (X_i + Y_i) = \sum_{i=1}^{n} X_i + \sum_{i=1}^{n} Y_i$
For example, with X={1,2,3,4,5} and Y={5,12,18,22,27}, $\sum_{i=1}^{5} (X_i + Y_i)$ = 6 + 14 + 21 + 26 + 32 = 99. Which can also be computed as $\sum_{i=1}^{5} X_i + \sum_{i=1}^{5} Y_i$ = 15 + 84 = 99.
π Definition β Property 3 (Sum of Sums): The sum of a sum equals the sum of the individual sums.
Extension: Combining Property 2 & 3 $\sum_{i=1}^{n} (aX_i + bY_i) = a \sum_{i=1}^{n} X_i + b \sum_{i=1}^{n} Y_i$
Also: $\sum_{i=1}^{n} (aX_i + b) = \sum_{i=1}^{n} (aX_i) + \sum_{i=1}^{n} b = a \sum_{i=1}^{n} X_i + nb$
What Can NOT be Done in the Summation Notation?
The summation algebra is not just identical to normal algebra. Some things that may seem obvious in normal algebra may not apply to summation algebra. Remember that the following expressions are NOT equal:
- $\sum_{i=1}^{n} (X_i / Y_i) \neq \sum_{i=1}^{n} X_i \div \sum_{i=1}^{n} Y_i$
- $\sum_{i=1}^{n} (X_i Y_i) \neq \sum_{i=1}^{n} X_i \cdot \sum_{i=1}^{n} Y_i$
- $\sum_{i=1}^{n} X_i^2 \neq (\sum_{i=1}^{n} X_i)^2$
π‘ Why this matters: These common mistakes can lead to completely wrong calculations in econometric analysis.
Practice Question 2.6: Construct a table to prove the first and second inequality discussed above.
Application of Summation Algebra
Different forms of $\sum (X - \bar{X})(Y - \bar{Y})$
Subscripts ('i') are omitted for simplicity. The expression can be derived as:
$\sum (X - \bar{X})(Y - \bar{Y}) = \sum XY - \frac{(\sum X)(\sum Y)}{n}$
Also equals: $\sum XY - n\bar{X}\bar{Y}$
The full derivation shows: $\sum (X - \bar{X})(Y - \bar{Y}) = \sum XY - \bar{X}\sum Y - \bar{Y}\sum X + n\bar{X}\bar{Y}$ Leading to: $\sum XY - \frac{\sum X \sum Y}{n}$
Different forms of $\sum (X - \bar{X})^2$
$\sum (X - \bar{X})^2 = \sum X^2 - \frac{(\sum X)^2}{n}$
The full derivation: $\sum (X - \bar{X})^2 = \sum [X^2 + \bar{X}^2 - 2X\bar{X}]$ $= \sum X^2 + n\bar{X}^2 - 2\bar{X}\sum X$ $= \sum X^2 - \frac{(\sum X)^2}{n}$
Double Summation
Double Summation or nested summation also can be used.
π Example: $\sum_{i=1}^{3} \sum_{j=1}^{2} X_{ij} = X_{11} + X_{12} + X_{21} + X_{22} + X_{31} + X_{32}$
π Example: $\sum_{i=1}^{3} \sum_{j=1}^{2} X_i Y_j = X_1Y_1 + X_1Y_2 + X_2Y_1 + X_2Y_2 + X_3Y_1 + X_3Y_2$
Linear Functions
Most of you would be familiar with straight lines or linear functions. A variable may be a linear function of another if its plot produces a straight line. A linear function may be written as:
Y = a + bX
Where:
- a = intercept (the point where the line intersects the y-axis)
- b = slope, rate of change, derivative
As Y = a + bX:
- βY = bβX
- b = βY/βX = marginal effect
Linear function: A function whose graph forms a straight line OR for which the rate of change 'b' is constant. Linear functions can be with or without intercept. Assuming linear relationship makes the models easy to solve.
π Example: Given a table with X={1,2,3,4,5} and Y={7,9,11,13,15}:
- b = βY/βX = (9-7)/(2-1) = 2/1 = 2
- a = Y - bX = 7 - 2(1) = 5
- Therefore the equation is Y = 5 + 2X
Slope: b = βY/βX = 2/1 = 2 (with βY=2 and βX=1)
Intercept: a = 5
Simple Examples of Linear Functions
Linear Demand Functions The Demand Function: $Q_d = f(P, Y, P_s, P_c, A)$
Where:
- $Q_d$ = Quantity Demanded
- P = Price
- Y = Income
- $P_s$ = Price of Substitute
- $P_c$ = Price of Complementary Good
- A = Advertisement Expenditure
Expression in terms of linear equation: $Q_d = a + bP + cY + dP_s + eP_c + fA$
Simple Demand Function: $Q_d = a + bP$, Ceteris Paribus
We estimate the parameters 'a' and 'b' from data. What do we expect? The sign of 'b' is negative for 'normal' goods, sign of b is positive for 'Giffen' goods.
Practice Question 2.7: Assume $Q_d = 50 - 2P$, Ceteris Paribus. Activity: Assume values of P (price) to be 1, 2, 3, 4, and 5. Compute $Q_d$ and plot the 'Demand Curve'.
Simple Examples of Using Linear Equations
Sometimes we can 'linearize' equations.
-
Simple linear regression (linear in variable functional form): $Y = \beta_0 + \beta_1 X$
- Marginal effect = $\beta_1$
- Elasticity = $\epsilon = \beta_1 (X/Y)$
-
Double log functional form: $lnY = \beta_0 + \beta_1 lnX$
- Can be written as $Y^* = \beta_0 + \beta_1 X^$ where $Y^ = lnY$, $X^* = lnX$
- Marginal effect = $\beta_2 (Y/X)$
- Elasticity = $\epsilon = \beta_1$
-
Linear-Log functional form: $Y = \beta_0 + \beta_1 lnX$
- Can be written as $Y = \beta_0 + \beta_1 X^$ where $X^ = lnX$
- Marginal effect = $\beta_1 / X$
- Elasticity = $\epsilon = \beta_1 / Y$
-
Log-Linear functional form: $lnY = \beta_0 + \beta_1 X$
- Can be written as $Y^* = \beta_0 + \beta_1 X$ where $Y^* = lnY$
- Marginal effect = $\beta_1 Y$
- Elasticity = $\epsilon = \beta_1 X$
-
Cobb-Douglas Production Function: $Y = AL^\alpha K^\beta$
- Taking log on both sides: $lnY = lnA + \alpha lnL + \beta lnK$
- Can be written as $Y^* = a + \alpha L^* + \beta K^$ where $L^ = lnL$, $K^* = lnK$, $Y^* = lnY$
- The equation is not linear but we can estimate it by transformation
β Key Takeaways
The summation operator (β) is essential for compactly representing sums in econometrics, with three critical properties: summing a constant yields n times that constant, constants can be factored out of summations, and the sum of a sum is the sum of individual sums. A common pitfall is assuming summation behaves like normal algebra β specifically, the sum of products does NOT equal the product of sums, and the sum of squares does NOT equal the square of the sum. The derived formulas for $\sum (X - \bar{X})(Y - \bar{Y})$ and $\sum (X - \bar{X})^2$ are foundational for computing variances and covariances in regression analysis. Finally, linear functions Y = a + bX provide the framework for understanding marginal effects (slope b) and can be extended to non-linear forms through transformation (e.g., log-linear, double-log, and Cobb-Douglas functions).
π§ Quick Revision Questions
-
What is the value of $\sum_{i=1}^{n} k$ where k is a constant? Explain using Property 1.
-
Why is $\sum (X_i Y_i)$ NOT equal to $(\sum X_i)(\sum Y_i)$? Provide a simple numerical example to illustrate.
-
Derive the expression $\sum (X - \bar{X})^2$ in terms of $\sum X^2$ and $(\sum X)^2$.
-
In a linear function Y = a + bX, what does 'b' represent, and how is it calculated from two data points?
-
How can the non-linear Cobb-Douglas production function $Y = AL^\alpha K^\beta$ be transformed into a form that can be estimated using linear regression techniques?
π Lecture 03 β Quadratic Function
π Overview: This lecture introduces quadratic functions and their properties, then explores their practical applications in econometrics through inverted-U and U-shaped relationships. It also covers exponential and logarithmic functions, and provides a foundational introduction to simple derivatives and their rules, which are essential for calculating marginal functions and elasticities in economic analysis.
ποΈ Topics Covered
The lecture begins with the definition and properties of quadratic functions, including the role of coefficients and the shape of the parabola. It then presents several real-world econometric examples of inverted-U relationships (liquidity and profitability, competition and innovation, Kuznets curve, CalmforsβDriffill hypothesis) and U-shaped relationships (economic development and fertility, marginal and average cost curves). The second half introduces exponential and logarithmic functions, followed by a comprehensive section on simple derivatives, covering rules like the power rule, constant function rule, sum-difference rule, product rule, quotient rule, and chain rule, with applications to finding marginal functions and elasticity.
π Lecture Summary
Quadratic Function
A quadratic function is a function of the form ( f(x) = Y = aX^2 + bX + c ) where (a \neq 0). (a), (b), and (c) are called coefficients. Its graph forms a parabola, which has either a maxima or a minima. A line called the axis of symmetry divides the graph into two equal parts.
- Form: (Y = aX^2 + bX + c)
- When βaβ is positive, the graph concaves downward (U-shaped).
- When βaβ is negative, the graph concaves upward (inverted-U shaped).
- When βcβ is positive, the graph moves up; when βcβ is negative, the graph moves down.
π Definition β Axis of Symmetry: A vertical line that divides the parabola into two mirror-image halves. For the function (Y = X^2) (where a=1, b=0, c=0), the axis of symmetry is x = 0.
π Examples:
- (Y = 2X^2 + 3X + 10)
- (Y = 3X^2 - 5X + 5)
- (Y = 10X^2 + 2X)
- (Y = 5X^2)
Quadratic Function in Econometrics
Quadratic functions are useful for modeling relationships that are not linear but have an initial increasing then decreasing (or vice-versa) pattern.
Inverted U relationships (a is negative)
- Liquidity and Profitability: Initially, an increase in liquidity (e.g., current ratio from below 1 to the 1-2 range) can increase profit because the firm can meet its obligations. However, excess liquidity (current ratio above 2) means funds are not invested productively, so further increases in liquidity negatively affect profit.
- Competition and Innovation: Initially, increased competition encourages innovation. But too much competition drives prices down to a break-even level, leaving firms with only normal profit and no incentive to innovate.
- Kuznets Curve: The hypothesis that as a country's income per capita increases, income inequality first rises naturally, then falls after a certain average income is attained.
- CalmforsβDriffill Hypothesis: A macroeconomic theory stating a non-linear (inverted-U) relationship between the degree of collective bargaining (measured by trade union size) and the level of unemployment. As union size increases from zero, unemployment rises, but then falls as unions wield their monopoly power.
U shaped quadratic relationships (a is positive)
- Economic Development and Fertility: Initially, as economic development occurs, fertility declines. However, with further development, countries may offer incentives for childbearing, reducing the cost, so fertility rates may start rising again.
- Marginal Cost and Average Cost Curves: In cost theory, both marginal cost (MC) and average cost (AC) curves are U-shaped. They decline with increased production initially, but after a certain point (minimum point), they start rising as production increases further. The MC curve intersects the AC curve at its minimum point.
π‘ Why this matters: These examples show how a simple quadratic mathematical function can model complex, non-linear economic behaviors found in firm management, macroeconomics, and development economics.
Exponential & Logarithmic Functions
Exponential functions are functions where a constant base βaβ is raised to a variable exponent βxβ.
- General Form: (Y = a^x) where (a > 0) and (a \neq 1).
- βaβ is the base and βxβ is the exponent.
- The base can be any value, including the Eulerβs constant (e = 2.71828).
- Natural Logarithm: If (Y = e^x), then (log_e Y = \ln Y = x).
π Formula β Logarithmic Form: If (Y = a^x), then (\log_a Y = x).
π Formula β Continuous Compound Interest: (C = Pe^{rt}), where C is the compounded balance after t years, P is the principal amount, r is the annual rate of interest, and t is the number of years. This models exponential growth.
π Example β Logarithmic Equation for Elasticity: Equations of the type (\ln Y = \beta_0 + \beta_1 \ln X) directly provide the elasticity coefficient (\beta_1).
π Formula β Exponential Growth Example: (P(t) = 2e^{3t}).
Simple Derivative
The derivative is the instantaneous rate of change of a dependent variable due to a very small change in the independent variable. For a function (Y = f(x)):
- The average rate of change is (\frac{\Delta f}{\Delta x}).
- The derivative, (f'(x)) or (\frac{dy}{dx}), is the slope of the tangent line at a point.
- For normal comprehension, derivative, slope of a function, and marginal function (like MC as the derivative of TC) can be thought of as identical.
π Definition β Derivative: ( \frac{dy}{dx} = y' = f'(x) = \lim_{\Delta x \to 0} \frac{f(x+\Delta x) - f(x)}{\Delta x} )
Important Notes on Notation:
- (\frac{dy}{dx}) is a single symbol for the derivative and does not mean 'dy' divided by 'dx'.
The Power Rule If (y = a x^n), then (\frac{dy}{dx} = a n x^{n-1}).
π Example 1: (y = 10x^3) (\frac{dy}{dx} = 10(3)x^{3-1} = 30x^2)
π Example 2: (y = 5x^2) (\frac{dy}{dx} = 5(2)x^{2-1} = 10x)
π Example 3: (y = \frac{10}{x} = 10x^{-2}) (\frac{dy}{dx} = 10(-2)x^{-2-1} = -20x^{-3} = \frac{-20}{x^3})
The Constant Function Rule If (y = k) where (k) is a constant, then (\frac{dy}{dx} = 0). This is because a constant does not change.
π Example: (y = 10), then (y' = 0).
Derivative of (y = x) If (y = x = 1 \cdot x^1), using the power rule: (\frac{dy}{dx} = 1(1)x^{1-1} = 1x^0 = 1).
The Sum-Difference Rule If (y = f(x) \pm g(x)), then (\frac{dy}{dx} = f'(x) \pm g'(x)).
π Example 1: (y = 10x^3 + 5x^2) (\frac{dy}{dx} = 10(3)x^{2} + 5(2)x^{1} = 30x^2 + 10x)
π Example 2: (y = 2x^3 - 3x^2 - 10x + 5) (\frac{dy}{dx} = 6x^2 - 6x - 10)
The Product Rule If (y = f(x) \cdot g(x)), then (\frac{dy}{dx} = g(x) \cdot f'(x) + f(x) \cdot g'(x)). The derivative of the product of two functions is equal to the second function times the derivative of the first plus the first function times the derivative of the second.
π Example: (y = (10 - x)(5 + x)), where (f(x) = 10-x) and (g(x) = 5+x). (\frac{dy}{dx} = (5+x)(-1) + (10-x)(1) = -5 - x + 10 - x = 5 - 2x)
The Quotient Rule If (y = \frac{f(x)}{g(x)}), then (\frac{dy}{dx} = \frac{g(x) \cdot f'(x) - f(x) \cdot g'(x)}{[g(x)]^2}).
π Example: (y = \frac{10-x}{5+x}). (\frac{dy}{dx} = \frac{(5+x)(-1) - (10-x)(1)}{(5+x)^2} = \frac{-5 - x - 10 + x}{(5+x)^2} = \frac{-15}{(5+x)^2})
The Chain Rule: functions involving different variables If (y = f(g(x))) where (z = g(x)), then (\frac{dy}{dx} = \frac{dy}{dz} \cdot \frac{dz}{dx}).
π Example: (y = (5x^2 + 2x + 10)^3). Let (z = 5x^2 + 2x + 10), then (\frac{dz}{dx} = 10x + 2). (y = z^3), then (\frac{dy}{dz} = 3z^2). Using the chain rule: (\frac{dy}{dx} = (3z^2)(10x+2) = 3(5x^2+2x+10)^2(10x+2)).
Some Application of Simple Derivatives
The derivative is the same as the marginal function or the rate of change.
-
Finding Marginal Cost (MC): If Total Cost (TC) is (C = \frac{1}{3}Q^3 - 2Q^2 + 120Q + 1000), then MC is its derivative. (MC = \frac{dC}{dQ} = Q^2 - 4Q + 120)
-
Applying the Chain Rule (Marginal Revenue Product): If Total Revenue (R) is a function of Quantity (Q), and Quantity is a function of Labor (L), then the marginal revenue product of labor is: (\frac{dR}{dL} = \frac{dR}{dQ} \cdot \frac{dQ}{dL} = MR \cdot MP_{PL} = MRP_L).
-
Finding Price Elasticity of Demand: Given a demand function (Q_d = 100 - 2P). The derivative is (\frac{dQ}{dP} = -2). If Price (P=10), then (Q_d = 80). Formula: Price Elasticity of Demand (E_p = \frac{dQ}{dP} \cdot \frac{P}{Q} = (-2) \cdot \frac{10}{80} = -0.25). This means a one percent change in price leads to a 0.25 percent change in quantity demanded in the opposite direction.
Higher Order Derivatives
Derivatives of a derivative are called higher order derivatives.
- The second order derivative ((y'') or (\frac{d^2y}{dx^2})) shows the rate of change of the rate of change.
- Third order derivative ((y''')) is the derivative of the second derivative.
π Example: (y = 10x^3) (y' = 30x^2) (y'' = \frac{d}{dx}(30x^2) = 60x) (y''' = \frac{d}{dx}(60x) = 60)
β Key Takeaways
- A quadratic function (Y = aX^2 + bX + c) forms a parabola; a negative 'a' gives an inverted-U shape, and a positive 'a' gives a U-shape. This is central to modeling non-linear economic phenomena like the Kuznets curve and cost curves.
- The derivative is the instantaneous rate of change and is synonymous with the slope of a function and the marginal function (e.g., MC from TC). This concept is foundational for optimization in economics.
- The power rule (( \frac{d}{dx}(ax^n) = a n x^{n-1} )) is the most fundamental rule of differentiation and forms the basis for the constant and sum-difference rules.
- Specialized rules like the product rule, quotient rule, and chain rule are essential for differentiating more complex functions, such as revenue functions or composite cost functions.
- The derivative is a powerful tool for calculating elasticity, a key economic concept. For a linear demand function (Q = a - bP), elasticity is (E = \frac{dQ}{dP} \cdot \frac{P}{Q}).
π§ Quick Revision Questions
- What are the three coefficients in a quadratic function (Y = aX^2 + bX + c), and what does the sign of 'a' determine about the graph's shape?
- Describe the "inverted-U" relationship between liquidity and profitability as explained in the lecture.
- State the Power Rule for differentiation. Then, find the derivative of the function (y = 12x^4).
- A firm's total cost function is (C = 2Q^2 + 50Q + 500). Using the sum-difference rule, find the marginal cost function.
- If a demand function is (Q_d = 50 - 5P) and the price is 5, calculate the price elasticity of demand. Interpret the value.
π Lecture 04 β Multivariate Functions
π Overview: This lecture introduces multivariate functions β functions of more than one independent variable β and explains how to compute partial derivatives and second-order derivatives. It then extends optimization (maxima/minima) from single-variable to multivariate contexts, covering both first-order and second-order conditions, which are fundamental for econometric modeling and finding optimal solutions in business problems.
ποΈ Topics Covered
The lecture begins with the definition and examples of multivariate functions, then explains partial derivatives and their notation. It provides detailed examples of first-order partial differentiation, followed by second-order direct and cross partial derivatives. The concept of symmetry of cross partial derivatives (Young's theorem) is demonstrated. Finally, the lecture introduces simple optimization for single-variable functions, showing how to find maxima and minima using first and second derivative tests.
π Lecture Summary
Multivariate Functions
Functions of more than one variable are called multivariate functions. In econometrics, dependent variables typically depend on several independent variables. For example, Quantity Demanded is a function of Price, Income, Prices of other goods, and other variables: να΅ = ν(ν, νΌ, νβ, ν). Similarly, Profitability depends on liquidity, capital structure, government regulations, prices of raw material, etc.: ν = ν(νΏν, νΆν, νΊν , νν ).
π‘ Why this matters: Most real-world economic and business relationships involve multiple influencing factors, so understanding multivariate functions is essential for building realistic models.
Partial Derivatives
Partial Derivatives measure the rate of change of the dependent variable with respect to a change in one independent variable, while all other independent variables are held constant. The mathematical symbol ν ("partial" or "del") denotes partial derivatives. The expression νν§/νν₯ is read as "partial derivative of z with respect to x." Alternative notations include νβ or νβ. For second-order derivatives: νΒ²ν§/νν₯Β² or νββ, νβα΅§, νββ, νββ.
π Definition β Partial Derivative: The derivative of a multivariate function with respect to one variable, treating all other variables as constants.
Partial Differentiation: Method
To partially differentiate a function: (1) There are as many first-order partial derivatives as there are independent variables. (2) When differentiating with respect to one variable, treat all other variables as constants. (3) All usual differentiation rules apply. (4) Higher-order derivatives are of two types: Direct Partial Derivatives (differentiate twice with respect to the same variable) and Cross Partial Derivatives (differentiate with respect to one variable, then another). Cross partial derivatives are always equal (symmetry of second derivatives or equality of mixed partials).
Partial Differentiation: Examples
Example 1: ν = ν(ν₯, ν¦) = 2ν₯Β² + 3ν¦Β² + 5ν₯ν¦ + 20
Differentiating w.r.t. x (treat y as constant): νν§/νν₯ = 4ν₯ + 0 + 5ν¦(1) + 0 = 4ν₯ + 5ν¦
Here, 3ν¦Β² is a constant (derivative 0), and 5ν¦ is a constant coefficient multiplied by derivative of x (which is 1).
Differentiating w.r.t. y (treat x as constant): νν§/νν¦ = 0 + 6ν¦ + 5ν₯(1) + 0 = 6ν¦ + 5ν₯ = 5ν₯ + 6ν¦
Here, 2ν₯Β² is a constant, and 5ν₯ is a constant coefficient multiplied by derivative of y (which is 1).
π Example: For ν = 2ν₯Β² + 3ν¦Β² + 5ν₯ν¦ + 20, at point (ν₯=2, ν¦=1): νν§/νν₯ = 4(2) + 5(1) = 8 + 5 = 13 νν§/νν¦ = 5(2) + 6(1) = 10 + 6 = 16
Example 2: ν = ν(ν₯, ν¦) = 2ν₯Β²ν¦Β² + 5ν₯Β³ν¦β΄
νν§/νν₯ = νβ = 2ν¦Β²Β·(2ν₯) + 5ν¦β΄Β·(3ν₯Β²) = 4ν₯ν¦Β² + 15ν₯Β²ν¦β΄
νν§/νν¦ = να΅§ = 2ν₯Β²Β·(2ν¦) + 5ν₯Β³Β·(4ν¦Β³) = 4ν₯Β²ν¦ + 20ν₯Β³ν¦Β³
π Example: For ν = 2ν₯Β²ν¦Β² + 5ν₯Β³ν¦β΄, at point (ν₯=1, ν¦=2): νν§/νν₯ = 4(1)(2Β²) + 15(1Β²)(2β΄) = 4(1)(4) + 15(1)(16) = 16 + 240 = 256 νν§/νν¦ = 4(1Β²)(2) + 20(1Β³)(2Β³) = 4(1)(2) + 20(1)(8) = 8 + 160 = 168
Second Order Direct Partial Derivatives
Using Example 1: ν = 2ν₯Β² + 3ν¦Β² + 5ν₯ν¦ + 20
First, νβ = 4ν₯ + 5ν¦. Differentiating again w.r.t. x: νββ = 4(1) + 0 = 4
First, να΅§ = 5ν₯ + 6ν¦. Differentiating again w.r.t. y: να΅§α΅§ = 0 + 6(1) = 6
These are called Second Order DIRECT Partial Derivatives.
Using Example 2: ν = 2ν₯Β²ν¦Β² + 5ν₯Β³ν¦β΄
νβ = 4ν₯ν¦Β² + 15ν₯Β²ν¦β΄. Differentiating again w.r.t. x: νββ = 4ν¦Β² + 30ν₯ν¦β΄
να΅§ = 4ν₯Β²ν¦ + 20ν₯Β³ν¦Β³. Differentiating again w.r.t. y: να΅§α΅§ = 4ν₯Β² + 60ν₯Β³ν¦Β²
Second Order Cross Partial Derivatives
Using Example 1: Starting with νβ = 4ν₯ + 5ν¦, differentiate w.r.t. y: νβα΅§ = 0 + 5(1) = 5
Starting with να΅§ = 5ν₯ + 6ν¦, differentiate w.r.t. x: να΅§β = 5(1) + 0 = 5
Note: νβα΅§ = να΅§β = 5
Using Example 2: Starting with νβ = 4ν₯ν¦Β² + 15ν₯Β²ν¦β΄, differentiate w.r.t. y: νβα΅§ = 8ν₯ν¦ + 60ν₯Β²ν¦Β³
Starting with να΅§ = 4ν₯Β²ν¦ + 20ν₯Β³ν¦Β³, differentiate w.r.t. x: να΅§β = 8ν₯ν¦ + 60ν₯Β²ν¦Β³
Again, νβα΅§ = να΅§β = 8ν₯ν¦ + 60ν₯Β²ν¦Β³
π Formula β Equality of Mixed Partials: If ν = ν(ν₯, ν¦) has continuous second-order partial derivatives, then νβα΅§ = να΅§β.
Example with Chain Rule and Summation Algebra
Let ν = Ξ£(ν¦ β ν β νν₯)Β². Here 'a' and 'b' act as unknowns (variables).
Differentiating w.r.t. 'a': νβ = 2Ξ£(ν¦ β ν β νν₯)(0 β 1 β 0) = β2Ξ£(ν¦ β ν β νν₯)
Using summation rules: νβ = β2(Ξ£ν¦ β νν β νΞ£ν₯)
Differentiating w.r.t. 'b': νᡦ = 2Ξ£(ν¦ β ν β νν₯)(0 β 0 β ν₯(1)) = β2Ξ£ν₯(ν¦ β ν β νν₯)
Simple Optimization: Maxima and Minima
To optimize a function of one variable: (1) First Order Condition: Set the first derivative equal to zero β at minima or maxima, the slope (derivative) is zero. (2) Second Order Condition: The second derivative is positive for a minimum and negative for a maximum.
π Definition β First Order Condition (FOC) for optimization: ν'(ν₯) = 0 π Definition β Second Order Condition (SOC) for optimization: ν''(ν₯) > 0 for minimization; ν''(ν₯) < 0 for maximization.
π Example: If ν¦ = 40ν₯ β 2ν₯Β²
FOC: νν¦/νν₯ = 40 β 4ν₯ = 0 β 4ν₯ = 40 β ν₯ = 10
SOC: νΒ²ν¦/νν₯Β² = β4 < 0, so the function is maximized at ν₯ = 10.
Maximum value: ν¦βββ = 40(10) β 2(10)Β² = 400 β 200 = 200
π Example: Profit function Ο = 100Q β 120 β 2QΒ²
FOC: Ο' = 100 β 4Q = 0 β 4Q = 100 β Q* = 25
SOC: Ο'' = ν(100 β 4Q)/νQ = β4 < 0, so profit is maximized at Q = 25.
Maximum profit: Οβββ = 100(25) β 120 β 2(25)Β² = 2500 β 120 β 1250 = 1130
β Key Takeaways
The most critical concepts from this lecture are: (1) Partial derivatives measure the rate of change of a multivariate function with respect to one variable while holding all others constant β treat other variables as constants during differentiation. (2) There are two types of second-order partial derivatives: direct (same variable twice) and cross (different variables); importantly, cross partial derivatives are always equal (νβα΅§ = να΅§β). (3) For optimization of single-variable functions, the first derivative must equal zero (FOC), and the second derivative determines whether it's a maximum (negative) or minimum (positive). (4) Chain rule and summation algebra apply to partial derivatives, as shown in the Ξ£(ν¦ β ν β νν₯)Β² example. These tools are foundational for econometric estimation (e.g., Ordinary Least Squares) and business optimization problems.
π§ Quick Revision Questions
-
Explain the key difference between an ordinary derivative and a partial derivative. How do you treat other variables when taking a partial derivative?
-
For the function ν = 3ν₯Β³ν¦Β² + 2ν₯ν¦Β³ + 10, find both first-order partial derivatives (νβ and να΅§) and all four second-order partial derivatives (νββ, να΅§α΅§, νβα΅§, να΅§β). Verify the equality of mixed partials.
-
If ν = Ξ£(ν¦ β ν β νν₯)Β², derive the expressions for νβ and νᡦ. Show the steps using chain rule and summation algebra.
-
Given the profit function Ο = 80Q β 100 β 3QΒ², use the first-order and second-order conditions to determine the output level Q that maximizes profit, and calculate the maximum profit value.
-
A company's cost function is νΆ(ν) = 500 + 20ν + 0.5νΒ² and revenue function is ν (ν) = 100ν β νΒ². Write the profit function Ο(ν), find the profit-maximizing output, and verify the second-order condition.