Find Max Sum Given Integers a,b,c,d

  • Context:
  • Thread starter Thread starter Albert1
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
Albert1
Messages
1,221
Reaction score
0
a,b,c,d are integers

given :a+b=c, b+c=d , c+d=a

now if b>0, find max(a+b+c+d)
 
Last edited:
Mathematics news on Phys.org
Albert said:
a,b,c,d are integers

given :a+b=c, b+c=d , c+d=a

now if b>0, find max(a+b+c+d)

by solving we get

a = -3b,
c = -2b
d = -b

so sum = a + b + c + d = - 5b

it is largest when b ls smallest

b = 1 as b > 0 and integer

so largest sum = - 5
 
Last edited:
Albert said:
a,b,c,d are integers

given :a+b=c, b+c=d , c+d=a

now if b>0, find max(a+b+c+d)

The linear system of equations...

$$ a-c= - b$$

$$c- d= - b$$

$$a - c - d =0\ (1)$$

... has solution $a= - 3 b$, $c=- 2 b$, $d= - b$, so that is $a + b + c + d = - 5 b$ and the maximum is for b= 1, i.e. max (a + b + c + d) = -5...

Kind regards

$\chi$ $\sigma$

P.S. I didn't see that Kaliprasad solved before me... sorry!...