Showing posts with label scale of plotting. Show all posts
Showing posts with label scale of plotting. Show all posts

Thursday, March 2, 2017

Chapter 25.4 - Pictorial representation of Data - Histograms

In the previous section we completed the discussion on Bar graphs. We saw that bar graphs correspond to frequency distribution tables. In a similar way, Histograms correspond to Grouped frequency distribution tables. We can write this:
• Bar graphs → Frequency distribution tables
• Histograms → Grouped Frequency distribution tables
We have learned some basics about histograms in earlier classes. Details here. In the following discussion, we will see more details:

Histograms

Given below is a ‘grouped frequency distribution table’. It represents the weights of 36 students in a class.
Fig.25.5
• We see that the class-intervals are: 30.5-35.5, 35.5-40.5, ..., 55.5-60.5
• There must be one rectangle (a rectangle can be considered as a ‘bar with a width’) for each class-interval
• The base of all the rectangles should rest on the x-axis 
• For histograms, we cannot give ‘any convenient’ width for the rectangles. There must be a fixed scale. In this example, while drawing on a fresh graph paper, the scale '1 cm = 5 kg' will be convenient.
• Once we fix this scale, we can calculate the width that should be given to the rectangles.
• The class-interval 30.5-35.5 has a class width of 5 kg. So, according to the scale ‘1 cm = 5kg’, the width of the rectangle will be 1 cm
• All the class-intervals have the same width of 5 kg. So all the rectangles will be 1 cm wide
• The class-intervals are continuous. That is., each class-interval begins at the exact point where it’s preceding class ends.
• So there are no gaps between class-intervals
• Thus, in the histogram, there will not be any gaps between the rectangles
• Just as in the bar graph, in histograms also, the height of the bars are taken from the frequency column of the table.
• To mark the heights, we need to fix a suitable scale for the y-axis also.
• In this example, while drawing on the graph paper, the scale '1 cm = 5 numbers' will be convenient.
• The completed histogram is shown below in fig.25.6:
Fig.25.6
• Note that, since there is no gap between the individual rectangles, the whole graph appears like a solid fig. 
• Consider the areas of the various rectangles. 
    ♦ The rectangle which contain greater frequency will be having greater area 
    ♦ The rectangle which contain lesser frequency will be having lesser area
• But the widths of all the rectangles are same. Height is the variable. So we can write this:
    ♦ The rectangle which contain greater frequency will be having greater height 
    ♦ The rectangle which contain lesser frequency will be having lesser height


Let us see another case:
A teacher takes maths classes for 2 classes in STD IX of a school. There are a total of 90 students in the 2 classes. She wanted to make an assessment of their performance in an exam. So she tabulated the marks obtained by the students in various class intervals:
Fig.25.7
• Looking at the table, we can see that:
    ♦ the first interval has a width of 20
    ♦ the last interval has a width of 30
    ♦ All other intervals in between have width 10
• Why would she use different widths like this?
    ♦ Ans: She found that, only a very few students scored less than 20. 
So if she gives two intervals 0-10 and 10-20, the number of students in each of those two intervals will be still less. So she decided to put those two intervals together
    ♦ Similarly, she found that, only a very few students scored greater than 70. 
So if she gives three intervals 70-80, 80-90 and 90-100, the number of students in each of those three intervals will be still less. So she decided to put those three intervals together 
• Thus we get the table shown in fig.25.7 above. Such a table may give a rough assessment about the students' performance. But when we draw a histogram, the results will go wrong.

