Operation on functions, which of the following is true?

127 Views Asked by At

If $f(x) = 2x + 1$ and $g(x) = x + 3$, then which of the following is true?
(A) $(f + g)x = f(x) + g(x)$
(B) $(f \circ g)(x) = (g \circ f)(x)$
(C) $(fg)(x) = g[f(x)]$
(D) $(fg)(x) = f[g(x)]$

I came across this question while studying "Functions". I computed and confirmed that (B) is false.

I found out from google that options (A), (C), (D) are "Operations of Functions" and that $(f+g)(x)$ is defined as $f(x)+g(x)$ (like operating on polynomials). So, option (A) should be true.

The given answer is option (A). Why are options (C) and (D) false?

2

There are 2 best solutions below

1
On BEST ANSWER

(A) $(f + g)x = f(x) + g(x)$

Yes, as you have pointed out, this is true by definition.

(B) $(f \circ g)(x) = (g \circ f)(x)$
(C) $(fg)(x) = g[f(x)]$
(D) $(fg)(x) = f[g(x)]$

We can infer from Mordeus's explanation that options B, C, D are false for the given $f$ and $g.$

However, it's worth noting that these three equations are not identically false: they are true for $f(x):=g(x):=1,$ for example.

Oh! I got confused between $f∘g(x)$ and $fg(x).$

$$f\circ g(x)\equiv fg(x)\equiv f(g(x))\not\equiv(fg)(x).$$

1
On

Usually, if $f,g: I \to \mathbb{R}$ are real-valued functions defined on some non-empty set $I$, then we define: $$(fg)(x) := f(x)g(x)$$ There are some contexts in which $fg$ can refer to composition of both functions but we won't worry about them now. In the context of the math you're working on now, they're probably going with the definition I stated above. So, it follows that $C$ and $D$ are false.