Difference between revisions of "Math 22 Functions"
| (10 intermediate revisions by the same user not shown) | |||
| Line 63: | Line 63: | ||
<math>f(x)-g(x)=(2x+1)-(x^2+3)=-x^2+2x-2</math> | <math>f(x)-g(x)=(2x+1)-(x^2+3)=-x^2+2x-2</math> | ||
| − | <math>f(x)g(x)=(2x+1)(x^2+3)=2x^3+x^2+6x+3 | + | <math>f(x)g(x)=(2x+1)(x^2+3)=2x^3+x^2+6x+3</math> |
<math>\frac{f(x)}{g(x)}=\frac {2x+1}{x^2+3}</math> | <math>\frac{f(x)}{g(x)}=\frac {2x+1}{x^2+3}</math> | ||
| Line 153: | Line 153: | ||
|- | |- | ||
|Step 3: <math>4y=x+1</math> | |Step 3: <math>4y=x+1</math> | ||
| − | + | |- | |
| − | | | + | |<span style="display:inline-block; width: 45px;"></span> <math> y=\frac {x+1}{4}</math> |
| + | |- | ||
|Step 4: <math>f^{-1}(x)=\frac {x+1}{4}</math> | |Step 4: <math>f^{-1}(x)=\frac {x+1}{4}</math> | ||
|} | |} | ||
| − | '''2)''' <math> | + | '''2)''' <math>f(x)=\frac {3}{2}x+1</math> |
{| class = "mw-collapsible mw-collapsed" style = "text-align:left;" | {| class = "mw-collapsible mw-collapsed" style = "text-align:left;" | ||
!Solution: | !Solution: | ||
|- | |- | ||
| − | |<math> | + | |Step 1: <math>y=\frac {3}{2}x+1</math> |
| + | |- | ||
| + | |Step 2: <math>x=\frac {3}{2}y+1</math> | ||
| + | |- | ||
| + | |Step 3: <math>\frac {3}{2}y=x-1</math> | ||
| + | |- | ||
| + | |<span style="display:inline-block; width: 45px;"></span><math> y=\frac {3}{2}(x-1)</math> | ||
|- | |- | ||
| − | + | |Step 4: <math>f^{-1}(x)=\frac {3}{2}(x-1)</math> | |
|} | |} | ||
| + | [[Math_22| '''Return to Topics Page''']] | ||
'''This page were made by [[Contributors|Tri Phan]]''' | '''This page were made by [[Contributors|Tri Phan]]''' | ||
Latest revision as of 06:50, 19 July 2020
Basic Definitions
A function is a relationship between two variables such that to each value of the independent variable there corresponds exactly one value of the dependent variable.
The domain of the function is the set of all values of the independent variable for which the function is defined.
The range of the function is the set of all values taken on by the dependent variable.
Function notation: We usually denote a function f of x as Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)} . For example, function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=2x^2+1} can be written as Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=2x^2+1} in function notation.
Exercises Find the domain and range of the following functions:
1) Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\sqrt{x+1}}
| Solution: |
|---|
| The domain is where the function defines (or all possible values of x). So, the radicand (everything under the square root) need to be non-negative. |
| So, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x+1\geq 0} |
| Answer: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x\geq -1} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle [-1,\infty)} |
| The range is all of possible outcomes (values of y). Notice that Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sqrt{x+1}} is never negative. So Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y} is never negative. |
| Answer: Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y\geq 0} or Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle [0,\infty)} |
Evaluate a Function
To evaluate a function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)} at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=a } . We just need to plug in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=a} to find Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(a)} .
Example: Find the value of the function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=4x^2+1} at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=1,2,3}
Answer:
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(1)=4(1)^2+1=4+1=5}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(2)=4(2)^2+1=16+1=17}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(3)=4(3)^2+1=36+1=37}
Exercises Find the value of the function at the given values:
2) Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle y=\sqrt{x+1}} at Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=3,-3}
| Solution: |
|---|
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(3)=\sqrt{3+1}=\sqrt{4}=2} |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=-3} isn't in the domain of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)} . So, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(-3)=} undefined |
| OR |
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(-3)=\sqrt{-3+1}=\sqrt{-2}=undefined} |
Combinations of Functions
Two functions can be combine in varuious way. For example, let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=2x+1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x)=x^2+3} . Then,
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)+g(x)=(2x+1)+(x^2+3)=x^2+2x+4}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)-g(x)=(2x+1)-(x^2+3)=-x^2+2x-2}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)g(x)=(2x+1)(x^2+3)=2x^3+x^2+6x+3}
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac{f(x)}{g(x)}=\frac {2x+1}{x^2+3}}
Composite Function
Let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g} be functions. The function given by Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (f\circ g)(x)=f(g(x))} is the composite function of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g} .
Examples: Let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=2x+1} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x)=x^2+3}
So, Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (f\circ g)(x)=f(g(x))=f(x^2+3)=2(x^2+3)+1=2x^2+7}
Exercises Given Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(x)=3x-2} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(x)=2x^2-1} . Find each composite function below
1) Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (f\circ g)(x)}
| Solution: |
|---|
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f(g(x))=f(2x^2-1)=3(2x^2-1)-2=6x^2-5} |
2) Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle (g\circ f)(x)}
| Solution: |
|---|
| Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g(f(x))=g(3x-2)=2(3x-2)^2-1} |
Inverse Functions
Informally, the inverse function of Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} is another function Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle g} that “undoes” what Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle f} has done. We usually denote as
Formal definition of inverse function. Let and be functions such that and Under these conditions, the function is the inverse function of , we denote
Important: The domain of must be equal to the range of , and the range of must be equal to the domain of
Exercise:
1) Show two functions and are inverses
| Solution: |
|---|
| We want to show that these two functions satisfy and . So |
| Consider |
| and |
| Hence, and are inverses |
2) Show two functions and are inverses
| Solution: |
|---|
| We want to show that these two functions satisfy and . So |
| Consider |
| and |
| Hence, and are inverses |
Finding Inverse Function
To find the inverse function of a given function . We can follow these steps: 1) Replace with 2) Interchange and 3) Solve for 4) Replace by
Exercises Find the inverse function of
1)
| Solution: |
|---|
| Step 1: |
| Step 2: |
| Step 3: |
| Step 4: |
2)
| Solution: |
|---|
| Step 1: |
| Step 2: |
| Step 3: |
| Step 4: |
This page were made by Tri Phan