By the end of this chapter, you will be able to:
These skills will help you confidently handle important math problems you’ll encounter in your trade, making your work more precise and efficient.
Compiled by: Beatrice Aoko
Apply linear graphs are critical in analyzing and interpreting relationships between two quantitative variables in various professional fields. In Kenya, professionals in healthcare, business, agriculture, and other sectors frequently use linear graphs to make informed decisions by visualizing trends and patterns. This chapter focuses on identifying appropriate data sets for constructing linear graphs, a fundamental step before graph plotting and analysis. Understanding data set identification enables accurate representation and interpretation of real-world phenomena through linear relationships.
Identifying the correct data set for a linear graph involves recognizing paired numerical data that show a direct or indirect relationship. In professional settings such as county referral hospitals or banks, data sets often come as measurements or observations over time, quantities, or other continuous variables. Properly selected data sets ensure the resulting graph accurately reflects the relationship and supports decision-making. This topic breaks down the concept of data sets, criteria for linearity, and preparation steps to ready data for graphing.
Paired data sets consist of two related variables measured together, where one variable depends on or correlates with the other. These pairs are the basis for plotting points on a Cartesian plane to form a linear graph. Recognizing paired data is the first step in deciding whether a linear graph is appropriate.
The general form of paired data is \((x_i, y_i)\), where \(x_i\) is the independent variable and \(y_i\) the dependent variable. The linear graph represents the relationship
$$ y = mx + c $$
where \(m\) is the slope and \(c\) the y-intercept.
Example 1: A retail business records monthly advertising expenditure (Ksh) and sales revenue (Ksh) as follows:
| Month | Advertising (x) | Sales (y) |
|---|---|---|
| 1 | 10,000 | 150,000 |
| 2 | 15,000 | 180,000 |
| 3 | 20,000 | 220,000 |
Given: Advertising expenditure \(x\), Sales revenue \(y\)
Goal: Identify the paired data set suitable for a linear graph.
The pairs are \((10,000, 150,000), (15,000, 180,000), (20,000, 220,000)\). These represent independent and dependent variables ready for plotting.
Answer: Paired data set \((x_i, y_i) = (10,000, 150,000), (15,000, 180,000), (20,000, 220,000)\).
Example 2: A county hospital measures patient waiting time (minutes) and number of patients served per hour:
| Hour | Waiting Time (x) | Patients Served (y) |
|---|---|---|
| 8 | 30 | 20 |
| 9 | 25 | 25 |
| 10 | 20 | 30 |
Given: Waiting time \(x\), Patients served \(y\)
Paired data: \((30, 20), (25, 25), (20, 30)\).
Answer: Paired data set \((x_i, y_i) = (30, 20), (25, 25), (20, 30)\).
Example 3: A farm records fertilizer amount (kg) and crop yield (kg):
| Fertilizer (x) | Yield (y) |
|---|---|
| 50 | 1200 |
| 70 | 1400 |
| 90 | 1650 |
Given: Fertilizer \(x\), Crop yield \(y\).
Paired data: \((50, 1200), (70, 1400), (90, 1650)\).
Answer: Paired data set \((x_i, y_i) = (50, 1200), (70, 1400), (90, 1650)\).
To identify if a data set can be represented by a linear graph, it is necessary to check if the relationship between variables is approximately linear. This is done by verifying if the rate of change between variables is constant or nearly constant.
The slope between two points \((x_1, y_1)\) and \((x_2, y_2)\) is calculated by:
$$ m = \frac{y_2 - y_1}{x_2 - x_1} $$
If slopes between consecutive points are equal or nearly equal, the data set can be modeled linearly.
Example 1: A SACCO records savings (Ksh) and interest earned (Ksh):
| Savings (x) | Interest (y) |
|---|---|
| 10,000 | 500 |
| 20,000 | 1,000 |
| 30,000 | 1,500 |
Calculate slopes between points.
Between (10,000, 500) and (20,000, 1,000):
$$ m_1 = \frac{1,000 - 500}{20,000 - 10,000} = \frac{500}{10,000} = 0.05 $$
Between (20,000, 1,000) and (30,000, 1,500):
$$ m_2 = \frac{1,500 - 1,000}{30,000 - 20,000} = \frac{500}{10,000} = 0.05 $$
Answer: Slopes are equal; data set is linear.
Example 2: A university tracks hours studied and exam scores:
| Hours (x) | Score (y) |
|---|---|
| 2 | 40 |
| 4 | 70 |
| 6 | 100 |
Calculate slopes:
Between (2, 40) and (4, 70):
$$ m_1 = \frac{70 - 40}{4 - 2} = \frac{30}{2} = 15 $$
Between (4, 70) and (6, 100):
$$ m_2 = \frac{100 - 70}{6 - 4} = \frac{30}{2} = 15 $$
Answer: Slopes equal; linear relation confirmed.
Example 3: A retail shop records daily customers and sales (Ksh):
| Customers (x) | Sales (y) |
|---|---|
| 50 | 10,000 |
| 70 | 15,000 |
| 90 | 22,000 |
Calculate slopes:
Between (50, 10,000) and (70, 15,000):
$$ m_1 = \frac{15,000 - 10,000}{70 - 50} = \frac{5,000}{20} = 250 $$
Between (70, 15,000) and (90, 22,000):
$$ m_2 = \frac{22,000 - 15,000}{90 - 70} = \frac{7,000}{20} = 350 $$
Answer: Slopes differ; data set is not perfectly linear.
Data must be organized systematically to facilitate plotting on graph paper or digital platforms. The independent variable is usually placed in the first column, and the dependent variable in the second. Consistency in units and scale is important.
Steps to organize data include:
Example 1: A hotel tracks room occupancy (%) against daily revenue (Ksh). Given raw data:
| Revenue (Ksh) | Occupancy (%) |
|---|---|
| 120,000 | 75 |
| 150,000 | 85 |
| 100,000 | 65 |
Step 1: Identify variables - Occupancy (%) as \(x\), Revenue as \(y\).
Step 2: Create paired data: \((75, 120,000), (85, 150,000), (65, 100,000)\).
Step 3: Arrange ascending \(x\):
| Occupancy (%) | Revenue (Ksh) |
|---|---|
| 65 | 100,000 |
| 75 | 120,000 |
| 85 | 150,000 |
Answer: Data organized ready for plotting.
Example 2: A cooperative records fertilizer quantity (kg) and maize yield (kg). Raw data:
| Yield (kg) | Fertilizer (kg) |
|---|---|
| 1,800 | 60 |
| 2,200 | 80 |
| 1,500 | 50 |
Step 1: Fertilizer is independent \(x\), yield dependent \(y\).
Step 2: Paired data: \((60, 1,800), (80, 2,200), (50, 1,500)\).
Step 3: Arrange ascending \(x\):
| Fertilizer (kg) | Yield (kg) |
|---|---|
| 50 | 1,500 |
| 60 | 1,800 |
| 80 | 2,200 |
Answer: Organized data set for graphing.
Example 3: A county government office logs monthly electricity consumption (kWh) and cost (Ksh). Raw data:
| Cost (Ksh) | Consumption (kWh) |
|---|---|
| 5,000 | 400 |
| 7,000 | 600 |
| 4,000 | 350 |
Step 1: Consumption \(x\), Cost \(y\).
Step 2: Paired data: \((400, 5,000), (600, 7,000), (350, 4,000)\).
Step 3: Arrange ascending \(x\):
| Consumption (kWh) | Cost (Ksh) |
|---|---|
| 350 | 4,000 |
| 400 | 5,000 |
| 600 | 7,000 |
Answer: Data ready for plotting linear graph.
Outliers can distort linear relationships, and missing data may reduce the accuracy of graphs. Identifying and addressing these issues is crucial before plotting.
Steps to handle:
Example 1: A hospital tracks daily patients and medicines dispensed:
| Patients (x) | Medicines (y) |
|---|---|
| 50 | 100 |
| 55 | 110 |
| 200 | 400 |
| 60 | 120 |
Check if 200 patients is an outlier.
Calculate slope between (55,110) and (60,120):
$$ m = \frac{120 - 110}{60 - 55} = \frac{10}{5} = 2 $$
Calculate slope between (55,110) and (200,400):
$$ m = \frac{400 - 110}{200 - 55} = \frac{290}{145} = 2 $$
Though 200 is large, slope consistent; may not be outlier.
Answer: Data point fits trend; keep it.
Example 2: A farm logs rainfall (mm) and crop growth (cm):
| Rainfall (x) | Growth (y) |
|---|---|
| 100 | 25 |
| 110 | 27 |
| 500 | 40 |
| 115 | 28 |
Check if 500 mm rainfall is outlier.
Slope between (110,27) and (115,28):
$$ m = \frac{28 - 27}{115 - 110} = \frac{1}{5} = 0.2 $$
Slope between (110,27) and (500,40):
$$ m = \frac{40 - 27}{500 - 110} = \frac{13}{390} \approx 0.033 $$
Slopes differ significantly; 500 mm likely outlier.
Answer: Consider excluding 500 mm data point.
Example 3: A retail store has missing sales data for day 3:
| Day (x) | Sales (y) |
|---|---|
| 1 | 5,000 |
| 2 | 6,000 |
| 3 | , |
| 4 | 7,000 |
Step 1: Check if missing data can be recovered.
Step 2: If not, interpolate between day 2 and 4:
$$ \text{Interpolated } y = \frac{6,000 + 7,000}{2} = 6,500 $$
Answer: Use 6,500 as estimated sales for day 3.
A SACCO records the number of members (x) and total savings (Ksh) (y) as follows: (100, 1,000,000), (150, 1,500,000), (200, 2,200,000). Determine if the data set is appropriate for a linear graph by calculating slopes between points. (5 marks)
A hotel tracks occupancy rate (%) and revenue (Ksh): (60, 120,000), (75, 150,000), (90, 200,000). Organize the data in ascending order of occupancy and prepare the paired data set for graphing. (5 marks)
A county government records daily water consumption (m³) and cost (Ksh): (100, 2,000), (150, 3,000), (300, 6,500). Identify any outliers by calculating slopes between points. (5 marks)
A cooperative records fertilizer used (kg) and maize yield (kg): (40, 1,200), (60, 1,500), (missing data), (90, 2,000). Estimate the missing yield value by interpolation. (5 marks)
Create a free account to open more of this chapter.
Free: practical guides, quick cards, workplace scenarios and more.
Create a free accountThis chapter focused on applying linear graphs by first identifying data sets suitable for linear representation. It then covered the importance of choosing appropriate scales in graphs to ensure clarity and accuracy. Proper axes labeling was emphasized as a key step for effective communication of information. The chapter detailed the process of linear graph plotting, illustrating how to translate numerical data into visual form. Practical applications were explored through graphs of distance against time, temperature against time, and velocity against time, highlighting how these relationships can be interpreted. Finally, techniques for graph analysis were discussed to extract meaningful conclusions from plotted data. Together, these topics provide a comprehensive foundation for understanding and using linear graphs in various civil engineering contexts.
At the start of this chapter we promised you would be able to:
Tick each one you can genuinely do.
So, are you there yet?
You're competent when you can confidently do 50% or more of what this chapter promised.
Sign in to record how you're doing.