gaganaut
- 20
- 0
hi all,
Couple of months ago I had an entrance exam wherein this problem appeared. (I hope this is what it was).
For a scalar function f\left(x\right)=f\left(x_{1},x_{2},...,x_{n}\right) the gradient is given as
\nabla f=\left(\frac {\partial f \left(x\right)} {\partial x_1},\frac {\partial f \left(x\right)} {\partial x_2},...,\frac {\partial f \left(x\right)} {\partial x_n}\right)
Then show that for any small change \Delta x, f\left(x+\Delta x\right) is maximum if \Delta x lies along \nabla f\left(x\right).
Frankly, I did not get the question then. So I did few preliminary steps as follows.
f\left(x+\Delta x\right)=f\left(x\right)+\nabla f\left(x\right)\cdot\Delta x + O\left(\left(\Delta x\right)^2\right)
Hence,
\nabla f\left(x+\Delta x\right)=\nabla f\left(x\right)+\nabla \left(\nabla f\left(x\right)\cdot\Delta x\right)
For f\left(x+\Delta x\right) to be maximum, \nabla f\left(x+\Delta x\right)=0 is maximum
Hence,
\nabla f\left(x\right)=-\nabla \left(\nabla f\left(x\right)\cdot\Delta x\right)
This is where I gave up then. Bu intuition I could see that the dot product would give a maximum answer if \Delta x lies along \nabla f\left(x\right). But I could not prove it.
So can somebody help me with this as this question is haunting me for last two months now.
Thanks in advance.
Couple of months ago I had an entrance exam wherein this problem appeared. (I hope this is what it was).
For a scalar function f\left(x\right)=f\left(x_{1},x_{2},...,x_{n}\right) the gradient is given as
\nabla f=\left(\frac {\partial f \left(x\right)} {\partial x_1},\frac {\partial f \left(x\right)} {\partial x_2},...,\frac {\partial f \left(x\right)} {\partial x_n}\right)
Then show that for any small change \Delta x, f\left(x+\Delta x\right) is maximum if \Delta x lies along \nabla f\left(x\right).
Frankly, I did not get the question then. So I did few preliminary steps as follows.
f\left(x+\Delta x\right)=f\left(x\right)+\nabla f\left(x\right)\cdot\Delta x + O\left(\left(\Delta x\right)^2\right)
Hence,
\nabla f\left(x+\Delta x\right)=\nabla f\left(x\right)+\nabla \left(\nabla f\left(x\right)\cdot\Delta x\right)
For f\left(x+\Delta x\right) to be maximum, \nabla f\left(x+\Delta x\right)=0 is maximum
Hence,
\nabla f\left(x\right)=-\nabla \left(\nabla f\left(x\right)\cdot\Delta x\right)
This is where I gave up then. Bu intuition I could see that the dot product would give a maximum answer if \Delta x lies along \nabla f\left(x\right). But I could not prove it.
So can somebody help me with this as this question is haunting me for last two months now.
Thanks in advance.