• Nakafa

    Nakafa

    Learn free and with quality.
Subject
    • Grade 10
    • Grade 11
    • Grade 12
Exercises
Holy
  • Quran
Articles
  • Politics
  • Community
  • About

Command Palette

Search for a command to run...

Function Composition and Inverse Function

Multiplication and Division of Functions

Multiplication of Two Functions

Multiplying two functions, fff and ggg, is as easy as multiplying two numbers. We just multiply the result of f(x)f(x)f(x) by g(x)g(x)g(x) for the same value of xxx. The result is a new function (f⋅g)(f \cdot g)(f⋅g).

Function Multiplication Visualization
Observe how the lines f(x)=xf(x)=xf(x)=x and g(x)=2g(x)=2g(x)=2 are multiplied to become (f⋅g)(x)=2x(f \cdot g)(x)=2x(f⋅g)(x)=2x.
(f⋅g)(x)=f(x)⋅g(x)(f \cdot g)(x) = f(x) \cdot g(x)(f⋅g)(x)=f(x)⋅g(x)

Just like addition and subtraction, this multiplication machine (f⋅g)(f \cdot g)(f⋅g) can only process raw materials (values of xxx) that can be processed by both original machines, fff and ggg. So, its domain is the intersection of the domain of fff and the domain of ggg.

Df⋅g=Df∩DgD_{f \cdot g} = D_f \cap D_gDf⋅g​=Df​∩Dg​

Example of Multiplication

Let's use slightly different functions this time:

  1. f(x)=x2f(x) = x^2f(x)=x2, with domain Df={x∣x∈R}D_f = \{x | x \in \mathbb{R}\}Df​={x∣x∈R} (all real numbers).
  2. g(x)=x−1g(x) = x - 1g(x)=x−1, with domain Dg={x∣x∈R}D_g = \{x | x \in \mathbb{R}\}Dg​={x∣x∈R} (all real numbers).

Step 1: Determine the resulting function from multiplication

(f⋅g)(x)=f(x)⋅g(x)(f \cdot g)(x) = f(x) \cdot g(x)(f⋅g)(x)=f(x)⋅g(x)
=(x2)⋅(x−1)= (x^2) \cdot (x - 1)=(x2)⋅(x−1)
=x3−x2= x^3 - x^2=x3−x2

Step 2: Determine the domain of the resulting function

We find the intersection of DfD_fDf​ and DgD_gDg​:

Df⋅g=Df∩DgD_{f \cdot g} = D_f \cap D_gDf⋅g​=Df​∩Dg​
={x∣x∈R}∩{x∣x∈R}= \{x | x \in \mathbb{R}\} \cap \{x | x \in \mathbb{R}\}={x∣x∈R}∩{x∣x∈R}
={x∣x∈R}= \{x | x \in \mathbb{R}\}={x∣x∈R}

So, the resulting function from multiplication is (f⋅g)(x)=x3−x2(f \cdot g)(x) = x^3 - x^2(f⋅g)(x)=x3−x2 with the domain of all real numbers.

Division of Two Functions

Dividing function fff by function ggg is also similar: we divide the result of f(x)f(x)f(x) by g(x)g(x)g(x). The result is a new function (fg)(\frac{f}{g})(gf​).

(fg)(x)=f(x)g(x)\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}(gf​)(x)=g(x)f(x)​

Now, there's a very important additional rule! We know that division by zero is not allowed. So, besides the value of xxx needing to be in the domain of both fff and ggg, the value of g(x)g(x)g(x) (the divisor function) cannot be equal to zero.

Therefore, the domain of the division function (fg)(\frac{f}{g})(gf​) is the intersection of domains DfD_fDf​ and DgD_gDg​, but we must exclude all values of xxx that cause g(x)=0g(x) = 0g(x)=0.

Dfg=Df∩Dg−{x∣g(x)=0}D_{\frac{f}{g}} = D_f \cap D_g - \{x | g(x) = 0\}Dgf​​=Df​∩Dg​−{x∣g(x)=0}

The −-− sign here means "minus" or "excluded".

Example of Division

