変数 (数学)








数学、特に解析学において変数(へんすう、英: variable)とは、未知あるいは不定の数・対象を表す文字記号のことである。代数学の文脈では不定元(ふていげん、英: indeterminate)の意味で変数と言うことがしばしばある。方程式において、特別な値をとることがあらかじめ期待されている場合、未知数(フランス語版)(みちすう)とも呼ばれる。また、記号論理学などでは(変数の表す対象が「数」に限らないという意味合いを込めて)変項(へんこう)とも言う。




目次






  • 1 概要


  • 2 記法


  • 3 関連項目


  • 4 外部リンク





概要


通常は定数に対する言葉であると解され、値が変化するものであるとみなされる。正確に述べれば、変数には、それが現れる文脈ごとに必ず、その変数の変域あるいは定義域などと呼ばれる、変数が値としてとりうるもの(その変数への代入が許されるもの)の範囲を示す集合が決まっているということである。


変数は(特に代数的な意味において)、それ自身ではいかなる関係式も満足することはないことに注意されたい。ただし、1つまたは複数の変数を含む関係式を与え、その関係式を満たすような代入について考察することはしばしば行われることである。たとえば、一次関係式を満足する平面上の点の集合として直線を考察することができる。


また、変域の中から代表として "無作為に1つ" 選び出した数、すなわち変域内の 「任意の値(任意定数)」 として変数を捉えることも可能である。このような視点に立てば、変数と定数の違いは曖昧である。通常は、変数を含む関係式を、このような任意定数の間の関係式とみなして差し支えないし、しばしばそのように解釈され、混同して議論をすすめることがある。「直線 y = ax + b 上の点を (x, y) と表す」などの言明は、このような解釈のもとで変数記号と任意の値の代入とが意識して混用される例となっている。


数列などの添字(英: index)は媒介変数(英: parameter)と呼ばれる変数の仲間である。これらは主たる変数ではないという意味で助変数と呼ばれることもあるが、本質的な違いは無い。



記法


変数を表す記号としてはラテン文字の小文字 x, y, z やギリシャ文字の小文字 ξ, η, ζ などがよく用いられる。これはデカルトの記法に倣ったものである。添字には index の頭文字 i から始まって j, k, l などがよく用いられる。自然数や整数の添字であれば m, n などがしばしば用いられる(これは number あるいは natural number の頭文字に由来すると考えられる)。媒介変数としては r, s, t, u など主変数の周辺の文字がよく使われる。


大抵の場合、x は第1変数、y は第2変数、z は第3変数として扱われ、空間内の点集合を扱うような場合ならば変数は3つでほとんど用が足りるが、変数の数が4つのときは w を加えて、(w, x, y, z) とする場合と、(x, y, z, w) に分かれる。前者はアルファベットの順番に並べただけであり、後者は x を第1変数として、w は4番目の変数として付け加えたということが強調される書き方である。例えば物理学に於いては解析力学、電磁気学や相対性理論などの分野で三次元空間の座標 (x, y, z) に、時間の t (相対論の場合は次元を揃えるために光速度 c が掛けられることが多い。理論の関係上さらに虚数単位 i を掛けることもある。)が加えられることになるが、この場合も t (或いは ct, ict)と (x, y, z) のどちらを前に置くかということがあるがこれは完全に趣味の問題である。添字記法を使用して x1, x2, x3, x4 とすることや、多重添字記法によりまとめて (xμ) と書くこともあるが、この場合、x = x1, y = x2, z = x3 とするために、時間座標を前に置くか後ろに置くかによって添字を ct = x0 とする場合と ct = x4 とする場合に分かれる。


一般に(無限個の場合をも含む)任意個数の変数を扱う場合には、用意する記号の都合上、添字記法に従う方が支配的である。



関連項目



  • アリティ

  • 族 (数学)

  • 媒介変数

  • 自由変数と束縛変数

  • 変数 (プログラミング)



外部リンク



  • Weisstein, Eric W. "Variable". MathWorld(英語)..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  • Variable - PlanetMath.(英語)




Popular posts from this blog

Magento 2 - Add success message with knockout Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Success / Error message on ajax request$.widget is not a function when loading a homepage after add custom jQuery on custom themeHow can bind jQuery to current document in Magento 2 When template load by ajaxRedirect page using plugin in Magento 2Magento 2 - Update quantity and totals of cart page without page reload?Magento 2: Quote data not loaded on knockout checkoutMagento 2 : I need to change add to cart success message after adding product into cart through pluginMagento 2.2.5 How to add additional products to cart from new checkout step?Magento 2 Add error/success message with knockoutCan't validate Post Code on checkout page

Fil:Tokke komm.svg

Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?