Let us draw a histogram based on the table in fig.25.7 and find it's drawbacks:
Fig.25.8
■ Consider the first rectangle. It has width 20 and height 7. So it's area = 20×7 = 140 sq.units
• Consider the second rectangle. It has width 10 and height 10. So it's area = 10×10 = 100 sq.units
• The first rectangle has greater area. And second rectangle has lesser area.
• We have seen above that, the area of rectangles are proportional to it's frequency
• This would mean that, the first rectangle has greater frequency than the second
• But this is not the reality. The frequency 7 of first rectangle is less than the frequency 10 of the second rectangle.
■ Consider the last rectangle. It has width 30 and height 8. So it's area = 30×8 = 240 sq.units
• Consider the second last rectangle. It has width 10 and height 15. So it's area = 10×15 = 150 sq.units
• The last rectangle has greater area. And second last rectangle has lesser area.
• We have seen above that, the area of rectangles are proportional to it's frequency
• This would mean that, the last rectangle has greater frequency than the second last
• But this is not the reality. The frequency 8 of last rectangle is less than the frequency 15 of the second last rectangle. 
■ So the histogram is giving misleading results. We have to adjust the heights of the rectangles. Let us see how this can be done:
■ Consider the first rectangle in fig.25.8. We want to reduce it's height. For that, the following procedure is adopted:
1. Divide the rectangle into equal rectangles
2. Width of each of those equal rectangles should be equal to the smallest class width in the given problem
3. The smallest class width in the given problem is 10
4. So divide the first rectangle into equal rectangles, each of width 10
5. How many such equal rectangles will we get? 
The answer is: width of rectangle⁄smallest width = 20⁄10 = 2
6. So the first rectangle is divided into 2 equal rectangles of width 10 each. This is shown by red dotted lines in fig.25.9 below:
Fig.25.9
7. Now distribute the frequency uniformly among the 2 new rectangles. That means, the frequency associated with the first large rectangle in fig.25.8 is now divided equally among the 2 new rectangles in fig.25.9 
8. So the frequency of each of the new rectangles in fig.25.9 = 7⁄2  = 3.5
9. So height of the 2 new equal rectangles in fig.25.9 = 3.5 units
■ Consider the last rectangle in fig.25.8. We want to reduce it's height. For that, the same procedure is adopted:
1. Divide the rectangle into equal rectangles
2. Width of each of those equal rectangles should be equal to the smallest class width in the given problem
3. The smallest class width in the given problem is 10
4. So divide the last rectangle into equal rectangles, each of width 10
5. How many such equal rectangles will we get? 
The answer is: width of rectangle⁄smallest width = 30⁄10 = 3
6. So the last rectangle is divided into 3 equal rectangles of width 10 each. This is shown by green dotted lines in fig.25.9 above
7. Now distribute the frequency uniformly among the 3 new rectangles. That means, the frequency associated with the last large rectangle in fig.25.8 is now divided equally among the 3 new rectangles in fig.25.9 
8. So the frequency of each of the new rectangles in fig.25.9 = 8⁄3 = 2.67
9. So height of the 3 new equal rectangles in fig.25.9 = 2.67 units
The dashed lines in fig.25.9 above shows the 'equal division'. They need not be shown in the final histogram. But we do need to make a modified table as shown below:
Fig.25.10
The final histogram is shown in fig.25.11 below:
Fig.25.10 

Now we will write the steps in general so that we can apply it to all such cases:
1. Find the smallest width in the problem
2. Leave all the intervals with the smallest width as such
3. Take the rectangles with the higher widths
4. Divide each of them into equal rectangles
5. Width of all those equal rectangles should be the 'smallest width' in the problem
6. So number (n) of 'equal rectangles' in each large rectangle = width⁄smallest width
7. Divide the frequency uniformly among the new 'equal rectangles'
8. So new frequency = original frequency⁄n 
Once we understand the above basic steps, the steps can be further condensed:
1. Find the smallest width in the problem
2. Leave all the intervals with the smallest width as such
3. New frequency of each of the other intervals is given by:
original frequency of that interval⁄n 
Where n = width of that interval⁄smallest width in the problem

In the next section we will see some solved examples.


PREVIOUS      CONTENTS       NEXT

                        Copyright©2017 High school Maths lessons. blogspot.in - All Rights Reserved

Monday, February 27, 2017