We use the same functions as in the multiplication example:

  1. f(x)=x2f(x) = x^2f(x)=x2, Df={x∣x∈R}D_f = \{x | x \in \mathbb{R}\}Df​={x∣x∈R}
  2. g(x)=x−1g(x) = x - 1g(x)=x−1, Dg={x∣x∈R}D_g = \{x | x \in \mathbb{R}\}Dg​={x∣x∈R}

Step 1: Determine the resulting function from division

(fg)(x)=f(x)g(x)=x2x−1\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)} = \frac{x^2}{x-1}(gf​)(x)=g(x)f(x)​=x−1x2​

Step 2: Determine the domain of the resulting function

First, find the intersection of DfD_fDf​ and DgD_gDg​:

Df∩Dg={x∣x∈R}D_f \cap D_g = \{x | x \in \mathbb{R}\}Df​∩Dg​={x∣x∈R}

Second, find the value of xxx that makes g(x)=0g(x) = 0g(x)=0:

g(x)=0g(x) = 0g(x)=0
x−1=0x - 1 = 0x−1=0
x=1x = 1x=1

Third, exclude the value x=1x=1x=1 from the intersection of the domains:

Dfg={x∣x∈R}−{1}D_{\frac{f}{g}} = \{x | x \in \mathbb{R}\} - \{1\}Dgf​​={x∣x∈R}−{1}

Or it can also be written as:

Dfg={x∣x∈R,x≠1}D_{\frac{f}{g}} = \{x | x \in \mathbb{R}, x \neq 1\}Dgf​​={x∣x∈R,x=1}

So, the resulting function from division is (fg)(x)=x2x−1(\frac{f}{g})(x) = \frac{x^2}{x-1}(gf​)(x)=x−1x2​ with the domain of all real numbers except x=1x=1x=1.

Practice Problems

Given the function f(x)=x+4f(x) = \sqrt{x+4}f(x)=x+4​ with Df={x∣x≥−4,x∈R}D_f = \{x | x \ge -4, x \in \mathbb{R}\}Df​={x∣x≥−4,x∈R} and function g(x)=x2−9g(x) = x^2 - 9g(x)=x2−9 with Dg={x∣x∈R}D_g = \{x | x \in \mathbb{R}\}Dg​={x∣x∈R}.

  1. Determine (f⋅g)(x)(f \cdot g)(x)(f⋅g)(x) and its domain Df⋅gD_{f \cdot g}Df⋅g​.
  2. Determine (fg)(x)(\frac{f}{g})(x)(gf​)(x) and its domain DfgD_{\frac{f}{g}}Dgf​​.
  3. Calculate the value of (f⋅g)(5)(f \cdot g)(5)(f⋅g)(5).
  4. Is (fg)(3)(\frac{f}{g})(3)(gf​)(3) defined? Explain.

