59. Domain

For a function 𝑓:𝑋𝑌, the domain is the set 𝑋 of inputs.

𝑋=domain(𝑓)=set of all valid inputs

For a linear transformation 𝑇:𝑛𝑚, the domain is 𝑛.

59.1. Domain vs codomain vs image

Example

𝑓(𝑥)=𝑥2 from to :

  • Domain:
  • Codomain:
  • Image: [0,) — only non-negative outputs

The image is a strict subset of the codomain (negatives like 3 are in the codomain but not the image).

59.2. For matrices

If 𝑇(𝑥)=𝐴𝑥 with 𝐴 an 𝑚×𝑛 matrix, then:

59.3. See also