Chapter 25.3 - Pictorial representation of Data - Bar graphs

In the previous section we completed the discussion on 'how data is represented by tables'. In this section, we will see how data can be represented by graphs. It is said that one picture is better than a thousand words. This is very true when data is represented by pictorial representations like graphs and pie charts. The main features of the data will easily become clear when using graphs. We will now see various types of graphs.

Bar Graphs

We have already learned about bar graphs in our earlier classes. Details here. Let us look at their main features:
• All bars have the same width
• The spacing between all bars are the same
• The base of each bar rests on the horizontal axis. That is., the ‘x-axis’
• Variables (eg: expenses, sales, profits etc.,) are marked on the x-axis
• The values of the variables are marked on the vertical axis. That is., the ‘y-axis’
• The heights of the bars depend upon the values taken by the variables

Let us see an example:
In a particular section of Class IX, 40 students were asked about the months of their birth and the following graph was prepared from the data so obtained:
Observe the bar graph given above and answer the following questions:
(i) How many students were born in the month of November?
(ii) In which month were the maximum number of students born? 

Solution:
The variable in this problem is ‘Month of Birth’. For getting the value of the variable at a particular point (here, point is the name of the month), we look at the corresponding point on the y-axis. The white horizontal dotted lines will help us to find this value from the y-axis.
Part (i) 
1. First we take the point ‘November’ on the x-axis. 
2. The height of the bar at November is 4. So the value of the variable is 4
3. Thus we get the answer: 4 students were born in the month of november
Part (ii)
1. Here we have to find the maximum y value first. Looking at the y-axis, we find that, the maximum y value is 6. 
2. The x value corresponding to it is August
3. Thus we get the answer: The Maximum number of students were born in the month of August.

Now we will see an example which demonstrates the construction of a bar graph:
A family with a monthly income of Rs 20,000 had planned the following expenditures per month under various heads:
Draw a bar graph for the data above.
Solution:
We can construct the bar graph by the following steps:
• There must be one bar for each item
• Width of all bars must be the same
• Spacing between all bars must be the same
• Height of each bar will be equal to the corresponding value in the ‘Expenditure’ column of the given data table
• Each unit on the y-axis represents Rs. 1000
    ♦ Example: The height of education column is 5 units. That means, the actual expenditure is Rs. 5000
• The completed graph is shown below:

So we have completed the discussion on bar graphs. We can write this:
• First we obtain the raw data from the field
• Next we form the ‘frequency distribution table’
• Finally, based on the frequency distribution table, we construct the bar graph
■ So we can say: Bar graph correspond to ‘frequency distribution table’
• For example, in the first section of this chapter, we saw a frequency distribution table related to the marks scored by students in a class. See it here. And just below that, the corresponding bar graph was given.

Now we will see some solved examples
Solved example 25.10
A survey conducted by an organisation for the cause of illness and death among the women between the ages 15 - 44 (in years) worldwide, found the following figures (in %):

(i) Represent the information given above graphically.
(ii) Which condition is the major cause of women’s ill health and death worldwide?
Solution:
Part (i)
The given data can be represented graphically using a 'Bar graph' as shown in fig.25.2 below.
Fig.25.2

Each item should be given a bar.
A sample bar:
• Consider item no.2: Neuropsychiatric conditions. It's frequency in the given data table is 25.4. 
• In the bar graph, we see that the bar of this item has a height just above the horizontal line through 25. The excess above the horizontal line is '0.4'. 
• The reader is advised to draw the whole graph himself/herself on a fresh graph paper.  
• When a suitable scale is fixed, the thin subdivision lines in the graph paper will enable us to mark the correct heights of the bars
Part (ii)
The tallest bar is that of item 1. So we can write this:

Reproductive health conditions is the major cause of women’s ill health and death worldwide

Solved example 25.11
The following data on the number of girls (to the nearest ten) per thousand boys in different sections of Indian society is given below:

