Exercise · Volume 1 · 1.2.6-68
Exercise 1.2.6-68
stated in Lean solution written
| Rating | M25 |
|---|---|
| Markers | M (mathematical) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.6 of Volume 1. Companion chapter: Binomial coefficients |
The task
Find the mean absolute deviation of the binomial distribution with the parameters and .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Let . First show that .
Hint 2
Split the sum at , where , and use the first result.
Hint 3
Find a function with .
Solution
Show the solution
Let and . By eq. 1.2.6(13), , and since , . So . These hold for every real .
Let . An integer satisfies if and only if . Hence for and for . Therefore because the two partial sums have a total of .
Telescoping. Put , so that . Since , since . Then . So the sum is .
Check
For , : and the right side is . The left side is . For , : , and both sides are . With the floor in place of the right side would be , which is wrong.
Remarks
When is an integer, , and the value is . For large this is about , the mean absolute deviation of a normal distribution.
This solution is drafted, and a person has not reviewed it yet. The source.
In Lean
stated The statement is in Lean and it builds. The proof is not in Lean yet.
- Problem:
TAOCP.S1_2_6.Ex68.statementaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.