Solved Exercises on Function Notation and Operations in College Algebra

Master function notation and operations: addition, subtraction, multiplication, division, composition through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Function addition and subtraction
Exercise 1
Given \(f(x) = 3x^2 - 2x + 1\) and \(g(x) = x^2 + 4x - 3\), find \((f + g)(x)\) and \((f - g)(x)\)
Definition:

Function addition: \((f + g)(x) = f(x) + g(x)\)

Function subtraction: \((f - g)(x) = f(x) - g(x)\)

Addition/subtraction method:
  1. Write the operation: \((f + g)(x) = f(x) + g(x)\) or \((f - g)(x) = f(x) - g(x)\)
  2. Substitute the function expressions
  3. Combine like terms by grouping coefficients of like powers
  4. Simplify the expression
Given functions
\(f(x) = 3x^2 - 2x + 1\), \(g(x) = x^2 + 4x - 3\)
Find (f+g)(x)
\((f + g)(x) = ?\)
Step 1: Write the addition operation

\((f + g)(x) = f(x) + g(x) = (3x^2 - 2x + 1) + (x^2 + 4x - 3)\)

Step 2: Remove parentheses and group like terms

\((f + g)(x) = 3x^2 + x^2 - 2x + 4x + 1 - 3\)

Step 3: Combine like terms

\(3x^2 + x^2 = 4x^2\), \(-2x + 4x = 2x\), \(1 - 3 = -2\)

Step 4: Write the simplified result

\((f + g)(x) = 4x^2 + 2x - 2\)

\((f + g)(x) = 4x^2 + 2x - 2\)
Find (f-g)(x)
\((f - g)(x) = ?\)
Write subtraction
\((f - g)(x) = f(x) - g(x)\)
Step 1: Write the subtraction operation

\((f - g)(x) = (3x^2 - 2x + 1) - (x^2 + 4x - 3)\)

Step 2: Distribute the negative sign

\((f - g)(x) = 3x^2 - 2x + 1 - x^2 - 4x + 3\)

Step 3: Group like terms

\((f - g)(x) = 3x^2 - x^2 - 2x - 4x + 1 + 3\)

Step 4: Combine like terms

\(3x^2 - x^2 = 2x^2\), \(-2x - 4x = -6x\), \(1 + 3 = 4\)

\((f - g)(x) = 2x^2 - 6x + 4\)
Final answers:

\((f + g)(x) = 4x^2 + 2x - 2\) and \((f - g)(x) = 2x^2 - 6x + 4\)

Applied rules:

• Function arithmetic: Operations are performed point-wise on the outputs

• Like terms: Combine coefficients of terms with the same variable and exponent

• Sign distribution: Be careful with subtracting polynomials

2 Function multiplication and division
Exercise 2
Given \(f(x) = x + 2\) and \(g(x) = x - 1\), find \((f \cdot g)(x)\) and \(\left(\frac{f}{g}\right)(x)\)
Definition:

Function multiplication: \((f \cdot g)(x) = f(x) \cdot g(x)\)

Function division: \(\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}\) (where \(g(x) \neq 0\))

Given functions
\(f(x) = x + 2\), \(g(x) = x - 1\)
Find (f·g)(x)
\((f \cdot g)(x) = ?\)
Step 1: Write the multiplication operation

\((f \cdot g)(x) = f(x) \cdot g(x) = (x + 2)(x - 1)\)

Step 2: Apply FOIL method

\((x + 2)(x - 1) = x \cdot x + x \cdot (-1) + 2 \cdot x + 2 \cdot (-1)\)

Step 3: Calculate each product

\(x \cdot x = x^2\), \(x \cdot (-1) = -x\), \(2 \cdot x = 2x\), \(2 \cdot (-1) = -2\)

Step 4: Combine like terms

\(x^2 - x + 2x - 2 = x^2 + x - 2\)

\((f \cdot g)(x) = x^2 + x - 2\)
Find (f/g)(x)
\(\left(\frac{f}{g}\right)(x) = ?\)
Write division
\(\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}\)
Step 1: Write the division operation

