최적화에서 가장 처음에 배우는 내용은 geometry의 정의이다.
정의를 보면 그렇구나, 싶지만 나중에 헷갈리게 되어서 정리를 한다. 이해를 위해서는 예시를 많이 알아두는 게 좋다.
Definition / Dimension / Bases / Independence / Examples 등에 대해 적는다.
1. Linear subspace
1-1. Definition
is a linear subspace iff it possesses the following three properties:
-
-[closedness with respect to additions] Whenever , we have
-[closedness w.r.t multiplications by reals] Whenever and , we have
공집합이 아니면서 덧셈과 곱셈에 대하여 close 되어있는 space
1-2. linear span (linear combination)
linear span 은 내가 가지고 있는 set 에 대해서 Linear combination을 구해서 이것을 set으로 구성한 것이다.
linear span으로 만든 set이기 때문에 Linear subspace 성질을 만족해서 linear subspace라고 할 수 있다.
Linear span 은 를 포함하는 가장 작은 Linear subspace이다.
= the set of all finite linear combination of the points
1-3. Independence
Recall that a collection \(x_1, \dots, x_k\) of vectors from \(\mathbb{R}^n\) is called \textit{linearly independent}, if the only linear combination of these vectors equal to 0 is the trivial one — all coefficients are equal to 0:
1-4. Dimension and Bases
Dimension은 basis의 숫자로 결정된다.
* Basis의 정의
There exist finite collections which span L and are “minimal” in this respect (i.e., such that eliminating from the collection one or more elements, the remaining vectors do not span ). All minimal finite collections of vectors spaning L, when nonempty, are comprised of distinct from each other nonzero vectors and have the same cardinality, called the dimension of L (notation: dim L), and are called linear bases of .
예시)
여러 Linear subapce를 보면서 dimension
내가 있는 공간이 이라고 하자.
dimension =
dimension =
The dimensions of all proper (distinct from and ) linear subspaces of are integers and
2. Affine subspace
2-1. Definition
Affine subspace는 linear subspace의 shift된 버전이라고 볼 수 있다. 따라서 affine subspace를 볼 때는 linear subspace를 미리 식별하는 게 편하다.
A set \(M \subset \mathbb{R}^m\) is called an affine subspace, if it can be represented as a shift of a linear subspace: for properly chosen linear subspace \(L \subset \mathbb{R}^n\) and point \(a \in \mathbb{R}^n\) we have
2-2. Affine combination
2-3. Affine hull
= the set of all finite affine combinations of elements of
임의의 set 의 dimension은 affine hull of 의 dimension으로 계산한다.
2-4. Independence
linear independence와 유사하게 결국 독립이라는 것은 affine subspace에서 어떤 affine combination을 하더라도 동일한 결과를 얻을 수 없다는 것을 의미한다.
또는 다음과 같이 표현할 수 있다.
2-5. Dimension and Bases
Affine dimension을 알기 위해서는 다음 lemma를 참고한다.
Let \(k \geq 0\), and let \(x_0, \dots, x_k\) be a collection of \(k+1\) vectors from \(\mathbb{R}^n\). This collection is affinely independent if and only if the collection \(x_1 - x_0, x_2 - x_0, \dots, x_k - x_0\) is linearly independent.
A collection 가 있다고 하자. 다음 proposition을 참고하면서 affine bases와 dimension을 살펴본다.
The minimal w.r.t inclusion collections of vectors from an affine subspace which affinely span are affine bases of the affine subspace .
An affine subspace \(M = a + L\) is affinely spanned by a finite set \(X = \{x_0, \dots, x_k\}\) if and only if \(x_0 \in M\) and the \(k\) vectors \(x_1 - x_0, x_2 - x_0, \dots, x_k - x_0\) linearly span \(L\). In particular, the minimal in cardinality subsets \(X = \{x_0, \dots, x_k\}\) which affinely span \(M\) are of cardinality \(k + 1 = \dim M + 1\) and are characterized by the inclusion \(x_0 \in M\) and the fact that \(x_1 - x_0, \dots, x_k - x_0\) is a linear basis in \(L\).
다음과 같이 linear independence를 만족하는 \(x_1 - x_0, \dots, x_k - x_0\)가 있을 때 \{x_0, \ldots, x_k\}는 affine subspace의 bases가 되고 이다
따라서 Affine subspace는 linear subspace와 달리 bases가 dimension보다 1개 더 많다. 라는 shift를 위한 vector가 필요하기 때문에 an affine subspace 는 Linear subspace 과 동일한 dimension을 가졌지만 추가적인 bases가 필요한 것이다.
생각할 거리
1. 차원이 일 때
이 경우에는 일직선 상의 좌표계를 생각하면 된다.
1-1. 다음과 같은 원점만 가지고 있는 경우
- Linear subspace
- Affine subspace
둘 다 해당된다. dimension은 0
1-2. (Singleton) : Affine subspace
affine subspace는 으로 표현할 수 있기 때문에 linear subspace 의 dimension 0은 그대로 가져가고 bases는 0과 1이 된다.
1-3.
Not linear subspace
Not affine subspace
Linear subspace는 정의 상 맞지 않으므로 linear subspace가 될 수 없고, affine subspace의 경우에도 a translation of linear subspace로 해석할 수 없다.
two different points가 있는 경우 affine hull of 는 line이 된다.
1-4.
Not linear subspace
Not affine subspace
1-5.
Linear subspace, Affine subspace이다.
'연구 Research > 최적화 Optimization' 카테고리의 다른 글
[최적화] Gradient를 계산하는 방법 (0) | 2025.01.07 |
---|---|
[최적화] Introduction to Optimization - Introduction (0) | 2020.09.25 |