Hey,(adsbygoogle = window.adsbygoogle || []).push({});

I have been trying to figure out how to solve [itex]\triangledown_x ||f(x)||^2_2[/itex].

I have used the chain rule (hopefully correctly) to get the following:

[tex]\triangledown_x ||f(x)||^2_2=2\triangledown_xf(x)^T \frac{f(x)^T}{||f(x)||_2}[/tex]

Is this correct?

The reason I doubt my answer is because I know the gradient of a scalar valued function should be a vector. My answer seems to give a scalar. Can anyone please shed some light...

Note: [itex]x \in \Re^n[/itex] and I am using the convection that the gradient, [itex]\triangledown_x[/itex], of a function is a row vector. Also assume [itex]f: \Re^n\rightarrow \Re^m[/itex] .

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I Gradient of ||f(x)||^2

Have something to add?

Draft saved
Draft deleted

Loading...

Similar Threads - Gradient ||^2 | Date |
---|---|

I Geometrical interpretation of gradient | May 26, 2017 |

A Gradient of scalar product | Apr 24, 2017 |

I Question about gradient, tangent plane and normal line | Jan 22, 2017 |

Gradient of sphere level fxn with 2 parameters inside the parametric e | Feb 3, 2014 |

Find the gradient of f(x,y). f(x,y)=(x^2)e^-2y | Oct 12, 2003 |

**Physics Forums - The Fusion of Science and Community**