Title: GRAPHISH: THE LANGUAGE OF GRAPHS
1GRAPHISH THE LANGUAGE OF GRAPHS
2(No Transcript)
3Graphing A brief review
- Variables Xs and Ys
-
- Functions Yf(X)
-
- Y is a function of X
-
- Y dependent (endogenous) variable
-
- X independent (exogenous) variable.
4Number Lines
40
30
20
B
10
A
0
- 3
- 2
- 10
- 20
Horizontal number line
- 30
- 40
Vertical number line
5Coordinate Geometry
Y
4 3 2 1
(X, Y)
X
-4 -3 -2 -1 1 2 3 4
O
-1 -2
6Coordinate Geometry
- The figure above shows the (rectangular)
coordinate plane. The horizontal line is called
the x-axis and the perpendicular vertical line is
called the y-axis. The point at which these two
axes intersect, designated O, is called the
origin. The axes divide the plane into four
quadrants. 1,2 ,3 and 4, as shown.
7Coordinate Geometry
- Each point in the plane has an x-coordinate and a
y-coordinate. A point is identified by an ordered
pair (x, y) of numbers in which the x-coordinate
is the first number and the y-coordinate is the
second number. - (4,5) means that the point is 4 units to the
right of the y-axis ( that is x4) and 5 units
above the x-axis ( that is y5). The origin has
coordinates (0,0)
8Coordinate System
40
30
B
(1, 20)
20
A
10
(4, 5)
0
1
2 3
4
5
9From Table to Graph
Quantity of pens
3.00
2.50
2.00
Price of pens (in dollars)
1.50
1.00
.50
0
1 2 3 4 5 6 7 8
Quantity of pens bought
10Linear and Nonlinear Curves
6
5
4
Price (in dollars)
Price (in dollars)
3
2
1
0
10
20
30
40
Quantity
Quantity
Linear Curve
Nonlinear Curve
11Graphs
- (X,Y)
- Independent variable is measured on the
horizontal axis - Dependent variable is measured on the vertical
axis. - Slope (straight-Line Graphs)
- tells how much Y will change every time X
changes by one unit - slope of a straight line
- change in vertical variable/change in
horizontal variable. - rise / run
- Linear Equations
- Y a bX
- a is vertical intercept, it determines the
graph position. - b is the slope. It can be positive, negative
or 0.
12Equations and Graphs
10
Y
- A linear graph can be expressed as an equation in
the form y mx b where m is the slope and b
is the vertical intercept. - The slope of the blue line is 8/-4 - 2 and the
intercept is 8, so the equation is y - 2x 8. - The slope of the red line is 8/-8. The intercept
is 8, so its equation is y -x 8.
9
8
7
6
5
4
3
2
1
0
2
1
4
6
3
5
7
8
9
13Slopes of Curves
c
10
Slope 1
9
d
Rise 1
A
8
Slope 4
Run 1
Slope - 4
7
Rise 4
6
Rise - 4
5
B
4
Run 1
Run 1
e
Slope -0.5
3
L
a
Rise -1
2
Slope 1
Run 2
E
b
1
Rise 1
e
Run 1
0
1 2 3 4 5 6
7 8 9 10 11
14Positive relationship v.s. Negative relationship
- Suppose YGPA
- Xnumber of hours spent
studying per week -
- As X increases, what do you expect to happen to
Y? - As X increases, Y increases.
- positive (or direct) relationship
- Suppose YGPA
- Xnumber of hours spent
watching TV -
- As X increases, what do you expect to happen to
Y? - As X increases, Y decreases.
- negative (or indirect) relationship
15Inverse and Direct Relationships
Direct relationship When X goes up, Y goes
up When X goes down, Y goes down
Inverse relationship When X goes up, Y goes
down When X goes down, Y goes up
X
X
Y
Y
16Example telephone bills
- Let Ycost of an international phone call
- Let Xlength of call in minutes
- 2 initial connection fee
- 50 cents per minute
- functional relationship between X and Y
-
- Y f(x) 2 .5 X
17- Pick up the values of X and Y
18Solve for the linear equation
- Step (1) Pick any two points.
- (X2,Y2) (1, 2.5) (X1,Y1) (0, 2)
- Step (2) Plug into formula
- slope ?Y/?X
- (Y2 - Y1)/(X2 - X1)
- (2.5 2)/(1 0)
- .5/1
- .5
- INTERPRETING THE SLOPE
- Slope tell us what happens to Y as X increases by
ONE unit. - A Linear Equation
- X-intercept
- Y-intercept
- Equation of a line Y a bX
- In our PHONE CALL EXAMPLE
- a 2 and b .5
- So, Y 2 .5 X
19Straight Lines with Different Slopes and Vertical
Intercepts
20Straight Lines with Different Slopes and Vertical
Intercepts
21Example on advertising and sales
Table A.1 Advertising and Sales at Len Harrys
22Example on advertising and sales
23Solve for the straight line function
- First, calculating slope
- Step 1, pick up 2 points
- (X1,Y1)(2,46), (X2,Y2)( 6,58)
- Step 2, plug into formula
- Slope (Y2 - Y1)/ (X2 X1)
- (58-46)/(6-2)
- 12 / 4
- 3
- b
- So Y a 3X, plug in any point value for X
and Y. e.g. (2,46) - 46 a 3x2,
- So a 46 6 40,
- And Y 40 3X
24Presenting Information Visually
(a) Line graph
(c) Pie chart
(b) Bar graph