tylerc1991
- 158
- 0
Homework Statement
Show that the functions are well defined:
(a) f: Q -> Z defined by f(a/b) = a
(b) f: Q -> Q defined by f(a/b) = a^2 / b^2
Homework Equations
Q - rationals
Z - integers
The Attempt at a Solution
(a) pretty obvious, as I can come up with an example to show that f is not well defined. f(1/2) = 1, but f(2/4) = 2.
(b) since ca/cb = a/b for some constant c, f(a/b) = f(ca/cb) = (c^2*a^2)/(c^2*b^2) = a^2 / b^2 => f is well defined.
Not so sure about (b) here. In fact, I'm not even certain about the definition of a 'well-defined function'. Seeing as how my book does a poor job could someone give me a little help. Thank you!