How to Compute The Derivatives (如何求导数)(TBC)
A video by 3Blue1Brown in Bilibili\text{A video by 3Blue1Brown in Bilibili}A video by 3Blue1Brown in Bilibili
I don’t have a systematic face to Derivatives before, but now I do.\text{I don't have a systematic face to Derivatives before, but now I do.}I don’t have a systematic face to Derivatives before, but now I do.
The Derivative of a function is a function which equals to the slope of that\text{The Derivative of a function is a function which equals to the slope of that}The Derivative of a function is a function which equals to the slope of thatfunction’s graph.\text{function's graph.}function’s graph.
1. The Derivative of Power Functions\text{1. The Derivative of Power Functions}1. The Derivative of Power Functions
Let’s look at some simples.\text{Let's look at some simples.}Let’s look at some simples.
We can treat y=x2 to a square with side length x.\text{We can treat }y=x^2\text{ to a square with side length }x.We can treat y=x2 to a square with side length x.
Let the side length becomes to (x+dx) so that the area increases (2x⋅dx+dx2).\text{Let the side length becomes to }(x+dx)\text{ so that the area increases }(2x·dx+dx^2).Let the side length becomes to (x+dx) so that the area increases (2x⋅dx+dx2).
Because of the increment dx should be much smaller than x, so it’s safe to ignore the\text{Because of the increment }dx\text{ should be much smaller than }x,\text{ so it's safe to ignore the}Because of the increment dx should be much smaller than x, so it’s safe to ignore theterms those have dx2 or high power of dx.\text{terms those have }dx^2\text{ or high power of }dx.terms those have dx2 or high power of dx.
Therefore, ΔS=2x⋅dx. When dx→0,ΔS→2x.\text{Therefore, }\Delta S=2x·dx.\text{ When }dx\rightarrow0,\Delta S\rightarrow 2x.Therefore, ΔS=2x⋅dx. When dx→0,ΔS→2x.
And the same, consider the function y=x3.\text{And the same, consider the function }y=x^3.And the same, consider the function y=x3.
We can treat it to a cube with a side length x.\text{We can treat it to a cube with a side length }x.We can treat it to a cube with a side length x.
Let the side length becomes to (x+dx) so that the volume increases (3x2⋅dx+3x⋅dx2+dx3).\text{Let the side length becomes to }(x+dx)\text{ so that the volume increases }(3x^2·dx+3x·dx^2+dx^3).Let the side length becomes to (x+dx) so that the volume increases (3x2⋅dx+3x⋅dx2+dx3).
As the same, we also let it be 3x2.\text{As the same, we also let it be }3x^2.As the same, we also let it be 3x2.
Actually, for a power function f(x)=xn, it goes\text{Actually, for a power function }f(x)=x^n,\text{ it goes}Actually, for a power function f(x)=xn, it goes
f(x)=xnf(x+dx)=(x+dx)n=xn+nxn−1dx+...f′=Δf=f(x+dx)−f(x)=nxn−1\begin{aligned}f(x)&=x^n\\\\
f(x+dx)&=(x+dx)^n\\
&=x^n+nx^{n-1}dx+...\\\\
f'=\Delta f&=f(x+dx)-f(x)\\
&=nx^{n-1}\end{aligned}f(x)f(x+dx)f′=Δf=xn=(x+dx)n=xn+nxn−1dx+...=f(x+dx)−f(x)=nxn−1
Therefore, its dericatives f′=nxn−1.\text{Therefore, its dericatives }f'=nx^{n-1}.Therefore, its dericatives f′=nxn−1.
To be continued.\text{To be continued.}To be continued.
How to Compute The Derivatives (如何求导数)(TBC)的更多相关文章
- matlab求导数
clc; %清屏 clear; %清除变量 close all; %关闭 syms x; %定义变量,多个变量间用空格分离 f(x) = x^3; %原函数 res = diff(f(x),x,1); ...
- 关于 Softmax 回归的反向传播求导数过程
对于 \(Softmax\) 回归的正向传播非常简单,就是对于一个输入 \(X\) 对每一个输入标量 \(x_i\) 进行加权求和得到 \(Z\) 然后对其做概率归一化. Softmax 示意图 下面 ...
- BUPT复试专题—求导数(2015)
题目描述 描述:求函数f(x) = a*x^3 + b*x^2 + c*x + d在x = x0处的一阶导数. 输入 数据第一行是数据的组数m 接下来m行的每一行分别是 a b c d x0 输出 ...
- [再寄小读者之数学篇](2014-06-22 求导数 [中国科学技术大学2014年高等数学B考研试题])
设 $f(x)=x^2\ln(x+1)$, 求 $f^{(n)}(0)$. 解答: 利用 Leibniz 公式易知 $f'(0)=f''(0)=0$, $f^{(n)}(0)=(-1)^{n-3} n ...
- [zt]矩阵求导公式
今天推导公式,发现居然有对矩阵的求导,狂汗--完全不会.不过还好网上有人总结了.吼吼,赶紧搬过来收藏备份. 基本公式:Y = A * X --> DY/DX = A'Y = X * A --&g ...
- 转:DataTable的Compute方法的应用
转自:http://www.cnblogs.com/hfliyi/archive/2013/01/08/2851944.html 项目中遇到计算平均值.标准偏差.平均值+标准偏差.平均值+2倍标准偏差 ...
- [转]DataTable用中使用Compute 实现简单的DataTable数据的统计
本文转自:http://blog.csdn.net/zwxrain/article/details/252285 調用格式: object DataTable.Compute(string expre ...
- R语言的导数计算(转)
转自:http://blog.fens.me/r-math-derivative/ 前言 高等数学是每个大学生都要学习的一门数学基础课,同时也可能是考完试后最容易忘记的一门知识.我在学习高数的时候绞尽 ...
- 矩阵的f范数及其求偏导法则
转载自: http://blog.csdn.net/txwh0820/article/details/46392293 矩阵的迹求导法则 1. 复杂矩阵问题求导方法:可以从小到大,从scalar到 ...
随机推荐
- unittest核心要素
1 TestCase 一个TestCase的实例就是一个测试用例.什么是测试用例呢?就是一个完整的测试流程, 包括测试环境的准备(setUp),执行测试代码(run),以及测试后环境的还原(tearD ...
- 30 (OC)* 数据结构和算法
在描述算法时通常用o(1), o(n), o(logn), o(nlogn) 来说明时间复杂度 o(1):是最低的时空复杂度,也就是耗时/耗空间与输入数据大小无关,无论输入数据增大多少倍,耗时/耗空间 ...
- 阿里云服务器CentOS7.3上通过Docker安装MySQL
一.前言 我的服务器环境: CentOS7.3 Docker Portainer -> Docker可视化界面工具 二.拉取mysql镜像 这里我安装的是mysql5.7版本 docker pu ...
- vue-cli+webpack打包,上线
1.先修改配置文件再打包.有些人打包后运行一片空白,主要是由于路径问题 所以首先需要修改config下的index.js配置文件 上图中第一个要修改的就是静态文件的路径,打包后静态文件就在当前目录下, ...
- 基于docker构建测试环境
目录 0x01介绍 0x02 镜像基本操作 0x03 容器基本操作 0x04 容器的修改与保存 0x05 使用Dockerfile定制镜像 0x01介绍 Docker 是一个开源的应用容器引擎,基于 ...
- gcc编译命令总结
一步到位编译:gcc hello.c -o hello 预处理 -E (.i) 编译 -S (.s) 汇编-c (.o) 连接-o 预处理 gcc -E hello.c -o hello.i -E:仅 ...
- Spring 梳理-Spring配置文件 -<context:annotation-config/>和<context:component-scan base-package=""/>和<mvc:annotation-driven /> 的区别
<context:annotation-config/> 在基于主机方式配置Spring时,Spring配置文件applicationContext.xml,你可能会见<contex ...
- Highly Efficient Analysis of Glycoprotein Sialylation in Human Serum by Simultaneous Quantification of Glycosites and Site-Specific Glycoforms (通过同时定量糖基化位点和位点特异性糖型来高效分析人血清中的糖蛋白唾液酸化)-阅读人:陈秋实
期刊名:Journal of Proteome Research 发表时间:(2019年9月) IF:3.78 单位: 中国科学院大连化学物理研究所 中国科学院大学 大连医科大学第二附属医院 物种:人 ...
- tomcat设定shared lib共享同样的jar
在项目越来越多的时候,部署在tomcat的发布包也会越来越多,这样难免有很多相同的jar会被加载,占用大量的永久存续区内存,通过设定shared lib来控制相同的jar只加载一个,这样有以下好处: ...
- Idea插件之IdeTalk
前言 随着越来越多的公司与Java工程师,逐步从Eclipse过度到Idea,安装相应的插件可能会成倍的增加工作效率. IDETalk是由JetBrains的工程师开发的一款代码级的协同工具,主要是为 ...