January 31, 2006Lecture 2bSlide #1 Minimizing e 2 : A Refresher in Calculus Minimizing error The derivative Slope at a point Differentiation Rules of Derivation.

Slides:



Advertisements
Similar presentations
The Simple Regression Model
Advertisements

Optimization using Calculus
1 Math Review APEC 3001 Summer Objectives Review basic algebraic skills required to successfully solve homework, quiz, and exam problems in this.
7 INVERSE FUNCTIONS.
Week Lecture 3Slide #1 Minimizing e 2 : Deriving OLS Estimators The problem Deriving b 0 Deriving b 1 Interpreting b 0 and b 1.
2 Average Rate of Change of f over [a, b]: Difference Quotient The average rate of change of the function f over the interval [a, b] is Average rate of.
Prepared by Doron Shahar
Solving Quadratic Equation by Graphing Section 6.1.
Warm Up For each translation of the point (–2, 5), give the coordinates of the translated point units down (–2, –1) 2. 3 units right (1, 5) For each.
Math I, Sections 2.5 – 2.9 Factoring Polynomials
ax² + bx + c = 0 x² + 8x + 16 = f(x) To make the chart, you simply take any number and plug it in for x in the equation and the value you get is the y.
Factoring Polynomials
Chapter 4 Additional Derivative Topics Section 5 Implicit Differentiation.
Econ 533 Econometrics and Quantitative Methods One Variable Calculus and Applications to Economics.
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
Solving Quadratic Equation by Graphing
© 2010 Pearson Education Inc.Goldstein/Schneider/Lay/Asmar, CALCULUS AND ITS APPLICATIONS, 12e– Slide 1 of 62 Chapter 7 Functions of Several Variables.
Graph quadratic equations. Complete the square to graph quadratic equations. Use the Vertex Formula to graph quadratic equations. Solve a Quadratic Equation.
3 DIFFERENTIATION RULES.
Introduction to Linear Regression and Correlation Analysis
Chapter 8 Review Quadratic Functions.
Classical Waves Calculus/Differential Equations Refresher.
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
1 Intermediate Microeconomics Math Review. 2 Functions and Graphs Functions are used to describe the relationship between two variables. Ex: Suppose y.
Slide 1  2005 South-Western Publishing Appendix 2A Differential Calculus in Management A function with one decision variable, X, can be written as Y =
If the derivative of a function is its slope, then for a constant function, the derivative must be zero. example: The derivative of a constant is zero.
: Proving the Interior Angle Sum Theory. 2.
3.6 Derivatives of Logarithmic Functions In this section, we: use implicit differentiation to find the derivatives of the logarithmic functions and, in.
Graphing Quadratic Functions Definitions Rules & Examples Practice Problems.
Linear Equations in Two Variables A Linear Equation in Two Variables is any equation that can be written in the form where A and B are not both zero.
Graphing Quadratic Equations
Managerial Economics Managerial Economics = economic theory + mathematical eco + statistical analysis.
1 3.3 Rules for Differentiation Badlands National Park, SD.
Main Menu Salas, Hille, Etgen Calculus: One and Several Variables Copyright 2007 © John Wiley & Sons, Inc. All rights reserved. The Derivative a. Tangent.
1 Honors Physics 1 Class 02 Fall 2013 Some Math Functions Slope, tangents, secants, and derivatives Useful rules for derivatives Antiderivatives and Integration.
4.1: Techniques for Differentiation Objectives: Students will be able to… Apply the constant and power rule for differentiation Apply the sum and difference.
Interval Notation Interval Notation to/from Inequalities Number Line Plots open & closed endpoint conventions Unions and Intersections Bounded vs. unbounded.
Economics 173 Business Statistics Lecture 10 Fall, 2001 Professor J. Petry
Math 4030 – 11b Method of Least Squares. Model: Dependent (response) Variable Independent (control) Variable Random Error Objectives: Find (estimated)
Chapter 4 Additional Derivative Topics Section 5 Implicit Differentiation.
Math Review and Lessons in Calculus
Logarithmic Differentiation
CHAPTER 4 DIFFERENTIATION NHAA/IMK/UNIMAP. INTRODUCTION Differentiation – Process of finding the derivative of a function. Notation NHAA/IMK/UNIMAP.
Chapter 2-OPTIMIZATION G.Anuradha. Contents Derivative-based Optimization –Descent Methods –The Method of Steepest Descent –Classical Newton’s Method.
Linear Regression Linear Regression. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Purpose Understand Linear Regression. Use R functions.
3.5 – Implicit Differentiation
7.2* Natural Logarithmic Function In this section, we will learn about: The natural logarithmic function and its derivatives. INVERSE FUNCTIONS.
Solving Quadratic Equation by Graphing Students will be able to graph quadratic functions.
Lesson 2-3 The Quadratic Equation Objective: To learn the various ways to solve quadratic equations, including factoring, completing the square and the.
Warm up… You’ll need to pick up the worksheet up front. Remember how we used the calculator on Friday. Need to graph the vertex along with four other.
Hypothesis Testing Example 3: Test the hypothesis that the average content of containers of a particular lubricant is 10 litters if the contents of random.
Statistics 350 Lecture 2. Today Last Day: Section Today: Section 1.6 Homework #1: Chapter 1 Problems (page 33-38): 2, 5, 6, 7, 22, 26, 33, 34,
Ch. 3 – Derivatives 3.3 – Rules for Differentiation.
3.3 – Rules for Differentiation
The simple linear regression model and parameter estimation
Rules for Differentiation
Solving Quadratic Equation by Graphing
Standard form and Point-slope form of linear equations
Section 3.7 Implicit Functions
CHAPTER 4 DIFFERENTIATION.
Functions of Several Variables
Kuan Liu, Ryan Park, Nathan Saedi, Sabrina Sauri & Ellie Tsang
Solving Quadratic Equation by Graphing
Differentiation Rules
Solving Quadratic Equation by Graphing
Solving Quadratic Equation by Graphing
Solving Quadratic Equation by Graphing
Discrete Least Squares Approximation
Solving Quadratic Equation
Tutorial 3 Applications of the Derivative
Presentation transcript:

January 31, 2006Lecture 2bSlide #1 Minimizing e 2 : A Refresher in Calculus Minimizing error The derivative Slope at a point Differentiation Rules of Derivation –Power rule –Constants & Sums –Products & Quotients –The Chain-rule Critical points –Factoring equations

January 31, 2006Lecture 2bSlide #2 What’s in e? Measurement error –Imperfect operationalizations –Imperfect measure application Bias and noise Modeling error/misspecification –Missing model explanation –Incorrect assumptions about associations –Incorrect assumptions about distributions More bias and more noise Sum of errors affecting measurement and model? –Ideally, lots of small and independent influence Results in random quality of error –When error is systematic, may bias estimates

January 31, 2006Lecture 2bSlide #3 Measuring Error: Residuals 2 Y X Objective: to estimate model such that we minimize ∑e. For computational reasons, we minimize ∑e 2.

January 31, 2006Lecture 2bSlide #4 The Derivative Minimization requires specifying an estimator of b 0 and b 1 such that ∑e 2 is at the lowest possible value. –Easy in the linear case, but ∑e 2 is curvilinear (quadratic) Need calculus of derivatives –Allow identification of slope at a point x1x1 x2x2 x3x3 Y=f(X) The function is f(X) The derivative is f´(X) Said as “f-prime X” or

January 31, 2006Lecture 2bSlide #5 More on Derivatives If we knew the formula for f´(X), we could plug in the value of X to find the slope at that point. That means differential calculus is preoccupied with the rules for defining the derivative, given the various possible functional forms of f(X) Now take a deep breath…

January 31, 2006Lecture 2bSlide #6 Power Rule & Constant Rule If f(X) = x n, then f´(X) = nx n-1 Example: if f(X) = x 6, then f´(X) = 6x 5 If f(X) = c, then f´(X) = 0 Example: if f(X) = 5, then f´(X) = 0

January 31, 2006Lecture 2bSlide #7 Calculating Slope for (x,y) Pairs XY Y= f(X) =x 2 f´(X) =2x XSlope