(i) Represent the information above by a bar graph.

(ii) In the classroom discuss what conclusions can be arrived at from the graph.
Solution:
The required bar graph is shown in fig.25.3 below:
Fig.25.3
A sample bar:
• Consider item no.5: Non-backward districts. It's frequency in the given data table is 920. 
• In the bar graph, we see that the bar of this item has a height exactly same as the horizontal line through 920.
• The reader is advised to draw the whole graph himself/herself on a fresh graph paper.  
• When a suitable scale is fixed, the thin subdivision lines in the graph paper will enable us to mark the correct heights of the bars
• But in this case, we will not need to consider the subdivision lines. If the scale chosen is “10 no. of girls = 1 cm”, the top edge of all the bars will fall on main lines of the graph paper
Part (ii)
We can arrive at many conclusions from the above bar graph:
• Surveys were conducted separately on different sections of the society
• Number of girls and number of boys were obtained from each section
• Based on those numbers, the following result was obtained for each section:
    ♦ The number of girls per 1000 boys
• According to World health organisation (WHO) guide lines, If there are 1000 boys, the number of girls should be greater than 1000
    ♦ But the above survey results show that this is not achieved
• In some sections, the number of girls is far less than 1000. Example: Non SC/ST and Non-backward districts. There are only 920 girls per 1000 boys.
• The condition is even worse in urban section. The number is only 910. It has the shortest bar.

• In Scheduled tribe section, there are 970 girls per 1000 boys. So it is a more desirable result obtained so far. It has the tallest bar.

Solved example 25.12
Given below are the seats won by different political parties in the polling outcome of a state assembly elections:

(i) Draw a bar graph to represent the polling results.
(ii) Which political party won the maximum number of seats?
Solution:
The required bar graph is shown in fig.25.4 below:
Fig.25.4
A sample bar:
• Consider 'C':  It's frequency in the given data table is 37. 
• In the bar graph, we see that the bar of this item has a height between 30 and 40. It is nearly 40. That is., it is above the 'midpoint 35' between 30 and 40.
• The reader is advised to draw the whole graph himself/herself on a fresh graph paper.  
• When a suitable scale is fixed, the thin subdivision lines in the graph paper will enable us to mark the correct heights of the bars
• If the scale chosen is “10 seats = 1 cm”, the top edge of  bar of C will be 7 subdivisions above 30.

Part (ii)
The tallest bar is that of Party A. So it has won the election. The number of seats is 75

In the next section we will see histograms.


PREVIOUS      CONTENTS       NEXT



                        Copyright©2017 High school Maths lessons. blogspot.in - All Rights Reserved

Tuesday, March 8, 2016

Chapter 2.4 - Graphs for different Quantities

In the previous section we saw a Time-Distance graph. Now we will see another example for this type. Later we will see some other types of graphs and also how to plot points with precision.

The fig.2.16 below shows a Time-Distance graph. It shows the distance travelled by a car at various times. Unlike the previous example, we do not want a stop watch for this graph. An ordinary watch will serve the purpose. 
In a time distance graph, time is plotted along the x axis and distance is plotted along the y axis
Fig.2.16 Time Distance Graph

The car begins the travel from point A. The time when the car begins the journey is noted down. It is 7.00 hours. There are no details that we must show at times before 7.00. So 0.00 to 6.00 hours is avoided to save space. A cut line is given to indicate that irrelevant portion is avoided in the X axis. Let us see what all details we can obtain from the graph:

■ At 8.00, the location of the car is at B. The car has travelled 18 km.

■ At 9.00 the car is at C. It has travelled 60 km. During the one hour time from 8.00 to 9.00, the car was able to travel 60 – 18 = 42 km. This is much greater than the 18 km which the car was able to travel in the first hour of the journey.

■ Similarly the distance travelled in the third hour from 9.00 to 10.00 is 125 – 60 = 65 km. And in the fourth hour from 10.00 to 11.00 is 145 – 125 = 20 km.

