# Maximize function subject to condition [closed]

What commands should I use in Mathematica to obtain the maximum or minimum of a function subject to conditions?

For example, find the maximum of the following function?

$$\qquad T=\sqrt[3]{2\,x+5} + \sqrt[3]{2\,y+5} , x > 0 ,y > 0 , x + y=3$$

## closed as off-topic by corey979, m_goldberg, Carl Lange, MarcoB, Daniel LichtblauJan 29 at 16:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – corey979, m_goldberg, Carl Lange, MarcoB, Daniel Lichtblau
If this question can be reworded to fit the rules in the help center, please edit the question.

• Maximize -- just search for it in the docs. – Michael E2 Jan 28 at 19:50
• BTW, people here generally like users to post code as Mathematica code instead of just images or TeX, so they can copy-paste it. It makes it convenient for them and more likely you will get someone to help you. You may find this this meta Q&A helpful – Michael E2 Jan 28 at 19:51
• Edited ... .... – Walter Jan 28 at 20:05

For the maximum

Maximize[
{Power[2 x + 5, (3)^-1] + Power[2 y + 5, (3)^-1], x > 0, y > 0, x + y == 3},
{x, y}]


{4, {x -> 3/2, y -> 3/2}}

For the minimum, Mathematica says there no minimum on the line x + y == 3 that is a minimum with the open set of the search space.

• ,thanks, it is not clear to me the use of Power in replacement of the cubic roots of each expression, please clarify – Walter Jan 28 at 21:09
• I get it. Thank You – Walter Jan 29 at 2:01