What this les­son cov­ers

Real func­tions can be added, sub­tracted, mul­ti­plied and divided just like num­bers, pro­vided we take care with domains. This les­son sets out those oper­a­tions and then lists some stan­dard func­tional equa­tions, equa­tions whose unknown is a func­tion, together with the func­tions that solve them.

Real func­tions

Let f:A→Bf : A \to B be a func­tion.

  1. If A⊆RA \subseteq \mathbb{R}, ff is called a real vari­able func­tion.
  2. If B⊆RB \subseteq \mathbb{R}, ff is called a real val­ued func­tion.
  3. If A⊆RA \subseteq \mathbb{R} and B⊆RB \subseteq \mathbb{R}, ff is called a real func­tion.

Alge­bra of real val­ued func­tions

If ff and gg are real val­ued func­tions with domains AA and BB, both are defined on A∩BA \cap B (pro­vided A∩B≠ϕA \cap B \neq \phi). Let f:A→Rf : A \to \mathbb{R} and g:B→Rg : B \to \mathbb{R}. Then:

  1. (f±g)(x)=f(x)±g(x)(f \pm g)(x) = f(x) \pm g(x), for x∈A∩Bx \in A \cap B.
  2. (fg)(x)=f(x) g(x)(fg)(x) = f(x)\,g(x), for x∈A∩Bx \in A \cap B.
  3. (fg)(x)=f(x)g(x)\displaystyle \left(\dfrac{f}{g}\right)(x) = \dfrac{f(x)}{g(x)}, for x∈A∩Bx \in A \cap B with g(x)≠0g(x) \neq 0.
  4. (f±k)(x)=f(x)±k(f \pm k)(x) = f(x) \pm k, for k∈Rk \in \mathbb{R}, x∈Ax \in A.
  5. (kf)(x)=k f(x)(kf)(x) = k\,f(x), for k∈Rk \in \mathbb{R}, x∈Ax \in A.
  6. fn(x)={f(x)}nf^n(x) = \{f(x)\}^n, for n>0n > 0, x∈Ax \in A.
  7. ∣f∣(x)=∣f(x)∣|f|(x) = |f(x)|, for x∈Ax \in A.

The impor­tant point is the domain: a sum, prod­uct or quo­tient exists only where both func­tions exist, and a quo­tient also needs g(x)≠0g(x) \neq 0.

Some impor­tant func­tional equa­tions

Here xx and yy are inde­pen­dent vari­ables.

  1. f(xy)=f(x)+f(y)⇒f(x)=klog⁡exf(xy) = f(x) + f(y) \Rightarrow f(x) = k \log_e x or f(x)=0f(x) = 0.
  2. f(xy)=f(x)⋅f(y)⇒f(x)=xnf(xy) = f(x) \cdot f(y) \Rightarrow f(x) = x^n, n∈Rn \in \mathbb{R}.
  3. f(x+y)=f(x)⋅f(y)⇒f(x)=akxf(x + y) = f(x) \cdot f(y) \Rightarrow f(x) = a^{kx}.
  4. f(x+y)=f(x)+f(y)⇒f(x)=kxf(x + y) = f(x) + f(y) \Rightarrow f(x) = kx.
  5. f(x+y)=f(x)=f(y)⇒f(x)=kf(x + y) = f(x) = f(y) \Rightarrow f(x) = k, a con­stant.
  6. For a poly­no­mial ff of degree nn, f(x)⋅f(1x)=f(x)+f(1x)⇒f(x)=1±xn\displaystyle f(x) \cdot f\left(\dfrac1x\right) = f(x) + f\left(\dfrac1x\right) \Rightarrow f(x) = 1 \pm x^n. This is found by writ­ing a gen­eral poly­no­mial of degree nn and com­par­ing coef­fi­cients.
  7. If f(x+y)+f(x−y)=2f(x)f(y)f(x + y) + f(x - y) = 2f(x)f(y), then f(x)=kx+k−x2\displaystyle f(x) = \dfrac{k^x + k^{-x}}{2} or f(x)=cos⁡xf(x) = \cos x.
  8. A con­tin­u­ous func­tion that takes only ratio­nal val­ues (or only irra­tional val­ues) for all xx is a con­stant func­tion.

The pat­tern to remem­ber: "prod­ucts to sums" belongs to the log­a­rithm, "sums to prod­ucts" to the expo­nen­tial, and "sums to sums" to a straight line through the ori­gin.

Exam­ple 1

If f(x)=x2f(x) = x^2 and g(x)=x−1g(x) = \sqrt{x - 1}, find the domain of f+gf + g and of fg\displaystyle \dfrac{f}{g}.

Df=RD_f = \mathbb{R} and Dg=[1,∞)D_g = [1, \infty). So Df+g=[1,∞)D_{f+g} = [1, \infty). For fg\displaystyle \frac{f}{g} we also need g(x)≠0g(x) \neq 0, which removes x=1x = 1: Df/g=(1,∞)D_{f/g} = (1, \infty).

Exam­ple 2

ff is a poly­no­mial with f(x)f(1x)=f(x)+f(1x)\displaystyle f(x)f\left(\frac1x\right) = f(x) + f\left(\frac1x\right) and f(3)=28f(3) = 28. Find f(4)f(4).

f(x)=1±xnf(x) = 1 \pm x^n. Since f(3)=28f(3) = 28, 1+3n=281 + 3^n = 28, so 3n=273^n = 27 and n=3n = 3. Then f(x)=1+x3f(x) = 1 + x^3 and f(4)=65f(4) = 65.

Prac­tice

  1. If f(x)=x+2f(x) = x + 2 and g(x)=x2−4g(x) = x^2 - 4, find (fg)(1)(fg)(1) and (fg)(3)\displaystyle \left(\frac{f}{g}\right)(3).
  2. Find the domain of fg\displaystyle \dfrac{f}{g} for f(x)=xf(x) = x and g(x)=x2−5x+6g(x) = x^2 - 5x + 6.
  3. If f(x)=2x−7f(x) = 2x - 7, find (3f)(2)(3f)(2) and ∣f∣(2)|f|(2).
  4. ff sat­is­fies f(x+y)=f(x)+f(y)f(x + y) = f(x) + f(y) and f(1)=5f(1) = 5. Find f(4)f(4).
  5. ff sat­is­fies f(x+y)=f(x)f(y)f(x + y) = f(x)f(y) and f(1)=3f(1) = 3. Find f(3)f(3).
  6. A poly­no­mial ff sat­is­fies f(x)f(1x)=f(x)+f(1x)\displaystyle f(x)f\left(\frac1x\right) = f(x) + f\left(\frac1x\right) and f(2)=−15f(2) = -15. Find f(3)f(3).

Answers

Show answers
  1. (fg)(1)=3×(−3)=−9(fg)(1) = 3 \times (-3) = -9; (fg)(3)=55=1\displaystyle \left(\frac{f}{g}\right)(3) = \frac{5}{5} = 1.
  2. g(x)=(x−2)(x−3)g(x) = (x - 2)(x - 3), so the domain is R−{2,3}\mathbb{R} - \{2, 3\}.
  3. (3f)(2)=3×(−3)=−9(3f)(2) = 3 \times (-3) = -9; ∣f∣(2)=3|f|(2) = 3.
  4. f(x)=kxf(x) = kx with k=5k = 5, so f(4)=20f(4) = 20.
  5. f(3)=f(1)3=27f(3) = f(1)^3 = 27.
  6. 1−2n=−151 - 2^n = -15 gives n=4n = 4, so f(x)=1−x4f(x) = 1 - x^4 and f(3)=−80f(3) = -80.