0
$\begingroup$

Suppose $f(x,y) = x^2+xy+y^2$. How do you write this as two functions $f_{1}(x,y)$ and $f_{2}(x,y)$? I am trying to use Newton's method for $f(x,y)$.

  • 1
    Apparently you misunderstood how to compute the gradient. Do you know how to do partial derivatives?2012-04-19
  • 0
    @J.M.: I know how to do that. But you just need to set the gradients equal to 0? Not the actual function?2012-04-19
  • 0
    Depends on what you're trying to do. Are you optimizing $f(x,y)$?2012-04-19
  • 0
    @J.M. Yeah trying to find the minimum of $f(x,y)$.2012-04-19
  • 0
    Apply Newton's method to the gradient of $f$, ie, $(\frac{\partial f(x,y)}{\partial x}, \frac{\partial f(x,y)}{\partial y})$.2012-04-19

1 Answers 1