Graph
Graph
CHAPTER
Introduction to Graphs
1
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
2022-23
Fig 15.2 different from Fig 15.1? Discuss with your friends.
2022-23
232 MATHEMATICS
Fig 15.2
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.
2022-23
INTRODUCTION TO GRAPHS 233
The histogram in Fig 15.4 illustrates the distribution of weights (in kg) of 40
persons of a locality.
Fig 15.4
There are no gaps between bars, because there are no gaps between the intervals.
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.
Temperature(°C) 37 40 38 35
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)?
2022-23
234 MATHEMATICS
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?).
2022-23
(ii) The dotted line shows the runs scored by Batsman A. (This is already
indicated at the top of the graph).
2022-23
INTRODUCTION TO GRAPHS 235
2022-23
Fig 15.7
2022-23
236 MATHEMATICS
Solution:
(i) The horizontal (x) axis shows the time. The vertical (y) axis shows the distance
of the car from City P.
(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
1. The following graph shows the temperature of a patient in a hospital,
recorded every hour.
(a) What was the patient’s temperature at 1 p.m. ?
(b) When was the patient’s temperature 38.5° C?
2022-23
2022-23
INTRODUCTION TO GRAPHS 237
(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.
2022-23
238 MATHEMATICS
2022-23
Number of Women 11.3 11.9 13 13.6 12.8
2022-23
INTRODUCTION TO GRAPHS 239
(iii) (iv)
2022-23
240 MATHEMATICS
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)
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.
2022-23
Rene Descartes (1596-1650)
Fig 15.13
(v) The coordinates of F. Fig 15.14
2022-23
242 MATHEMATICS
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:
(i) (ii)
These lie on a line. These lie on a line. The line is AD.
The line is y-axis. (You may also use other ways
of naming it). It is parallel to the y-axis
(iii) (iv)
Fig 15.15
These lie on a line. We can name it as KL These lie on a line. We can name
or KM or MN etc. It is parallel to x-axis it as XY or WY or YZ etc.
Note that in each of the above cases, graph obtained by joining the plotted points
is a line. Such graphs are called linear graphs.
2022-23
INTRODUCTION TO GRAPHS 243
EXERCISE 15.2
1. Plot the following points on a graph sheet. Verify if they lie on a
line (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).
Solution: (i) Let us take a suitable scale on both the axes (Fig 15.16).
Cost (in
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 ` 800.
2022-23
INTRODUCTION TO GRAPHS 245
WeSum
get adeposited
table of values.
Simple interest for a year
100110
100
Deposit (in `)
` 100 ` =200
` 10
300 to follow:
Steps 500 1000
100 Find the quantities to be plotted as Deposit and SI.
Annual S.I. (in `) 10 20 30 the quantities
Decide 50 to be100
taken on x-axis and on y-axis.
200110 Choose a scale.
` 200 ` = ` 20 Plot points.
100 Join the points.
300110
` 300 ` = ` 30
100
500110
(i) ` 500
Scale ` on horizontal
: 1 unit = ` 100 = ` axis;
50 1 unit = ` 10 on vertical axis.
100
(ii) Mark Deposits along horizontal axis.
(iii) ` 1000
Mark 100 axis.
Simple Interest along` vertical
(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 TRY THESE
axis.
(b) Corresponding to ` 70 on the vertical axis, Is Example 7, a case of direct variation?
we get the sum to be ` 700 on the
horizontal axis.
2022-23
246 MATHEMATICS
Fig 15.17
Example 8: (Time and Distance)
Ajit can ride a scooter constantly at a speed of 30 kms/hour. Draw a time-distance
graph for this situation. Use it to find
1
(i) the time taken by Ajit to ride 75 km. (ii) the distance covered by Ajit in 3
hours. 2
Solution:
Hours of ride Distance covered
hour
30 km
hours
2 × 30 km = 60 km
hours
3 × 30 km = 90 km
hours
4 × 30 km = 120 km and so on.
2022-23
INTRODUCTION TO GRAPHS 247
Fig 15.18
EXERCISE 15.3
1. Draw the graphs for the following tables of values, with suitable scales on the axes.
(a) Cost of apples
Number of apples 1 2 3 4 5
Cost (in `)
5 10 15 20 25
2022-23
248 MATHEMATICS
(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.
Is it a linear graph?
Is it a linear graph?
A line graph displays data that changes continuously over periods of time.
A line graph which is a whole unbroken line is called a linear graph.
For fixing a point on the graph sheet we need, x-coordinate and y-coordinate.
The relation between dependent variable and independent variable is shown through a graph.
2022-23