No...for example let's say f(x) = x2
And...if p and s are the same, let's just call them both "p" .
First scenario:
g(x) = f(x) + p
g(x) = x2 + p
Second scenario:
g(x) = f(x + p)
g(x) = (x + p)2
g(x) = (x + p)(x + p)
g(x) = x2 + 2px + p2
f(x) + p ≠ f(x + p)
If f(x) = x, then yes they turn out the same.
But they are not always equal.
No...for example let's say f(x) = x2
And...if p and s are the same, let's just call them both "p" .
First scenario:
g(x) = f(x) + p
g(x) = x2 + p
Second scenario:
g(x) = f(x + p)
g(x) = (x + p)2
g(x) = (x + p)(x + p)
g(x) = x2 + 2px + p2
f(x) + p ≠ f(x + p)
If f(x) = x, then yes they turn out the same.
But they are not always equal.