Constant function: Difference between revisions

Content deleted Content added
No edit summary
m Reverted edits by 75.130.9.98 (talk) to last version by Paul August
Line 1:
In [[mathematics]] a '''constant function''' is a [[function (mathematics)|function]] whose values do not vary and thus are [[constant]]. For example, if we have the function ''f''(''x'') = 4, then ''f'' is constant since ''f'' maps any value to 4. More formally, a function ''f'' : ''A'' → ''B'', is a constant function if ''f''(''x'') = ''f''(''y'') for all ''x'' and ''y'' in ''A''. it is like 5X+7Y is 0
 
Notice that every [[empty function]], that is, any function whose [[Domain (mathematics)|___domain]] equals the [[empty set]], is included in the above definition [[vacuous truth|vacuously]], since there are no ''x'' and ''y'' in ''A'' for which ''f''(''x'') and ''f''(''y'') are different. However some find it more convenient to define constant function so as to exclude empty functions.