# What's Your Mean?

### Why do this problem?

This problem gives an opportunity to practise numerical integration in the context of probability distributions. It will really allow students to get into the meaning of probability density functions in terms of areas and probabilities. Instead of simply requiring an explicit calculation, students will need to engage with decisions concerning limits and integration.

### Possible approach

The first stage of the problem is to realize that a numerical integration is needed to calculate the mean. Once the class has realised that this is the case, they will need to start to perform the integrations. This will require various choices as there are many ways in which this can be done. To facilitate this, you might like to print off copies of the graph for students to draw on.

### Key questions

How do we relate a probability density function to a probability?
How do the two graphs relate to each other?
What is the graphical interpretation of an integral?
How important will the effect of the second graph be?
What happens for values larger than $20$? Are these values relevant?

### Possible extension

How might you try to estimate the variance for these distributions numerically?

### Possible support

First try to show that numerically the area under the red curve is 1. You can then use the decomposition into rectangles and trapezia to try to work out the mean.

The NRICH Project aims to enrich the mathematical experiences of all learners. To support this aim, members of the NRICH team work in a wide range of capacities, including providing professional development for teachers wishing to embed rich mathematical tasks into everyday classroom practice. More information on many of our other activities can be found here.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9189427495002747, "perplexity_flag": "head"}