\(\left(\frac{f}{g}\right)(x) = \frac{x + 2}{x - 1}\)

Step 2: State domain restriction

Since the denominator cannot be zero: \(x - 1 \neq 0\), so \(x \neq 1\)

Step 3: Final expression with domain

\(\left(\frac{f}{g}\right)(x) = \frac{x + 2}{x - 1}\) where \(x \neq 1\)

\((f \cdot g)(x) = x^2 + x - 2\) and \(\left(\frac{f}{g}\right)(x) = \frac{x + 2}{x - 1}, x \neq 1\)
Final answer:

\((f \cdot g)(x) = x^2 + x - 2\) and \(\left(\frac{f}{g}\right)(x) = \frac{x + 2}{x - 1}\) where \(x \neq 1\)

Applied rules:

• FOIL method: First, Outer, Inner, Last for binomial multiplication

• Domain restriction: Division by zero is undefined

• Function multiplication: Multiply the outputs for the same input

3 Function composition
Exercise 3
Given \(f(x) = 2x - 1\) and \(g(x) = x^2 + 3\), find \((f \circ g)(x)\) and \((g \circ f)(x)\)
Definition:

Function composition: \((f \circ g)(x) = f(g(x))\) - apply g first, then f

Given functions
\(f(x) = 2x - 1\), \(g(x) = x^2 + 3\)
Find (f∘g)(x)
\((f \circ g)(x) = ?\)
Step 1: Understand composition notation

\((f \circ g)(x) = f(g(x))\) means "apply g first, then apply f to the result"

Step 2: Find g(x)

\(g(x) = x^2 + 3\)

Step 3: Substitute g(x) into f(x)

\(f(g(x)) = f(x^2 + 3) = 2(x^2 + 3) - 1\)

Step 4: Simplify the expression

\(2(x^2 + 3) - 1 = 2x^2 + 6 - 1 = 2x^2 + 5\)

Step 5: Find (g∘f)(x)

\((g \circ f)(x) = g(f(x)) = g(2x - 1) = (2x - 1)^2 + 3\)

Step 6: Expand the squared term

\((2x - 1)^2 = (2x)^2 - 2(2x)(1) + 1^2 = 4x^2 - 4x + 1\)

Step 7: Complete the calculation

\(g(f(x)) = 4x^2 - 4x + 1 + 3 = 4x^2 - 4x + 4\)

\((f \circ g)(x) = 2x^2 + 5\) and \((g \circ f)(x) = 4x^2 - 4x + 4\)
Final answer:

\((f \circ g)(x) = 2x^2 + 5\) and \((g \circ f)(x) = 4x^2 - 4x + 4\)

Applied rules:

• Order matters: \((f \circ g)(x)\) is generally not equal to \((g \circ f)(x)\)

• Step-by-step: Evaluate innermost function first

• Composition: The output of one function becomes the input of another

Key Concepts, Rules, and Methods
\((f \circ g)(x) = f(g(x))\)
Function Composition
Addition
\((f + g)(x) = f(x) + g(x)\)
Function addition
Subtraction
\((f - g)(x) = f(x) - g(x)\)
Function subtraction
Multiplication
\((f \cdot g)(x) = f(x) \cdot g(x)\)
Function multiplication
Key definitions:

Function notation: \(f(x)\) represents the output of function f when x is the input

Function operations: Arithmetic operations performed on function outputs for the same input

Function composition: One function's output becomes another function's input

Domain of operations: The set of inputs for which the operation is defined

Complete methodology:
  1. Identify the operation: Determine if it's addition, subtraction, multiplication, division, or composition
  2. Apply the operation rule: Use the appropriate formula for the operation
  3. Substitute function expressions: Replace f(x) and g(x) with their algebraic forms
  4. Simplify the result: Combine like terms and perform algebraic manipulations
  5. State domain restrictions: Note any values that make the operation undefined
