Background
First I apologize because the following are very elementary and annoying questions about functions. But I could sure use help. It's distressing to me that I'm trying to get better at math but I don't even understand a fundamental concept like functions... please explain very pedantically because I am a little slow.
Statement in question
Let's say: $\forall x,y \quad f(x) = g(x+y)$
My questions
Is it correct to say that $g(x+y)$ is a function of one variable or two variables?
- My attempt: It's clear to me that $g(x)$ is a function of one variable and $g(x,y)$ is a function of two variables. But I'm not sure about $g(x+y)$. I would guess $g$ is a function of a function and the inner function can be thought of as "one variable" that has "two variables." That seems really convoluted...
What are some trivial examples of the statement above? My attempts:
My trivial example A: $f(x)=C$ and $g(x+y) = x+y$
My trivial example B: $f(x)=C$ and $g(x+y) = (x+y)^{30} + y^{x} - x$
My trivial example C: $f(x) = 42$ and $g(x+y) = 42$
My trivial example D: $f(x) = 11$ and $g(x+y) = 5u - u$
Are those acceptable trivial examples? In my last example I switched it up to $u$ on purpose... kind of shooting in the dark. Can you give me some trivial examples if mine are wrong?
Is it true that $\forall x,y \quad$ if $f(x) = g(x,y)$ then the LHS must be a constant?
- I know how to prove it if it's $g(x+y)$ but not for $g(x,y)$. If this is not true can you give me a trivial counter example?
Let's say that $h(x,y)$ is a function of distance. Then you can say $h(x,y) = k(x^{2}+y^{2})$. You don't have to put the square root part of the distance function into $k$ because that can be part of the function $k()$ itself. But I don't think you can "simplify" it further from $x^{2}+y^{2}$. Correct? It's interesting to me that $k((x^{2}+y^{2})^{50})$ can be called a "function based on distance" even though it is powered to the 50 and the distance formula is powered to 0.5...
Thank you for your help and patience!