Solved Exercises on Range and Interquartile Range in Grade 7

Master range and interquartile range: calculating data spread, identifying quartiles, and measuring data dispersion through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Calculating Range
Exercise 1
Find the range of the following data set representing the ages of students in a club: 12, 15, 13, 14, 16, 12, 14, 15, 13, 17. Explain what the range tells us about the data.
Key Definitions:

Range: The difference between the maximum and minimum values in a data set

Formula: Range = Maximum value - Minimum value

Data Spread: How far apart the values are from each other

Solution Method:
  1. Order the data from least to greatest
  2. Identify the minimum value
  3. Identify the maximum value
  4. Calculate the range (max - min)
Ordered data
12,12,13,13,14,14,15,15,16,17
Min = 12
Max = 17
Range
17-12
Step 1: Order the data from least to greatest

Original: 12, 15, 13, 14, 16, 12, 14, 15, 13, 17

Ordered: 12, 12, 13, 13, 14, 14, 15, 15, 16, 17

Step 2: Identify the minimum value

The smallest value in the data set is 12

Step 3: Identify the maximum value

The largest value in the data set is 17

Step 4: Calculate the range

Range = Maximum - Minimum = 17 - 12 = 5

Range = 5 years
Age difference from youngest to oldest
Shows the spread of ages in the club
Final answer:

The range of the ages is 5 years. This tells us that the age difference between the youngest and oldest members in the club is 5 years.

Applied rules:

• Range Formula: Max - Min

• Ordering: Always arrange data to identify extremes

• Spread Measure: Range shows total data span

2 Finding Quartiles
Exercise 2
Find the first quartile (Q1), median (Q2), and third quartile (Q3) for the following data set: 18, 22, 25, 28, 30, 32, 35, 38, 40, 42, 45. Show your work for each quartile.
Key Definitions:

Quartiles: Values that divide a data set into four equal parts

Q1 (First Quartile): The median of the lower half of the data

Q2 (Second Quartile/Median): The median of the entire data set

Q3 (Third Quartile): The median of the upper half of the data

Step 1: Verify the data is ordered

The data is already ordered: 18, 22, 25, 28, 30, 32, 35, 38, 40, 42, 45

Step 2: Find the median (Q2)

There are 11 values (odd number), so the median is the middle value

Position = (n+1)/2 = (11+1)/2 = 6th position

Q2 = 32 (the 6th value)

Step 3: Find Q1 (median of lower half)

Lower half: 18, 22, 25, 28, 30 (values below the median)

There are 5 values, so Q1 is the 3rd value = 25

Step 4: Find Q3 (median of upper half)

Upper half: 35, 38, 40, 42, 45 (values above the median)

There are 5 values, so Q3 is the 3rd value = 40

Q1 = 25
Q2 = 32
Q3 = 40
Final answer:

Q1 = 25, Q2 = 32, Q3 = 40. These quartiles divide the data set into four equal parts.

Applied rules:

• Quartile Positions: Divide data into four equal parts

• Q2 = Median: Middle value of entire data set

• Q1 and Q3: Medians of lower and upper halves respectively

3 Calculating Interquartile Range (IQR)
Exercise 3
Using the quartiles found in Exercise 2 (Q1 = 25, Q2 = 32, Q3 = 40), calculate the interquartile range (IQR). Explain what the IQR represents.
Key Definitions:

Interquartile Range (IQR): The difference between the third and first quartiles

Formula: IQR = Q3 - Q1

Middle 50%: The IQR represents the range of the middle 50% of the data

Step 1: Identify the quartiles

From Exercise 2: Q1 = 25, Q3 = 40

Step 2: Apply the IQR formula

IQR = Q3 - Q1 = 40 - 25 = 15

Step 3: Interpret the result

The IQR of 15 means that the middle 50% of the data spans 15 units

Step 4: Explain what IQR represents

The IQR shows the spread of the middle half of the data, excluding the lowest and highest 25% of values

IQR = 15
Middle 50% of data spans 15 units
Measures spread of central values
Final answer:

The interquartile range (IQR) is 15. This represents the range of the middle 50% of the data, showing how spread out the central values are.

Applied rules:

• IQR Formula: Q3 - Q1

• Robust Measure: IQR is not affected by outliers

• Central Spread: Measures spread of middle 50% of data

Range and Interquartile Range
\(\text{Range} = \text{Maximum} - \text{Minimum}\)
Range Formula
\(\text{IQR} = Q_3 - Q_1\)
Interquartile Range Formula
Range
Max - Min
Affected by outliers
IQR
Q₃ - Q₁
Not affected by outliers
Quartiles
Q₁, Q₂, Q₃
Divide data into 4 equal parts
Key definitions:

Range: The difference between the maximum and minimum values in a data set.

Interquartile Range (IQR): The difference between the third and first quartiles, representing the middle 50% of the data.

Quartiles: Values that divide a data set into four equal parts.

First Quartile (Q1): The median of the lower half of the data.

Second Quartile (Q2): The median of the entire data set.

Third Quartile (Q3): The median of the upper half of the data.

