SlideShare una empresa de Scribd logo
1 de 29
Descargar para leer sin conexión
Basic math tools:
Relations between variables

     juliohuato@gmail.com


      September 5, 2011
Topics


Multi-variate functions


Bivariate functions


Linear functions


Nonlinear functions
Multi-variate relationships

   In economics as in other sciences, we are often interested in sorting
   out causes and effects: “What causes prices to drop?” “What
   causes unemployment to increase?” These are typical questions in
   economics. However, ascertaining cause-effect relationships is
   particularly difficult in economics, because controlled experiments
   tend to be either very expensive or impracticable.
      Usually, economic events of interest result from multiple causes.
   However, if many of them are minor and if – to some extent – they
   offset one another, then it is possible for economists to find simpler
   yet powerful explanations, i.e. explanations that isolate a few yet
   important causes, especially those that – aside from being
   important – are under the control or conscious influence of
   individuals, organizations, or governments.
Multi-variate functions


   Speaking in math terms, we say that most (if not all) economic
   phenomena are the result of (functional) relationships between
   multiple variables. This equation denotes a multi-variate
   relationship or, more precisely, a multi-variate function:

                             y = f (x1 , x2 , . . . , xn )

   This equation says that variable y , a.k.a. the dependent variable,
   “is a function of” (in plain words, “its value depends on the value
   of”) the variables x1 , x2 , . . . , xn , a.k.a. the independent variables,
   where n can be any positive whole number, and f (.) is descriptive
   of the type of relationship among the variables.
Multi-variate functions


   The math does not say that the independent variables “cause” the
   dependent variable (or, more precisely, that changes in the
   independent variables cause the dependent variable to change). It
   only says that there is some definite “relationship” between y and
   the x’s, so that when the xs change, y also changes according to
   f (.). For all we know, the xs may cause y , or y may cause some or
   all the xs, or both y and the xs may be caused by some
   unidentified variable. Conventionally, y denotes the effect and the
   xs denote causes. But economists must ascertain causality
   independently from the math. The math is used only to get a
   better sense of the logic involved.
Bivariate functions
   Since dealing with multi-variate functions mathematically gets very
   complicated very quickly, in this course we simply assume that
   there is only one independent variable of interest. All other
   independent variables are assumed constant, so we focus on one x
   at a time. This is not a terrible sacrifice. It is easier for us to grasp
   things with only one moving part at a time, while the other parts
   are assumed fixed. In logic, when we imagine that everything else
   remains constant to focus on the relationship between only two
   variables, we are making the caeterius paribus assumption. This
   assumption effectively reduces multi-variate functions to bivariate
   functions:
                                  y = f (x)
   Again, y is the dependent variable and x the (single) independent
   variable. The equation says that as x varies, y varies in accordance
   with rule f (.).
Bivariate functions
   Not that the caeteris paribus assumption requires that the xs are
   indeed (relatively speaking) independent causes – i.e. largely
   independent from one another. If at least some of xs are not
   sufficiently independent, but they vary together, then the
   “everything-else-constant” assumption may lead to serious
   nonsense.
      In any case, bivariate functions are very convenient to work with,
   since we may represent them graphically on a plane (a.k.a. the
   Cartesian plane) – a flat space divided by two perpendicular lines
   (axes), a vertical and a horizontal one. That way we can get a
   visual understanding of the relationship between the two variables.
   Conventionally, we plot the values of x on the horizontal axis and
   y on the vertical axis. Each axis is a number line and each pair of
   values (x, y ) corresponds to a point in the plane: a point’s
   projection on the horizontal axis is the value x and its projection
   on the vertical axis is the value y .
Identity function
   We now study the simplest type of bivariate functions. The
   simplest (but also somewhat trivial) example of a bivariate
   function is the identity function:

                                 y =x

   This says that every time x takes a value (e.g., x = 20), then y
   takes that same value (i.e., y = x = 20). Etc.
      Assigning values to x and using those values to determine the
   corresponding values of y as given by the function is called
   evaluating the function. By evaluating bivariate functions, we can
   generate data tables with two columns, one column with the values
   of x and the other one with the values of y . To plot the graph, we
   need at least two values of x, which by using the equation y = x,
   yield two corresponding values for y : e.g. x0 = −2, y0 = −2 and
   x1 = 2, y1 = 2.
