绿皮书刷题记录_03
条评论这是绿皮书刷题记录系列的第 2 篇。
今天涉及的是我很久没有复习过的微积分与线性代数,因此稍微吃力一点。我们先将书中涉及到的所有数学知识点整理一下。
数学知识整理
极限与导数
Derivative: Let
,thenThe product rule: If
and and their respective derivatives exist,The quotient rule:
The chain rule: If
and ,thenThe generalized power rule:
forSome useful equations:
For any
, for any for any
Local maximum or minimum: suppose that
is differentiable at and is defined on an open interval containing . If is either a local maximum value or a local minimum value of ,then .Second Derivative test: Suppose the secondary derivative of
, is continuous near . If and ,then has a local minimum at ; if and ,then has a local maximum at .L’Hospital’s rule: Suppose that functions
and are differentiable at and that . Further suppose that and or that and ,then . L’Hospital’s rule converts the limit from an indeterminate form to a determinate form.
积分
If
,The generalized power rule in reverse:
where
is any constant.Integration by substitution:
Substitution in definite integrals:
Integration by parts:
偏导数与多重积分
- Partial derivative:
- Second order partial derivatives:
- The general chain rule: Suppose that
and that each of variables is a function of the variables . If all these functions have continuous first-order partial derivatives, then
for each . - Changing Cartesian integrals into polar integrals: The variables in two-dimension plane can be mapped into polar coordinates:
, . The integration in a continuous polar region is converted to
重要的微积分方法
Taylor’s series: One-dimensional Taylor’s series expands function
as the sum of a series using the derivatives at a point :
If ,
Taylor’s series are often used to represent functions in power series terms. For example, Taylor’s series for three common transcendental functions, and ,at are
The Taylor’s series can also be expressed as the sum of the th-degree Taylor polynomial
and a remainder
For some between and . Let be the maximum of for all between and ,we get constraint .Newton’s method: Newton’s method, also known as the Newton-Raphson method or the Newton-Fourier method, is an iterative process for solving the equation
. It begins with an initial value and applies the iterative step to solve if converge.Convergence of Newton’s method is not guaranteed, especially when the starting point is far away from the correct solution. For Newton’s method to converge, it is often necessary that the initial point is sufficiently close to the root;
must be differentiable around the root. When it does converge, the convergence rate is quadratic, which means ,where is the solution to .Bisection method: is an intuitive root-finding algorithm. It starts with two initial values
and such that and . Since is differentiable, there must be an between and that makes . At each step, we check the sign of . If ,we set and ; If ,we set and ; If ,or its absolute value is within allowable error, the iteration stops and . The bisection method converges linearly, ,which means it is slower than Newton’s method. But once you find an pair, convergence is guaranteed.Secant method: It starts with two initial values
and applies the iterative step
It replaces the in Newton’s method with a linear approximation . Compared with Newton’s method, it does not require the calculation of derivative ,which makes it valuable if is difficult to calculate. Its convergence rate is ,which makes it faster than the bisection method but slower than Newton’s method. Similar to Newton’s method, convergence is not guaranteed if initial values are not close to the root.Lagrange multipliers: The method of Lagrange multipliers is a common technique used to find local maximums/minimums of a multivariate function with one or more constraints.
Let
be a function of variables with gradient vector . The necessary condition for maximizing or minimizing subject to a set of constraints
is that ,where are called the Lagrange multipliers.
常微分方程
Separable differential equations: A separable differential equation has the form
. Since it is separable, we can express the original equation as . Integrating both sides, we have the solution .First-order linear differential equations: A first-order differential linear equation has the form
. The standard approach to solving a first-order differential equation is to identify a suitable function , called an integrating factor, such that
Preview: