Composite and Inverse Functions
Composite and Inverse Functions
In advanced math, functions can interact in various ways. Two of the most important concepts are composite functions (combining two functions) and inverse functions (reversing a function).
Composite Functions
Composing two functions means plugging the output of one function directly into the input of another. The composition of f and g is denoted by (fโg)(x) and is defined as:
(fโg)(x)=f(g(x))
This tells you to evaluate g(x) first, and then plug that result into f(x).
Example 1: Evaluating at a specific number If f(x)=2x+1 and g(x)=x2, find (fโg)(3).
- First, find g(3): g(3)=32=9.
- Next, plug this result into f: f(9)=2(9)+1=18+1=19. So, (fโg)(3)=19.
Example 2: Finding a composite function Using the same functions, find (gโf)(x). Here, we plug the entire function f(x) into g(x): (gโf)(x)=g(f(x))=g(2x+1) =(2x+1)2=4x2+4x+1
Inverse Functions
An inverse function, denoted as fโ1(x), reverses the input-output relationship of the original function f(x). If f(x) turns an x into a y, then fโ1(x) turns that y back into the original x.
For a function to have an inverse, it must be one-to-one, meaning every output is paired with exactly one input (it passes the horizontal line test).
How to find an inverse function:
- Replace f(x) with y.
- Swap x and y.
- Solve the equation for y.
- Replace y with fโ1(x).
Example 3: Finding an inverse function Find the inverse of f(x)=x+23xโ1โ.
- Replace f(x) with y: y=x+23xโ1โ
- Swap x and y: x=y+23yโ1โ
- Solve for y: Multiply both sides by (y+2): x(y+2)=3yโ1 Distribute the x: xy+2x=3yโ1 Move all terms containing y to one side: xyโ3y=โ2xโ1 Factor out y: y(xโ3)=โ2xโ1 Divide by (xโ3): y=xโ3โ2xโ1โ
- Replace y with fโ1(x): fโ1(x)=xโ3โ2xโ1โ