Saltar al contenido
The Lumenary

Cada hoja se imprime correctamente en A4 o Carta. Las soluciones están en una página aparte.

The Lumenary · 6.º a 8.º grado

Functions

Nombre: ______________________

Fecha: ______________________

Aprenderás a

  • Decide whether a rule or arrow diagram is a function from AA to BB
  • Use the words domain, codomain and image correctly
  • Recognise and prove injectivity, surjectivity and bijectivity
  • Describe a function as a set of ordered pairs
  • Count the functions between two finite sets
  1. 1.

    Let A={1,2,3}A = \{1, 2, 3\} and B={a,b}B = \{a, b\}. Which of these rules is a function from AA to BB?

    • A.1↦a,  2↦a,  3↦b1 \mapsto a,\; 2 \mapsto a,\; 3 \mapsto b
    • B.1↦a,  2↦b1 \mapsto a,\; 2 \mapsto b
    • C.1↦a,  1↦b,  2↦a,  3↦b1 \mapsto a,\; 1 \mapsto b,\; 2 \mapsto a,\; 3 \mapsto b
  2. 2.

    How many functions are there from a set with 33 elements to a set with 22 elements?

  3. 3.

    How many injective functions are there from a 2-element set to a 4-element set?

  4. 4.

    Which of these functions Z→Z\Z \to \Z are surjective? (Choose all that apply.)

    • A.n↦n+1n \mapsto n + 1
    • B.n↦2nn \mapsto 2n
    • C.n↦−nn \mapsto -n
    • D.n↦n2n \mapsto n^2
  5. 5.

    A school has 400 students. Why must at least two of them share a birthday (day and month)?

    • A.There are at most 366 possible birthdays, so the function from students to birthdays cannot be injective.
    • B.Because birthdays are random.
    • C.It isn't certain; it's just very likely.
  6. 6.

    A finite function can be stored as a Python dictionary, e.g. {1: 'a', 2: 'b', 3: 'a'}. Write is_injective(f) returning True exactly when no two keys have the same value.

    Computacional — Práctica

Código: Apache-2.0 · Contenido: CC BY-SA 4.0