My textbook just gave the definitions (f+g)(x)=f(x)+g(x)

fg(x)=f(x)+g(x)

fog(x)=f(g(x))

and also for subtraction and division. Will these operations always produce new functions or is this notation only applicable when it does? If it always will, how can you prove it?