The difference between Function and Relation

When used as nouns, function means what something does or is used for, whereas relation means the manner in which two things may be associated.


Function is also verb with the meaning: to have a function.

check bellow for the other definitions of Function and Relation

  1. Function as a noun:

    What something does or is used for.

    Examples:

    "synonyms: aim intention purpose role use"

  2. Function as a noun:

    A professional or official position.

    Examples:

    "synonyms: occupation office part role"

  3. Function as a noun:

    An official or social occasion.

    Examples:

    "synonyms: affair occasion social occasion social function"

  4. Function as a noun:

    A relation where one thing is dependent on another for its existence, value, or significance.

  5. Function as a noun (mathematics):

    A relation in which each element of the domain is associated with exactly one element of the codomain.

    Examples:

    "synonyms: map mapping mathematical function operator transformation"

    "hyper relation"

  6. Function as a noun (computing):

    A routine that receives zero or more arguments and may return a result.

    Examples:

    "synonyms: procedure routine subprogram subroutine func funct"

  7. Function as a noun (biology):

    The physiological activity of an organ or body part.

  8. Function as a noun (chemistry):

    The characteristic behavior of a chemical compound.

  9. Function as a noun (anthropology):

    The role of a social practice in the continued existence of the group.

  1. Function as a verb (intransitive):

    To have a function.

    Examples:

    "synonyms: officiate serve"

  2. Function as a verb (intransitive):

    To carry out a function; to be in action.

    Examples:

    "synonyms: go operate run work"

    "ant malfunction"

  1. Relation as a noun:

    The manner in which two things may be associated.

    Examples:

    "The relation between diet and health is complex."

  2. Relation as a noun:

    A member of one's family.

    Examples:

    "Yes, he's a relation of mine, but only a distant one."

  3. Relation as a noun:

    The act of relating a story.

    Examples:

    "Your relation of the events is different from mine."

  4. Relation as a noun (set theory):

    A set of ordered tuples.

  5. Relation as a noun (set theory):

    Specifically, a set of ordered pairs.

    Examples:

    "Equality is a symmetric relation, while divisibility is not."

  6. Relation as a noun (databases):

    A set of ordered tuples retrievable by a relational database; a table.

    Examples:

    "This relation uses the customer's social security number as a key."

  7. Relation as a noun (mathematics):

    A statement of equality of two products of generators, used in the presentation of a group.

  8. Relation as a noun (category theory):

    A subobject of a product of objects.

  9. Relation as a noun (usually collocated: sexual relation):

    The act of intercourse.