Difference between revisions of "Math 22 Functions"
| Line 96: | Line 96: | ||
'''Example exercise''': Show two functions <math>f(x)=\frac {3}{2}x+1</math> and <math>g(x)=\frac {2}{3}(x-1)</math> are inverses | '''Example exercise''': Show two functions <math>f(x)=\frac {3}{2}x+1</math> and <math>g(x)=\frac {2}{3}(x-1)</math> are inverses | ||
| − | '''Answer''': We want to show that these two functions satisfy <math>f(g(x))=x</math> and <math>g(f(x))</math>. So | + | '''Answer''': We want to show that these two functions satisfy <math>f(g(x))=x</math> and <math>g(f(x))=x</math>. So |
Consider <math>f(g(x))=f(\frac {2}{3}(x-1))=\frac{3}{2}[\frac{2}{3}(x-1)]+1=(x-1)+1=x</math> | Consider <math>f(g(x))=f(\frac {2}{3}(x-1))=\frac{3}{2}[\frac{2}{3}(x-1)]+1=(x-1)+1=x</math> | ||
and <math>g(x(x))=g(\frac {3}{2}x+1)=\frac{2}{3}(\frac{3}{2}x+1-1)=\frac{2}{3}(\frac{3}{2}x)=x</math> | and <math>g(x(x))=g(\frac {3}{2}x+1)=\frac{2}{3}(\frac{3}{2}x+1-1)=\frac{2}{3}(\frac{3}{2}x)=x</math> | ||
| + | |||
| + | Hence, <math>f(x)=\frac {3}{2}x+1</math> and <math>g(x)=\frac {2}{3}(x-1)</math> are inverses | ||
'''This page were made by [[Contributors|Tri Phan]]''' | '''This page were made by [[Contributors|Tri Phan]]''' | ||
Revision as of 10:38, 12 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 can be written as in function notation.
Exercises Find the domain and range of the following functions:
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, |
| Answer: or |
| The range is all of possible outcomes (values of y). Notice that is never negative. So is never negative. |
| Answer: or |
Evaluate a Function
To evaluate a function at . We just need to plug in to find .
Example: Find the value of the function at
Answer:
Exercises Find the value of the function at the given values:
2) at
| Solution: |
|---|
| isn't in the domain of . So, undefined |
| OR |
Composite Function
Let and be functions. The function given by is the composite function of 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 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} 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^{-1}}
Formal definition of inverse 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 such 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 (f\circ g)(x)=f(g(x))=x}
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\circ f)(x)=g(f(x))=x}
Under these conditions, 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 g}
is 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}
, we denote 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^{-1}}
Important: 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} must be equal to the range 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^{-1}} , and the range 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} must be equal to 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^{-1}}
Example exercise: Show two functions 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)=\frac {3}{2}x+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)=\frac {2}{3}(x-1)} are inverses
Answer: We want to show that these two functions satisfy 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))=x} 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(f(x))=x} . So
Consider 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(\frac {2}{3}(x-1))=\frac{3}{2}[\frac{2}{3}(x-1)]+1=(x-1)+1=x}
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))=g(\frac {3}{2}x+1)=\frac{2}{3}(\frac{3}{2}x+1-1)=\frac{2}{3}(\frac{3}{2}x)=x}
Hence, 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)=\frac {3}{2}x+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)=\frac {2}{3}(x-1)} are inverses
This page were made by Tri Phan