定义域






Illustration showing f, a function from the pink domain X to the blue codomain Y. The yellow oval inside Y is the image of f. Both the image and the codomain are sometimes called the range of f.


定义域(Domain),是函数自变量所有可取值的集合。给定函数f:A→B{displaystyle f:Arightarrow B}f:Arightarrow B,其中A{displaystyle A}A被称为是f{displaystyle f}f的定义域,记作Df{displaystyle D_{f}}{displaystyle D_{f}}f{displaystyle f}f映射到陪域中的所有值的集合称为f{displaystyle f}f的值域,记作f(A){displaystyle f(A)}f(A)Rf{displaystyle R_{f}}{displaystyle R_{f}}


例如,函数f(x)=1/x{displaystyle f(x)=1/x}f(x)=1/xx=0{displaystyle x=0}x=0时没有定义。它的定义域可以是R∖{0}{displaystyle mathbb {R} setminus {0}}{mathbb  {R}}setminus {0}。在此情形下,若补充定义f(0)=0{displaystyle f(0)=0}f(0) = 0,则f{displaystyle f}f的定义域就可以是全体实数R{displaystyle mathbb {R} }mathbb {R}


任何函数都可以被限制到其定义域的子集上。限制函数g:A→B{displaystyle g:Arightarrow B}g:Arightarrow BS{displaystyle S}S上,其中S⊆A{displaystyle Ssubseteq A}Ssubseteq A,可以记作g|S:S→B{displaystyle g|_{S}:Srightarrow B}g|_{S}:Srightarrow B



分类


自然定义域:函数表达式在实数域中有意义的所有自变量的集合。


实际定义域:问题的实际背景所要求的取值范围。



相关条目




  • 陪域〔陪域又名到達域上域(codomain)、(target)或對應域

  • 值域

  • 单射

  • 满射

  • 双射




Comments

Popular posts from this blog

Monte Carlo

Information security

章鱼与海女图