Complete methodology:
  1. Range: Order data, find max and min, calculate difference
  2. Quartiles: Order data, find median, then medians of halves
  3. IQR: Calculate Q3 - Q1
  4. Compare: Consider when each measure is most appropriate
Tip 1: Always order data before finding quartiles.
Tip 2: IQR is robust to outliers; range is not.
Tip 3: IQR covers the middle 50% of the data.
Tip 4: For even number of data points, quartiles may be averages.
Common errors: Forgetting to order data, miscalculating quartiles, confusing IQR with range, not considering data distribution.
Key concepts: Data spread, outliers, robust measures, data distribution.
Solution: Exercises 4 to 5
4 Comparing Range and IQR
Exercise 4
A data set of test scores is: 55, 60, 65, 70, 75, 80, 85, 90, 95, 100. Another data set with an outlier is: 55, 60, 65, 70, 75, 80, 85, 90, 95, 150. Calculate the range and IQR for both sets. Explain how the outlier affects each measure.
Key Definitions:

Outlier: A value that is significantly different from other values in the dataset

Robust Measure: A measure that is not greatly affected by outliers

Sensitive Measure: A measure that is significantly affected by outliers

Step 1: Calculate for first data set (no outlier)

Ordered: 55, 60, 65, 70, 75, 80, 85, 90, 95, 100

Range = 100 - 55 = 45

Q1 = 65 (median of lower half: 55, 60, 65, 70, 75)

Q3 = 90 (median of upper half: 80, 85, 90, 95, 100)

IQR = 90 - 65 = 25

Step 2: Calculate for second data set (with outlier)

Ordered: 55, 60, 65, 70, 75, 80, 85, 90, 95, 150

Range = 150 - 55 = 95

Q1 = 65 (median of lower half: 55, 60, 65, 70, 75)

Q3 = 90 (median of upper half: 80, 85, 90, 95, 150)

IQR = 90 - 65 = 25

Step 3: Compare the effects of the outlier

Range: Increased from 45 to 95 (affected by outlier)

IQR: Remained 25 (not affected by outlier)

Step 4: Explain the difference

Range is sensitive to outliers because it uses only the extreme values

IQR is robust because it focuses on the middle 50% of data

No outlier: Range = 45, IQR = 25
With outlier: Range = 95, IQR = 25
Range affected, IQR unchanged
Final answer:

Without outlier: Range = 45, IQR = 25. With outlier: Range = 95, IQR = 25. The outlier significantly increased the range but did not affect the IQR.

Applied rules:

• Outlier Sensitivity: Range is affected by outliers, IQR is not

• Robust Statistics: IQR is more robust than range

• Data Analysis: Consider robust measures when outliers present

5 Real-World Application
Exercise 5
The monthly sales (in thousands of dollars) for a store over 11 months are: 25, 30, 32, 35, 38, 40, 42, 45, 48, 50, 120. Calculate the range and IQR. Which measure better represents the typical variation in sales? Explain your reasoning.
Key Definitions:

Data Spread: How values are distributed across the range of possible values

Typical Variation: The usual amount of fluctuation in data values

Business Statistics: Statistical measures applied to business data

Step 1: Order the data

The data is already ordered: 25, 30, 32, 35, 38, 40, 42, 45, 48, 50, 120

Step 2: Calculate the range

Range = Maximum - Minimum = 120 - 25 = 95 thousand dollars

Step 3: Calculate the quartiles

Q2 (median) = 40 (6th value in ordered set of 11 values)

Q1 = 32 (median of lower half: 25, 30, 32, 35, 38)

Q3 = 48 (median of upper half: 42, 45, 48, 50, 120)

Step 4: Calculate the IQR

IQR = Q3 - Q1 = 48 - 32 = 16 thousand dollars

Step 5: Analyze which measure is better

The value of 120 is clearly an outlier (much higher than other values)

Range (95) is inflated by the outlier

IQR (16) represents the typical variation between months

Range = $95,000
IQR = $16,000
IQR better represents typical variation
Final answer:

Range = $95,000, IQR = $16,000. The IQR better represents typical variation in sales because it excludes the outlier and focuses on the middle 50% of the data.

Applied rules:

• Outlier Impact: Extreme values affect range more than IQR

• Data Interpretation: Context matters when choosing measures

• Robust Statistics: IQR is more reliable when outliers present

Detailed Summary: Range and Interquartile Range
RANGE AND INTERQUARTILE RANGE: Comprehensive Guide

Definitions of Key Concepts

Range: The difference between the maximum and minimum values in a data set. Formula: Range = Maximum - Minimum.

Interquartile Range (IQR): The difference between the third and first quartiles, representing the middle 50% of the data. Formula: IQR = Q3 - Q1.

Quartiles: Values that divide a data set into four equal parts (25% each).

First Quartile (Q1): The median of the lower half of the data (25th percentile).

Second Quartile (Q2): The median of the entire data set (50th percentile).

Third Quartile (Q3): The median of the upper half of the data (75th percentile).

Outlier: A value that is significantly different from other values in the data set.

Core Rules and Principles