Tip 1: For function composition, always work from inside out: evaluate the innermost function first.
Tip 2: Remember that order matters in composition: (f∘g)(x) ≠ (g∘f)(x) in general.
Tip 3: For division operations, always state domain restrictions to avoid division by zero.
Common errors: Forgetting to distribute negative signs in subtraction, confusing composition order, neglecting domain restrictions.
Memorization aid: "f circle g of x" means "plug g(x) into f's rule".
Essential rules to know:

• Addition: \((f + g)(x) = f(x) + g(x)\)

• Subtraction: \((f - g)(x) = f(x) - g(x)\)

• Multiplication: \((f \cdot g)(x) = f(x) \cdot g(x)\)

• Division: \(\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}\) where \(g(x) \neq 0\)

• Composition: \((f \circ g)(x) = f(g(x))\)

• Domain restrictions: Consider all operations that could make the result undefined

Solution: Exercises 4 to 5
4 Mixed operations with evaluation
Exercise 4
Given \(f(x) = x^2 - 2x\) and \(g(x) = 3x + 1\), find \((f \cdot g)(2)\) and \((f + g)(-1)\)
Definition:

Mixed operations: Combination of function operations followed by evaluation at specific points

Given functions
\(f(x) = x^2 - 2x\), \(g(x) = 3x + 1\)
Find (f·g)(2)
\((f \cdot g)(2) = ?\)
Step 1: Find the product function first

\((f \cdot g)(x) = f(x) \cdot g(x) = (x^2 - 2x)(3x + 1)\)

Step 2: Apply distributive property

\((x^2 - 2x)(3x + 1) = x^2(3x + 1) - 2x(3x + 1)\)

Step 3: Distribute each term

\(x^2(3x + 1) = 3x^3 + x^2\)

\(-2x(3x + 1) = -6x^2 - 2x\)

Step 4: Combine like terms

\((f \cdot g)(x) = 3x^3 + x^2 - 6x^2 - 2x = 3x^3 - 5x^2 - 2x\)

Step 5: Evaluate at x = 2

\((f \cdot g)(2) = 3(2)^3 - 5(2)^2 - 2(2) = 3(8) - 5(4) - 4 = 24 - 20 - 4 = 0\)

Step 6: Find (f+g)(-1)

\((f + g)(x) = (x^2 - 2x) + (3x + 1) = x^2 - 2x + 3x + 1 = x^2 + x + 1\)

Step 7: Evaluate at x = -1

\((f + g)(-1) = (-1)^2 + (-1) + 1 = 1 - 1 + 1 = 1\)

\((f \cdot g)(2) = 0\) and \((f + g)(-1) = 1\)
Final answer:

\((f \cdot g)(2) = 0\) and \((f + g)(-1) = 1\)

Applied rules:

• Polynomial multiplication: Distribute each term of the first polynomial to each term of the second

• Evaluation after operations: Simplify the combined function first, then substitute

• Order of operations: Exponents before multiplication/division before addition/subtraction

5 Complex composition with multiple functions
Exercise 5
Given \(f(x) = \sqrt{x}\), \(g(x) = x^2 - 4\), and \(h(x) = 2x + 1\), find \((f \circ g \circ h)(x)\) and evaluate at \(x = 1\)
Definition:

Multiple composition: Successive application of functions from right to left

Given functions
\(f(x) = \sqrt{x}\), \(g(x) = x^2 - 4\), \(h(x) = 2x + 1\)
Find (f∘g∘h)(x)
\((f \circ g \circ h)(x) = ?\)
Step 1: Understand multiple composition order

\((f \circ g \circ h)(x) = f(g(h(x)))\) - apply h first, then g, then f

Step 2: Start with the innermost function h(x)

\(h(x) = 2x + 1\)

Step 3: Apply g to h(x)

\(g(h(x)) = g(2x + 1) = (2x + 1)^2 - 4\)

Step 4: Expand (2x + 1)²

\((2x + 1)^2 = 4x^2 + 4x + 1\)