Identity function


   With that, we have enough information to plot the graph of this
   function, which is a straight line that goes through those points. In
   this case (the identity function), the line also goes through the
   origin (i.e. the point where x = 0 and y = 0). Here’s a data table
   with a few selected values of x and, therefore, y :

                             y ($)        x ($)
                                     -2      -2
                                      0       0
                                      2       2
Identity function


   And here’s the graph of the identity function y = x:
Proportional function
   A bit less simple is the proportional function: y = bx.
   Here b means a given or constant number. For example:

                                  y = 3x




   In this case, b = 3. That is, y is always the triple of x. Thus, if
   x = 10, then y = 3 × 10 = 30.
Linear functions

   A more realistic example of a proportional function is currency
   conversion at a given exchange rate. Suppose that today’s U.S.
   dollar-Mexican peso exchange rate is S(USD/MXN) = 10. In
   algebraic form:
                                y = 10 x
   where x is the number of U.S. dollars and y the number of
   Mexican pesos. Determine the equivalent in Mexican pesos of
   x = 327 U.S. dollars:

                         y = 10 × 327 = 3, 270

   In words, 327 U.S. dollars are equivalent to 3,270 Mexican pesos in
   today’s foreign exchange market.
Linear functions


   Note that when b = 1 the proportional function “degenerates” into
   the identity function. In other words, the identity function is the
   proportional function in the particular case when b = 1. The
   constant b is called the slope, and it indicates the scale at which y
   expands or shrinks as x changes. Graphically, b determines the
   inclination (slope) of the linear graph representing y = bx. The
   slope b also indicates the change in y when x changes in one unit:
                                ∆y   y1 − y0
                           b=      =
                                ∆x   x1 − x0
Linear functions



   To show that b = ∆y /∆x, let x0 = 0, then y0 = b × 0 = 0. Now,
   let x1 = 1, then y1 = b × 1 = b. Clearly:

                     ∆x = x1 − x0 = 1 − 0 = 1

                     ∆y = y1 − y0 = b − 0 = b
                               ∆y  b
                          b=      = =b
                               ∆x  1
Linear functions



   To double check, alternatively, let x0 = 10, then
   y0 = b × 10 = 10b. Now, let x1 = 20, then y1 = b × 20 = 20b.
   Note that:
                     ∆x = x1 − x0 = 20 − 10 = 10
                   ∆y = y1 − y0 = 20b − 10b = 10b
                              ∆y   10b
                         b=      =     =b
                              ∆x    10
Linear functions



   A linear function has the following algebraic form:

                               y = a + bx

   Here a and b are both given or constant numbers. Clearly, the
   proportional function is a linear function when a = 0. We already
   know that b is the slope, which indicates the change in y when x
   changes in one unit:
                                       ∆y
                                  b=
                                       ∆x
Linear functions


   As noted above, b determines how steep or shallow the linear
   graph is. On the other hand, the constant a is called the vertical
   intercept or, simply, the intercept, because it determines the
   location of the graph in the plane. More specifically, a determines
   the point at which the linear graph crosses the vertical axis. When
   a = 0 (the proportional case), the line crosses the vertical axis at
   the origin, i.e. when y = 0. In the more general case, a can be
   positive or negative. If a > 0, then the linear graph crosses the
   vertical axis above the origin (on the positive region of y ). If
   a < 0, then the linear graph crosses the vertical axis below the
   origin (on the negative region of y ).
Linear functions
   An example is the formula to convert degrees from the Celsius
   temperature scale into degrees in the Farenheit scale:
                                      9
                              y = 32 + x
                                      5
   where x means a temperature in the Celsius scale and y means its
   equivalent in the Farenheit scale. Convert from Celsius water’s
   “freezing point” (x = 0) into Farenheit:

                  y = 32 + [(9/5) × 0] = 32 + 0 = 32

   The water starts to freeze at 32◦ F. Note that a = 32 immediately
   gives us this information.
     Convert Celsius water’s “boiling point” (x = 100) into Farenheit:

               y = 32 + [(9/5) × 100] = 32 + 180 = 212
   The water starts to boil at 212◦ F.
Linear relationships



   Note that if b > 0 (positive slope), then the change in y
   associated with the unit change in x is positive. In other words,
   there is a positive or direct relationship between x and y . If
   b < 0 (negative slope), then the change in y associated with the
   unit change in x is negative. That is, there is a negative or
   inverse relationship between x and y .
     If b = ∞, then even a very tiny change in x sends y through the
   roof: the graph is a vertical line. If b = 0, then no matter how
   much x changes, y does not change at all: the graph is a flat or
   horizontal line.
