0
$\begingroup$

Suppose $f(x) = || x - b||^2$ where $x,b \in \mathbb{R}^n$, what is the expression of $f'(x)$?

Thank you!

1 Answers 1

1
  1. It would be the gradient $\nabla f$, not derivative $f^\prime$.
  2. For the second norm the gradient looks as follows $$\nabla f = 2(x - b)\in \mathbb{R}^n$$