03
FunctionsWhat is a function?03_01A
In previous years, you were probably taught that a function is like a set of machines that convert 1 input to 1 output. This still holds true for the IB, however we have to take into account equations that are not functions. By this, we essentially have to see if and when we input 1
-value, whether we get a single
-value or not. The latter means the equation you've got, is not a function (because it's not possible to have 2
-values, otherwise you'd be in some superposition of the two), but is instead just considered a relation. General rules are described in the note below.
Tests for functions and relations
Relations in a table
An equation is a function if there's a one-to-one relation with the input-to-output. In other words, no one
-value has multiple
-values.
Solutions of |
Vertical line test
A test you can do to determine this is the "vertical line test" where you trace a vertical line across the graph, and ensure that vertical line never intersects the graph of the function more than once (as in, test out
,
, etc...).
When considering functions, you have to watch out for those that either have a filled in circle (meaning the domain or range is either
or
at the coordinates of the point), or a hollow circle (meaning the domain or range is either
or
at the coordinates of the point). If you have a vertical "stack' of filled in circles, you don't have a function (because two values that could be greater than/less than or equal to that
-value, mean that you get two
-values, and as we know above, that turns out to not be a function).
Domain and range03_02A
Every function has a domain and range. These attributes describe the "dimensions" per-se of a function. The domain represents all the input values of the function (the
-values), whereas the range represents all the values the function can produce as an output (the
-values). When looking at the domain, you have to find all the solutions which make the function "work", as in, you can't divide by
in a rational, and you can"s square root a surd (you"ll learn why in the complex numbers chapter).
Domain and range rules for functions
Domain
1) In rational functions: domains cannot equal 0. Example:
,
2) In surd functions: inner expression must be non-negative. Example:
,
3) In logarithmic functions: inner expression must be positive. Example:
,
4) There are typically no restrictions on the domain of a polynomial function (linear, quadratic, cubic, etc...)
Range
1) Substitute values from the domain into the function
2) Analyze behavior at extreme values (limits approaching infinity)
3) Use graphical methods or algebraic manipulation to find maximum and minimum values
Further in this chapter, you will see that we use domain and range restrictions so that we can create inverses of functions. You will also learn how to graph those inverses, even if you"re dealing with a relation.
Finding ranges and domains
1) Find the domains and ranges of the functions below.
2) For the sets of points below, determine if they're functions or relations.
3) Determine whether these sets of points are a function or not, and if they are, what the domain and range are.
Composite functions03_03A
Composite functions are ones that use multiple functions together at once, to essentially calculate the output all in one go, instead of calculating it through multiple steps. The general notation is as follows:
, where you take function
and put it into function
to produce the output. Note, you can also express it as
if you need to find a function, given one and the composite.
When considering domains, for
, the output of
must be within the domain of
.
Finding function composites
Given two functions
1) Let
and
. Find
Just sub in
into
like so:
That simplified gets you
Given one function, and composite
2) Given the function
, first find it in the form
, then given that
and
, find
This question nicely guides you through what you have to do! First find the vertex form, from which we can figure out what's "applied" to it to get to that composite function
In vertex form, we get
. From here, we can look at what happens to
to get to that vertex form. It's just multiplying by
, squaring that, and subtracting
Composite functions should be self explanatory, so there wont be much discussion past the above.
Transformations03_04A
You can translate/scale many different functions in many different ways, but there are some key "formats" per-se, that you should learn, in order to transform a function or to be able to graph one if you're given one with numerous translations.
In the IB, you only really have to worry about adding these two new "formats": rational and trigonometric translations. The rest, you should know (such as up-down, left-right, and scaling), though I will still add them below.
Function translations
Preexisting knowledge
Up-down translations: in the form
and
respectively
Left-right translations: in the form
and
respectively
Reflection over the
-axis: in the form
Reflection over the
-axis: in the form
Vertical stretch for
: in the form
Vertical compression for
: in the form
Horizontal compression for
: in the form
Horizontal stretch for
: in the form
New function translations
Rational transformations: in the form
Trigonometric transformations: in the form
Rational transformations03_05A
Rational transformations essentially act like stretches/compressions in the
-axis. For any given function, you put
over the output (seen in the notation above). However when you get to graphing them in a few sections, you'll have to be careful about asymptotes. Any time you divide by
, you get an undefined output. Therefore, whatever
-value you input that causes the output (or denominator) to be
is where a vertical asymptote will be at. This is because the function can get closer and closer either from above or below
, but as soon as it reaches
, it's unable to exist anymore!
Trigonometric translations/transformations03_06A
Trigonometric function transformations have similar formats to those of regular functions, such as up/down and left/right transformations, but there's also period and phase transformations described and shown below.
Trig translation and transformation formats
For
- affects the amplitude of the function (the "height" relative to the principal axis)
- affects the period of the function (the period is defined as
)
- affects the horizontal translation of the function (same as regular transformations)
- affects the vertical translation of the function (same as regular transformations)
Topics coming soon
- Composite functions coursework
- Inverses
- Transformations
- Graphing functions
- Practical applications
- ECQs