梯度

“梯度”是一个向量,是梯度向量的简称

关于什么是梯度参见:https://baijiahao.baidu.com/s?id=1627719346341492607&wfr=spider&for=pc

梯度的两条结论:

(1)梯度的方向是函数变化率最大的方向

(2)梯度指向函数值增大的方向

解释:

对于函数f(x,y), 在方向\overrightarrow{V}上的方向导数为:

\left |\triangledown f(x,y)\right |\cdot \left | \overrightarrow{V} \right |\cdot \cos \theta

对于函数f(x,y)沿着\overrightarrow{V}方向变化\left | \overrightarrow{V} \right |的值为:

f(<x,y>+\overrightarrow{V})

将此式进行泰勒展开,保留前两项得:

f(<x,y>+\overrightarrow{V}) \approx f(x,y))+\triangledown f(<x,y>)^{\top }\cdot \overrightarrow{V}

因此:

f(<x,y>+\overrightarrow{V}) - f(x,y))\approx \triangledown f(<x,y>)^{\top }\cdot \overrightarrow{V}= \left |\triangledown f(x,y)\right |\cdot \left | \overrightarrow{V} \right |\cdot \cos \theta

假设\overrightarrow{V}就是梯度方向,则此式的夹角:

\theta=0^{o }

因此,

f(<x,y>+\overrightarrow{V})-f(<x,y>)>0

说明函数沿梯度方向变化,值增大。

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值