Math 2.0

definition

Gradient

Definition

Let U⊆RnU \subseteq \mathbb{R}^n be open, let f ⁣:U→Rf \colon U \to \mathbb{R}, and let a∈Ua \in U be a point at which ff is differentiable. The gradient of ff at aa is the unique vector ∇f(a)∈Rn\nabla f(a) \in \mathbb{R}^n such that Df(a)(v)=∇f(a)⋅vfor each v∈Rn,Df(a)(v) = \nabla f(a) \cdot v \quad \text{for each } v \in \mathbb{R}^n, where ⋅\cdot is the dot product of Euclidean space. In coordinates, it is the vector of partial derivatives ∇f(a)=(∂f∂x1(a),…,∂f∂xn(a)).\nabla f(a) = \left(\frac{\partial f}{\partial x_1}(a), \dots, \frac{\partial f}{\partial x_n}(a)\right). Other notations are grad⁡f(a)\operatorname{grad} f(a) and ∇f(a)\nabla f(a), where ∇\nabla is the del operator.

Remarks

The vector exists and is unique because each linear map Rn→R\mathbb{R}^n \to \mathbb{R} is v↦w⋅vv \mapsto w \cdot v for exactly one w∈Rnw \in \mathbb{R}^n. For f(x,y)=x2+3xyf(x, y) = x^2 + 3 x y, the gradient is ∇f(x,y)=(2x+3y, 3x)\nabla f(x, y) = (2x + 3y, \, 3x). A gradient is a column vector, and the derivative Df(a)Df(a) is the row vector of the same entries. Some books do not make this distinction. The map a↦∇f(a)a \mapsto \nabla f(a) is a vector field on UU, the gradient field of ff.

Explanations

L1 human

The gradient collects all slopes of ff along the axes into one arrow. On a map of a hill, the gradient at a point is an arrow that points straight uphill. The arrow is longer where the hill is steeper.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 7 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Euclidean space object
  2. Function concept
  3. Function of several variables concept
  4. Limit of a function of several variables concept
  5. Partial derivative concept
  6. Differentiable function of several variables definition
  7. Gradient definition

What depends on this

39 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Gradient, Definition
  2. Web https://en.wikipedia.org/wiki/Gradient, Cartesian coordinates