Graph Review

advertisement
GRAPH REVIEW
Throughout this course, you often need to read and draw graph. The purpose of these
class notes is to review the basic aspects of graphing that will be used throughout the
course. How to read and draw a two variable graph is discussed below. The topics that
you should master are:
1) Coordinate System
2) Linear Graph
3) Non-linear Graph
1.
Coordinate System
We can use the coordinate system to summarize the relationship between 2 variables as
follows.
y
+
(4,7)
(-3,3)
x
y
+
-
values
x
origin (0,0)
As far as which variable should be in the y-axis or on the x-axis (if there is causation
between two variables, i.e. a change in one variable determines the change in another),
the convention is that the y-variable or y-axis is the dependent variable, whereas the xvariable or x-axis is the independent variable. In other words, the change in x will result
in the change in y, not the other way around. However, the readers should take the
convention with caution because sometimes we do not follow this convention in
economics. For example, we put quantity – a dependent variable – in the x-axis and
price – an independent variable – in the y-axis. On the other hand, we put consumption
– a dependent variable – in the y-axis and income – an independent variable – in the xaxis.
2.
Linear Graph
When the two variables have a linear relationship (an increase in one unit of x will result
in a constant increase in y at any value of x), we can use the straight line to summarize
the relationship between the two as follows:
y = ax + b
Where y = variable in the y-axis
x = variable in the x-axis
a = slope of the linear graph (constant value) =
y
x
b = vertical intercept of the linear graph (the value of y when x is 0)
Hence, we can represent the above equation using a linear graph as follows.
y
(7,16)
y
(2,4)
slope = a =
y 16  4 12 4  16



x
72
5
27
x
b
x
Now, let us compare different graphs.
2.1
Different intercepts but same slope
y
y = ax + b
y = ax + b’
x
intercept b > b’
2.2
Upward sloping vs. downward sloping
y
y
y = ax + b
y
y
x
x
slope a > 0  upward sloping
positively related
directly related
x
y = a’x + b
x
slope a’ < 0  downward sloping
negatively related
inversely related
2
2.3
Steeper vs. flatter slopes
y = ax + b
y
y
y = a’x + b
y = ax + b
y = a’x + b
x
x
slope a > a’ and |a| > |a’|
2.4
slope a < a’ and |a| > |a’|
Horizontal vs. vertical slopes
y
y
x = constant
y = constant
x
x
slope =
0
0
?
slope =
x and y are not related
3.
?

0
x and y are not related
Non-linear Graph
When the two variables have a non-linear relationship (an increase in one unit of x will
result in a non-constant increase in y depending on the value of x), we can use a curve
instead of a straight line to summarize the relationship between the two where the slope
at any given point on the graph is equal to the change in y with respect to the change in x,
or the derivative of y with respect to x (dy/dx), and is represented by a tangent line to
that point as shown in the graph below.
y
x
3
Do the following Examples 1, 2, 3, 4, 5, 6, and 7.
Example 1:
Linear Equation 1
There are two sets of x, y points on a straight line in a two-variable graph with y on the
vertical axis and x on the horizontal axis. If one set of points was (0, 75) and the other set
of points was (75, 25), the linear equation for the line would be:
a) y = 75 - .66x
c) y = 75 - 1.5x
b) y = 75 - .5x
d) y = 75 - .33x
Answer: Choose (a). Recall y = ax + b, here we have:
y
25  75
 50
2
 x  75 
 x  75    x  75
75  0
75
3
Example 2:
Linear Equation 2
In a linear equation for price and quantity supplied, the value of the vertical intercept is
16 and the slope of the line is 5. If the price is $296, the quantity supplied is:
a) 144
b) 56
b) 150
d) 24
Answer: Choose (c). Recall y = ax + b and the convention is that price is the y-axis even
though it is an independent variable, whereas quantity is the x-axis even though it is a
dependent variable. Thus, we have:
p = 5qs + 16 
Example 3:
296 = 5qs + 16  5qs = 280
qs = 56
Linear Equation 3
In a linear equation for price and quantity demanded, the vertical intercept is 1000. If
you know that when price is $175, the quantity demanded is 55, then the slope of the line
is:
a) 5
c) 15
b) -5
d) -15
Answer: Choose (d). Recall y = ax + b and the convention is that price is the y-axis,
whereas quantity is the x-axis. Thus, we have:
p = aqd + 1000  175 = 55a + 1000
55a = -825
a = -15
4
Example 4:
Linear Equation 4
In a linear equation relating income and consumption, you know that the intercept is
$1,000 and the slope of the line is .4. If income is $20,000, then consumption is:
a) $8,000
c) $10,000
b) $9,000
d) $11,000
Answer: Choose (b). Recall y = ax + b and the convention is that consumption (c) – a
dependent variable – is the y-axis, whereas income (I) – an independent variable – is the
x-axis. Thus, we have:
c = .4I + 1000  c = .4 x 20000 + 1000 = 8000 + 1000 = 9000
Example 5:
Comparing Slopes
variable y
24
(1)
12
8
(2)
(3)
variable x
5.1
In line (1) on the above graph, the variable x and y are:
a) nonlinearly related
c) negatively related
5.2
b) negatively related
d) nonlinearly related
The slope of line (2) on the above graph is:
a) 0
c) .75
5.4
b) positively related
d) inversely related
In line (3) on the above graph, the variable x and y are:
a) directly related
c) positively related
5.3
16
b) .66
d) 1.50
The linear equation for line (3) on the above graph is:
a) y = 24 – 1.5x
c) y = 24 - .66x
b) y = 16 - .5x
d) y = 24 - .75x
Answer: Choose (b), (b), (a), and (a) for 5.1-5.4 respectively. Recall y = ax + b and the
convention is that a dependent variable is the y-axis (unless it is price), whereas an
independent variable is the x-axis (unless it is quantity). From the graph, we have:
5
variable y
24
(1) slope > 0  positively or directly related
(2) slope = 0  not related
12
8
slope < 0  negatively or inversely related
(3)
16
variable x
In addition, for line (3) we have:
y  24  a  x  24 
Example 6:
24  0
3
 x  24   x
0  16
2
Graph and Table
D
$5
Price
4
3
2
C
B
A
1
2
4
6
8 10 12 14 16
Bushels of corn (in thousands)
Refer to the table below that shows the quantities of corn consumers will purchase at
various prices (hypothetical data).
Price per bushel
Bushels demanded per year
$5
4
3
2
1
2,000
4,000
7,000
11,000
16,000
From an economist’s perspective, which line in the above graph best represents the data
in the table?
a) A
c) C
b) B
d) D
Answer: Choose (b). From the table, we have
6
Price per bushel
Bushels demanded per year
$5
4
3
2
1
Example 7:
price ↓  bushels ↑
negatively related
downward sloping
2,000
4,000
7,000
11,000
16,000
line B
Reading A Table
This question is based on the following four data sets, (1), (2), (3), and (4). In each set,
the independent variable is in the left column and the dependent variable is in the right
column.
(1)
A
0
7
14
21
7.1
(2)
B
6
5
4
3
G
0
2
4
6
H
3
5
7
9
b) 2 and 3
d) 2 and 4
b) A = .14B
d) B = 6 - .14A
b) .20
d) 10
The vertical intercept is 12 in the above data set:
a) 1
c) 3
7.5
F
12
10
8
6
The slope of the line for data set 2 above is:
a) .10
c) 5
7.4
E
0
1
2
3
The linear equation for data set 1 above is:
a) B = 7A
c) B = 6 - 7B
7.3
D
10
20
30
40
(4)
There is an inverse relationship between the independent and dependent variable
in the above data sets:
a) 1 and 3
c) 3 and 4
7.2
C
2
3
4
5
(3)
b) 2
d) 4
The linear equation for the above data set 4 is:
a) G = 3 + 2H
c) G = 3 + 1H
b) H = 3 – 1G
d) H = 3 + 1G
7
Answer: Choose (a), (d), (d), (c), and (d) for 7.1-7.5 respectively. Recall y = ax + b and
the convention is that a dependent variable (in the right columns – B, D, F, and H) is the
y-axis (unless it is price), whereas an independent variable (in the left columns – A, C, E,
and G) is the x-axis (unless it is quantity). From the table, we have:
(1)
A
0
7
14
21
x
(2)
B
6
5
4
3
y
x↑y↓
inverse
b=6
a
65
1

07
7
B = 6 - .14A
C
2
3
4
5
x
(3)
D
10
20
30
40
y
x↑y↑
direct
b = n.a.
a
10  20
 10
23
D = b + 10C
E
0
1
2
3
x
(4)
F
12
10
8
6
y
x ↑ y ↓
inverse
b=12
a
12  10
 2
0 1
F = 12 - 2E
G
0
2
4
6
x
H
3
5
7
9
y
x↓y↑
direct
b=3
a
35
1
02
H = 3 + 1G
The idea here is that we can quickly identify the vertical intercept b from the table by
looking for the coordinate where x = 0.
8
Download