Range Calculation:

  • Range = Maximum value - Minimum value
  • Always order data first to identify extremes
  • Range is sensitive to outliers
  • Shows total spread of the data

Quartile Calculation:

  • Always order data from least to greatest first
  • Q2 is the median of the entire data set
  • Q1 is the median of the lower half (below Q2)
  • Q3 is the median of the upper half (above Q2)

IQR Calculation:

  • IQR = Q3 - Q1
  • Represents the middle 50% of the data
  • Robust to outliers
  • Measures central spread

Step-by-Step Methods

Method 1: Calculating Range

  1. Order the data from least to greatest
  2. Identify the minimum value
  3. Identify the maximum value
  4. Subtract: Range = Max - Min

Method 2: Finding Quartiles

  1. Order the data from least to greatest
  2. Find Q2 (the median of the entire set)
  3. Identify the lower half of the data (values below Q2)
  4. Find Q1 (the median of the lower half)
  5. Identify the upper half of the data (values above Q2)
  6. Find Q3 (the median of the upper half)

Method 3: Calculating IQR

  1. Find Q1 and Q3 using the quartile method
  2. Subtract: IQR = Q3 - Q1
  3. Interpret as the range of the middle 50% of data

Multiple Concrete Examples

Simple Example: Data: 2, 4, 6, 8, 10

Range = 10 - 2 = 8

Q1 = 3 (median of 2,4), Q2 = 6, Q3 = 9 (median of 8,10)

IQR = 9 - 3 = 6

Intermediate Example: Data: 1, 3, 5, 7, 9, 11, 13, 15

Range = 15 - 1 = 14

Q2 = (7+9)/2 = 8, Q1 = (3+5)/2 = 4, Q3 = (11+13)/2 = 12

IQR = 12 - 4 = 8

Advanced Example (with outlier): Data: 10, 15, 20, 25, 30, 100

Range = 100 - 10 = 90 (inflated by outlier)

Q1 = 15, Q2 = 22.5, Q3 = 30

IQR = 30 - 15 = 15 (not affected by outlier)

Tips, Tricks, and Common Pitfalls

Tips:

  • Always order data before finding quartiles
  • Remember that Q2 is the same as the median
  • For even number of data points, quartiles might be averages
  • Use IQR when you want to ignore outliers

Common Mistakes:

  • Forgetting to order data before finding quartiles
  • Confusing Q1, Q2, and Q3 positions
  • Miscalculating when the data set has an even number of values
  • Using range when outliers are present

Key Notes for Memorization

  • RANGE: Max - Min (affected by outliers)
  • IQR: Q3 - Q1 (robust to outliers)
  • Q1: Median of lower half
  • Q2: Median of entire set
  • Q3: Median of upper half
  • IQR covers middle 50% of data

When to Use Each Measure

1. Range: Use when data has no outliers and you want total spread

2. IQR: Use when outliers are present or you want to focus on central data

3. Both: Use together to understand full data distribution

Questions & Answers

Question: In Exercise 4, why doesn't the outlier affect the IQR but it does affect the range? Can you explain this more?

Answer: Great question! This comes down to what each measure looks at:

Range:

  • Only looks at the two most extreme values: maximum and minimum
  • Calculated as: Maximum - Minimum
  • Any outlier will automatically become the new maximum or minimum
  • Therefore, outliers dramatically change the range

IQR:

  • Looks at the middle 50% of the data (between Q1 and Q3)
  • Calculated as: Q3 - Q1
  • Completely ignores the bottom 25% and top 25% of data
  • Outliers are typically in the extreme 25% portions that IQR ignores

In Exercise 4, the outlier (150) became the maximum, changing the range from 45 to 95. But since it's in the top 25% of data, it doesn't affect Q1, Q3, or the IQR.

Question: How do I find Q1 and Q3 when the data set has an even number of values? I'm confused about which values to include in the "halves".

Answer: The process is slightly different depending on whether you have an even or odd number of data points:

For even number of data points:

  • Split the data exactly in half
  • Lower half: first n/2 values
  • Upper half: last n/2 values
  • Q1 = median of lower half, Q3 = median of upper half

For odd number of data points:

  • Find the median (middle value)
  • Exclude the median from both halves
  • Lower half: values below the median
  • Upper half: values above the median

Example with 8 values: 1, 2, 3, 4, 5, 6, 7, 8

Lower half: 1, 2, 3, 4 (Q1 = median of these = 2.5)

Upper half: 5, 6, 7, 8 (Q3 = median of these = 6.5)

Question: When should I use range vs IQR in real life? Like, when would I choose one over the other?

Answer: The choice depends on what you're studying and whether outliers are present:

Use Range when:

  • Data is normally distributed (no extreme outliers)
  • You want to know the total spread of all values
  • Example: Temperature range in a stable climate

Use IQR when:

  • Data has outliers that would distort the range
  • You want to focus on the "typical" spread of the data
  • Example: Income data (where a few millionaires would inflate the range)

For Exercise 5 (sales data), the IQR was better because it showed the typical variation between months, excluding the unusual spike of $120K.