Trigonometric functions 는 angle의 크기에 따라 변하는 functions로
삼각형의 변들 사이의 ratio 를 나타냄.
Transcendental functions 의 대표적인 예임.
sin과 cos은 주기신호나 wave등을 나타내는데 사용되는 기본적인 함수.
때문에 Fourier Transform과 같이 주파수 관련 처리나,
Positional Encoding 등에서 많이 사용됨.
2022.04.19 - [.../Physics] - [Physics] A periodic representation of wave : sin and cos
[Physics] A periodic representation of wave : sin and cos
sin(정현), cos(여현) : 주기신호나 wave등을 나타내는데 사용되는 기본적인 함수. y(t)=Asin(ωt+θ)y(t)=Acos(ωt+θ) T : period (주기), 단위 : sec. Time to complete one vibration $\om
dsaint31.tistory.com
공학적 응용에서
Euler equality를 통해 Exponential function으로 표현되는 경우가 많음 (이 경우 complex number로 확장됨).
https://dsaint31.tistory.com/609#Euler's%20identity-1-2
[SS] Complex Exponential Signals
Complex Exponential Signals신호처리에서 주파수 성분을 분석하고 이를 나타내는데 핵심적인 역할을 함.(Fourier Transform에서 Basis function으로 사용됨) $$Ae^{z}=Ae^{s}=Ae^{\sigma + j \omega t} = Ae^{\sigma}e^{j\omega t}
dsaint31.tistory.com
Trigonometric functions
대표적인 trignometric functions는 다음과 같음.
- sinx,
- cosx,
- tanx
위의 삼각함수의 reciprocals(역수, inverse functions 아님)는 다음과 같음 (이들도 삼각함수임).
- cosecant cscx=1sinx,
- secant secx=1cosx,
- cotangent cotx=1tanx=cosxsinx

동경: radius vector로, 위의 그림에서 오른쪽 상단에서 반지름이 X축에서부터 원점을 기준으로 회전하여 OP를 이루는데, 이 OP가 바로 radius vector임.
참고 동영상
https://youtu.be/iB_fj8_macg?si=Y7CnjXtSH-8HMSIm
reciprocals 의 그래프는 다음과 같음.

Inverse Trigonometric Functions
inverse functions (Inverse Trigonometric Functions)는 다음과 같음.
- arcsin : inverse of sin
- arccos : inverse of cos
- arctan : inverse of tan
위의 functions는 일반적으로 inverse function of trigonometric function이라고 여겨지나,
이는 domain을 한정하여 bijection이 성립하도록 한 경우에만 가능함.
(inverse는 엄밀하게는 one-to-one correspondance인 function에서만 존재하기 때문임.)
관련 numpy 의 함수들.
angle의 단위를 주의할 것. 일반적으로는 radian이 기본으로 쓰이는 경우가 대다수임.
import numpy as np # np.set_printoptions(formatter={'float_kind': lambda x: "{0:0.2f}".format(x)}) degrees = np.array([0,30,45,60,90]) radians = np.radians(degrees) print('sine :' , np.sin(radians)) print('cosine :' , np.cos(radians)) print('tangent :', np.tan(radians)) inv_deg0 = np.round(np.degrees(np.arcsin(np.sin(radians))),2) inv_deg1 = np.round(np.degrees(np.arccos(np.cos(radians))),2) inv_deg2 = np.round(np.degrees(np.arctan(np.tan(radians))),2) print('deg0: ',inv_deg0) print('deg1: ',inv_deg1) print('deg2: ',inv_deg2)
같이 읽어보면 좋은 URLs
[Python] atan2
vector를 이용하여 직선 간의 사이각을 구할 때에는 inner prodcut를 이용한 cos과 acos을 활용하는 경우가 많다. 하지만, unit vector를 구하고 이들간의 특정 방향 (cw or ccw)등으로 각도를 구해야하는 경우
ds31x.tistory.com
2023.09.19 - [.../Signals and Systems] - [SS] Complex Exponential Signals
[SS] Complex Exponential Signals
Continuous-time Sinusoidal Signal 주기신호 Continuous-time sinusoidal signal은 특정 angulary frequency ω와 phase ϕ, 그리고 amplitude A로 정의된다. Asin(ωt+ϕ)Acos(ωt+ϕ) 이를 exponent가 imaginar
dsaint31.tistory.com
2023.10.25 - [.../Math] - [Math] Euler’s Constant (자연상수, 오일러 상수)
[Math] Euler’s Constant (자연상수, 오일러 상수)
Definition e=limn→∞(1+1n)n=limt→0(1−t)1t, where t=1n 사실, 전기, 전자, 신호처리 등에서 Euler의 수 (or Euler’s formula) 없이
dsaint31.tistory.com
2022.08.29 - [.../Math] - [Math] Radian (Circular measure, 호도법)
[Math] Radian (Circular measure, 호도법)
60분법 (degree) 원을 이루는 각을 360으로 나눈 것을 1도(degree)라 함. Radian (호도법, Circular measure) 원(흔히 단위원)에서 원주와 반지름의 길이가 같아질 때의 θ를 1 radian이라고 함. $$\theta = \frac{l_{arc}}
dsaint31.tistory.com
2024.02.24 - [.../Math] - [Math] Transcendental Function (초월함수)
[Math] Transcendental Function (초월함수)
A transcendental function is an analytic function that does not satisfy a polynomial equation, in contrast to an algebraic function. (The polynomials sometimes must have rational coefficients.) 쉽게 말해서 algebraic function을 제외한 Analytic func
dsaint31.tistory.com
'... > Math' 카테고리의 다른 글
[Math] Analytic Function (해석함수) (1) | 2024.02.26 |
---|---|
[Math] Inverse Function: Inverse vs. Reciprocal (0) | 2024.02.26 |
[Math] Exponential Function (지수함수) (1) | 2024.02.26 |
[Math] Function의 분류: 작성중 (1) | 2024.02.26 |
[Math] Polynomial Functions (다항함수) (0) | 2024.02.26 |