2 - chapter 2 - functions Flashcards
mapping
takes numbers from inputs and assigns them one or more outputs based on mappy rules
eg x -> x^2 + 3, x-> a factor of x
represent mapping
using arrow notation eg x -> x^2 + 3
or name the output eg y = x^2 + 3
or use a mapping diagram
domain
set of all possible inputs (x)
function
type of mapping where each input has one output
how to see if something is a function
vertical line test
if a vertical line goes through the function once then its a function if not it isnt
how to see if each output comes from one input
horizontal line test
sees if a function is one to one or many to one
function types
one to one - every y corresponds to one x
many to one - at least one y that comes from multiple x’s
range
set of all possible outputs of a function (y)
composite function
eg f(g(x))
g(x) happens then f(the result)
or f^2(x) = f(f(x))
the range of g must lie within the domain of x for the composite function to exist
inverse functions
y = f(x)
rearrange to get x
replace every y with x
(reflection of f(x) in the line y = x)
the domain of f-1(x) = the range of f(x) and vice versa - domain and range swap
what functions have inverse
one to one functions
have to pass the horizontal line test
- you can restrict a function so its one to one then find the inverse of that to find the inverse of not one to one functions