定義と計算とは? わかりやすく解説

定義と計算

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2021/07/04 15:36 UTC 版)

Ext関手」の記事における「定義と計算」の解説

R を環とし、ModR を R の上加群の圏とする。B を ModR の対象とし、ModR の固定した対象 A対し T(B) = HomR(A,B) とする。これは左完全関手であるので、右導来関手 RnT持っているExt関手は、 Ext R n ⁡ ( A , B ) = ( R n T ) ( B ) {\displaystyle \operatorname {Ext} _{R}^{n}(A,B)=(R^{n}T)(B)} により定義される。これは入射分解 0 → B → I 0 → I 1 → … {\displaystyle 0\rightarrow B\rightarrow I^{0}\rightarrow I^{1}\rightarrow \dots } を適当にとり、 0 → Hom R ⁡ ( A , I 0 ) → Hom R ⁡ ( A , I 1 ) → … . {\displaystyle 0\rightarrow \operatorname {Hom} _{R}(A,I^{0})\rightarrow \operatorname {Hom} _{R}(A,I^{1})\rightarrow \dots .} を計算することにより得ることができる。従って、(RnT)(B) はこの複体ホモロジーである。HomR(A,B) は複体から除外されることに注意するもうひとつ別な定義は、関手 G(A)=HomR(A,B) を使って定義される固定され加群 B に対し、これは反変左完全関手であり、よって、右導来関手 RnG持ちExt R n ⁡ ( A , B ) = ( R n G ) ( A ) {\displaystyle \operatorname {Ext} _{R}^{n}(A,B)=(R^{n}G)(A)} を定義することができる。 Ext関手は、適当な射影分解 ⋯ → P 1 → P 0 → A → 0 , {\displaystyle \dots \rightarrow P^{1}\rightarrow P^{0}\rightarrow A\rightarrow 0,} を選択し双対計算 0 → Hom R ⁡ ( P 0 , B ) → Hom R ⁡ ( P 1 , B ) → … {\displaystyle 0\rightarrow \operatorname {Hom} _{R}(P^{0},B)\rightarrow \operatorname {Hom} _{R}(P^{1},B)\rightarrow \dots } を実行することによっても得られる。このとき、(RnG)(A) はこの複体ホモロジーである。再び、HomR(A,B) が複体から除外されることに注意する。 これらの 2つ構成は、同型となることが分かり、よって両方とも Ext関手計算に使うことができる。

※この「定義と計算」の解説は、「Ext関手」の解説の一部です。
「定義と計算」を含む「Ext関手」の記事については、「Ext関手」の概要を参照ください。


定義と計算

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2022/07/28 07:05 UTC 版)

atan2」の記事における「定義と計算」の解説

