Exercise · ZW-IMAGE-AND-PREIMAGE-005 · ★★☆ Intermediate
Let \(f(x)=x^2\) from \(\mathbb{R}\) to \(\mathbb{R}\). What is \(f([-1,2])\)?
Choose one option.
Show answer
- C. \([0,4]\)
Exercise · ZW-IMAGE-AND-PREIMAGE-005 · ★★☆ Intermediate
Choose one option.
On \([-1,2]\) the square equals 0 at \(x=0\) and reaches \(2^2=4\) at \(x=2\); since \(x^2\) is continuous there, the image is the interval \([0,4]\). No negative value can appear, and 0 does appear.
Given \(f\colon A\to B\), the image of \(X\subseteq A\) is the set of values \(f(x)\) with \(x\in X\), and the preimage of \(Y\subseteq B\) is the set of \(a\in A\) whose value lies in \(Y\).