How to Maximize a Function without Really Trying

Similar documents
INEQUALITIES BJORN POONEN

Riemann Sums y = f (x)

Lecture 23 Rearrangement Inequality

(b) What is the probability that a particle reaches the upper boundary n before the lower boundary m?

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or

PUTNAM TRAINING INEQUALITIES

Seunghee Ye Ma 8: Week 5 Oct 28

Math 451: Euclidean and Non-Euclidean Geometry MWF 3pm, Gasson 204 Homework 3 Solutions

INFINITE SEQUENCES AND SERIES

Infinite Sequences and Series

6.3 Testing Series With Positive Terms

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER / Statistics

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

SEQUENCE AND SERIES NCERT

Inequalities. Putnam Notes, Fall 2006 University of Utah

Math 155 (Lecture 3)

Review Problems 1. ICME and MS&E Refresher Course September 19, 2011 B = C = AB = A = A 2 = A 3... C 2 = C 3 = =

P1 Chapter 8 :: Binomial Expansion

Randomized Algorithms I, Spring 2018, Department of Computer Science, University of Helsinki Homework 1: Solutions (Discussed January 25, 2018)

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

Sequences and Series of Functions

Notes #3 Sequences Limit Theorems Monotone and Subsequences Bolzano-WeierstraßTheorem Limsup & Liminf of Sequences Cauchy Sequences and Completeness

lim za n n = z lim a n n.

2.4 Sequences, Sequences of Sets

4.3 Growth Rates of Solutions to Recurrences

Sequences. A Sequence is a list of numbers written in order.

End-of-Year Contest. ERHS Math Club. May 5, 2009

1 Approximating Integrals using Taylor Polynomials

n=1 a n is the sequence (s n ) n 1 n=1 a n converges to s. We write a n = s, n=1 n=1 a n

MATH 324 Summer 2006 Elementary Number Theory Solutions to Assignment 2 Due: Thursday July 27, 2006

Solutions for May. 3 x + 7 = 4 x x +

Coffee Hour Problems of the Week (solutions)

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6

Section 7 Fundamentals of Sequences and Series

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 19 11/17/2008 LAWS OF LARGE NUMBERS II THE STRONG LAW OF LARGE NUMBERS

If a subset E of R contains no open interval, is it of zero measure? For instance, is the set of irrationals in [0, 1] is of measure zero?

Areas and Distances. We can easily find areas of certain geometric figures using well-known formulas:

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

Objective Mathematics

It is often useful to approximate complicated functions using simpler ones. We consider the task of approximating a function by a polynomial.

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row:

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

Theorem: Let A n n. In this case that A does reduce to I, we search for A 1 as the solution matrix X to the matrix equation A X = I i.e.

Solutions. tan 2 θ(tan 2 θ + 1) = cot6 θ,

Section 6.4: Series. Section 6.4 Series 413

Lecture 27. Capacity of additive Gaussian noise channel and the sphere packing bound

MAT1026 Calculus II Basic Convergence Tests for Series

MA541 : Real Analysis. Tutorial and Practice Problems - 1 Hints and Solutions

MATH 10550, EXAM 3 SOLUTIONS

Chapter 7 COMBINATIONS AND PERMUTATIONS. where we have the specific formula for the binomial coefficients:

Math 61CM - Solutions to homework 3

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.

Arkansas Tech University MATH 2924: Calculus II Dr. Marcel B. Finan

Complex Numbers Solutions

MA131 - Analysis 1. Workbook 9 Series III

MA131 - Analysis 1. Workbook 2 Sequences I

Bertrand s Postulate

MA131 - Analysis 1. Workbook 3 Sequences II

Chapter 4. Fourier Series

Math 113 Exam 3 Practice

sin(n) + 2 cos(2n) n 3/2 3 sin(n) 2cos(2n) n 3/2 a n =

Math 2784 (or 2794W) University of Connecticut

BUSINESS STATISTICS (PART-9) AVERAGE OR MEASURES OF CENTRAL TENDENCY: THE GEOMETRIC AND HARMONIC MEANS

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