Linear functions



   Let, x = Income and y = Consumption spending, and consider the
   following data on selected levels of x and y :

                   Income ($)     Consumption ($)
                              0                50
                            100              100
                            200              150
                            300              200
                            400              250
Linear functions
   A simple visual inspection of the data shows that there is a linear
   relationship between x and y . From one row to the next, x
   increases in 100 and, as a result, y increases in 50. By taking data
   from any couple of rows, we can then determine the slope of this
   relationship. Let us take the first and the last row:
   x0 = 0, y0 = 50, x1 = 400, y1 = 250. Therefore:
   ∆x = x1 − x0 = 400 − 0 = 400 and
   ∆y = y1 − y0 = 250 − 50 = 200. The slope is then:
                               ∆y   200
                          b=      =     = .5
                               ∆x   400
   With this information, we know that the equation representative of
   the linear relationship between Income and Consumption spending
   has the following form:

                               y = a + .5 x
Linear functions

   However, we still don’t know the value of a, the vertical intercept.
   We need to determine a to completely pin down our linear
   equation. To determine a, we need information from any row in
   the data table. Let’s use the third row: y = a + .5 x, i.e.
   150 = a + .5 × 200 = a + 100. This is a simple linear equation. To
   solve, subtract 100 from each side of the equation:

                          150 − 100 = a = 50

   We got it! a = 50. So, we know that the linear equation
   representative of the data in the table is:

                             y = 50 + .5 x

   With this linear function, we are ready determine any level of
   Consumption spending whenever the level of Income is given.
Linear functions
   We can graph the points in the data table and then join them with
   a straight line. Or, alternatively, we can evaluate the linear
   equation y = 50 + .5 x twice and plot the resulting graph. A
   graphic calculator or a computer can do this. Or we can use this
   free online graph generator:
   http://rechneronline.de/function-graphs/.
Linear functions


   Sometimes, we may want to use symbols other than x and y . For
   example, let C = Consumption and Y = Income. Then:

                            C = 50 + .5 Y .
   Note that y = C is the dependent variable, because the value of
   C depends on the value of Y , the independent variable. The
   intercept a = 50 indicates that C = 0 when or if Y = $50.
   Finally, the slope b = .5 indicates that when Y increases by $1 (or
   one dollar), C increases by $.5 (or 50 cents). Note that
   b = .5 > 0, which means that C increases when Y increases, i.e.
   there is a positive or direct relationship between C and Y .
Linear functions



   Note that the equation form or algebraic formulation conveys the
   same information and then more than the contained in a numerical
   data table. And it does so in a much more compact manner.
      Because algebra uses general symbols, rather than specific
   numbers or graphical objects, it is very powerful. A great
   mathematician said that, in math, we do not “understand” things:
   we just get used to them! So get used to the algebraic form of a
   linear functional relationship.
Nonlinear functions




   In our course, we will not use the algebraic or equation form for
   nonlinear relationships between two variables, x and y . For them,
   we will only use graphs and intuition. Usually, when dealing with
   nonlinear relationships, intercepts are of little or no interest. Most
   of the interest focuses on the varying slopes.
Nonlinear functions
   This graph shows a curve that is concave to the origin (the point
   in the plane where x = 0 and y = 0). Note that that, throughout,
   the slope of the curve is negative. When x is close to zero, the
   slope is a very small negative number (almost zero). Then, as x
   increases, the slope of the curve becomes increasingly negative
   and, when it hits the horizontal axis, it is very negative.
Nonlinear functions

   This following graph shows also a downward-sloping curve, but this
   is convex to the origin. When x is close to zero, the slope is very
   high (it tends to infinity). Then, as x goes up, the curve’s slope
   becomes less and less negative. When it hits the horizontal axis,
   the slope of the curve is almost zero.
Nonlinear functions
   This final graph shows a more complicated relationship between x
   and y . It is a curve that changes direction. When 0 < x < 1.5,
   4.7 < x < 7.7 the slope of the curve is positive and for all other
   values of x in the graph, the slope is negative. Also note that the
   curve’s slope becomes zero at (x = 1.5, y = 4), (x = 4.7, y = 2),
   and (x = 7.7, y = 4).1




      1
        At these points the slope changes from positive to negative or vice versa. A
   flat or horizontal tangent line can be drawn to touch them. These points are
   either maxima or minima (the plural of maximum and minimum, i.e. the
   highest and lowest values of y ).