定義関数 atan2複素数 x + yi偏角関数 arg適用した時の主値計算する。すなわち、atan2(y, x) = Pr arg(x + yi) = Arg(x + yi) である。偏角は、2π(原点中心としたちょうど1周の回転に対応)の整数倍を加えたものも同じ角度になるが、atan2一意定義するために範囲 ( − π , π ] {\displaystyle (-\pi ,\pi ]} の主値使用する。つまり、−π < atan2(y, x) ≤ π とする。 標準の arctan 関数(値域 (−π/2, π/2))を用いて、次のように表すことができる: atan2 ⁡ ( y , x ) = { arctan ⁡ ( y x ) if  x > 0 , arctan ⁡ ( y x ) + π if  x < 0  and  y ≥ 0 , arctan ⁡ ( y x ) − π if  x < 0  and  y < 0 , + π 2 if  x = 0  and  y > 0 , − π 2 if  x = 0  and  y < 0 , undefined if  x = 0  and  y = 0. {\displaystyle \operatorname {atan2} (y,x)={\begin{cases}\arctan({\frac {y}{x}})&{\text{if }}x>0,\\\arctan({\frac {y}{x}})+\pi &{\text{if }}x<0{\text{ and }}y\geq 0,\\\arctan({\frac {y}{x}})-\pi &{\text{if }}x<0{\text{ and }}y<0,\\+{\frac {\pi }{2}}&{\text{if }}x=0{\text{ and }}y>0,\\-{\frac {\pi }{2}}&{\text{if }}x=0{\text{ and }}y<0,\\{\text{undefined}}&{\text{if }}x=0{\text{ and }}y=0.\end{cases}}} 重複する4つの半平面を用いたコンパクトな式: atan2 ⁡ ( y , x ) = { arctan ⁡ ( y x ) if  x > 0 , π 2 − arctan ⁡ ( x y ) if  y > 0 , − π 2 − arctan ⁡ ( x y ) if  y < 0 , arctan ⁡ ( y x ) ± π if  x < 0 , undefined if  x = 0  and  y = 0. {\displaystyle \operatorname {atan2} (y,x)={\begin{cases}\arctan \left({\frac {y}{x}}\right)&{\text{if }}x>0,\\{\frac {\pi }{2}}-\arctan \left({\frac {x}{y}}\right)&{\text{if }}y>0,\\-{\frac {\pi }{2}}-\arctan \left({\frac {x}{y}}\right)&{\text{if }}y<0,\\\arctan \left({\frac {y}{x}}\right)\pm \pi &{\text{if }}x<0,\\{\text{undefined}}&{\text{if }}x=0{\text{ and }}y=0.\end{cases}}} アイバーソンの記法を用いれば、さらにコンパクトな式が可能: atan2 ⁡ ( y , x ) {\displaystyle \operatorname {atan2} (y,x)} = arctan ⁡ ( y x ) [ x ≠ 0 ] + sgn ⁡ ( y ) ( π [ x < 0 ] + π 2 [ x = 0 ] ) {\displaystyle =\arctan \left({\frac {y}{x}}\right)[x\neq 0]+\operatorname {sgn}(y)\left(\pi [x<0]+{\frac {\pi }{2}}[x=0]\right)} + undefined [ x = 0 ∧ y = 0 ] {\displaystyle +\;{\text{undefined}}\;\![x=0\wedge y=0]} 一見すると条件式のない数式: atan2 ⁡ ( y , x ) = sgn ⁡ ( x ) 2 arctan ⁡ ( y x ) + 1 − sgn ⁡ ( x ) 2 ( 1 + sgn ⁡ ( y ) − sgn ⁡ ( y ) 2 ) π {\displaystyle \operatorname {atan2} (y,x)=\operatorname {sgn}(x)^{2}\arctan \left({\frac {y}{x}}\right)+{\frac {1-\operatorname {sgn}(x)}{2}}\left(1+\operatorname {sgn}(y)-\operatorname {sgn}(y)^{2}\right)\pi } タンジェントの半角の公式から派生した次の式で atan2 を定義することもできる: atan2 ⁡ ( y , x ) = { 2 arctan ⁡ ( y x 2 + y 2 + x ) if  x > 0  or  y ≠ 0 , π if  x < 0  and  y = 0 , undefined if  x = 0  and  y = 0. {\displaystyle \operatorname {atan2} (y,x)={\begin{cases}2\arctan \left({\frac {y}{{\sqrt {x^{2}+y^{2}}}+x}}\right)&{\text{if }}x>0{\text{ or }}y\neq 0,\\\pi &{\text{if }}x<0{\text{ and }}y=0,\\{\text{undefined}}&{\text{if }}x=0{\text{ and }}y=0.\end{cases}}} この式は、上記の定義よりもシンボリックな使用に適している場合がある。ただし、 x 2 + y 2 {\displaystyle {\sqrt {x^{2}+y^{2}}}} の丸め誤差の影響が領域 x < 0, y = 0 の近くで拡大するため、一般的な浮動小数点数の計算用途には適していない(これにより、yがゼロで除算されることもある)。 これらの膨らんだ丸め誤差を回避するため、先ほどの式を変形: atan2 ⁡ ( y , x ) = { 2 arctan ⁡ ( y x 2 + y 2 + x ) if  x > 0 , 2 arctan ⁡ ( x 2 + y 2 − x y ) if  x ≤ 0  and  y ≠ 0 , π if  x < 0  and  y = 0 , undefined if  x = 0  and  y = 0. {\displaystyle \operatorname {atan2} (y,x)={\begin{cases}2\arctan \left({\frac {y}{{\sqrt {x^{2}+y^{2}}}+x}}\right)&{\text{if }}x>0,\\2\arctan \left({\frac {{\sqrt {x^{2}+y^{2}}}-x}{y}}\right)&{\text{if }}x\leq 0{\text{ and }}y\neq 0,\\\pi &{\text{if }}x<0{\text{ and }}y=0,\\{\text{undefined}}&{\text{if }}x=0{\text{ and }}y=0.\end{cases}}} 注意: これにより、範囲 (−π, π] の結果が生成される。 上記のように、偏角の主値 atan2(y, x) は、三角法によって arctan(y/x) に関連付けることができる。 導出は次のようになる: (x, y) = (r cos θ, r sin θ) のとき tan(θ/2) = y / (r + x) となる。その結果、次式が成立する。 atan2 ( y , x ) = θ = 2 θ / 2 = 2 arctan ⁡ y x 2 + y 2 + x . {\displaystyle {\text{atan2}}(y,x)=\theta =2\,\theta /2=2\arctan {\frac {y}{{\sqrt {x^{2}+y^{2}}}+x}}.} 問題の領域は √x2 + y2 + x ≠ 0 であることに注意。

※この「定義と計算」の解説は、「atan2」の解説の一部です。
「定義と計算」を含む「atan2」の記事については、「atan2」の概要参照ください

ウィキペディア小見出し辞書の「定義と計算」の項目はプログラムで機械的に意味や本文を生成しているため、不適切な項目が含まれていることもあります。ご了承くださいませ。 お問い合わせ



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「定義と計算」の関連用語

定義と計算のお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



定義と計算のページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
ウィキペディアウィキペディア
Text is available under GNU Free Documentation License (GFDL).
Weblio辞書に掲載されている「ウィキペディア小見出し辞書」の記事は、WikipediaのExt関手 (改訂履歴)、atan2 (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。

©2025 GRAS Group, Inc.RSS