Maximizing (ab+bc+ca) with a+2b+c=4

  • Thread starter Thread starter utkarshakash
  • Start date Start date
  • Tags Tags
    Maximum Value
AI Thread Summary
To maximize the expression (ab + bc + ca) under the constraint a + 2b + c = 4, the approach involves substituting for b and simplifying the expression. The quadratic form obtained is X = b(4 - 2b) + ac, which can be differentiated with respect to b to find the maximum. Setting the derivative to zero leads to b = 1, a + c = 2, and further analysis shows that a = c = 2 results in b = 0. Ultimately, the maximum value of the expression is determined to be 4, correcting earlier miscalculations.
utkarshakash
Gold Member
Messages
852
Reaction score
13

Homework Statement


Let a,b,c be real numbers such that a+2b+c=4. Then the max value of (ab+bc+ca) is

Homework Equations



The Attempt at a Solution


I am trying to substitute for b into the second expression but that won't give me the answer. Any help would be appreciated.
 
Physics news on Phys.org
I am trying to substitute for b into the second expression but that won't give me the answer.
Why?
The approach is fine, what do you get as result?
 
Note that a + c = 4-2b
and ab + bc + ac is the same as b(a + c) + ac

So you can write X = b(4-2b) + ac.
That's a quadratic that you can differentiate wrt b to find a maximum for X at a particular b. You can also find what ac must be from the same result.

After that, a few substitutions gives you the answer.
 
Last edited:
mfb said:
Why?
The approach is fine, what do you get as result?

b=\dfrac{4-a-c}{2}
Now substituting this into the second expression and simplifying I get
\dfrac{4(a+c)-(a^2+c^2)}{2}

Whats next?
 
AJ Bentley said:
Note that a + c = 4-2b
and ab + bc + ac is the same as b(a + c) + ac

So you can write X = b(4-2b) + ac.
That's a quadratic that you can differentiate wrt b to find a maximum for X at a particular b. You can also find what ac must be from the same result.

After that, a few substitutions gives you the answer.

Here's what I did

-2b^2+4b+ac
Differentiating wrt b and setting it to 0
-4b+4=0
b=1
a+c=2
Now , ac=c(2-c)
Diff again wrt c and setting it to 0
c=1
a=1
Substituting a,b and c I get maximum value = 3

But the answer is 4. I can't find out my mistake. Maybe there is something wrong with differentiation.
 
utkarshakash said:
b=\dfrac{4-a-c}{2}
Now substituting this into the second expression and simplifying I get
\dfrac{4(a+c)-(a^2+c^2)}{2}

Whats next?
The derivative with respect to a is 2- a and the derivative wth respect to c is 2- c. Set those equal to 0 and you get a= c= 2 which then gives b= 0.
 
HallsofIvy said:
The derivative with respect to a is 2- a and the derivative wth respect to c is 2- c. Set those equal to 0 and you get a= c= 2 which then gives b= 0.

Thanks
 
Back
Top