Ma/CS 6b Class 19: Extremal Graph Theory

INF-GEO Solutions, Geometrical Optics, Part 1

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

1. By using truth tables prove that, for all statements P and Q, the statement

PRACTICE FINAL/STUDY GUIDE SOLUTIONS

Math 4707 Spring 2018 (Darij Grinberg): homework set 4 page 1

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

Zeros of Polynomials

Lecture 4. We also define the set of possible values for the random walk as the set of all x R d such that P(S n = x) > 0 for some n.

Properties and Tests of Zeros of Polynomial Functions

MATH 112: HOMEWORK 6 SOLUTIONS. Problem 1: Rudin, Chapter 3, Problem s k < s k < 2 + s k+1

Complex Numbers Primer

Math 299 Supplement: Real Analysis Nov 2013

The Poisson Distribution

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

Complex Numbers Primer

Problem Set 4 Due Oct, 12

ECE 8527: Introduction to Machine Learning and Pattern Recognition Midterm # 1. Vaishali Amin Fall, 2015

Output Analysis and Run-Length Control

We will conclude the chapter with the study a few methods and techniques which are useful

Solutions to Tutorial 3 (Week 4)

Ma 530 Introduction to Power Series

Chimica Inorganica 3

Machine Learning Brett Bernstein

Example 2. Find the upper bound for the remainder for the approximation from Example 1.

Lecture 2. The Lovász Local Lemma

Linear Regression Demystified

Beurling Integers: Part 2

Integrable Functions. { f n } is called a determining sequence for f. If f is integrable with respect to, then f d does exist as a finite real number

7 Sequences of real numbers

NICK DUFRESNE. 1 1 p(x). To determine some formulas for the generating function of the Schröder numbers, r(x) = a(x) =

Section 11.8: Power Series

Series III. Chapter Alternating Series

Transcription:

How to Maximize a Fuctio without Really Tryig MARK FLANAGAN School of Electrical, Electroic ad Commuicatios Egieerig Uiversity College Dubli

We will prove a famous elemetary iequality called The Rearragemet Iequality. We will the show that this iequality has some far-reachig cosequeces! 3 Motivatig Example (Part 1). Bakotes are available i the deomiatios of EUR5 ad EUR10. You are allowed to take 3 bakotes of oe type, ad 7 bakotes of the other type. How should you choose i order to maximize the amout of moey you have? Aswer. Choose 3 EUR5 otes, ad 7 EUR10 otes. Obvious! Justificatio. Because 3 5 + 7 10 > 3 10 + 7 5. This example motivates the followig result. The Rearragemet Iequality (Case of two variables): Let a < b ad x < y. The ax + by > ay + bx.

Proof: Note that b a > 0 ad also y x > 0. Therefore 4 (b a)(y x) > 0. Expadig this product yields ax + by ay bx > 0, givig the result. Motivatig Example for the Geeral Case. Bakotes are available i the deomiatios of EUR5, EUR10 ad EUR20. You are allowed to take 3 bakotes of oe type, 7 bakotes of a secod type, ad 9 bakotes of the third type. How should you choose i order to maximize the amout of moey you have? Aswer. Choose 3 EUR5 otes, 7 EUR10 otes, ad 9 EUR20 otes. Agai, obvious! Justificatio. Because 3 5 + 7 10 + 9 20 > 3 x + 7 y + 9 z, where x, y, z is ay rearragemet of 5, 10, 20. This example motivates the followig geeral result.

The Rearragemet Iequality: Suppose that 5 The umbers a 1, a 2,..., a are i icreasig order, i.e., a 1 < a 2 < < a The umbers b 1, b 2,..., b are also i icreasig order, i.e., b 1 < b 2 < < b If x 1, x 2,..., x is a rearragemet (or permutatio) of the umbers b 1, b 2,..., b, the (1) a 1 x 1 + a 2 x 2 + + a x a 1 b 1 + a 2 b 2 + + a b with equality if ad oly if the umbers x 1, x 2,..., x are i icreasig order, i.e., if ad oly if x 1 = b 1, x 1 = b 1,..., x = b. I other words, the maximum of the mixed sum M = a 1 x 1 + a 2 x 2 + + a x is equal to the forward-ordered sum F = a 1 b 1 + a 2 b 2 + + a b.

