Lost differentiating a function

o_damhsa
Messages
2
Reaction score
0

Homework Statement

Homework Statement [/b]
Hello. I'm trying to solve a non-linear problem and I have been working through the notes on this pdf to try and understand the method before I use it but I get stuck at one of the steps. The pdf is here:
http://www.nrbook.com/a/bookfpdf/f9-7.pdf
I cannot follow how the author went from equation 9.7.8 to 9.7.9



Homework Equations


The author has the following equation:

g (\lambda) \equiv f(xold + \lambda p)
He differentiates this function with respect to \lambda and gets the following
g'(\lambda) = \nabla f \cdot p


The Attempt at a Solution


My understanding is that the author differentiated with respect to \lambda so they got the \nabla f and then differentiated what was inside the function to get the p value. But I don't see how it became a dot product, or am I just misreading it?
 
Physics news on Phys.org
Welcome to PF, o_damhsa


The pdf doesn't open for me, but here's how it looks from what you've said.

Call xold=\langle x_1,x_2,x_3\rangle and p=\langle p_1,p_2,p_3 \rangle

Then g(\lambda)=f(x_1+\lambda p_1,x_2+\lambda p_2,x_3+\lambda p_3)

Now by the Chain Rule,

\frac{dg}{d\lambda}=<br /> \frac{\partial f}{\partial x}\frac{dx}{d\lambda}<br /> +\frac{\partial f}{\partial y}\frac{dy}{d\lambda}<br /> +\frac{\partial f}{\partial z}\frac{dz}{d\lambda}

\frac{dg}{d\lambda}=<br /> \frac{\partial f}{\partial x} p_1<br /> +\frac{\partial f}{\partial y} p_2<br /> +\frac{\partial f}{\partial z} p_3

\frac{dg}{d\lambda}=<br /> \left\langle \frac{\partial f}{\partial x},\frac{\partial f}{\partial y},\frac{\partial f}{\partial z}\right\rangle\cdot\langle p_1,p_2,p_3 \rangle


\frac{dg}{d\lambda}=<br /> \nabla f\cdot p
 
Hello Billy Bob,

Thank you very much for your reply! It makes perfect sense now :smile:

o_damhsa
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top