January 31, 2006Lecture 2bSlide #8 More Rules A derivative of a constant times a function –If f(X) = c · u(X), then f´(X) = c · u´(x) –Example: f(X)=5x 2 ; f´(x)= 5 · 2x = 10x Example: plot Y= f(x) = x 2 - 6x + 5 –Find f´(x).

January 31, 2006Lecture 2bSlide #9 Plot and Derivative for Y= f(x) = x 2 -6x+5 XY Y= f(X) XSlope Y= f´(X)

January 31, 2006Lecture 2bSlide #10 More Rules Differentiating a sum –If f(x) = u(x) + v(x) then f´(x) = u´(x) + v´(x) –Example: f(x) = 32x + 4x 2 ; f´(x) = x If f(x) = 4x 2 - 3x, what is f´(x)?

January 31, 2006Lecture 2bSlide #11 Product Rule If f(x) = u(x) · v(x) then f´(x) = u(x) · v´(x) + u´(x) · v(x) Example: f(x) = x 3 (x - 5); find f´(x) –f´(x) = [x 3 · 1] + [3x 2 · (x - 5)] = x 3 + 3x x 2 = 4x x 2 You get the same result using only the power rule But the product rule is easier when f(x) is complex Example: f(x) = (x 4 + 3)(3x 3 + 1); find f´(x) –f´(x) = [(x 4 + 3) · 9x 2 ] + [4x 3 · (3x 3 + 1)]

January 31, 2006Lecture 2bSlide #12 Quotient Rule Example:

January 31, 2006Lecture 2bSlide #13 Chain Rule If f(x)=[u(x)] n then f´(x) = n[u(x)] n-1 · u´(x) Example: if f(x) = (7x 2 - 2x + 13) 5 then f´(x) = 5(7x 2 - 2x + 13) 4 · (14x - 2) Try this: if f(x) = (3x + 1) 10 then f´(x) = ?

January 31, 2006Lecture 2bSlide #14 Critical Points Finding minima and maxima Key: where f´(x) = 0, slope is zero Example: if f(x) = x 2 - 4x +5 then f´(x) = 2x - 4 Set (2x - 4) = 0, then x - 2 = 0; so x = 2 when f´(x) = 0 Y coordinate when x = 2 is 1 (calculate it!!) So: f(x) has a critical point at x = 2, y = 1

January 31, 2006Lecture 2bSlide #15 Critical Points, Continued How do you determine if it’s a minima or a maxima? –How many humps in the functional form? At least exponent minus one –Identify x,y coordinates and plot –Identify the derivative: f´(x) on either side of the critical point

January 31, 2006Lecture 2bSlide #16 Identification of Critical Point for f(x) = x 2 - 4x + 5 If f´(x) = 2x - 4, then the value of f´(x) is negative (slope is negative) up to 2, and positive (slope is positive) above 2. Therefore, the critical point at (2,0) is a minimum

January 31, 2006Lecture 2bSlide #17 Factoring Ugly Functions Sometimes a quadratic functional form can be simplified by factoring. When the equation can be written as: ax 2 + bx + c The factors can be derived as follows: For example: f(x) = x 3 - 6x 2 + 9x; f´(x) = 3x x + 9 To find the critical points, we’d need to find the values at which f´(x) = 0. Factoring reduces f´(x) to: f´(x) = (x - 3)(3x - 3); so both x = 3 and x = 1 are CP’s

January 31, 2006Lecture 2bSlide #18 Partial Derivation When an equation includes two variables, one can take a “partial derivative” with respect to only one variable. The other variable is simply treated as a constant:

January 31, 2006Lecture 2bSlide #19 Some Puzzles 1. Differentiate f(x) = x 3 - 4x Differentiate f(x) = (x - 3)(x 2 + 7x + 10) 3. Differentiate f(x) = (x 2 - 5)/(x + 7) 4. Differentiate f(x) = (x 2 - 3x + 5) Find all critical points for Y = f(x) = x 3 + 3x Plot the function, identify the CP’s. 6. Find all critical points for Y= f(x) = x 4 - 8x x Plot, and identify CP’s. 7. Y = f(x,z) = x z 2 + 2xz z 12 Find f’(x)