{ "query": { "display": "median $$2,\\:3,\\:9,\\:13$$", "symbolab_question": "STATISTICS#median 2,3,9,13" }, "solution": { "level": "PERFORMED", "subject": "Statistics", "topic": "median", "subTopic": "Other", "default": "6" }, "steps": { "type": "interim", "title": "Median of $$2,\\:3,\\:9,\\:13:{\\quad}6$$", "steps": [ { "type": "definition", "title": "Median", "text": "The median is the value separating the higher half of the data set, from the lower half.<br/>If the number of terms is odd, then the median is the middle element of the sorted set<br/>If the number of terms is even, then the median is the arithmetic mean of the two middle elements of the sorted set" }, { "type": "step", "primary": "Arrange the terms in ascending order", "result": "2,\\:3,\\:9,\\:13" }, { "type": "interim", "title": "Find the median of the ascending set:$${\\quad}6$$", "steps": [ { "type": "step", "primary": "Count the number of terms in the data set", "result": "\\begin{Bmatrix}2&3&9&13\\\\1&2&3&4\\end{Bmatrix}" }, { "type": "step", "primary": "The number of terms in the data set is", "result": "4" }, { "type": "step", "primary": "Since the number of terms is even, the median is the average of the two middle elements: $$3,\\:9$$" }, { "type": "interim", "title": "Arithmetic Mean (average) of $$3,\\:9:{\\quad}6$$", "steps": [ { "type": "definition", "title": "Arithmetic Mean", "text": "The arithemtic mean (average) is the sum of the values in the set divided by the number of elements in that set.<br/>If our data set contains the values $$a_{1},\\:\\ldots\\:,\\:a_{n}$$ (n elements) then the average$$=\\frac{1}{n}\\sum_{i=1}^{n}a_{i}\\:$$" }, { "type": "interim", "title": "Compute the sum of the data set:$${\\quad}\\sum_{i=1}^{n}a_{i}=12$$", "steps": [ { "type": "step", "primary": "Take the sum of $$3,\\:9$$", "result": "3+9" }, { "type": "step", "primary": "Simplify", "result": "12" } ], "meta": { "interimType": "Take Sum Of Set Title 0Eq" } }, { "type": "interim", "title": "Compute the number of terms in the data set:$${\\quad}n=2$$", "input": "3,\\:9", "steps": [ { "type": "step", "primary": "Count the number of terms in the data set", "result": "\\begin{Bmatrix}3&9\\\\1&2\\end{Bmatrix}" }, { "type": "step", "primary": "The number of terms in the data set is", "result": "2" } ], "meta": { "interimType": "Compute Number Terms Specific 0Eq", "gptData": "pG0PljGlka7rWtIVHz2xyoU2cWyPLDgE1QLLHeauuc3K5O+fXcZudMI+14ZU5ZwQp9wy31HdDJRMD4uiaWz07swGDq7iA6052JsaffwjYCBKoaf2ka8Y4fr8my/86wQ572wZm7kDUxdE6YSmfEbr2nwpzh0cqJple1Qg84Yie2TwMdRtx07SOjqpi8nxLqBr55m6bbRWPxQuLu/BzFPGZ4mpXFf3SOUx+H18qfp3MLg=" } }, { "type": "interim", "title": "Divide the sum by the number of terms and simplify:$${\\quad}6$$", "steps": [ { "type": "step", "primary": "Divide the sum by the number of terms:$${\\quad}\\frac{\\sum_{i=1}^{n}a_{i}}{n}=\\frac{12}{2}$$", "result": "\\frac{12}{2}" }, { "type": "step", "primary": "Simplify", "result": "6" } ], "meta": { "interimType": "Compute The Average Title 0Eq" } }, { "type": "step", "result": "=6" } ], "meta": { "interimType": "Arithmetic Mean Top 1Eq" } }, { "type": "step", "result": "6" } ], "meta": { "interimType": "Get Median From Ascending List 0Eq" } }, { "type": "step", "result": "6" } ] } }