Exercise · ZW-SCHRODER-BERNSTEIN-THEOREM-007 · ★★☆ Intermediate

Let \(g\colon \mathbb{Z}\to\mathbb{N}\) be given by \(g(z)=2z\) if \(z\ge 0\) and \(g(z)=-2z-1\) if \(z<0\). What is \(g(-2)\)?

Choose one option.

Show answer
  • A. \(3\)

Explanation

Since \(-2<0\), use \(g(z)=-2z-1\): \(-2(-2)-1=4-1=3\).

Study Set theory in ZWMath →

Review the concept: Schröder–Bernstein theorem

The Schröder-Bernstein theorem states that if there are injections from \(A\) into \(B\) and from \(B\) into \(A\), then there is a bijection between \(A\) and \(B\).

\[|A| \le |B| \land |B| \le |A| \Rightarrow |A| = |B|\]

More practice problems: schröder–bernstein theorem

← ZW-SCHRODER-BERNSTEIN-THEOREM-006 ZW-SCHRODER-BERNSTEIN-THEOREM-008 →