Proof. Suppose we cosider ay mixed sum 6 M = a 1 x 1 + a 2 x 2 + + a x. Suppose that the arragemet x 1, x 2,..., x maximizes the mixed sum. Suppose also that we ca fid two umbers x i ad x j such that a i < a j but x i > x j. Suppose we swap x i with x j. What happes to the mixed sum? The mixed sum beforehad equals M = a 1 x 1 + a 2 x 2 + + a i x i + + a j x j + + a x ad after the swap equals M = a 1 x 1 + a 2 x 2 + + a i x j + + a j x i + + a x Does the mixed sum icrease? I other words, is M > M? Well, this will be true if a i x j + a j x i > a i x i + a j x j. But this must be true sice (a j a i )(x i x j ) > 0. But the the mixed sum after the swap is larger tha before the swap. This cotradicts our iitial assumptio that we ca fid two umbers x i ad x j such that a i < a j but x i > x j. If this

assumptio does ot hold, the we must have x i < x j wheever a i < a j. 7 This shows that the uique arragemet which maximizes the mixed sum is x 1 = b 1, x 2 = b 2,..., x = b, i.e., whe the umbers x 1, x 2,..., x are i icreasig order. This completes the proof. Motivatig Example for a Related Result. Bakotes are available i the deomiatios of EUR5, EUR10 ad EUR20. You are allowed to take 3 bakotes of oe type, 7 bakotes of a secod type, ad 9 bakotes of the third type. How should you choose i order to miimize the amout of moey you have? Aswer. Choose 9 EUR5 otes, 7 EUR10 otes, ad 3 EUR20 otes. Corollary to the Rearragemet Iequality: Suppose that The umbers a 1, a 2,..., a are i icreasig order, i.e., a 1 < a 2 < < a The umbers b 1, b 2,..., b are also i icreasig order, i.e., b 1 < b 2 < < b

If x 1, x 2,..., x is a rearragemet (or permutatio) of the umbers b 1, b 2,..., b, the 8 (2) a 1 x 1 + a 2 x 2 + + a x a 1 b + a 2 b 1 + + a b 1 with equality if ad oly if x 1 = b, x 1 = b 1,..., x = b 1. This tells us the miimum of the mixed sum M = a 1 x 1 + a 2 x 2 + + a x is equal to the reverse-ordered sum R = a 1 b + a 2 b 1 + + a b 1. Proof of the Corollary to the Rearragemet Iequality: Applyig the Rearragemet Iequality (1) with b b 1 b 1 i place of b 1 b 2 b we obtai (3) a 1 ( x 1 )+a 2 ( x 2 )+ +a ( x ) a 1 ( b )+a 2 ( b 1 )+ +a ( b 1 ) Here we ote that if x 1, x 2,..., x is a rearragemet of the umbers b 1, b 2,..., b, the x 1, x 2,..., x is a rearragemet of the umbers b 1, b 2,..., b. Simplifyig (3) leads to the desired result.

Example: Chebychev s Iequality Assumig a 1 a 2 a ad b 1 b 2 b, we have R (a 1 + a 2 + + a )(b 1 + b 2 + + b ) F. 9 Proof: Cyclically rotatig the umbers b 1, b 2,..., b, we get mixed sums: M 1 = a 1 b 1 + a 2 b 2 + + a b M 2 = a 1 b 2 + a 2 b 3 + + a b 1 M 3 = a 1 b 3 + a 2 b 4 + + a b 2. M = a 1 b + a 2 b 1 + + a b 1 By the rearragemet iequality, each of the sums lies betwee R ad F. Therefore the average of all of the sums lies betwee R ad F. But the average of the sums is M 1 + M 2 + + M = (a 1 + a 2 + + a )(b 1 + b 2 + + b ) This lies betwee R ad F, establishig the desired result..

