Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Intermediate Macroeconomics ECN 312 – Summer 2015 Lecture 2: Math Review Functions A function is a rule that describes a relationship between numbers. Β» Ex. 𝑦 = π‘₯ 2 or 𝑦 = 2π‘₯ or 𝑦 = 𝑓(π‘₯) or 𝑦 = 𝑓(π‘₯1, π‘₯2) Β» The variable x is often called the independent variable. Β» The set of values from which x can be drawn is the domain. Β»

Intermediate Macroeconomics ECN 312 – Summer 2015 Lecture 2: Math Review Functions A function is a rule that describes a relationship between numbers. Β» Ex. 𝑦 = π‘₯ 2 or 𝑦 = 2π‘₯ or 𝑦 = 𝑓(π‘₯) or 𝑦 = 𝑓(π‘₯1, π‘₯2) Β» The variable x is often called the independent variable. Β» The set of values from which x can be drawn is the domain. Β» The variable y is often called the dependent variable. Β» The set of all corresponding y values is the range. Example: If 𝑓(π‘₯) = π‘₯ 3 βˆ’ 4π‘₯ + 2, then Β» 𝑓(1) = (1) 3 βˆ’ 4(1) + 2 = 1 βˆ’ 4 + 2 = βˆ’1 Β» 𝑓(βˆ’2) = (βˆ’2) 3 βˆ’ 4(βˆ’2) + 2 = βˆ’8 + 8 + 2 = 2 Β» 𝑓(π‘Ž) = (π‘Ž) 3 βˆ’ 4(π‘Ž) + 2 Graphs A graph of a function depicts the behavior of a function pictorially. 𝑦 = 2π‘₯ 𝑓(0) = 0 𝑓(2) = 4 𝑓(4) = 8 𝑓(6) = 12 𝑓(8) = 14 𝑓(10) = 20 𝑦 = π‘₯ 2 𝑓(0) = 0 𝑓(2) = 4 𝑓(4) = 16 𝑓(6) = 36 𝑓(8) = 64 𝑓(10) = 100 Remember that shifts in a curve represents changes to the equation, not to our input value for x. 0 5 10 15 20 25 0 2 4 6 8 10 0 20 40 60 80 100 120 0 2 4 6 8 10 Properties of Functions A continuous function is one that can be drawn without lifting a pencil from the paper: there are no jumps in a continuous function. A smooth function is one that has no β€œkinks” or corners. Β» Example of a non-smooth function: 𝑦 = |π‘₯| A monotonic function is one that always increases or always decreases. Β» A positive monotonic function always increases as x increases. Β» A negative monotonic function always decreases and x increases. Both 𝑦 = 2π‘₯ is positive monotonic, but 𝑦 = π‘₯ 2 is not, because it is decreasing when x is negative. Equations and Identities An equation asks when a function is equal to some particular number. Β» Ex. 2π‘₯ = 8, π‘₯ 2 = 9, 𝑓(π‘₯) = 0. The solution to an equation is a value of x that satisfies the equation. Β» Ex. 4, 3 and -3, x* (we say that x* satisfies the equation𝑓(π‘₯) = 0. An identity is a relationship between variables that holds for all values of the variable. Β» (π‘₯ + 𝑦) 2 ≑ π‘₯ 2 + 2π‘₯𝑦 + 𝑦 2 Β» 2(π‘₯ + 1) ≑ 2π‘₯ + 2 Changes and Rates of Change The notation Ξ”π‘₯ is read as β€œthe change in x.” If x changes from x* to x**, then the change in x is just Ξ”π‘₯ = π‘₯ βˆ—βˆ— βˆ’ π‘₯ βˆ— , which can also be written as π‘₯ βˆ—βˆ— = π‘₯ βˆ— + Ξ”π‘₯. Typically, when we write Ξ”π‘₯, we mean a very small change in x, or a marginal change. A rate of change is the ratio of two changes. If y is a function of x, and is given by 𝑦 = 𝑓(π‘₯), then the rate of change of y with respect to x is denoted by: Δ𝑦 Ξ”π‘₯ = 𝑓(π‘₯ + Ξ”π‘₯) βˆ’ 𝑓(π‘₯) Ξ”π‘₯ Example: 𝑓(π‘₯) = π‘Ž + 𝑏π‘₯ Δ𝑦 Ξ”π‘₯ = π‘Ž + 𝑏(π‘₯ + Ξ”π‘₯) βˆ’ π‘Ž βˆ’ 𝑏π‘₯ Ξ”π‘₯ = 𝑏Δπ‘₯ Ξ”π‘₯ = 𝑏 Example: 𝑓(π‘₯) = π‘₯ 2 Δ𝑦 Ξ”π‘₯ = (π‘₯ + Ξ”π‘₯) 2 βˆ’ π‘₯ 2 Ξ”π‘₯ = π‘₯ 2 + 2π‘₯Ξ”π‘₯ + (Ξ”π‘₯) 2 βˆ’ π‘₯ 2 Ξ”π‘₯ = 2π‘₯ + Ξ”π‘₯ If Ξ”π‘₯ is a marginal change, then it is close to zero, and the rate of change of y with respect to x will be approximately 2x. Slopes and Intercepts The rate of change of a function can be interpreted graphically as the slope of the function. The slope of a linear equation is the β€œrise” over the β€œrun”. In the case of 𝑦 = 2π‘₯, a β€œrun” of 1 (x increase by 1) leads to a β€œrise” of 2 (y increases by 2). This gives us the slope of 2. Note that the slope of this equation is independent of any additional terms in the equation which do not include x. That is, the slope of 𝑦 = 2π‘₯ + 10 is also 2. For a non-linear equation, the rate of change depends of the value of the independent variable, but it will be equal to the slope of the tangent line at that particular point. The tangent line is one that touches the same point as our function at the given x-value, and shares the same rate of change at that point. The vertical intercept of a function is the value of y when x = 0. The horizontal intercept of a function is the value of x when y = 0. Often we will be interested in these intercepts, because they will represent the limits to what is possible in our model. For example, the vertical intercept of the demand curve gives the highest willingness to pay, and marks the maximum value an individual’s consumer surplus could take on. y = 2x 0 5 10 15 20 25 0 2 4 6 8 10 -40 -20 0 20 40 60 80 100 120 0 2 4 6 8 10 Derivatives The derivative of a function 𝑦 = 𝑓(π‘₯) is defined to be: 𝑑𝑓(π‘₯) 𝑑π‘₯ = lim Ξ”π‘₯ β†’0 𝑓(π‘₯ + Ξ”π‘₯) βˆ’ 𝑓(π‘₯) Ξ”π‘₯ Differentiation rules: In the following formulas, u, v, and w are all functions of x, and c and m are constants. 𝑑 𝑑π‘₯ (𝑐) = 0 𝑑 𝑑π‘₯ (π‘₯) = 1 𝑑 𝑑π‘₯ (𝑒 + 𝑣 + β‹― ) = 𝑑 𝑑π‘₯ (𝑒) + 𝑑 𝑑π‘₯ (𝑣) + β‹― 𝑑 𝑑π‘₯ (𝑐𝑒) = 𝑐 𝑑 𝑑π‘₯ (𝑒) 𝑑 𝑑π‘₯ (𝑒𝑣) = 𝑒 𝑑 𝑑π‘₯ (𝑣) + 𝑣 𝑑 𝑑π‘₯ (𝑒) 𝑑 𝑑π‘₯ (𝑒𝑣𝑀) = 𝑒𝑣 𝑑 𝑑π‘₯ (𝑀) + 𝑒𝑀 𝑑 𝑑π‘₯ (𝑣) + 𝑣𝑀 𝑑 𝑑π‘₯ (𝑒) 𝑑 𝑑π‘₯ ( 𝑒 𝑣 ) = 𝑣 𝑑 𝑑π‘₯ (𝑒) βˆ’ 𝑒 𝑑 𝑑π‘₯ (𝑣) 𝑣 2 𝑑 𝑑π‘₯ (π‘₯ π‘š) = π‘šπ‘₯ π‘šβˆ’1 𝑑 𝑑π‘₯ (𝑒 π‘š) = π‘šπ‘’ π‘šβˆ’1 𝑑 𝑑π‘₯ (𝑒) 𝑑 𝑑π‘₯ (ln π‘₯) = 1 π‘₯ 𝑑 𝑑π‘₯ π‘šπ‘₯ = π‘šπ‘₯ ln π‘š 𝑑 𝑑π‘₯ (𝑒 π‘₯ ) = 𝑒 π‘₯ Differentiation Examples 𝑓(π‘₯) = 4 + 2π‘₯ βˆ’ 3π‘₯ 2 βˆ’ 5π‘₯ 3 βˆ’ 8π‘₯ 4 + 9π‘₯ 5 𝑑 𝑑π‘₯ = 0 + 2 βˆ’ 3(2π‘₯) βˆ’ 5(3π‘₯ 2 ) βˆ’ 8(4π‘₯ 3 ) + 9(5π‘₯ 4 ) 𝑓(π‘₯) = 3 βˆ’ 2π‘₯ 3 + 2π‘₯ 𝑑 𝑑π‘₯ = (3 + 2π‘₯) 𝑑 𝑑π‘₯ (3 βˆ’ 2π‘₯) βˆ’ (3 βˆ’ 2π‘₯) 𝑑 𝑑π‘₯ (3 + 2π‘₯) (3 + 2π‘₯) 2 = (3 + 2π‘₯)(βˆ’2) βˆ’ (3 βˆ’ 2π‘₯)(2) (3 + 2π‘₯) 2 = βˆ’12 (3 + 2π‘₯) 2 𝑓(𝑧) = 𝑧 2 + 3 π‘Žπ‘›π‘‘ 𝑔(π‘₯) = 2π‘₯ + 1 𝑦 = 𝑓(𝑔(π‘₯)) = (2π‘₯ + 1) 2 + 3 = 4π‘₯ 2 + 4π‘₯ + 4 𝑑𝑦 𝑑π‘₯ = 8π‘₯ + 4 Chain Rule Given 𝑓(𝑧) and 𝑔(π‘₯), for 𝑦 = 𝑓(𝑔(π‘₯)): 𝑑𝑦 𝑑π‘₯ = 𝑑𝑓(𝑔(π‘₯)) 𝑑𝑔(π‘₯) 𝑑𝑔(π‘₯) 𝑑π‘₯ So 𝑑 𝑑π‘₯ = 2(2π‘₯ + 1) 1 βˆ— 2 = 4(2π‘₯ + 1) = 8π‘₯ + 4 Second Derivatives The second derivative of a function is the derivative of the derivative of that function. Β» The second derivative measures curvature. A negative second derivative has a slope which is decreasing (concave). A positive second derivative has an increasing slope (convex). First derivatives are often denoted as 𝑓 β€² (π‘₯) while second derivatives are noted as 𝑓 β€²β€²(π‘₯). Partial Derivatives When there are more than one independent variables, we take the partial derivative with respect to a single independent variable. In other words, you treat the other independent variables as constants. Example: 𝑓(π‘₯1, π‘₯2 ) = π‘₯1 0.3π‘₯2 0.7 𝑑 𝑑π‘₯1 = 0.3π‘₯1 βˆ’0.7π‘₯2 0.7 = 0.3 π‘₯2 0.7 π‘₯1 0.7 = 0.3 ( π‘₯2 π‘₯1 ) 0.7 𝑑 𝑑π‘₯2 = 0.7π‘₯1 0.3π‘₯2 βˆ’0.3 = 0.7 π‘₯1 0.3 π‘₯2 0.3 = 0.7 ( π‘₯1 π‘₯2 ) 0.3 Optimization The maximum of a function is found under the following conditions: 𝑑𝑓(π‘₯) 𝑑π‘₯ = 0 𝑑 2𝑓(π‘₯) 𝑑π‘₯ 2 ≀ 0 The minimum of a function is found under the following conditions: 𝑑𝑓(π‘₯) 𝑑π‘₯ = 0 𝑑 2𝑓(π‘₯) 𝑑π‘₯ 2 β‰₯ 0 The condition 𝑑𝑓(π‘₯) 𝑑π‘₯ = 0 is known as the first-order condition. The condition 𝑑 2𝑓(π‘₯) 𝑑π‘₯ 2 ≀β‰₯ 0 is known as the second-order condition. Example: 𝑓(π‘₯) = (10 βˆ’ π‘₯) 2 𝑑𝑓(π‘₯) 𝑑π‘₯ = 2(10 βˆ’ π‘₯)(βˆ’π‘₯) = 2π‘₯ βˆ’ 20 First Order Condition 2π‘₯ βˆ’ 20 = 0 β†’ π‘₯ = 10 Second Order Condition 𝑑 2𝑓(π‘₯) 𝑑π‘₯ 2 = 𝑑(2π‘₯ βˆ’ 20) 𝑑π‘₯ = 2 β‰₯ 0 β†’ π‘šπ‘–π‘›π‘–π‘šπ‘’π‘š So the function 𝑓(π‘₯) = (10 βˆ’ π‘₯) 2 is minimized when x = 10.

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"