taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.3-27

Exercise 1.2.3-27

proved in Lean solution written

RatingM20
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.3 of Volume 1. Companion chapter: Sums and products

The task

Prove that ∏j=1n(1−aj)≥1−∑j=1naj\prod_{j=1}^n (1 - a_j) \ge 1 - \sum_{j=1}^n a_j when 0<aj<10 < a_j < 1.

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

Use induction on nn. The case n=0n = 0 is an equality of empty sum and product.

Hint 2

In the step, multiply the induction hypothesis by the positive number 1−an+11 - a_{n+1}. Then compare with the wanted bound and look at the cross term.

Solution

Show the solution

Let Pn=∏j=1n(1−aj)P_n = \prod_{j=1}^n (1 - a_j) and Sn=∑j=1najS_n = \sum_{j=1}^n a_j. The claim is Pn≥1−SnP_n \ge 1 - S_n.

Base. For n=0n = 0: P0=1P_0 = 1 and 1−S0=11 - S_0 = 1. The claim holds with equality.

Step. Let Pn≥1−SnP_n \ge 1 - S_n. Since 0<an+1<10 < a_{n+1} < 1, the number 1−an+11 - a_{n+1} is positive, so multiplying the inequality by it keeps the direction: Pn+1=Pn(1−an+1)≥(1−Sn)(1−an+1)=1−Sn−an+1+Snan+1.P_{n+1} = P_n (1 - a_{n+1}) \ge (1 - S_n)(1 - a_{n+1}) = 1 - S_n - a_{n+1} + S_n a_{n+1}. Since each aj>0a_j > 0, Snan+1≥0S_n a_{n+1} \ge 0. Therefore Pn+1≥1−(Sn+an+1)=1−Sn+1.P_{n+1} \ge 1 - (S_n + a_{n+1}) = 1 - S_{n+1}. By induction the claim holds for all n≥0n \ge 0. □\square

The inequality is strict for n≥2n \ge 2, because then Snan+1>0S_n a_{n+1} > 0 in the last step.

Check

For a=(0.1,0.2)a = (0.1, 0.2): the product is 0.9⋅0.8=0.720.9 \cdot 0.8 = 0.72, and 1−0.3=0.71 - 0.3 = 0.7. For a=(0.5,0.5,0.5)a = (0.5, 0.5, 0.5) the product is 0.1250.125 and 1−1.5=−0.51 - 1.5 = -0.5. The bound is true but useless when the sum exceeds 11.

Remarks

This is the general form of the inequality of Exercise 1.2.1-9, which is the case of equal aja_j. It is a form of Bernoulli's inequality (1−a)n≥1−na(1 - a)^n \ge 1 - na.

This solution is checked, and a person has not reviewed it yet. The source.

In Lean

proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.