So \(g(h(x)) = 4x^2 + 4x + 1 - 4 = 4x^2 + 4x - 3\)

Step 5: Apply f to g(h(x))

\(f(g(h(x))) = f(4x^2 + 4x - 3) = \sqrt{4x^2 + 4x - 3}\)

Step 6: Evaluate at x = 1

\((f \circ g \circ h)(1) = \sqrt{4(1)^2 + 4(1) - 3} = \sqrt{4 + 4 - 3} = \sqrt{5}\)

Step 7: Check domain restrictions

For the composition to be defined: \(4x^2 + 4x - 3 \geq 0\) (since f(x) = √x requires non-negative argument)

\((f \circ g \circ h)(x) = \sqrt{4x^2 + 4x - 3}\) and \((f \circ g \circ h)(1) = \sqrt{5}\)
Final answer:

\((f \circ g \circ h)(x) = \sqrt{4x^2 + 4x - 3}\) and \((f \circ g \circ h)(1) = \sqrt{5}\)

Applied rules:

• Right-to-left composition: Work from the rightmost function to the leftmost

• Domain consideration: Each function in the chain must accept the output of the previous

• Radical functions: Ensure the radicand is non-negative for real outputs

Comprehensive Summary: Function Notation and Operations
\((f \circ g)(x) = f(g(x))\)
Function Composition
Key definitions:

Function notation: \(f(x)\) represents the output of function f when x is the input. The notation allows us to describe relationships between variables precisely.

Function operations: Arithmetic operations (addition, subtraction, multiplication, division) performed on functions by combining their outputs for the same input.

Function composition: The process where one function's output becomes another function's input, denoted as \((f \circ g)(x) = f(g(x))\).

Domain of operations: The set of all input values for which the function operation is defined and produces a valid output.

Point-wise operations: Operations that are performed on the outputs of functions for each input value independently.

Complete methodologies:

Basic Function Operations:

  1. Addition: \((f + g)(x) = f(x) + g(x)\) - Add corresponding outputs
  2. Subtraction: \((f - g)(x) = f(x) - g(x)\) - Subtract corresponding outputs
  3. Multiplication: \((f \cdot g)(x) = f(x) \cdot g(x)\) - Multiply corresponding outputs
  4. Division: \(\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}\) where \(g(x) \neq 0\) - Divide corresponding outputs

Function Composition:

  1. Identify order: \((f \circ g)(x)\) means apply g first, then f
  2. Substitute systematically: Replace every instance of x in f(x) with g(x)
  3. Simplify the result: Perform algebraic manipulations to get the final expression
  4. Check domain: Ensure all intermediate functions are defined
Tip 1: Always substitute values within parentheses to avoid sign errors, especially when dealing with subtraction operations.
Tip 2: For composition operations, work from inside out: evaluate the rightmost function first and proceed leftward.
Tip 3: Check domain restrictions at each step of complex operations to ensure the final result is valid.
Tip 4: For polynomial multiplication, use the distributive property systematically to avoid missing terms.
Tip 5: Remember that function composition is not commutative: (f∘g)(x) ≠ (g∘f)(x) in general.
Common errors: Forgetting to distribute negative signs in subtraction, confusing composition order, neglecting domain restrictions, misapplying distributive property in multiplication.
Exam preparation: Practice with various function types (polynomial, rational, radical, exponential), memorize operation formulas, master order of operations.
Memory aids: "f circle g" means "plug g(x) into f's rule"; for operations, perform the same operation on the outputs.
Essential rules and formulas:

Basic Operations:

• Addition: \((f + g)(x) = f(x) + g(x)\)

• Subtraction: \((f - g)(x) = f(x) - g(x)\)

• Multiplication: \((f \cdot g)(x) = f(x) \cdot g(x)\)

• Division: \(\left(\frac{f}{g}\right)(x) = \frac{f(x)}{g(x)}\) where \(g(x) \neq 0\)

Composition Rules:

• Definition: \((f \circ g)(x) = f(g(x))\)

