1/8/26
Function Basics
Functions can accept both numbers and letters (variables) as inputs, and the process for computation doesn't change based on the nature of the input.
Computing with Functions
To compute sums of functions, i.e., $f + g$, follow these steps:
Determine Outputs:
Compute $f(t)$ and $g(t)$ where $t$ is substituted into both functions.
If $f(t) = e^t$ and $g(t) = 3t^2 + 4$, add the outputs:
This demonstrates a straightforward addition of outputs resulting in a combination of an exponential and a quadratic function.
Multiplying Functions
Similar to addition, the multiplication of functions, $f imes g$, involves:
Calculate Outputs:
Substitute a new variable $s$ into both functions:
If $f(s) = e^s$ and $g(s) = 3s^2 + 1$, then we multiply:
Distributing the multiplication may be necessary but is dependent on preference.
Arithmetical Operations on Functions
The key takeaway is to perform operations (addition, multiplication) on the outputs of the functions directly.
This method is valid regardless of whether the inputs are numerical or symbolic letters; the process is purely about output manipulation.
Composition of Functions
Composition involves using the output of one function as the input for another.
Denotation: If you have $g(f(x))$, it means to first calculate $f(x)$ and use that result in $g$.
Concrete Example of Composition
Define the functions:
Let $f(x) = ext{square root}(x)$
Let $g(x) = 3$.
Compute the composition:
This stepwise operation underlines evaluating one function and then using that result in a second one.
Example Walk-Through for Function Composition
Consider the functions:
$f(x) = |x - 4|$ (absolute value function)
$g(x) = 2x^2 + 1$ (quadratic function)
Performing Composition
Calculate $f(g(x))$:
First obtain $g(x)$:
Next evaluate $f$ with this result:
$f(g(x)) = |(2x^2 + 1) - 4| = |2x^2 - 3|$
Reverse the operation to calculate $g(f(x))$:
For $f(x)$, we first get $f(x) = |x - 4|$
Then apply that into $g$:
Multiple Compositions
Functions can be composed multiple times:
For instance, composing a third function $h(x)$ can be defined as:
Stepwise calculations enhance clarity: starting with the innermost function and working outward.
Suggestion for Complex Compositions
When designing complex function compositions, break tasks into simple ordered steps for clarity.
Remember the sequence: add first, square root next, log last, etc.
Example setup could define:
$g(x) = ext{square root}(x + 1)$
$f(x) = ext{ln}(x)$
Final Recommendations
Understand that compositional operations are stepwise procedures.
Following the order of operations methodically will provide results while aiding comprehension.
No class on the following day; enjoy the weekend!