Más contenido relacionado

La actualidad más candente

Probability (gr.11)
Probability (gr.11)Probability (gr.11)
Probability (gr.11)Vukile Xhego
 
Statistics and probability
Statistics and probability   Statistics and probability
Statistics and probability Muhammad Mayo
 
ppt for Properties of the Operations on Integers
ppt for Properties of the Operations on Integersppt for Properties of the Operations on Integers
ppt for Properties of the Operations on Integersneria_ayren
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributionsmandalina landy
 
Logarithm lesson
Logarithm lessonLogarithm lesson
Logarithm lessonyrubins
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability DistributionsCIToolkit
 
Chapter 6 simple regression and correlation
Chapter 6 simple regression and correlationChapter 6 simple regression and correlation
Chapter 6 simple regression and correlationRione Drevale
 
Markup and markdown
Markup and markdownMarkup and markdown
Markup and markdownforeverun
 
Probability Density Function (PDF)
Probability Density Function (PDF)Probability Density Function (PDF)
Probability Density Function (PDF)AakankshaR
 

La actualidad más candente (20)

Probability (gr.11)
Probability (gr.11)Probability (gr.11)
Probability (gr.11)
 
Probability
ProbabilityProbability
Probability
 
Statistics and probability
Statistics and probability   Statistics and probability
Statistics and probability
 
ppt for Properties of the Operations on Integers
ppt for Properties of the Operations on Integersppt for Properties of the Operations on Integers
ppt for Properties of the Operations on Integers
 
Probability
Probability Probability
Probability
 
Discrete Probability Distributions
Discrete Probability DistributionsDiscrete Probability Distributions
Discrete Probability Distributions
 
Angle Pairs
Angle PairsAngle Pairs
Angle Pairs
 
Regression
RegressionRegression
Regression
 
Logarithm lesson
Logarithm lessonLogarithm lesson
Logarithm lesson
 
probability
probabilityprobability
probability
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 
Chapter 6 simple regression and correlation
Chapter 6 simple regression and correlationChapter 6 simple regression and correlation
Chapter 6 simple regression and correlation
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
z-test
z-testz-test
z-test
 
INTRODUCTION TO ALGEBRA
INTRODUCTION TO ALGEBRAINTRODUCTION TO ALGEBRA
INTRODUCTION TO ALGEBRA
 
Linear regression theory
Linear regression theoryLinear regression theory
Linear regression theory
 
Markup and markdown
Markup and markdownMarkup and markdown
Markup and markdown
 
Probability Density Function (PDF)
Probability Density Function (PDF)Probability Density Function (PDF)
Probability Density Function (PDF)
 
Linear regression
Linear regressionLinear regression
Linear regression
 
Congruence and similarity
Congruence and similarityCongruence and similarity
Congruence and similarity
 

Similar a Relations among variables

DerivativesXP.ppt
DerivativesXP.pptDerivativesXP.ppt
DerivativesXP.pptSnehSinha6
 
@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptx@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptxbizuayehuadmasu1
 
Families of curves
Families of curvesFamilies of curves
Families of curvesTarun Gehlot
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Matthew Leingang
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Mel Anthony Pepito
 
_lecture_04_limits_partial_derivatives.pdf
_lecture_04_limits_partial_derivatives.pdf_lecture_04_limits_partial_derivatives.pdf
_lecture_04_limits_partial_derivatives.pdfLeoIrsi
 
Lecture 6 limits with infinity
Lecture 6   limits with infinityLecture 6   limits with infinity
Lecture 6 limits with infinitynjit-ronbrown
 
13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx
13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx
13.1 Calculus_ch14_Partial_Directional_Derivatives.pptxTabrijiIslam
 
Alg II 2-2 Direct Variation
Alg II 2-2 Direct VariationAlg II 2-2 Direct Variation
Alg II 2-2 Direct Variationjtentinger
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integralsTarun Gehlot
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integralsTarun Gehlot
 

Similar a Relations among variables (20)

DerivativesXP.ppt
DerivativesXP.pptDerivativesXP.ppt
DerivativesXP.ppt
 
Graph a function
Graph a functionGraph a function
Graph a function
 
Lecture Notes In Algebra
Lecture Notes In AlgebraLecture Notes In Algebra
Lecture Notes In Algebra
 
