[Math] Trigonometric Functions

2024. 2. 26. 13:07·.../Math
728x90
728x90

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)= A \sin(\omega t + \theta) \\ y(t) = A \cos (\omega t + \theta)$$ $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는 다음과 같음.

  • $\sin x$,
  • $\cos x$,
  • $\tan x$​

위의 삼각함수의 reciprocals(역수, inverse functions 아님)는 다음과 같음 (이들도 삼각함수임).

  • cosecant $\csc x =\frac{1}{\sin x}$,
  • secant $\sec x =\frac{1}{\cos x}$,
  • cotangent $\cot x = \frac{1}{\tan x} = \frac{\cos x}{\sin x}$

동경: 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

https://ds31x.tistory.com/28

 

[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 $\omega$와 phase $\phi$, 그리고 amplitude $A$로 정의된다. $$ A\sin (\omega t+\phi) \\ A\cos(\omega t+ \phi)$$ 이를 exponent가 imaginar

dsaint31.tistory.com

2023.10.25 - [.../Math] - [Math] Euler’s Constant (자연상수, 오일러 상수)

 

[Math] Euler’s Constant (자연상수, 오일러 상수)

Definition $$ \begin{aligned}e&=\lim_{n \to \infty}\left( 1+\frac{1}{n}\right)^n \\ &= \lim_{t \to 0} (1-t)^{\frac{1}{t}},\text{ where }t=\frac{1}{n} \end{aligned} $$ 사실, 전기, 전자, 신호처리 등에서 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
'.../Math' 카테고리의 다른 글
  • [Math] Analytic Function (해석함수)
  • [Math] Inverse Function: Inverse vs. Reciprocal
  • [Math] Exponential Function (지수함수)
  • [Math] Function의 분류: 작성중
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (752)
      • Private Life (13)
      • Programming (56)
        • DIP (112)
        • ML (26)
      • Computer (119)
        • CE (53)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (355)
        • Signals and Systems (107)
        • Math (172)
        • Linear Algebra (33)
        • Physics (42)
        • 인성세미나 (1)
      • 정리필요. (54)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (1)
        • PET Study 2009 (1)
        • 방사선 장해방호 (4)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

    • Test
    • PET Study 2009
    • 기타 방사능관련.
  • 인기 글

  • 태그

    numpy
    Convolution
    function
    cv2
    linear algebra
    Programming
    SIGNAL
    Optimization
    signal_and_system
    Probability
    Term
    DIP
    Python
    math
    인허가제도
    opencv
    Vector
    SS
    fourier transform
    signals_and_systems
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
[Math] Trigonometric Functions
상단으로

티스토리툴바