How do you optimize $f(x,y)=xy-{x}^{2}+{e}^{y}$ subject to $x-y=8$?

Glenn Hopkins
2022-07-16
Answered

How do you optimize $f(x,y)=xy-{x}^{2}+{e}^{y}$ subject to $x-y=8$?

You can still ask an expert for help

dominicsheq8

Answered 2022-07-17
Author has **15** answers

Minimum of f(x, y) = f(3 ln 2 + 8, 3 ln 2 ).

= −8 ( 3 ln 2 + 7 )

= −72.6355, nearly.

Explanation:

Substitute x = y + 8.

f(x, y) = g(y) = y(y + 8) −(y + 8)^2 + e^y = −8 ( y + 8 ) + e^y..

Necessary condition for g(y) to be either a maximum or a minimum is $\frac{d}{dy}$g(y) = 0.

This gives y = 3 ln 2#.

The second derivative is e^y > 0, for all y. This is the sufficient condition that g(3 ln 2) is the minimum of g(y).

= −8 ( 3 ln 2 + 7 )

= −72.6355, nearly.

Explanation:

Substitute x = y + 8.

f(x, y) = g(y) = y(y + 8) −(y + 8)^2 + e^y = −8 ( y + 8 ) + e^y..

Necessary condition for g(y) to be either a maximum or a minimum is $\frac{d}{dy}$g(y) = 0.

This gives y = 3 ln 2#.

The second derivative is e^y > 0, for all y. This is the sufficient condition that g(3 ln 2) is the minimum of g(y).

asked 2021-03-02

COnsider the multivariable function $g(x,y)={x}^{2}-3{y}^{4}{x}^{2}+\mathrm{sin}\left(xy\right)$ . Find the following partial derivatives: ${g}_{x}.{g}_{y},{g}_{xy},g(\times ),g\left(yy\right)$ .

asked 2021-01-31

Nonexistence of a limit Investiage the limit
$\underset{(x,y)\to (0,0)}{lim}\frac{{(x+y)}^{2}}{{x}^{2}+{y}^{2}}$

asked 2022-04-07

I want to ask whether the following question has a closed form solution:

$\{\begin{array}{l}{\displaystyle \underset{x}{min}{c}^{T}x}\\ {\textstyle \text{s.t.}}\\ {\mathbf{1}}^{T}x=b\\ \phantom{\rule{1em}{0ex}}x\ge 0\end{array}$

We can write down the kkt condition as:

$\begin{array}{rl}L& ={c}^{T}x-\u27e8{\lambda}_{1},{\mathbf{1}}^{T}x-b\u27e9-\u27e8{\lambda}_{2},x\u27e9\\ \mathrm{\partial}L/\mathrm{\partial}x& =c-\mathbf{1}{\lambda}_{1}-{\lambda}_{2}=0\\ [{\lambda}_{2}{]}_{i}\cdot {x}_{i}& =0\\ [{\lambda}_{2}{]}_{i}& \ge 0\end{array}$

Denote ith component of $c$ as ${c}_{i}$. Now we can see that when $({c}_{i}-{\lambda}_{1})\ge 0$, then we must have ${x}_{i}=0$ and $({c}_{i}-{\lambda}_{1})=0$, we also must have ${x}_{i}>0$. But I am not sure how to proceed to the next.

$\{\begin{array}{l}{\displaystyle \underset{x}{min}{c}^{T}x}\\ {\textstyle \text{s.t.}}\\ {\mathbf{1}}^{T}x=b\\ \phantom{\rule{1em}{0ex}}x\ge 0\end{array}$

We can write down the kkt condition as:

$\begin{array}{rl}L& ={c}^{T}x-\u27e8{\lambda}_{1},{\mathbf{1}}^{T}x-b\u27e9-\u27e8{\lambda}_{2},x\u27e9\\ \mathrm{\partial}L/\mathrm{\partial}x& =c-\mathbf{1}{\lambda}_{1}-{\lambda}_{2}=0\\ [{\lambda}_{2}{]}_{i}\cdot {x}_{i}& =0\\ [{\lambda}_{2}{]}_{i}& \ge 0\end{array}$

Denote ith component of $c$ as ${c}_{i}$. Now we can see that when $({c}_{i}-{\lambda}_{1})\ge 0$, then we must have ${x}_{i}=0$ and $({c}_{i}-{\lambda}_{1})=0$, we also must have ${x}_{i}>0$. But I am not sure how to proceed to the next.

asked 2022-01-06

let x be a differentiable function $x:[a,b]\to R$ which satisfies:

$\frac{dx\left(t\right)}{dt}=f(t,x\left(t\right))$

$x\left(a\right)={x}_{a}$

In particular I am trying to understand what$f(t,x\left(t\right))$ means, I understand this represents a multivariable function with parameters $t$ and $x\left(t\right)$ , but I can't think of what this would mean in the given context?

In particular I am trying to understand what

asked 2020-11-08

Use Green's Theorem to find $\int}_{C}\overrightarrow{F}\cdot d\overrightarrow{r$ where $\overrightarrow{F}=\u27e8{y}^{3},-{x}^{3}\u27e9$ and C is the circle ${x}^{2}+{y}^{2}=3$ .

asked 2021-11-14

The half-life of C-14 is about 5730 yr.

a) Archaeologists find a piece of cloth painted with organic dyes. Analysis of the dye in the cloth shows that only$77\mathrm{\%}$ of the C-14 originally in the dye remains. When was the cloth painted?

b) A well-preserved piece of wood found at an archaeological site has 6.2% of the C-14 that it had when it was alive. Estimate when the wood was cut.

a) Archaeologists find a piece of cloth painted with organic dyes. Analysis of the dye in the cloth shows that only

b) A well-preserved piece of wood found at an archaeological site has 6.2% of the C-14 that it had when it was alive. Estimate when the wood was cut.

asked 2021-11-18

Why is it very easy to conclude that ${\int}_{1}^{\propto}{x}^{2}dx$ diverges without making any integration calculations?