Exercise. Show that if we substitute a 1 = b 1 = c 1, a 2 = b 2 = c 2,..., a = b = c i Chebychev s Iequality we get c 2 1 + c 2 2 + + c2 c 1 + c 2 + + c i.e., RMS AM., 10 We are ow ready to prove the AM-GM iequality. First, let s remid ourselves of this result! The Arithmetic Mea Geometric Mea (AM-GM) Iequality: Suppose we have positive real umbers c 1, c 2,..., c. The c 1 + c 2 + + c (c 1 c 2 c ) 1 with equality if ad oly if all of the umbers c 1, c 2,..., c are equal. NOTE: The otatio y = x 1 meas that y is a umber whose -th power is x, i.e., such that y = x. For example, y = x 1 2 meas that y 2 = x, i.e., y = x ; y = x3 1 meas that y 3 = x, i.e., y = 3 x.

Proof of the AM-GM Iequality: Sice all of the umbers c 1, c 2,..., c are positive, the geometric mea of these umbers, GM = (c 1 c 2 c ) 1, must also be positive. Let s form 11 a 1 = c 1 GM ; a 2 = c 1c 2 GM 2 ; a 3 = c 1c 2 c 3 GM 3 ; ; a = c 1c 2 c 3 c GM, ad let b 1 = 1 a ; b 2 = 1 a 1 ; b 3 = 1 a 2 ; ; b = 1 a 1. A importat observatio here is that the orderig of the umbers b 1, b 2,..., b is the same as that of the umbers a 1, a 2,..., a. To see this, take the example I this case so that (a 1, a 2, a 3, a 4, a 5 ) = (5, 10, 8, 1, 2). (b 1, b 2, b 3, b 4, b 5 ) = ( 1 2, 1 1, 1 8, 1 10, 1 5 ). a 1 b 5 + a 2 b 4 + a 3 b 3 + a 4 b 2 + a 5 b 1 = 5 represets the reverse-ordered sum, ad is the miimum of ay mixed sum. Applyig the Rearragemet Iequality, we fid that the mixed sum a 1 b 1 + a 2 b + a 3 b 1 + + a b 2

is greater tha or equal to the reverse-ordered sum 12 Workig this out we get ad simplifyig, we get a 1 b + a 2 b 1 + a 3 b 2 + + a b 1. c 1 GM + c 2 GM + c 3 GM + c GM, c 1 + c 2 + + c GM, or c 1 + c 2 + + c GM, i other words, AM GM. Exercise. Show that by applyig the AM-GM iequality to the umbers 1/c 1, 1/c 2,..., 1/c we obtai the GM-HM iequality (c 1 c 2 c ) 1 1 c 1 + 1 c 2 + + 1. c

Exercise 1: 20 poits i the plae are give, oe of which are colliear. Divide these ito 5 groups. Let N deote the umber of triagles with vertices i differet groups. 13 How should the poits be divided i order to maximize N? Hit: To get started, let x 1, x 2, x 3, x 4, x 5 deote the umber of poits i groups 1, 2, 3, 4, 5, respectively. The the umber of triagles we ca form usig groups 1, 2 ad 3 is x 1 x 2 x 3 (sice there are x 1 choices for the vertex from group 1, x 2 choices for the vertex from group 2, ad x 3 choices for the vertex from group 3). Takig ito accout all of the possible groups for a triagle, we get N = x 1 x 2 x 3 + x 1 x 2 x 4 + x 1 x 2 x 5 + x 1 x 3 x 4 + x 1 x 3 x 5 + x 1 x 4 x 5 + x 2 x 3 x 4 + x 2 x 3 x 5 + x 2 x 4 x 5 + x 3 x 4 x 5. Next, cosider what happes whe you take a poit out of oe group ad place it ito a differet group. Does N icrease or decrease? Exercise 2: Repeat the above problem, but this time you must divide the poits ito 5 groups with a differet umber of poits i each group. How should the poits be divided i order to maximize N?

For further readig, click here: Wikipedia etry o the Rearragemet Iequality 14