当前位置:网站首页>Derivative, partial derivative and gradient
Derivative, partial derivative and gradient
2022-07-27 06:56:00 【Mr_ health】
derivative
The concept and application of derivative can be said to run through all our mathematical knowledge since junior high school . When the independent variable x And dependent variables y When both are one-dimensional and the definition field and value field are real number fields , The dependent variable y The definition of derivative is as follows :

It's understandable , For a certain point ( The independent variables ), When it changes dx When , Corresponding y( The dependent variable ) The amount of change dy You can use the derivative f'(x) Work it out :dy = f'(x) * dx.
The derivative of a point on a curve = The slope of the tangent passing through this point .
A concept that needs to be clarified is : Although the derivative has positive and negative , It is still a scalar
Partial derivative
The partial derivative is when the dependent variable is one variable , When the independent variable is multivariate , The derivative of the dependent variable with respect to each independent variable . For example ,
The dependent variable of is z, The independent variable is x and y,z Yes x and y You can find the partial derivatives separately .
Actually , In the non strict sense, the derivative is unary “ Partial Guide ”, Take the derivative of only one independent variable .
gradient
Gradient is mainly for functions with multiple independent variables , Represents the direction in which the value of the function increases most rapidly , Visible gradient is a vector , It has direction .
In calculation , We need to find the partial derivative of the function , That is to find the derivative of each independent variable , This indicates the change of the function in the direction of each independent variable .
Here we need to specify that for unary functions , Understanding of derivatives and gradients .
First of all, give the conclusion : When the argument is unary , The derivative value of a point on a function can be approximately understood as a gradient , The direction of the gradient is the sign direction of the derivative value , It must be the axis of the independent variable ( That's what we have here x Axis ) parallel .
for instance : The expression of a unary function is
, be
The derivative of is expressed as
, When x The value is 1 when , The derivative value is 2, Its symbol is positive , To follow x The positive direction of the axis is the direction in which the function value increases fastest , That is, the direction of the gradient is x Axis direction , The size is 2; When x The value is -1 The time derivative is -2, Its sign is negative , To follow x The opposite direction of the axis is the direction in which the function value increases fastest , That is, the direction of the gradient is x The axis is in the opposite direction , The size is also 2.
The reason why the derivative is approximate to the gradient here is because , Derivative is a scalar , And the gradient is a vector , In the process of explanation here , We take the sign of the derivative value as the direction of the gradient .
边栏推荐
- Add virtual network card and configure OP route in win10
- Fix the problem that the paging data is not displayed when searching the easycvr device management list page
- Future, futuretask and completable future are often asked in interviews
- Sunflower teaches you how to prevent denial of service attacks?
- Unittest suite and runner
- Express接收请求参数
- The difference between malloc and new - Practical chapter
- 2022上半年英特尔有哪些“硬核创新”?看这张图就知道了!
- Soul持续发力社交渠道赴港上市,“Soul式社交”凭什么火出圈?
- vscode运行命令报错:标记“&&”不是此版本中的有效语句分隔符。
猜你喜欢

关于在Gazebo中给无人机添加相机(摄像头)之后,无人机无法起飞

改善宝宝过敏就吃伊敏舒,azg与Aibeca爱楽倍佳携手守护中国宝宝成长

正则表达式

聊聊大火的多模态

How to avoid loopholes? Sunflower remote explains the safe use methods in different scenarios

银行业客户体验管理现状与优化策略分析

Mysql database

DNA科研实验应用|环糊精修饰核酸CD-RNA/DNA|环糊精核酸探针/量子点核酸探针

Express receive request parameters

FTX.US推出股票和ETF交易服务,让交易更透明
随机推荐
PXE efficient batch network installation
PSI | CSI and ROC | AUC and KS - memorandum
gin-vue-admin 使用docker容器中的数据库
Use -wall to clear code hidden dangers
Ancient art - make good use of long tail keywords
deepsort源码解读(三)
Soul submitted an application for listing in Hong Kong stocks, accelerating the diversified and scene based layout of social gathering places
According to SQL, you must know and learn SQL (MySQL)
Mysql database
About the problem that Druid can't connect to the database
2022上半年英特尔有哪些“硬核创新”?看这张图就知道了!
NFS introduction and configuration
Relevant preparation materials for system design
Numpy array and image conversion
【12】 Understand the circuit: from telegraph to gate circuit, how can we "send messages from thousands of miles"?
Recommended by the world's most technologically competent smart contract security audit company in 2022
Express接收请求参数
deepsort源码解读(七)
vscode运行命令报错:标记“&&”不是此版本中的有效语句分隔符。
Deepsort工作原理分析
, be
The derivative of is expressed as
, When x The value is 1 when , The derivative value is 2, Its symbol is positive , To follow x The positive direction of the axis is the direction in which the function value increases fastest , That is, the direction of the gradient is x Axis direction , The size is 2; When x The value is -1 The time derivative is -2, Its sign is negative , To follow x The opposite direction of the axis is the direction in which the function value increases fastest , That is, the direction of the gradient is x The axis is in the opposite direction , The size is also 2.