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â