Orchids Logo

Median of Ungrouped Data

Class 9Statistics

The median is a measure of central tendency that represents the middle value of a data set when the values are arranged in ascending or descending order.


Unlike the mean, which can be affected by extremely large or small values (outliers), the median is resistant to outliers. This makes it a better representative of the "typical" value in skewed distributions.


In Class 9 Mathematics, students learn to find the median of ungrouped data (individual observations listed separately, not in class intervals). The method depends on whether the number of observations is odd or even.

What is Median of Ungrouped Data?

Definition: The median of a data set is the value that divides the data into two equal halves when arranged in order. Half the observations lie below the median and half lie above it.


Median = Middle value after arranging data in ascending order


For n observations arranged in ascending order:

  • If n is odd: Median = value of the ((n + 1)/2)th observation.
  • If n is even: Median = average of the (n/2)th and ((n/2) + 1)th observations.

Important:

  • The data MUST be arranged in ascending (or descending) order before finding the median.
  • The median may or may not be a value that actually appears in the data set.
  • For an odd number of observations, the median is one of the data values.
  • For an even number of observations, the median is the average of two middle values and may not be a data value.

Median of Ungrouped Data Formula

Key Formulas:


1. When n is odd:

Median = ((n + 1) / 2)th observation


2. When n is even:

Median = [(n/2)th + ((n/2) + 1)th observation] / 2


Steps to Find the Median:

  1. Arrange the data in ascending order.
  2. Count the number of observations (n).
  3. Check if n is odd or even.
  4. Apply the appropriate formula.

Comparison of Measures of Central Tendency:

  • Mean: Sum of all values ÷ number of values. Affected by outliers.
  • Median: Middle value. Not affected by outliers.
  • Mode: Most frequently occurring value. May not be unique.

Derivation and Proof

Why the Median Formula Works:


Case 1: Odd number of observations (n is odd)

  1. If there are n observations arranged in order, the middle position is the one with an equal number of values on both sides.
  2. For n values, the middle position is at position (n + 1)/2.
  3. Example: For n = 7, the middle position is (7 + 1)/2 = 4th. There are 3 values before and 3 values after the 4th value.
  4. The 4th value divides the data into two equal halves.

Case 2: Even number of observations (n is even)

  1. When n is even, there is no single middle value.
  2. The two "middle-most" values are at positions n/2 and (n/2) + 1.
  3. Example: For n = 8, the two middle values are the 4th and 5th. There are 3 values before the 4th and 3 values after the 5th.
  4. The median is defined as the average of these two values, ensuring it lies centrally.

Why Arrange in Order First?

  • The concept of "middle" has no meaning unless the data is ordered.
  • Without ordering, there is no way to determine which value divides the data into equal halves.
  • Ascending and descending order give the same median.

Types and Properties

Different Scenarios for Finding the Median:


1. Odd Number of Observations

  • The median is exactly one of the data values.
  • Example: Data = {3, 5, 7, 9, 11}. n = 5 (odd). Median = 3rd value = 7.

2. Even Number of Observations

  • The median is the average of the two middle values.
  • Example: Data = {4, 6, 8, 10}. n = 4 (even). Median = (6 + 8)/2 = 7.
  • Note: The median (7) is NOT in the original data.

3. Data with Repeated Values

  • If values repeat, still arrange in order and count positions.
  • Example: {2, 3, 3, 5, 5, 5, 8}. n = 7 (odd). Median = 4th value = 5.

4. Data with Outliers

  • The median is unaffected by extreme values.
  • Example: {1, 2, 3, 4, 100}. Mean = 22, but Median = 3.
  • The median (3) better represents the typical value.

5. All Values Equal

  • If all observations are the same, the median equals that value.
  • Example: {5, 5, 5, 5}. Median = (5 + 5)/2 = 5.

6. Two Observations

  • n = 2 (even). Median = average of both values.
  • Example: {3, 9}. Median = (3 + 9)/2 = 6.

Solved Examples

Example 1: Example 1: Odd number of observations

Problem: Find the median of: 12, 7, 3, 14, 9


Solution:

Step 1: Arrange in ascending order: 3, 7, 9, 12, 14

Step 2: n = 5 (odd)

