Chapter MAA12
Functions
Algebra
Introduction to Functions
A function is a relationship between inputs and outputs where each input is related to exactly one output. Functions are one of the most fundamental concepts in mathematics, serving as building blocks for more complex mathematical structures.
A function
can be represented in various ways:
Function Notation
Standard Notation
Where
is the input and
is the output.
Mapping Notation
Where
is the domain (set of inputs) and
is the codomain (possible outputs).
Set Notation
A function as a set of ordered pairs where each first component appears exactly once.
The key property of a function is that each input value has exactly one corresponding output value. This is sometimes called the vertical line test in graphical representations: any vertical line should intersect the graph of a function at most once.
Domain and Range
Two important concepts associated with functions are domain and range:
• The domain of a function is the set of all possible input values for which the function is defined.
• The range (or image) of a function is the set of all possible output values that the function produces.
If not explicitly stated, the domain of a function is assumed to be the largest possible set of real numbers for which the function produces real outputs without undefined operations.
Common Domain Restrictions
Division by Zero
Even-root Functions
Logarithmic Functions
Problem: Find the domain and range of the function
.
1
For the domain, we need
since we can't take the square root of a negative number.
2
Solving
:
3
For the range, we note that
when
is in the domain.
4
Therefore:
Domain:
Range:
Types of Functions
Functions can be classified based on various properties and behaviors:
Linear Functions
Where
is the slope and
is the y-intercept. The graph is a straight line.
Quadratic Functions
The graph forms a parabola. Its vertex is at
.
Polynomial Functions
A function defined by a polynomial expression with degree
.
Rational Functions
A ratio of two polynomial functions, where
.
Exponential Functions
Base
raised to power
. Grows very quickly when
.
Logarithmic Functions
Inverse of exponential function. Base
logarithm of
.
Trigonometric Functions
Periodic functions related to the geometry of circles and triangles.
Problem: Determine the type of function:
.
1
This function has the form
where
,
, and
.
2
Since the highest power of
is 2, and
, this is a quadratic function.
3
The graph of this function is a parabola that opens upward (since
).
Function Properties
Functions can have various properties that describe their behavior:
Key Function Properties
Even and Odd Functions
• Even:
for all
in the domain
• Odd:
for all
in the domain
Even functions are symmetric about the y-axis; odd functions are symmetric about the origin.
Increasing and Decreasing Functions
• Increasing:
whenever
• Decreasing:
whenever
One-to-One Functions
A function
is one-to-one (injective) if distinct inputs always yield distinct outputs:
Graphically, a function is one-to-one if it passes the horizontal line test.
Onto Functions
A function
is onto (surjective) if every element in the codomain
is the image of at least one element in the domain
.
In other words, the range equals the codomain.
Bijective Functions
A function is bijective if it is both one-to-one and onto.
Only bijective functions have inverses that are also functions.
Problem: Determine whether the function
is even, odd, or neither.
1
To check if
is even, substitute
into the function:
2
Compare this with
:
3
Since
for all
,
is an odd function.
Problem: Determine whether the function
is one-to-one.
1
Let's check if distinct inputs yield distinct outputs. Let's say
.
2
That means:
3
Since
could equal
when
, two different inputs could yield the same output.
4
For example,
and
.
5
Therefore,
is not one-to-one.
Function Operations
Functions can be combined using arithmetic operations as well as composition to create new functions:
Basic Function Operations
Arithmetic Operations
• Sum:
• Difference:
• Product:
• Quotient:
, where
The domain of the resulting function is the intersection of the domains of
and
.
Function Composition
The domain of
consists of all
in the domain of
such that
is in the domain of
.
Problem: If
and
, find
and
.
1
For
, substitute
into
:
2
Evaluate
:
3
For
, substitute
into
:
2
Evaluate
:
Function Transformations
Function transformations allow us to create new functions from existing ones through operations like shifts, stretches, and reflections:
Basic Transformations
Vertical Shifts
Shifts the graph up by
units (down if
).
Horizontal Shifts
Shifts the graph right by
units (left if
).
Vertical Stretches and Compressions
Stretches the graph vertically by factor
if
, compresses if
.
Horizontal Stretches and Compressions
Compresses the graph horizontally by factor
if
, stretches if
.
Reflections
•
: Reflection across the x-axis
•
: Reflection across the y-axis
Problem: How does the graph of
relate to the graph of
?
1
Breaking down the transformations from inside to outside:
2
: Shift the graph of
right by 3 units
3
: Vertically stretch by factor 2 and reflect across x-axis
4
: Shift up by 4 units
5
In summary,
is the graph of
shifted right 3 units, vertically stretched by factor 2, reflected across the x-axis, and shifted up 4 units.
Inverse Functions
If a function
is one-to-one, it has an inverse function
that "undoes" what
does.
Inverse Function Properties
Definition
For a one-to-one function
, its inverse
satisfies:
•
for all
in the domain of
•
for all
in the range of
Domain and Range
The domain of
is the range of
, and vice versa.
Graph of Inverse
The graph of
is the reflection of the graph of
across the line
.
To find the inverse of a function:
1. Replace
with
2. Interchange
and
3. Solve for
4. Replace
with
Problem: Find the inverse of
.
1
Replace
with
:
2
Interchange
and
:
3
Solve for
:
4
Therefore,
5
To verify:
Piecewise Functions
A piecewise function is defined by different expressions for different parts of its domain. You don't need to know this type of function for the IB, but it is useful to have as background knowledge.
The absolute value function is a common piecewise function:
Problem: Evaluate the piecewise function
at
,
, and
.
1
For
:
, so use
2
For
:
, so use
3
For
:
, so use
Applications of Functions
Functions model countless real-world scenarios and relationships across various fields.
Economics
• Cost functions:
fixed costs + variable costs
• Revenue functions:
, where
is price and
is quantity
• Profit functions:
Physics
• Position functions:
gives position at time
• Velocity functions:
(derivative of position)
• Force functions:
gives force as function of distance
Problem: A company determines that the cost
(in dollars) of producing
items is
. The items sell for $40 each. Find the profit function and determine how many items must be sold to break even.
1
The revenue from selling
items at $40 each is:
2
The profit function is revenue minus cost:
3
To break even, the profit must be zero:
4
Since we can't produce a fractional number of items, the company needs to produce and sell at least 34 items to make a profit.