How to minimize

1. Jun 25, 2012

techiejan

How to minimize the following:
{(A+Bx)/(1-e^(-βx))}-(B/β)

Subject to : x/(1-e^(-βx)))- (1/β)≤ T

I need the find the value of x. All A,B,T and β are constants. The numerator is linear. I don't know if the equation remains linear when the denominator is added. When plotted, the equation is a straight increasing line starting from 0. Any help please?

Last edited: Jun 25, 2012
2. Jun 25, 2012

HallsofIvy

All linear equations are of the form "y= Ax+ B" so, no, this does not "remain linear when the denominator is added". The "standard method" of finding minimum values is to set the derivative equal to 0. Here, if I have done the calculations correctly, that reduces to $$(1- x)e^{\beta x}= 1$$ which would be best solved graphically. In fact, the graph of this function looks to me like it does not have any local max or min.

Attached Files:

• mathGraph.bmp
File size:
17.3 KB
Views:
147
3. Jun 25, 2012

skiller

Last edited: Jun 25, 2012
4. Jun 25, 2012

techiejan

Thanks HallsofIvy. So let me get this correctly.....for the above optimization, we just take derivative of the objective function? How do we incorporate the constraint in that case?

In my case derivation of the objective function yields e^(βx)-βx=1-(βA)/B. And then considering 1/β is large, I get x=√(2A/βB). But then I do not consider the constraint at all?

5. Jun 27, 2012

techiejan

I really need this problem solved. Some help please.

6. Jun 27, 2012

math man

$$f(x) = \frac{A+Bx}{1-e^\textrm{ β x}} - \frac{B}{β}$$
$$f'(x) = \frac{B(1-e^\textrm{ β x}) + βe^\textrm{ β x}(A+Bx)}{(1-e^\textrm{ β x})^{2}}$$
$$f'(x) = 0 = \frac{B-Be^\textrm{ β x} + Aβe^\textrm{ β x}+Bxβe^\textrm{ β x}}{(1-e^\textrm{ β x})^{2}}$$
$$B-Be^\textrm{ β x} + Aβe^\textrm{ β x}+Bxβe^\textrm{ β x} = 0$$
$$Be^\textrm{ -β x} - B + Aβ+Bxβ = 0$$
$$B(e^\textrm{ -β x} + βx) = B - Aβ$$
$$\frac{1}{e^\textrm{ β x}} + βx = 1 - \frac{Aβ}{B}$$

7. Jun 28, 2012

techiejan

Thanks Math man,

But how do I incorporate the constraint ?

8. Jun 28, 2012

math man

Sorry, I forgot about the constraint. You can use Kuhn-Tucker conditions:
$$f(x) = \frac{A+Bx}{1-e^\textrm{ β x}} - \frac{B}{β}$$
$$g(x) = \frac{x}{1-e^\textrm{ β x}} - \frac{1}{β}$$
$$g(x) ≤ T$$
The Kuhn-Tucker conditions for minimizing single variable functions are:
$$0 = -f'(x) - λg'(x)$$
$$g(x) ≤ T$$
$$λ ≥ 0$$
$$λ(g(x)-T) = 0$$
So to apply the Kuhn Tucker conditions here:
$$\frac{-B+Be^\textrm{ β x} - Aβe^\textrm{ β x}-Bxβe^\textrm{ β x}}{(1-e^\textrm{ β x})^{2}} = λ\frac{(1-e^\textrm{ β x}) + βxe^\textrm{ β x}}{(1-e^\textrm{ β x})^{2}}$$
$$-B+Be^\textrm{ β x} - Aβe^\textrm{ β x}-Bxβe^\textrm{ β x} = λ-λe^\textrm{ β x} + λβxe^\textrm{ β x}$$
$$e^\textrm{ β x}(B - Aβ-Bxβ+λ - λβx)-B-λ = 0$$
This can be combined with the remaining conditions:
$$λ(\frac{x}{1-e^\textrm{ β x}}-\frac{1}{β}-T) = 0$$
$$\frac{x}{1-e^\textrm{ β x}} ≤ T + \frac{1}{β}$$
$$λ ≥ 0$$
Use these to solve for x.

9. Jun 29, 2012

haruspex

Minimising {(A+Bx)/(1-e-βx)}-(B/β) is the same as minimising f(x) = (A+Bx)/(1-e-βx) [0]
Ignoring the constraint for the moment, setting the derivative to zero gives me:
eβx = 1 + βx + Aβ/B [1]
(Rather different from what HofI got...)
Whether a solution of the above blows the constraint may well depend on the details of the constants. As oay pointed out, there's a syntax error in your constraint. I assume it's just an extra right parenthesis, so should read:
x/(1-e-βx) ≤ T + 1/β [2]
Since the function to be minimised clearly has exactly one minimum between 0 and +∞, if the solution of [1] is disallowed by [2] then the desired answer gives equality in [2]:
x/(1-e-βx) = T + 1/β [3]

10. Jun 30, 2012

techiejan

Thank you very much!