Zzong's Notes

Home

❯

math

❯

law of cosines

law of cosines

2026년 8월 29일1 min read

Proofs

dot product 를 활용한 증명

c=a−b

c⋅cc2​=(a−b)⋅(a−b)=a⋅a−a⋅b−b⋅a+b⋅b=a2−a⋅b−a⋅b+b2=a2−2a⋅b+b2=a2+b2−2abcosθ​

References

  • https://en.wikipedia.org/wiki/Law_of_cosines

함께 보면 좋은 글

dot product

벡터 u 와 v 가 존재한다고 가정할때, 내적 u\cdot v 은 v 에서 u 로 내린 projection p 의 길이와 u 의 크기 ||u|| 값을 곱한것과 같다.

cosine similarity

\displaystyle\operatorname{sim}(u,v)=\frac{u^{\top}v}{\|u\| {2}\|v\| {2}} 두 벡터가 서로 유사할수록, Cosine similarity 값은 커진다. Vs.

power series representation

cosine \displaystyle\cos(x)=\sum {k=0}^{\infty}(-1)^{k}\frac{1}{(2k)!}x^{2k} sine \displaystyle\sin(x)=\sum {k=0}^{\infty}(-1)^{k}\frac{1}{(2k+1)!}x^{2k+1}.

gaussian integral

정의 Euler–Poisson integral (엘룰러 - 푸아송 적분) 이라고 부르기도 하며, 다음과 같은 적분을 의미한다 \displaystyle\int {-\infty}^{\infty}e^{-x^{2}}dx=\sqrt{\pi} - 일반적인 form은 다음과 같다: 증명: 극좌표 (polar...

Hadmard product

matrix 의 element-wise product: \boldsymbol{A}\odot\boldsymbol{B}.

등차수열

등차수열은 공차 (Common Difference) 는 d 로 나타낸다.

quadratic function

quadratic 함수란 가장 높은 degree 가 2 면서 한개 이상의 변수를 가지는 polynomial 함수를 의미한다. 예시 예를 들어 단일 변수 (univariate) 에 대한 quadratic function 은 다음과 같다.

interpolation

Interpolation(인터폴레이션, 보간) 이란 알려진 지점의 값 사이 (중간) 에 위치한 값을 알려진 값으로부터 추정하는 것을 말한다. 예를 들어, 어떤 사람이 20 살일때 키와 40 살에서의 키를 보고 30 살에서의 키를 추측하는 것이다.

derivative

how quickly the output changes when we move a small distance in input space away from x Jacobian matrix second derivative f& 039;& 039;(x): how quickly the gradient is...

Indicator function

Products of Indicator Functions Because 0·1=0, the product of indicator functions can be combined into a single indicator function with a modified condition.

  • Proofs
  • References