Functions, transformations and exponential functions
Domain, composition, even/odd functions, graph shifts and exponential equations. Every question for the rest of the semester builds on this language.
The first week of Calculus is the one students skip with “I already know this” and then lose points on the midterm. Limit, derivative and integral questions are all asked about some function. A student who finds the domain wrongly, reverses a composition or shifts a graph the wrong way carries the same mistake into later weeks. These five rules will help you most on the exam:
- The domain is found with three prohibitions: the radicand cannot be negative, the denominator cannot be zero, and the argument of a logarithm must be positive.
- A composition is read from the inside out. First , then .
- A change inside the parentheses moves the graph horizontally, and a change outside moves it vertically. Inside, the sign works backwards: goes right.
- Even/odd test: compute and compare it with or .
- In an exponential equation, equalize the bases. If that fails, let .
Function, domain, range
A function is a rule that assigns exactly one value to every in the domain. The domain is the set of for which the formula makes sense. The range is the set of values the function actually takes.
If the question does not give a domain, it is asking for the “natural domain”. To find it, scan the formula and remove the forbidden points:
| What is in the formula? | Condition |
|---|---|
| (even-index root) | |
| , | |
| (both at once) |
Example 1. The domain of .
Radicand: . Denominator: . The intersection of the two:
is included because is defined. When writing intervals, a square bracket means “included” and a round parenthesis means “excluded”.
PITFALL · simplifying does not change the domain. simplifies to , but is still forbidden. Always find the domain from the original formula.
Finding the range
There is no formula for the range; you look at the structure of the function. The two most common techniques:
- Complete the square. . A square is at least 0, so . The range is , and the minimum occurs at .
- Build from a known piece. takes every positive number. So takes . Transform the interval at each step: multiplying multiplies the endpoints (multiplying by a negative flips the interval), and adding shifts the endpoints.
The most reliable way to test whether a value is in the range is to try to solve for . If there is a solution, is attained. You will use the same idea in week 2 when finding inverse functions.
Piecewise functions
Functions that use a different formula on different intervals. When evaluating, first check which interval lies in, then use the formula of that piece. The absolute value is also piecewise:
Composite functions (composition)
. First is applied, and the result goes into . In general .
Example 2. , .
For the formula came out as , but the domain is not . If you plug in , you first have to compute , which is undefined. The domain of a composition: the where is defined and falls in the domain of .
It is also asked in the opposite direction: “Write as .” The answer is , . This decomposition is the basis of the chain rule in week 6.
Even and odd functions
| Type | Definition | Graph | Examples |
|---|---|---|---|
| Even | symmetric about the -axis | , , , | |
| Odd | symmetric about the origin | , , |
Example 3. Test three functions.
- : . Odd.
- : . Even.
- : , . Neither nor . Neither odd nor even.
A single counterexample is enough to say “neither odd nor even”. To say “odd” or “even”, you must show the equality for a general .
Shortcut: odd × odd = even, even × even = even, odd × even = odd. The same holds for division.
Graph transformations
If you know the graph of , you can sketch these from memory ():
| Formula | Movement |
|---|---|
| units up | |
| units down | |
| units to the right | |
| units to the left | |
| reflection in the -axis | |
| reflection in the -axis | |
| , | vertical stretch by a factor of |
| , | horizontal compression by a factor of |
The logic: whatever is inside the parentheses acts on . In the graph of , the value that used to be at is now seen at . That is why the minus sign inside takes the graph to the right.
Example 4. Obtain the graph of from .
y = 2^x base graph, asymptote y = 0, passes through (0,1)
y = 2^(x+1) 1 unit to the left
y = -2^(x+1) reflection in the x-axis, the graph drops below the axis
y = 3 - 2^(x+1) 3 units up, asymptote y = 3
-intercept: . The range is . The asymptote also moved up 3 units: .
PITFALL · order matters. “First stretch by 2, then shift up 1” and “first shift up 1, then stretch by 2” give different graphs: versus . Apply the steps in the order given in the question.
Exponential functions
, where and . Properties:
- The domain is and the range is . It is never zero or negative.
- It passes through , because .
- It is increasing if and decreasing if . is a horizontal asymptote.
Exponent rules:
The natural base e
The number is the following limit:
For , ; as grows, it settles at . In calculus almost every exponential function is written with , because, as you will see in week 7, the derivative of is itself.
Solving exponential equations
Method 1: equalize the bases. .
Example 5. .
Method 2: substitution. If the equation contains both and , let and a quadratic equation appears. Since , discard negative roots.
Example 6. . : , . , .
If the bases cannot be equalized (like ), you need logarithms. That is the topic of week 2.
Growth model
The sentence “it doubles every hours, starting at ” translates to the model:
For half-life, write instead of .
Common mistakes
| Wrong thinking | Correct |
|---|---|
| , domain | is still excluded, look at the original formula |
| shifts left | It shifts right, the sign inside works backwards |
| : first | |
| simplified, so the domain can be read from the formula | must be defined first: needs |
| , the bases are not multiplied, the exponents are added | |
| Accepting the root in as well | , discard the negative root |
| is odd because | To be odd, is required; if neither holds, it is neither odd nor even |
| The graph of crosses the -axis | It never does, |
Test yourself
Exam-style questions. Solve them on paper first, then reveal the answer.
Find the domain of .
Show answer
There are two conditions. The radicand cannot be negative: . The denominator cannot be zero: . Combine them: and , so . is included, because is defined.
Let and . Find and its domain.
Show answer
. The simplified formula looks like it works for every , but must be computed first: , so . The domain is .
Determine whether is even, odd, or neither.
Show answer
. The numerator is odd and the denominator is even, so their quotient is odd. The function is odd, and its graph is symmetric about the origin.
Let . Compute .
Show answer
Start from the inside. Since , . Then : , so use the second piece: .
Solve .
Show answer
Write both sides with base 2: , . The bases are equal, so the exponents must be equal: . Check: .
Solve .
Show answer
Let . Since , the equation becomes , that is . . . Since , we would discard any negative root.
Find the range of .
Show answer
is positive for every and takes every value in . So sweeps . Adding 3 gives . The value 3 is never reached: is a horizontal asymptote.
If and , find .
Show answer
. Set it equal to : . Check: .
The graph of is shifted 3 units to the right, reflected in the -axis, and then shifted 4 units up. Write the new equation and give its horizontal asymptote and range.
Show answer
Apply the steps in order. Right 3: , so . Reflection in the -axis: . Up 4: . Since , we get ; the asymptote is and the range is .
A bacteria culture starts with 500 cells and doubles every 3 hours. After how many hours will it contain 8000 cells?
Show answer
Model: . hours.
Prove that is an odd function.
Show answer
. The domain is (symmetric about the origin) and the equality holds for every , so is odd. This function is called .
Find the domain of .
Show answer
Condition: and . The critical points are (numerator zero) and (denominator zero). Sign table: for both factors are negative, so the quotient is positive. For the quotient is negative. For it is positive. is included (the quotient is 0) and is excluded. The result is .
Verification: All answers were checked with node (verify/MAT1051/01.mjs): domains by evaluating at the boundary points, composition and parity by comparing at several points, exponential equation roots by substitution.