■ The distances travelled in each hour is different. So the speed at which the car travelled in each hour was also different.

■ Fifth and sixth hours were resting time. The car did not travel even a small fraction of a km. We can know this from the horizontal portion of the graph from E to F. If there was any travel, the portion would not be horizontal. F would have been at a higher position than E.     

■ The car reached the final point H at 15.00 hours.

We can see that all the x- coordinates fall exactly on the vertical lines of the grid. This is because, the readings are taken at exact one hour intervals. But the y- coordinates do not fall exactly on the horizontal lines. Still we are able to plot it. Let us take an example and see how this is done:

Let us take the point E(11,145). 145 lies between 140 and 160. On an actual graph paper, there will be smaller divisions between them. We will enlarge the portion between 140 and 160. This is shown in the fig.2.17 below:
Points can be plotted with precision on the graph using the sub divisions
Fig.2.17 Accurate plotting of points
In the fig., 140 and 160 are marked with thick green lines. 150 which lies midway between them, is marked with a thinner line. The portion between 140 and 160 has a distance of 160 -140 =20 km. It is divided into 10 equal parts. So each part is 20/10 = 2 km. We want to mark 145 km. We already have 140 on a thick grid line. We want 5 more. Each small division is 2 km. If we take two divisions we will get only 4 km. If we take 3 divisions, we will get 6 km which is larger than the required value of 5. So we must take 2 divisions, and a half of the next division. This will give 5 km. So two and a half small divisions above 140 will give 145 km. It lies exactly midway between 144 and 146. In this way all points which do not fall on the main grid lines can be plotted with precision, using the sub divisions.

Note that, in the above fig., the distance of 20 km is divided into 10 equal parts. So each small division is 2 km. This need not be the case always. 20 km could be divided into 5 equal parts so that each sub division is 4 km. So in each graph, we must carefully work out the quantity represented by the small sub division. The final position of a point will depend on this quantity.

Next we will see a Time-Temperature graph. Temperature of a patient is noted down at definite time intervals. Time is plotted along the X axis and temperature is plotted along the Y axis. Such graphs are valuable in the treatment of many types of illnesses. Fig.2.18 below shows one such graph.
Fig.2.18 Time Temperature Graph
The temperature is noted down at 1 hour interval. Some of the information that can be obtained from the graph are given below:

The first reading was taken at 8.00 hours. That is 8 AM in the morning. The temperature at that time was 36o C. The next reading is at 9 AM. The temperature then was 37o C. In this way, we can see an upward 'trend' up to 10 AM. That means the temperature of the patient was increasing during this time. It increased to 39.5o C at 10 AM. But after 10 AM, the temperature began to decrease. It remained constant at (37o C) from 12 noon to 1 PM.  Then it began to increase slightly and reached 37.5 at 2 PM. After 2 PM it began to decrease. At 4 PM, the temperature was 35o C

Next we will see a comparison graph. This type of graph is used to show the comparison between two quantities. It gives the points at which one quantity has a higher/lower value than the other. It also gives us by 'how much' one quantity is higher/lower than the other. The graph shown in fig.2.19 below shows the performance of two cricket batsmen A and B in the year 2014.
Fig.2.19 Comparison Graph


There were 8 matches played in 2014. Both A and B played in all the 8 matches. Runs that they scored in each of these matches are plotted separately. The magenta line is the graph of player A and yellow line is that of player B.

Player A has 3 'peak points': 70 in match 1, 80 in match 5 and 90 in match 8. But he has some 'valley points' too: zero in the fourth match and 10 in the sixth match.


Player B is more consistent. There is not much difference between his scores. He has never scored below 30. His highest score is 70 in the sixth match.

So we have seen different types of graphs. In the next section we will see some solved examples.

PREVIOUS      CONTENTS       NEXT

                        Copyright©2016 High school Maths lessons. blogspot.in - All Rights Reserved