Techniques for Differentiation: Background You’ll Need 2

  • Use different methods to combine and change functions

Combining and Composing Functions

In mathematics, we often build upon basic functions by combining them with operations such as addition and multiplication or by creating composite functions. This process forms new functions that can better describe and analyze complex relationships.

Combining Functions with Mathematical Operators

To combine functions using mathematical operators, we simply write the functions with the operator and simplify. Given two functions [latex]f[/latex] and [latex]g,[/latex] we can define four new functions:

[latex]\begin{array}{cccc}(f+g)(x)=f(x)+g(x)\hfill & & & \text{Sum}\hfill \\ (f-g)(x)=f(x)-g(x)\hfill & & & \text{Difference}\hfill \\ (f·g)(x)=f(x)g(x)\hfill & & & \text{Product}\hfill \\ \Big(\frac{f}{g}\Big)(x)=\frac{f(x)}{g(x)} \, \text{for} \, g(x)\ne 0\hfill & & & \text{Quotient}\hfill \end{array}[/latex]
 
Often these functions have more than one term, so when you perform operations on them you will need to remember how to work with polynomials.

When given multiple polynomials, you can simplify expressions by adding or subtracting them, ensuring you combine like terms and rearrange the resulting polynomial into standard form, which is organized by descending powers.  Multiplying binomials requires a different approach. Use the FOIL method to multiply the first, outer, inner, and last terms, and then combine like terms in the resulting expression.

Here’s a concise recap of both processes:

  • Adding/Subtracting Polynomials:

    1. Combine like terms.
    2. When subtracting, distribute the negative sign across the second polynomial.
    3. Rearrange and combine terms into standard form.

Be particularly cautious when subtracting polynomials to distribute the negative sign correctly.

Two quantities in parentheses are being multiplied, the first being: a times x plus b and the second being: c times x plus d. This expression equals ac times x squared plus ad times x plus bc times x plus bd. The terms ax and cx are labeled: First Terms. The terms ax and d are labeled: Outer Terms. The terms b and cx are labeled: Inner Terms. The terms b and d are labeled: Last Terms.

  • Multiplying Binomials (FOIL):

    1. Multiply the first terms of each binomial.
    2. Multiply the outer terms.
    3. Multiply the inner terms.
    4. Multiply the last terms.
    5. Combine like terms and simplify the product.

Given the functions [latex]f(x)=2x-3[/latex] and [latex]g(x)=x^2-1[/latex], find each of the following functions and state its domain.

  1. [latex](f+g)(x)[/latex]
  2. [latex](f-g)(x)[/latex]
  3. [latex](f·g)(x)[/latex]
  4. [latex]\Big(\frac{f}{g}\Big)(x)[/latex]

Composite Functions

Composite functions merge two functions into one by using the output of one function as the input of another.

For example, given the functions [latex]f(x)=x^2[/latex] and [latex]g(x)=3x+1[/latex], the composite function [latex]f\circ g[/latex] is defined such that

[latex](f\circ g)(x)=f(g(x))=(g(x))^2=(3x+1)^2[/latex]

 

This composition is unique because [latex]f\circ g[/latex] is not the same as [latex]g\circ f[/latex].

[latex](g\circ f)(x)=g(f(x))=3f(x)+1=3x^2+1[/latex]

 

The order in which functions are composed matters

composite functions

A composite function, denoted as [latex]f\circ g[/latex], is created when the output of one function, [latex]g(x)[/latex], becomes the input for another, [latex]f(x)[/latex]. The resulting function [latex]f(g(x))[/latex] has the domain of [latex]g[/latex] and the range of [latex]f[/latex], provided that the range of [latex]g[/latex] is contained within the domain of [latex]f[/latex].

[latex](f\circ g)(x)=f(g(x))[/latex]

It is important to understand the order of operations in evaluating a composite function. We follow the usual convention with parentheses by starting with the innermost parentheses first, and then working to the outside.

Explanation of the composite function. g(x), the output of g is the input of f. X is the input of g.

Consider the functions [latex]f(x)=x^2+1[/latex] and [latex]g(x)=\frac{1}{x}[/latex].

  1. Find [latex](f\circ g)(x)[/latex] and state its domain and range.
  2. Evaluate [latex](f\circ g)(4)[/latex] and [latex](f\circ g)\left(-\frac{1}{2}\right)[/latex].

Remember that [latex](f\circ g)(x)\ne (g\circ f)(x)[/latex].

Consider the functions [latex]f[/latex] and [latex]g[/latex] described below.

[latex]x[/latex] [latex]-3[/latex] [latex]-2[/latex] [latex]-1[/latex] [latex]0[/latex] [latex]1[/latex] [latex]2[/latex] [latex]3[/latex] [latex]4[/latex]
[latex]f(x)[/latex] [latex]0[/latex] [latex]4[/latex] [latex]2[/latex] [latex]4[/latex] [latex]-2[/latex] [latex]0[/latex] [latex]-2[/latex] [latex]4[/latex]

 

[latex]x[/latex] [latex]-4[/latex] [latex]-2[/latex] [latex]0[/latex] [latex]2[/latex] [latex]4[/latex]
[latex]g(x)[/latex] [latex]1[/latex] [latex]0[/latex] [latex]3[/latex] [latex]0[/latex] [latex]5[/latex]
  1. Evaluate [latex](g\circ f)(3)[/latex] and [latex](g\circ f)(0)[/latex].
  2. State the domain and range of [latex](g\circ f)(x)[/latex].

A store is advertising a sale of [latex]20\%[/latex] off all merchandise. Caroline has a coupon that entitles her to an additional [latex]15\%[/latex] off any item, including sale merchandise. If Caroline decides to purchase an item with an original price of [latex]x[/latex] dollars, how much will she end up paying if she applies her coupon to the sale price? Solve this problem by using a composite function.