Table of Contents
Chapter 15
Introduction to Graphs
15.1 Introduction
Have you seen graphs in the newspapers, television, magazines, books etc.? The purpose of the graph is to show numerical facts in visual form so that they can be understood quickly, easily and clearly. Thus graphs are visual representations of data collected. Data can also be presented in the form of a table; however a graphical presentation is easier to understand. This is true in particular when there is a trend or comparison to be shown.
We have already seen some types of graphs. Let us quickly recall them here.
15.1.1 A Bar graph
A bar graph is used to show comparison among categories. It may consist of two or more parallel vertical (or horizontal) bars (rectangles).
The bar graph in Fig 15.1 shows Anu’s mathematics marks in the three terminal examinations. It helps you to compare her performance easily. She has shown good progress.
Fig 15.1
Bar graphs can also have double bars as in Fig 15.2. This graph gives a comparative account of sales (in `) of various fruits over a two-day period. How is Fig 15.2 different from Fig 15.1? Discuss with your friends.
Fig 15.2
15.1.2 A Pie graph (or a circle-graph)
A pie-graph is used to compare parts of a whole. The circle represents the whole. Fig 15.3 is a pie-graph. It shows the percentage of viewers watching different types of TV channels.
Fig 15.3
15.1.3 A histogram
A Histogram is a bar graph that shows data in intervals. It has adjacent bars over the intervals.
The histogram in Fig 15.4 illustrates the distribution of weights (in kg) of 40 persons of a locality.
What is the information that you gather from this histogram? Try to list them out.
15.1.4 A line graph
A line graph displays data that changes continuously over periods of time.
When Renu fell sick, her doctor maintained a record of her body temperature, taken every four hours. It was in the form of a graph (shown in Fig 15.5 and Fig 15.6).
We may call this a “time-temperature graph”.
It is a pictorial representation of the following data, given in tabular form.
The horizontal line (usually called the x-axis) shows the timings at which the temperatures were recorded. What are labelled on the vertical line (usually called the y-axis)?
Fig 15.5
Each piece of data is shown The points are then connected by line
by a point on the square grid. segments. The result is the line graph.
What all does this graph tell you? For example you can see the pattern of temperature; more at 10 a.m. (see Fig 15.5) and then decreasing till 6 p.m. Notice that the temperature increased by 3° C(= 40° C – 37° C) during the period 6 a.m. to 10 a.m.
There was no recording of temperature at 8 a.m., however the graph suggests that it was more than 37 °C (How?).
Example 1: (A graph on “performance”)
The given graph (Fig 15.7) represents the total runs scored by two batsmen A and B, during each of the ten different matches in the year 2007. Study the graph and answer the following questions.
(i) What information is given on the two axes?
(ii) Which line shows the runs scored by batsman A?
(iii) Among the two batsmen, who is steadier? How do you judge it?
Solution:
(i) The horizontal axis (or the x-axis) indicates the matches played during the year 2007. The vertical axis (or the y-axis) shows the total runs scored in each match.
(ii) The dotted line shows the runs scored by Batsman A. (This is already indicated at the top of the graph).
(iii) During the 4th match, both have scored the same number of 60 runs. (This is indicated by the point at which both graphs meet).
Fig 15.7
(iv) Batsman A has one great “peak” but many deep “valleys”. He does not appear to be consistent. B, on the other hand has never scored below a total of 40 runs, even though his highest score is only 100 in comparison to 115 of A. Also A has scored a zero in two matches and in a total of 5 matches he has scored less than 40 runs. Since A has a lot of ups and downs, B is a more consistent and reliable batsman.
(i) What information is given on the two axes?
(ii) From where and when did the car begin its journey?
(iii) How far did the car go in the first hour?
Fig 15.8
(iv) How far did the car go during (i) the 2nd hour? (ii) the 3rd hour?
(v) Was the speed same during the first three hours? How do you know it?
(vi) Did the car stop for some duration at any place? Justify your answer.
(vii) When did the car reach City Q?
Solution:
(ii) The car started from City P at 8 a.m.
(iii) The car travelled 50 km during the first hour. [This can be seen as follows.
At 8 a.m. it just started from City P. At 9 a.m. it was at the 50th km (seen from graph).
Hence during the one-hour time between 8 a.m. and 9 a.m. the car travelled 50 km].
(iv) The distance covered by the car during
(a) the 2nd hour (i.e., from 9 am to 10 am) is 100 km, (150 – 50).
(b) the 3rd hour (i.e., from 10 am to 11 am) is 50 km (200 – 150).
(v) From the answers to questions (iii) and (iv), we find that the speed of the car was not the same all the time. (In fact the graph illustrates how the speed varied).
(vi) We find that the car was 200 km away from city P when the time was 11 a.m. and also at 12 noon. This shows that the car did not travel during the interval 11 a.m. to 12 noon. The horizontal line segment representing “travel” during this period is illustrative of this fact.
(vii) The car reached City Q at 2 p.m.
Exercise 15.1
(a) What was the patient’s temperature at 1 p.m. ?
(c) The patient’s temperature was the same two times during the period given. What were these two times?
(d) What was the temperature at 1.30 p.m.? How did you arrive at your answer?
(e) During which periods did the patients’ temperature showed an upward trend?
2. The following line graph shows the yearly sales figures for a manufacturing company.
(a) What were the sales in (i) 2002 (ii) 2006?
(b) What were the sales in (i) 2003 (ii) 2005?
(c) Compute the difference between the sales in 2002 and 2006.
(d) In which year was there the greatest difference between the sales as compared to its previous year?
3. For an experiment in Botany, two different plants, plant A and plant B were grown under similar laboratory conditions. Their heights were measured at the end of each week for 3 weeks. The results are shown by the following graph.
(b) How high was Plant B after (i) 2 weeks (ii) 3 weeks?
(c) How much did Plant A grow during the 3rd week?
(d) How much did Plant B grow from the end of the 2nd week to the end of the 3rd week?
(e) During which week did Plant A grow most?
(f) During which week did Plant B grow least?
(g) Were the two plants of the same height during any week shown here? Specify.
4. The following graph shows the temperature forecast and the actual temperature for each day of a week.
(a) On which days was the forecast temperature the same as the actual temperature?
(b) What was the maximum forecast temperature during the week?
(c) What was the minimum actual temperature during the week?
(d) On which day did the actual temperature differ the most from the forecast temperature?
5. Use the tables below to draw linear graphs.
6. A courier-person cycles from a town to a neighbouring suburban area to deliver a parcel to a merchant. His distance from the town at different times is shown by the following graph.
(b) How much time did the person take for the travel?
(c) How far is the place of the merchant from the town?
(d) Did the person stop on his way? Explain.
(e) During which period did he ride fastest?
7. Can there be a time-temperature graph as follows? Justify your answer.
(i)
(ii)
(iii)
(iv)
15.2 Linear Graphs
A line graph consists of bits of line segments joined consecutively. Sometimes the graph may be a whole unbroken line. Such a graph is called a linear graph. To draw such a line we need to locate some points on the graph sheet. We will now learn how to locate points conveniently on a graph sheet.
15.2.1 Location of a point
The teacher put a dot on the black-board. She asked the students how they would describe its location. There were several responses (Fig 15. 9).
Fig 15. 9
Can any one of these statements help fix the position of the dot? No! Why not?
Think about it.
John then gave a suggestion. He measured the distance of the dot from the left edge of the board and said, “The dot is 90 cm from the left edge of the board”. Do you think John’s suggestion is really helpful? (Fig 15.10)
Fig 15.11
A is 90 cm from left edge and 160 cm from the bottom edge.
Rekha then came up with a modified statement : “The dot is 90 cm from the left edge and 160 cm from the bottom edge”. That solved the problem completely! (Fig 15.11) The teacher said, “We describe the position of this dot by writing it as (90, 160)”. Will the point (160, 90) be different from (90, 160)? Think about it.
Rene Descartes
(1596-1650)
His system of fixing a point with the help of two measurements, vertical and horizontal, came to be known as Cartesian system, in his honour.
15.2.2 Coordinates
Suppose you go to an auditorium and search for your reserved seat. You need to know two numbers, the row number and the seat number. This is the basic method for fixing a point in a plane.
Fig 15.12
Example 3: Plot the point (4, 3) on a graph sheet. Is it the same as the point (3, 4)?
Solution: Locate the x, y axes, (they are actually number lines!). Start at O (0, 0). Move 4 units to the right; then move 3 units up, you reach the point (4, 3). From Fig 15.13, you can see that the points (3, 4) and (4, 3) are two different points.
Fig 15.13
Fig 15.14
(i) (2, 1)
(ii) (0, 5)
(iii) (2, 0)
Also write
(iv) The coordinates of A.
(v) The coordinates of F.
Solution:
(i) (2, 1) is the point E (It is not D!).
(ii) (0, 5) is the point B (why? Discuss with your friends!). (iii) (2, 0) is the point G.
(iv) Point A is (4, 5) (v) F is (5.5, 0)
Example 5: Plot the following points and verify if they lie on a line. If they lie on a line, name it.
(i) (0, 2), (0, 5), (0, 6), (0, 3.5) (ii) A (1, 1), B (1, 2), C (1, 3), D (1, 4)
(iii) K (1, 3), L (2, 3), M (3, 3), N (4, 3) (iv) W (2, 6), X (3, 5), Y (5, 3), Z (6, 2)
Solution:
Fig 15.15
Note that in each of the above cases, graph obtained by joining the plotted points is a line. Such graphs are called linear graphs.
Exercise 15.2
(a) A(4, 0), B(4, 2), C(4, 6), D(4, 2.5)
(b) P(1, 1), Q(2, 2), R(3, 3), S(4, 4)
(c) K(2, 3), L(5, 3), M(5, 5), N(2, 5)
2. Draw the line passing through (2, 3) and (3, 2). Find the coordinates of the points at which this line meets the x-axis and y-axis.
3. Write the coordinates of the vertices of each of these adjoining figures.
4. State whether True or False. Correct that are false.
(i) A point whose x coordinate is zero and y-coordinate is non-zero will lie on the y-axis.
(ii) A point whose y coordinate is zero and x-coordinate is 5 will lie on y-axis.
(iii) The coordinates of the origin are (0, 0).
15.3 Some Applications
In everyday life, you might have observed that the more you use a facility, the more you pay for it. If more electricity is consumed, the bill is bound to be high. If less electricity is used, then the bill will be easily manageable. This is an instance where one quantity affects another. Amount of electric bill depends on the quantity of electricity used. We say that the quantity of electricity is an independent variable (or sometimes control variable) and the amount of electric bill is the dependent variable. The relation between such variables can be shown through a graph.
Think, Discuss and Write
The number of litres of petrol you buy to fill a car’s petrol tank will decide the amount you have to pay. Which is the independent variable here? Think about it.
Example 6: (Quantity and Cost)
The following table gives the quantity of petrol and its cost.
Plot a graph to show the data.
Solution: (i) Let us take a suitable scale on both the axes (Fig 15.16).
(ii) Mark number of litres along the horizontal axis.
(iii) Mark cost of petrol along the vertical axis.
(iv) Plot the points: (10,500), (15,750), (20,1000), (25,1250).
(v) Join the points.
We find that the graph is a line. (It is a linear graph). Why does this graph pass through the origin? Think about it.
This graph can help us to estimate a few things. Suppose we want to find the amount needed to buy 12 litres of petrol. Locate 12 on the horizontal axis.
Follow the vertical line through 12 till you meet the graph at P (say).
From P you take a horizontal line to meet the vertical axis. This meeting point provides the answer.
This is the graph of a situation in which two quantities, are in direct variation. (How ?).
In such situations, the graphs will always be linear.
TRY THESE
In the above example, use the graph to find how much petrol can be purchased for Rs 800.
Example 7: (Principal and Simple Interest)
A bank gives 10% Simple Interest (S.I.) on deposits by senior citizens. Draw a graph to illustrate the relation between the sum deposited and simple interest earned. Find from your graph
(a) the annual interest obtainable for an investment of ` 250.
(b) the investment one has to make to get an annual simple interest of ` 70.
Solution:
TRY THESE
Is Example 7, a case of direct variation?
(i) Scale : 1 unit = ` 100 on horizontal axis; 1 unit = ` 10 on vertical axis.
(ii) Mark Deposits along horizontal axis.
(iii) Mark Simple Interest along vertical axis.
(iv) Plot the points : (100,10), (200, 20), (300, 30), (500,50) etc.
(v) Join the points. We get a graph that is a line (Fig 15.17).
(a) Corresponding to ` 250 on horizontal axis, we get the interest to be ` 25 on vertical axis.
(b) Corresponding to ` 70 on the vertical axis, we get the sum to be ` 700 on the horizontal axis.
Example 8: (Time and Distance)
(i) the time taken by Ajit to ride 75 km. (ii) the distance covered by Ajit in 3 hours.
Solution:
(i) Scale: (Fig 15.18)
Horizontal: 2 units = 1 hour
Vertical: 1 unit = 10 km
(ii) Mark time on horizontal axis.
(iii) Mark distance on vertical axis.
(iv) Plot the points: (1, 30), (2, 60), (3, 90), (4, 120).
Fig 15.18
(v) Join the points. We get a linear graph.
(a) Corresponding to 75 km on the vertical axis, we get the time to be 2.5 hours on the horizontal axis. Thus 2.5 hours are needed to cover 75 km.
(b) Corresponding to 3 hours on the horizontal axis, the distance covered is 105 km on the vertical axis.
Exercise 15.3
1. Draw the graphs for the following tables of values, with suitable scales on the axes.
(a) Cost of apples
(i) How much distance did the car cover during the period 7.30 a.m. to 8 a.m?
(ii) What was the time when the car had covered a distance of 100 km since it’s start?
(c) Interest on deposits for a year.
What have we Discussed?
1. Graphical presentation of data is easier to understand.
2. (i) A bar graph is used to show comparison among categories.
(ii) A pie graph is used to compare parts of a whole.
(iii) A Histogram is a bar graph that shows data in intervals.
3. A line graph displays data that changes continuously over periods of time.
4. A line graph which is a whole unbroken line is called a linear graph.
5. For fixing a point on the graph sheet we need, x-coordinate and y-coordinate.
6. The relation between dependent variable and independent variable is shown through a graph.