Question about max of functions

  • Context: Graduate 
  • Thread starter Thread starter alomari2010
  • Start date Start date
  • Tags Tags
    Functions Max
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
alomari2010
Messages
5
Reaction score
0
Let a,b,c,d in R. For a=< x =< b and c=< y =< d, find

maxx{maxy{(x-a)(y-c), (x-a)(d-y), (b-x)(y-c), (b-x)(d-y)}}??

it is well known that

max(x,y) = [tex]\frac{x+y+|x-y|}{2}[/tex]
 
Mathematics news on Phys.org
alomari2010 said:
Let a,b,c,d in R. For a=< x =< b and c=< y =< d, find

maxx{maxy{(x-a)(y-c), (x-a)(d-y), (b-x)(y-c), (b-x)(d-y)}}??

it is well known that

max(x,y) = [tex]\frac{x+y+|x-y|}{2}[/tex]

With x fixed the functions you have are just straight lines... very easy to find max and min!

maxx{maxy{(x-a)(y-c), (x-a)(d-y), (b-x)(y-c), (b-x)(d-y)}}=
maxx{(x-a)(d-c), (x-a)(d-c), (b-x)(d-c), (b-x)(d-c)}=
max{(b-a)(d-c), (b-a)(d-c), (b-a)(d-c), (b-a)(d-c)}=:biggrin:=(b-a)(d-c)
 
Thanks!

but i think you didn't got what i want!

i will try to repost my Q?

As above we have a formula for max{x,y}. So what is the formula for max{x,y,z}?
where x,y,z in R. In general, for x_i in R, i=1,2,..,n
what is the formula for max{x_1, x_2,..., x_n}?

hope anyone can got the answer!