Given positive real variables $a$ and $b$, find the minimum of $$f(a,b)=\sqrt{\left(1+{1\over a}\right)\left(1+{1\over b}\right)}$$ subject to $a+b=\lambda$ where $\lambda$ is a constant . [ISI Sample Papers]
- Method $1$ : Substitute $b=\lambda - a$ and then compute ${\partial \over \partial a }f(a,b)$. But, the calculations get a bit messy.
- Method $2$ : Actually this is what I want to know. Is there an easier approach using some inequalities like the AM-GM inequality ? I tried this but was not able to got lost in between.
- Method $3$ : Lagrange multipliers. I have not tried this and kept it as a last option.
What is the best way to solve this problem ?
You can write the term in the square root as $$\left(1+\frac{1}{a}\right)\left(1+\frac{1}{b}\right)=\frac{(a+1)(b+1)}{ab}=\frac{ab+a+b+1}{ab}=1+\frac{λ+1}{ab}$$ Now this term is minimized when $ab$ is maximized. So, your problem is equivalent to maximizing $ab$ subject to $a+b=λ$ i.e. to maximize $$a\cdot(λ-a)$$ Since it is a quadratic equation in $a$ with negative factor in front of $a^2$ the maximum is exactly the mean of the interval between the roots i.e. $a^*=\frac{λ}{2}$
Alternatively you could directly observe (or use) that the product $ab$ of two numbers with constant sum is maximized when the two numbers are equal.