Chapter 4 and half
Chapter 4 and halfChapter 4 and half
Chapter 4 and half
 
@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptx@ Business Mathematics Chapter 1& 2.pptx
@ Business Mathematics Chapter 1& 2.pptx
 
Families of curves
Families of curvesFamilies of curves
Families of curves
 
Powerpoint2.reg
Powerpoint2.regPowerpoint2.reg
Powerpoint2.reg
 
Lemh105
Lemh105Lemh105
Lemh105
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
 
Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)Lesson 2: A Catalog of Essential Functions (slides)
Lesson 2: A Catalog of Essential Functions (slides)
 
Pragmathematics 2014 lecture 3 (2)
Pragmathematics 2014 lecture 3 (2)Pragmathematics 2014 lecture 3 (2)
Pragmathematics 2014 lecture 3 (2)
 
_lecture_04_limits_partial_derivatives.pdf
_lecture_04_limits_partial_derivatives.pdf_lecture_04_limits_partial_derivatives.pdf
_lecture_04_limits_partial_derivatives.pdf
 
CH6.pdf
CH6.pdfCH6.pdf
CH6.pdf
 
Ch6
Ch6Ch6
Ch6
 
Lecture 6 limits with infinity
Lecture 6   limits with infinityLecture 6   limits with infinity
Lecture 6 limits with infinity
 
13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx
13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx
13.1 Calculus_ch14_Partial_Directional_Derivatives.pptx
 
Alg II 2-2 Direct Variation
Alg II 2-2 Direct VariationAlg II 2-2 Direct Variation
Alg II 2-2 Direct Variation
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integrals
 
Multiple integrals
Multiple integralsMultiple integrals
Multiple integrals
 
function
functionfunction
function
 

Más de Julio Huato

Uncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk ManagementUncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk ManagementJulio Huato
 
Probability theory 2
Probability theory 2Probability theory 2
Probability theory 2Julio Huato
 
Hecksher-Ohlin model
Hecksher-Ohlin modelHecksher-Ohlin model
Hecksher-Ohlin modelJulio Huato
 
Int econ bases_trade
Int econ bases_tradeInt econ bases_trade
Int econ bases_tradeJulio Huato
 
A two-good economy
A two-good economyA two-good economy
A two-good economyJulio Huato
 
Applied Statistics - Parametric Distributions
Applied Statistics - Parametric DistributionsApplied Statistics - Parametric Distributions
Applied Statistics - Parametric DistributionsJulio Huato
 
Two-good output choice
Two-good output choiceTwo-good output choice
Two-good output choiceJulio Huato
 
Statistics - Probability theory 1
Statistics - Probability theory 1Statistics - Probability theory 1
Statistics - Probability theory 1Julio Huato
 
Intecon micro review 1
Intecon micro review 1Intecon micro review 1
Intecon micro review 1Julio Huato
 
Applied Statistics - Introduction
Applied Statistics - IntroductionApplied Statistics - Introduction
Applied Statistics - IntroductionJulio Huato
 
Summation Operator
Summation OperatorSummation Operator
Summation OperatorJulio Huato
 
Inputs output costs
Inputs output costsInputs output costs
Inputs output costsJulio Huato
 
Slides money banking risk reward capm
Slides money banking risk reward capmSlides money banking risk reward capm
Slides money banking risk reward capmJulio Huato
 
Slides money banking time value
Slides money banking time valueSlides money banking time value
Slides money banking time valueJulio Huato
 

Más de Julio Huato (20)

Uncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk ManagementUncertainty, Risk, and Risk Management
Uncertainty, Risk, and Risk Management
 
Probability theory 2
Probability theory 2Probability theory 2
Probability theory 2
 
Int Econ BoP
Int Econ BoPInt Econ BoP
Int Econ BoP
 
Hecksher-Ohlin model
Hecksher-Ohlin modelHecksher-Ohlin model
Hecksher-Ohlin model
 
Ricardian model
Ricardian modelRicardian model
Ricardian model
 
Int econ bases_trade
Int econ bases_tradeInt econ bases_trade
Int econ bases_trade
 
Fin sys
Fin sysFin sys
Fin sys
 
A two-good economy
A two-good economyA two-good economy
A two-good economy
 
Applied Statistics - Parametric Distributions
Applied Statistics - Parametric DistributionsApplied Statistics - Parametric Distributions
Applied Statistics - Parametric Distributions
 
