I'm trying to find the function with some properties:
1. f(u) = 0 iff v = 0
2. f(av) = |a| f(v)
Does these kind of functions exist and if yes, how do they called and where can I get more info about it?
Thanks in advance!
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
I'm trying to find the function with some properties:
1. f(u) = 0 iff v = 0
2. f(av) = |a| f(v)
Does these kind of functions exist and if yes, how do they called and where can I get more info about it?
Thanks in advance!
Name |
---|
Yes. f(x) = |x|
And i think that first property is redundantly since f(0) = f(0 * x) = |0| * f(x) = 0yeah
f(x) = 0
The "iff" in the first property means "if and only if". This is an equivalence property which can be rewritten as
If u = 0, then f(u) = 0.
If f(u) = 0, then u = 0.
The contrapositives of these two conditional statements are:
If f(u) ≠ 0, then u ≠ 0.
If u ≠ 0, then f(u) ≠ 0.
Here is short solution to your functional equation:
Let f(1) = c for some constant c ≠ 0. Then using (2), f(a·1) = |a|·f(1) = c|a|. Therefore, functions which satisfy the properties must be of the form f(x) = c|x| .
Checking these solutions, it is clear that f(0) = c|0| = 0 and since c ≠ 0, (1) is satisfied. Additionally, f(av) = c|av| = c|a||v| = |a|f(v) by property of absolute values.
Therefore, all work.
Notably, f(x) = 0 (as proposed by farmersrice) does not work as it fails the "only if" portion of (1).
Additionally, the first condition is not redundant for the same reason: without it, we may only conclude the "if" and not the "only if" from (2).
shoot, you're right!!!! I missed the last f