statistics · worked example

Solve median of {3, 7, 1, 4, 2}

Method: sort and pick middle. Verified step-by-step solution with our free AI math solver.
Problem

median of {3,7,1,4,2}\text{median of}\ \{3, 7, 1, 4, 2\}

Step-by-step solution

  1. Sort ascending: {1,2,3,4,7}\{1, 2, 3, 4, 7\}.

  2. Count n=5n = 5 (odd).

  3. Take the middle (3rd of 5): 3.

Answer

median=3\text{median} = 3

Want to solve a different problem? Open the mean-median-mode solver →

Related worked examples

  • /solve/statistics/mean-of-2-4-6-8-10