Step 3: Median position = (5 + 1)/2 = 3rd observation

Step 4: 3rd observation = 9

Answer: Median = 9

Example 2: Example 2: Even number of observations

Problem: Find the median of: 15, 8, 22, 10, 6, 18


Solution:

Step 1: Arrange in ascending order: 6, 8, 10, 15, 18, 22

Step 2: n = 6 (even)

Step 3: Middle positions = 3rd and 4th observations

Step 4: 3rd value = 10, 4th value = 15

Step 5: Median = (10 + 15)/2 = 25/2 = 12.5

Answer: Median = 12.5

Example 3: Example 3: Data with repeated values

Problem: Find the median of: 4, 7, 4, 3, 8, 4, 9, 7, 4


Solution:

Step 1: Arrange in ascending order: 3, 4, 4, 4, 4, 7, 7, 8, 9

Step 2: n = 9 (odd)

Step 3: Median position = (9 + 1)/2 = 5th observation

Step 4: 5th observation = 4

Answer: Median = 4

Example 4: Example 4: Effect of outliers

Problem: Find the mean and median of: 2, 3, 4, 5, 6, 7, 100


Solution:

Mean:

  • Sum = 2 + 3 + 4 + 5 + 6 + 7 + 100 = 127
  • Mean = 127/7 = 18.14 (approx.)

Median:

  • Data is already in order. n = 7 (odd).
  • Median position = (7 + 1)/2 = 4th observation
  • Median = 5

Comparison: The mean (18.14) is pulled up by the outlier (100). The median (5) better represents the typical value.

Answer: Mean = 18.14, Median = 5

Example 5: Example 5: Finding the missing value

Problem: The median of 5, 8, x, 14, 17 (already arranged in ascending order) is 11. Find x.


Solution:

Given:

  • Data (in order): 5, 8, x, 14, 17
  • n = 5 (odd)
  • Median = 11

Finding x:

  1. Median position = (5 + 1)/2 = 3rd observation
  2. The 3rd observation is x.
  3. Median = x = 11

Answer: x = 11

Example 6: Example 6: Marks of students

Problem: The marks obtained by 10 students in a test are: 45, 78, 56, 67, 82, 49, 73, 61, 55, 90. Find the median marks.


Solution:

Step 1: Arrange in ascending order: 45, 49, 55, 56, 61, 67, 73, 78, 82, 90

Step 2: n = 10 (even)

Step 3: Middle positions = 5th and 6th observations

Step 4: 5th value = 61, 6th value = 67

Step 5: Median = (61 + 67)/2 = 128/2 = 64

Answer: Median marks = 64

Example 7: Example 7: Large data set

Problem: Find the median of the first 11 prime numbers.


Solution:

First 11 primes (already in order): 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31

n = 11 (odd)

Median position = (11 + 1)/2 = 6th observation

6th prime = 13

Answer: Median = 13

Example 8: Example 8: Finding median from a frequency table

Problem: The following data shows the number of books read by students:

  • Books: 1, 2, 3, 4, 5
  • Frequency: 3, 5, 8, 4, 2

Find the median.


Solution:

Step 1: Total observations n = 3 + 5 + 8 + 4 + 2 = 22 (even)

Step 2: Find cumulative frequencies:

  • 1 book: cumulative freq = 3 (observations 1–3)
  • 2 books: cumulative freq = 8 (observations 4–8)
  • 3 books: cumulative freq = 16 (observations 9–16)
  • 4 books: cumulative freq = 20 (observations 17–20)
  • 5 books: cumulative freq = 22 (observations 21–22)

Step 3: Middle positions = 11th and 12th observations

Step 4: Both 11th and 12th observations fall in the "3 books" group (cumulative freq 9–16)

Step 5: Median = (3 + 3)/2 = 3

Answer: Median = 3 books

Example 9: Example 9: Two observations

Problem: Find the median of: 25, 75


Solution:

  • n = 2 (even)
  • Median = (25 + 75)/2 = 100/2 = 50

Answer: Median = 50

Example 10: Example 10: Finding values given the median

Problem: If the median of the observations 24, 29, 2x + 1, 34, 38 (in ascending order) is 30, find x.


Solution:

Given:

  • n = 5 (odd). Median = 3rd observation.
  • 3rd observation = 2x + 1
  • Median = 30
  1. 2x + 1 = 30
  2. 2x = 29
  3. x = 14.5

Verification: 2(14.5) + 1 = 30. Data: 24, 29, 30, 34, 38 — median = 30 ✓

Answer: x = 14.5

Real-World Applications

Applications of Median:


  • Income and Salary Analysis: Median income is used instead of mean income because a few very high earners can skew the mean upward. The median gives a better picture of what a "typical" person earns.
  • Real Estate: Median house prices are reported because a few extremely expensive properties would inflate the mean. The median shows what a typical buyer pays.
  • Education: Median marks or scores are used when the distribution is skewed. If most students score between 50–70 but a few score 100, the median represents the class better than the mean.
  • Quality Control: In manufacturing, the median of product measurements is used to identify the typical product dimension, ignoring defective outliers.
  • Medical Data: Median survival times are reported in medical studies because a few patients who live much longer (or shorter) would distort the mean.
  • Sports Statistics: Median scores, times, or distances give a better sense of typical performance than averages affected by exceptional performances.

Key Points to Remember

  • The median is the middle value of data arranged in ascending or descending order.
  • For odd n: Median = ((n + 1)/2)th observation.
  • For even n: Median = average of (n/2)th and ((n/2) + 1)th observations.
  • The data MUST be arranged in order before finding the median.
  • The median is not affected by outliers (extreme values).
  • The median may or may not be an actual value in the data set.
  • For data with a frequency table, use cumulative frequencies to find the middle position.
  • Median divides the data into two equal halves.
  • If all values are equal, the median equals that value.
  • Mean, median, and mode are the three measures of central tendency. Each has its own strengths depending on the data distribution.

Practice Problems

  1. Find the median of: 13, 7, 22, 5, 18, 11, 15
  2. Find the median of: 42, 36, 54, 28, 61, 47, 33, 50
  3. The median of 7, 10, x, 18, 21 (in order) is 13. Find x.
  4. Find the median of the first 10 natural numbers.
  5. Heights of 9 students (in cm): 152, 148, 156, 144, 160, 150, 142, 158, 146. Find the median height.
  6. If the median of 5, 9, 11, x, 20, 25 (in ascending order) is 12, find x.
  7. Data: values 10, 20, 30, 40 with frequencies 4, 3, 2, 1. Find the median.
  8. Compare the mean and median of: 1, 2, 3, 4, 5, 6, 7, 8, 9, 100.

Frequently Asked Questions

Q1. What is the median in statistics?

The median is the middle value of a data set when arranged in ascending or descending order. It divides the data into two equal halves.

Q2. How do you find the median of an odd number of values?

Arrange the data in order. The median is the ((n + 1)/2)th observation. For 9 values, the median is the 5th value.

Q3. How do you find the median of an even number of values?

Arrange the data in order. The median is the average of the (n/2)th and ((n/2) + 1)th observations. For 8 values, the median is the average of the 4th and 5th values.

Q4. Why is the median not affected by outliers?

The median depends only on the middle value(s), not on how large or small the extreme values are. Changing the largest or smallest value does not change the middle position.

Q5. When should median be used instead of mean?

Use the median when the data has outliers or is skewed. For example, income data (a few very high earners) or house prices (a few luxury properties) are better represented by the median.

Q6. Must the data be arranged before finding the median?

Yes. The concept of a middle value only makes sense when data is in order (ascending or descending). Without ordering, the position of the middle value cannot be determined.

Q7. Can the median be a decimal even when all values are whole numbers?

Yes. For an even number of observations, the median is the average of two middle values. If these are 7 and 8, the median is 7.5.

Q8. What is the difference between mean and median?

The mean is the sum of all values divided by the number of values. The median is the middle value. The mean is affected by extreme values; the median is not.

Q9. Can there be more than one median?

No. The median is always a single value. For even n, it is uniquely defined as the average of the two middle values.

Q10. Is median of ungrouped data in the CBSE Class 9 syllabus?

Yes. Finding the median of ungrouped data is part of the CBSE Class 9 Statistics chapter. Students learn the formulas for both odd and even numbers of observations.

We are also listed in