Processing math: 100%

bme

admin write write write

[LA] Linear Combination 및 Vector equation, Matrix equation

Linear Algebra 2022. 9. 2. 13:28
728x90
반응형

Linear Combination

linear equation 에서 variable 이 scalar가 아닌 vector로 바꾼 경우라고 생각하면 쉽다

  • scalar를 component가 1개인 vector라고 생각할 수 있으므로, linear equaiton의 일반화 라고 봐도 된다.
  • weighted sum이라고도 불림.

정의는 다음과 같음 (from LInear Algebra and its application, 5th ed. David C. Ray)


Given vectors v1,v2,,vp in Rn and given scalars c1,c2,,cp,
the vector y defined by
y=c1v1++cpvp
is called a linear combination of v1,v2,,vp with weights c1,c2,,cp.


  • 위의 정의식에서 vector v를 scalar x로 변경할 경우, linear equation이 됨.
  • 기계학습 등에서는 weight들은 real number로 쓰는 경우가 대부분임.
  • weight이 0인 경우도 포함됨을 주의할 것.

Vector equation and Matrix equation

Linear combination의 위 정의식은 y에 대한 vector equation이라고도 볼 수 있음.


다음과 같은 linear system이 있다고 하자.

x1+2x2=72x1+5x2=45x1+6x2=3

 

이를 vector equation으로 나타내면 다음과 같음.

x1[125]+x2[256]=[743]

 

참고로 이를 augmented matrix로 표현하면 다음과 같음.

[127254563]

 

이를 matrix equation으로 표현하면 다음과 같음.[122556][x1x2]=[743]

 

이들은 모두 표현방법만 다를 뿐 solution을 공유하는 equivalent 를 만족한다.

즉, 가장 편한 방식으로 골라 쓸 수 있음.

728x90
admin