The difference between Contain and Restrict

When used as verbs, contain means to hold inside, whereas restrict means to restrain within boundaries.


Restrict is also adjective with the meaning: restricted.

check bellow for the other definitions of Contain and Restrict

  1. Contain as a verb (transitive):

    To hold inside.

  2. Contain as a verb (transitive):

    To include as a part.

  3. Contain as a verb (transitive):

    To put constraint upon; to restrain; to confine; to keep within bounds.

    Examples:

    "I'm so excited, I can hardly contain myself!"

  4. Contain as a verb (mathematics, of a [[set]] etc., transitive):

    To have as an element or subset.

    Examples:

    "A group contains a unique inverse for each of its elements."

    "If that subgraph contains the vertex in question then it must be spanning."

  5. Contain as a verb (obsolete, intransitive):

    To restrain desire; to live in continence or chastity.

  1. Restrict as a verb:

    To restrain within boundaries; to limit; to confine

    Examples:

    "After suffering diahrroea, the patient was restricted to a diet of rice, cold meat, and yoghurt."

  2. Restrict as a verb (specifically, mathematics):

    To consider (a function) as defined on a subset of its original domain.

    Examples:

    "If we restrict sine to <math>[-\frac\pi2,\frac\pi2]</math>, we can define its inverse."

  1. Restrict as an adjective (obsolete):

    Restricted.