Two-good output choice
Two-good output choiceTwo-good output choice
Two-good output choice
 
Statistics - Probability theory 1
Statistics - Probability theory 1Statistics - Probability theory 1
Statistics - Probability theory 1
 
Intecon micro review 1
Intecon micro review 1Intecon micro review 1
Intecon micro review 1
 
Applied Statistics - Introduction
Applied Statistics - IntroductionApplied Statistics - Introduction
Applied Statistics - Introduction
 
Summation Operator
Summation OperatorSummation Operator
Summation Operator
 
Inputs output costs
Inputs output costsInputs output costs
Inputs output costs
 
Risk
RiskRisk
Risk
 
Elasticity
ElasticityElasticity
Elasticity
 
Slides money banking risk reward capm
Slides money banking risk reward capmSlides money banking risk reward capm
Slides money banking risk reward capm
 
Slides money banking time value
Slides money banking time valueSlides money banking time value
Slides money banking time value
 
Market model
Market modelMarket model
Market model
 

Último

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Último (20)

Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Relations among variables

  • 1. Basic math tools: Relations between variables juliohuato@gmail.com September 5, 2011
  • 3. Multi-variate relationships In economics as in other sciences, we are often interested in sorting out causes and effects: “What causes prices to drop?” “What causes unemployment to increase?” These are typical questions in economics. However, ascertaining cause-effect relationships is particularly difficult in economics, because controlled experiments tend to be either very expensive or impracticable. Usually, economic events of interest result from multiple causes. However, if many of them are minor and if – to some extent – they offset one another, then it is possible for economists to find simpler yet powerful explanations, i.e. explanations that isolate a few yet important causes, especially those that – aside from being important – are under the control or conscious influence of individuals, organizations, or governments.
  • 4. Multi-variate functions Speaking in math terms, we say that most (if not all) economic phenomena are the result of (functional) relationships between multiple variables. This equation denotes a multi-variate relationship or, more precisely, a multi-variate function: y = f (x1 , x2 , . . . , xn ) This equation says that variable y , a.k.a. the dependent variable, “is a function of” (in plain words, “its value depends on the value of”) the variables x1 , x2 , . . . , xn , a.k.a. the independent variables, where n can be any positive whole number, and f (.) is descriptive of the type of relationship among the variables.
  • 5. Multi-variate functions The math does not say that the independent variables “cause” the dependent variable (or, more precisely, that changes in the independent variables cause the dependent variable to change). It only says that there is some definite “relationship” between y and the x’s, so that when the xs change, y also changes according to f (.). For all we know, the xs may cause y , or y may cause some or all the xs, or both y and the xs may be caused by some unidentified variable. Conventionally, y denotes the effect and the xs denote causes. But economists must ascertain causality independently from the math. The math is used only to get a better sense of the logic involved.
  • 6. Bivariate functions Since dealing with multi-variate functions mathematically gets very complicated very quickly, in this course we simply assume that there is only one independent variable of interest. All other independent variables are assumed constant, so we focus on one x at a time. This is not a terrible sacrifice. It is easier for us to grasp things with only one moving part at a time, while the other parts are assumed fixed. In logic, when we imagine that everything else remains constant to focus on the relationship between only two variables, we are making the caeterius paribus assumption. This assumption effectively reduces multi-variate functions to bivariate functions: y = f (x) Again, y is the dependent variable and x the (single) independent variable. The equation says that as x varies, y varies in accordance with rule f (.).
  • 7. Bivariate functions Not that the caeteris paribus assumption requires that the xs are indeed (relatively speaking) independent causes – i.e. largely independent from one another. If at least some of xs are not sufficiently independent, but they vary together, then the “everything-else-constant” assumption may lead to serious nonsense. In any case, bivariate functions are very convenient to work with, since we may represent them graphically on a plane (a.k.a. the Cartesian plane) – a flat space divided by two perpendicular lines (axes), a vertical and a horizontal one. That way we can get a visual understanding of the relationship between the two variables. Conventionally, we plot the values of x on the horizontal axis and y on the vertical axis. Each axis is a number line and each pair of values (x, y ) corresponds to a point in the plane: a point’s projection on the horizontal axis is the value x and its projection on the vertical axis is the value y .
  • 8. Identity function We now study the simplest type of bivariate functions. The simplest (but also somewhat trivial) example of a bivariate function is the identity function: y =x This says that every time x takes a value (e.g., x = 20), then y takes that same value (i.e., y = x = 20). Etc. Assigning values to x and using those values to determine the corresponding values of y as given by the function is called evaluating the function. By evaluating bivariate functions, we can generate data tables with two columns, one column with the values of x and the other one with the values of y . To plot the graph, we need at least two values of x, which by using the equation y = x, yield two corresponding values for y : e.g. x0 = −2, y0 = −2 and x1 = 2, y1 = 2.
  • 9. Identity function With that, we have enough information to plot the graph of this function, which is a straight line that goes through those points. In this case (the identity function), the line also goes through the origin (i.e. the point where x = 0 and y = 0). Here’s a data table with a few selected values of x and, therefore, y : y ($) x ($) -2 -2 0 0 2 2
  • 10. Identity function And here’s the graph of the identity function y = x:
  • 11. Proportional function A bit less simple is the proportional function: y = bx. Here b means a given or constant number. For example: y = 3x In this case, b = 3. That is, y is always the triple of x. Thus, if x = 10, then y = 3 × 10 = 30.
  • 12. Linear functions A more realistic example of a proportional function is currency conversion at a given exchange rate. Suppose that today’s U.S. dollar-Mexican peso exchange rate is S(USD/MXN) = 10. In algebraic form: y = 10 x where x is the number of U.S. dollars and y the number of Mexican pesos. Determine the equivalent in Mexican pesos of x = 327 U.S. dollars: y = 10 × 327 = 3, 270 In words, 327 U.S. dollars are equivalent to 3,270 Mexican pesos in today’s foreign exchange market.
  • 13. Linear functions Note that when b = 1 the proportional function “degenerates” into the identity function. In other words, the identity function is the proportional function in the particular case when b = 1. The constant b is called the slope, and it indicates the scale at which y expands or shrinks as x changes. Graphically, b determines the inclination (slope) of the linear graph representing y = bx. The slope b also indicates the change in y when x changes in one unit: ∆y y1 − y0 b= = ∆x x1 − x0
  • 14. Linear functions To show that b = ∆y /∆x, let x0 = 0, then y0 = b × 0 = 0. Now, let x1 = 1, then y1 = b × 1 = b. Clearly: ∆x = x1 − x0 = 1 − 0 = 1 ∆y = y1 − y0 = b − 0 = b ∆y b b= = =b ∆x 1
  • 15. Linear functions To double check, alternatively, let x0 = 10, then y0 = b × 10 = 10b. Now, let x1 = 20, then y1 = b × 20 = 20b. Note that: ∆x = x1 − x0 = 20 − 10 = 10 ∆y = y1 − y0 = 20b − 10b = 10b ∆y 10b b= = =b ∆x 10
  • 16. Linear functions A linear function has the following algebraic form: y = a + bx Here a and b are both given or constant numbers. Clearly, the proportional function is a linear function when a = 0. We already know that b is the slope, which indicates the change in y when x changes in one unit: ∆y b= ∆x
  • 17. Linear functions As noted above, b determines how steep or shallow the linear graph is. On the other hand, the constant a is called the vertical intercept or, simply, the intercept, because it determines the location of the graph in the plane. More specifically, a determines the point at which the linear graph crosses the vertical axis. When a = 0 (the proportional case), the line crosses the vertical axis at the origin, i.e. when y = 0. In the more general case, a can be positive or negative. If a > 0, then the linear graph crosses the vertical axis above the origin (on the positive region of y ). If a < 0, then the linear graph crosses the vertical axis below the origin (on the negative region of y ).
  • 18. Linear functions An example is the formula to convert degrees from the Celsius temperature scale into degrees in the Farenheit scale: 9 y = 32 + x 5 where x means a temperature in the Celsius scale and y means its equivalent in the Farenheit scale. Convert from Celsius water’s “freezing point” (x = 0) into Farenheit: y = 32 + [(9/5) × 0] = 32 + 0 = 32 The water starts to freeze at 32◦ F. Note that a = 32 immediately gives us this information. Convert Celsius water’s “boiling point” (x = 100) into Farenheit: y = 32 + [(9/5) × 100] = 32 + 180 = 212 The water starts to boil at 212◦ F.
  • 19. Linear relationships Note that if b > 0 (positive slope), then the change in y associated with the unit change in x is positive. In other words, there is a positive or direct relationship between x and y . If b < 0 (negative slope), then the change in y associated with the unit change in x is negative. That is, there is a negative or inverse relationship between x and y . If b = ∞, then even a very tiny change in x sends y through the roof: the graph is a vertical line. If b = 0, then no matter how much x changes, y does not change at all: the graph is a flat or horizontal line.
  • 20. Linear functions Let, x = Income and y = Consumption spending, and consider the following data on selected levels of x and y : Income ($) Consumption ($) 0 50 100 100 200 150 300 200 400 250
  • 21. Linear functions A simple visual inspection of the data shows that there is a linear relationship between x and y . From one row to the next, x increases in 100 and, as a result, y increases in 50. By taking data from any couple of rows, we can then determine the slope of this relationship. Let us take the first and the last row: x0 = 0, y0 = 50, x1 = 400, y1 = 250. Therefore: ∆x = x1 − x0 = 400 − 0 = 400 and ∆y = y1 − y0 = 250 − 50 = 200. The slope is then: ∆y 200 b= = = .5 ∆x 400 With this information, we know that the equation representative of the linear relationship between Income and Consumption spending has the following form: y = a + .5 x
  • 22. Linear functions However, we still don’t know the value of a, the vertical intercept. We need to determine a to completely pin down our linear equation. To determine a, we need information from any row in the data table. Let’s use the third row: y = a + .5 x, i.e. 150 = a + .5 × 200 = a + 100. This is a simple linear equation. To solve, subtract 100 from each side of the equation: 150 − 100 = a = 50 We got it! a = 50. So, we know that the linear equation representative of the data in the table is: y = 50 + .5 x With this linear function, we are ready determine any level of Consumption spending whenever the level of Income is given.
  • 23. Linear functions We can graph the points in the data table and then join them with a straight line. Or, alternatively, we can evaluate the linear equation y = 50 + .5 x twice and plot the resulting graph. A graphic calculator or a computer can do this. Or we can use this free online graph generator: http://rechneronline.de/function-graphs/.
  • 24. Linear functions Sometimes, we may want to use symbols other than x and y . For example, let C = Consumption and Y = Income. Then: C = 50 + .5 Y . Note that y = C is the dependent variable, because the value of C depends on the value of Y , the independent variable. The intercept a = 50 indicates that C = 0 when or if Y = $50. Finally, the slope b = .5 indicates that when Y increases by $1 (or one dollar), C increases by $.5 (or 50 cents). Note that b = .5 > 0, which means that C increases when Y increases, i.e. there is a positive or direct relationship between C and Y .
  • 25. Linear functions Note that the equation form or algebraic formulation conveys the same information and then more than the contained in a numerical data table. And it does so in a much more compact manner. Because algebra uses general symbols, rather than specific numbers or graphical objects, it is very powerful. A great mathematician said that, in math, we do not “understand” things: we just get used to them! So get used to the algebraic form of a linear functional relationship.
  • 26. Nonlinear functions In our course, we will not use the algebraic or equation form for nonlinear relationships between two variables, x and y . For them, we will only use graphs and intuition. Usually, when dealing with nonlinear relationships, intercepts are of little or no interest. Most of the interest focuses on the varying slopes.
  • 27. Nonlinear functions This graph shows a curve that is concave to the origin (the point in the plane where x = 0 and y = 0). Note that that, throughout, the slope of the curve is negative. When x is close to zero, the slope is a very small negative number (almost zero). Then, as x increases, the slope of the curve becomes increasingly negative and, when it hits the horizontal axis, it is very negative.
  • 28. Nonlinear functions This following graph shows also a downward-sloping curve, but this is convex to the origin. When x is close to zero, the slope is very high (it tends to infinity). Then, as x goes up, the curve’s slope becomes less and less negative. When it hits the horizontal axis, the slope of the curve is almost zero.
  • 29. Nonlinear functions This final graph shows a more complicated relationship between x and y . It is a curve that changes direction. When 0 < x < 1.5, 4.7 < x < 7.7 the slope of the curve is positive and for all other values of x in the graph, the slope is negative. Also note that the curve’s slope becomes zero at (x = 1.5, y = 4), (x = 4.7, y = 2), and (x = 7.7, y = 4).1 1 At these points the slope changes from positive to negative or vice versa. A flat or horizontal tangent line can be drawn to touch them. These points are either maxima or minima (the plural of maximum and minimum, i.e. the highest and lowest values of y ).