Answer Key

  1. Finding (f⋅g)(x)(f \cdot g)(x)(f⋅g)(x):

    (f⋅g)(x)=f(x)⋅g(x)(f \cdot g)(x) = f(x) \cdot g(x)(f⋅g)(x)=f(x)⋅g(x)
    =(x+4)⋅(x2−9)= (\sqrt{x+4}) \cdot (x^2 - 9)=(x+4​)⋅(x2−9)
    =(x2−9)x+4= (x^2 - 9)\sqrt{x+4}=(x2−9)x+4​

    Finding Domain Df⋅gD_{f \cdot g}Df⋅g​:

    Df⋅g=Df∩DgD_{f \cdot g} = D_f \cap D_gDf⋅g​=Df​∩Dg​
    ={x∣x≥−4,x∈R}∩{x∣x∈R}= \{x | x \ge -4, x \in \mathbb{R}\} \cap \{x | x \in \mathbb{R}\}={x∣x≥−4,x∈R}∩{x∣x∈R}
    ={x∣x≥−4,x∈R}= \{x | x \ge -4, x \in \mathbb{R}\}={x∣x≥−4,x∈R}

    So, (f⋅g)(x)=(x2−9)x+4(f \cdot g)(x) = (x^2 - 9)\sqrt{x+4}(f⋅g)(x)=(x2−9)x+4​ with domain {x∣x≥−4,x∈R}\{x | x \ge -4, x \in \mathbb{R}\}{x∣x≥−4,x∈R}.

  2. Finding (fg)(x)(\frac{f}{g})(x)(gf​)(x):

    (fg)(x)=f(x)g(x)=x+4x2−9\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)} = \frac{\sqrt{x+4}}{x^2 - 9}(gf​)(x)=g(x)f(x)​=x2−9x+4​​

    Finding Domain DfgD_{\frac{f}{g}}Dgf​​:

    Domain intersection: Df∩Dg={x∣x≥−4,x∈R}D_f \cap D_g = \{x | x \ge -4, x \in \mathbb{R}\}Df​∩Dg​={x∣x≥−4,x∈R}.

    Find xxx that makes g(x)=0g(x)=0g(x)=0:

    g(x)=0g(x) = 0g(x)=0
    x2−9=0x^2 - 9 = 0x2−9=0
    (x−3)(x+3)=0(x-3)(x+3) = 0(x−3)(x+3)=0
    x=3 or x=−3x = 3 \text{ or } x = -3x=3 or x=−3

    Exclude x=3x=3x=3 and x=−3x=-3x=−3 from the domain intersection:

    Dfg={x∣x≥−4,x∈R}−{−3,3}D_{\frac{f}{g}} = \{x | x \ge -4, x \in \mathbb{R}\} - \{-3, 3\}Dgf​​={x∣x≥−4,x∈R}−{−3,3}

    Or it can be written as:

    Dfg={x∣x≥−4,x∈R,x≠−3,x≠3}D_{\frac{f}{g}} = \{x | x \ge -4, x \in \mathbb{R}, x \neq -3, x \neq 3\}Dgf​​={x∣x≥−4,x∈R,x=−3,x=3}

    So, (fg)(x)=x+4x2−9(\frac{f}{g})(x) = \frac{\sqrt{x+4}}{x^2 - 9}(gf​)(x)=x2−9x+4​​ with domain {x∣x≥−4,x≠−3,x≠3}\{x | x \ge -4, x \neq -3, x \neq 3\}{x∣x≥−4,x=−3,x=3}.

  3. Calculating (f⋅g)(5)(f \cdot g)(5)(f⋅g)(5):

    We use the result from number 1: (f⋅g)(x)=(x2−9)x+4(f \cdot g)(x) = (x^2 - 9)\sqrt{x+4}(f⋅g)(x)=(x2−9)x+4​.

    Since 5≥−45 \ge -45≥−4, x=5x=5x=5 is in the domain Df⋅gD_{f \cdot g}Df⋅g​.

    (f⋅g)(5)=(52−9)5+4(f \cdot g)(5) = (5^2 - 9)\sqrt{5+4}(f⋅g)(5)=(52−9)5+4​
    =(25−9)9= (25 - 9)\sqrt{9}=(25−9)9​
    =(16)(3)= (16)(3)=(16)(3)
    =48= 48=48
  4. Is (fg)(3)(\frac{f}{g})(3)(gf​)(3) defined?

    Undefined. We look at the domain of (fg)(x)(\frac{f}{g})(x)(gf​)(x) from number 2, which is {x∣x≥−4,x≠−3,x≠3}\{x | x \ge -4, x \neq -3, x \neq 3\}{x∣x≥−4,x=−3,x=3}. The value x=3x=3x=3 is explicitly excluded from the domain because it would cause the denominator g(x)=x2−9g(x) = x^2 - 9g(x)=x2−9 to become zero (32−9=03^2 - 9 = 032−9=0). Division by zero is not allowed in mathematics.

Previous

Addition and Subtraction of Functions

Next

Function Composition

  • Multiplication and Division of FunctionsMaster function multiplication and division: domain rules, zero restrictions, and practical examples. Solve (f·g)(x) and (f/g)(x) with confidence.
On this page
  • Multiplication of Two Functions
    • Example of Multiplication
  • Division of Two Functions
    • Example of Division
  • Practice Problems
    • Answer Key
  • Comments
  • Report
  • Source code