• Non-commutativity: \((f \circ g)(x) \neq (g \circ f)(x)\) in general

• Associativity: \((f \circ g \circ h)(x) = f(g(h(x)))\)

Domain Considerations:

• Division: Denominator cannot be zero

• Even roots: Argument must be non-negative

• Logarithms: Argument must be positive

Function Operations Workflow

🔄
Operation Steps
1
Identify Operation Type
2
Apply Formula
3
Substitute Functions
4
Simplify Expression
5
Check Domain
Visual Representation
Two functions enter → Operation performed → New function produced
📚 Practice Makes Perfect!

Questions & Answers

Question: I'm having trouble understanding why function composition is not commutative. Can you explain why (f∘g)(x) is different from (g∘f)(x)?

Answer: Function composition is not commutative because the order of operations fundamentally changes what each function receives as input.

Let's consider an example: Let \(f(x) = x^2\) and \(g(x) = x + 1\)

  • \((f \circ g)(x) = f(g(x)) = f(x + 1) = (x + 1)^2 = x^2 + 2x + 1\)
  • \((g \circ f)(x) = g(f(x)) = g(x^2) = x^2 + 1\)

As you can see, \(x^2 + 2x + 1 \neq x^2 + 1\), so \((f \circ g)(x) \neq (g \circ f)(x)\).

Think of it like a sequence of transformations: if you put on socks first, then shoes, you get a different result than if you put on shoes first, then socks. The same principle applies to function composition - the order in which transformations are applied matters.

In mathematical terms, \((f \circ g)(x)\) means "apply g first, then apply f to the result," while \((g \circ f)(x)\) means "apply f first, then apply g to the result."

Question: When performing function multiplication, I sometimes forget to distribute properly. How can I ensure I multiply polynomials correctly?

Answer: Here's a systematic approach to polynomial multiplication:

  1. Use the distributive property: Multiply each term in the first polynomial by each term in the second polynomial
  2. Systematic approach: Take each term in the first polynomial and multiply it by every term in the second polynomial
  3. Keep track: Use the FOIL method for binomials (First, Outer, Inner, Last)
  4. Combine like terms: Add coefficients of terms with the same degree

Example: \((x + 2)(x^2 + 3x + 1)\)

  • Multiply x by each term in the second polynomial: \(x \cdot x^2 + x \cdot 3x + x \cdot 1 = x^3 + 3x^2 + x\)
  • Multiply 2 by each term in the second polynomial: \(2 \cdot x^2 + 2 \cdot 3x + 2 \cdot 1 = 2x^2 + 6x + 2\)
  • Add the results: \(x^3 + 3x^2 + x + 2x^2 + 6x + 2 = x^3 + 5x^2 + 7x + 2\)

Practice with smaller examples first, and always check your work by picking a value for x and evaluating both the original expression and your result to ensure they match.

Question: How do I keep track of domain restrictions when performing function operations?

Answer: Here's a systematic approach to handle domain restrictions:

  1. Identify individual domains: Find the domains of f(x) and g(x) separately
  2. Apply operation-specific rules:
    • For \((f + g)(x)\), \((f - g)(x)\), \((f \cdot g)(x)\): Domain is intersection of individual domains
    • For \(\left(\frac{f}{g}\right)(x)\): Domain is intersection of individual domains excluding zeros of g(x)
    • For \((f \circ g)(x)\): Domain is all x in domain of g such that g(x) is in domain of f
  3. Check for new restrictions: Some operations may introduce new domain restrictions

Example: If \(f(x) = \sqrt{x}\) (domain: \(x \geq 0\)) and \(g(x) = x - 1\) (domain: all real numbers), then:

  • \((f + g)(x) = \sqrt{x} + x - 1\) has domain \(x \geq 0\)
  • \(\left(\frac{f}{g}\right)(x) = \frac{\sqrt{x}}{x - 1}\) has domain \(x \geq 0\) and \(x \neq 1\), so domain is \([0,1) \cup (1,\infty)\)

Always state domain restrictions alongside your final answer!