Newton-Raphson method with two x values

  • Thread starter Thread starter LakeMountD
  • Start date Start date
  • Tags Tags
    Method
LakeMountD
Messages
59
Reaction score
0
Find the value of x1 and x2 that minimize the function f= x1^2 + x2^2 + 10x1 +20x2 +25 . This isn't that difficult of a problem if there was only 1 x value. But how do I do it when it is using x1 and x2?
 
Physics news on Phys.org
Okay I think I might have figured something out. I split the problem up to be f(x1)=x1^2+10x1+5 and f(x2)=x2^2+20x2+25 and then do Newton-raphson for each of those functions. Is this correct?
 
In this case, it's going to pretty easy since there aren't any terms in the expression for f(x_1,x_2) that involve both x_1 and x_2 so you can indeed do this one by finding the minimums with respect to x_1 and x_2.
 
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