Chapter 1: Functions of Real Variables, Limits, Continuity, Graphs of a Function
Introduction: What is a Function?
Imagine a "Magic Box." You drop a number into the top, something happens inside, and a different number pops out the bottom. In mathematics, this "Magic Box" is called a Function.
A function is simply a rule that connects one number (the Input) to exactly one other number (the Output).
Key Rule: For every input, there can only be one output. If you put in a "2" and sometimes get a "4" and sometimes get a "10," it's not a function — it's a mess!
1. Functions of a Real Variable
When we say "Real Variable," we just mean that the numbers we are using are "Real Numbers" — basically any number you can find on a number line (, , , , etc.).
We usually write functions like this:
- : The input (The Independent Variable).
- : The rule (The "Magic Box").
- : The output (The Dependent Variable).
2. Key Characteristics of Functions
A. Domain and Range
Domain: The set of all possible numbers you are allowed to plug in. (Example: You can't divide by zero, so would be excluded from the domain of .)
Range: The set of all numbers that actually come out of the box.
3. Types of Functions
Type 1: Linear Functions (The Straight Line)
These are the simplest functions. They look like .
Example 1: . If , .
Example 2: . If , .
Type 2: Quadratic Functions (The U-Shape)
These have an in them. They create a curve called a parabola.
Example 3: . If , .
Example 4: . If , .
Type 3: Polynomial Functions
These involve higher powers like , , etc.
Example 5: .
Type 4: Rational Functions (The Fractions)
Functions where is in the denominator.
Example 6: . Note: cannot be .
Type 5: Absolute Value Functions
These turn everything positive. .
Example 7: . If , .
4. More Advanced Types
Even and Odd Functions
Even: If you plug in a negative , you get the same result as a positive . . (Example: ).
Odd: If you plug in a negative , you get the negative version of the result. . (Example: ).
Composite Functions (The Double Box)
This is putting one function inside another. Written as .
Example 8: If and .
Then .
If we have two functions, and , the composite function (written as or ) is defined as:
- Take the input .
- Apply to it to get .
- Use the result as the input for .
Crucial Rule: The range of must be contained within the domain of for the composition to be defined.
5. The 5 Essential Problem Types (Step-by-Step)
Type 1: Basic Evaluation (Numerical Input)
Question: Given and , evaluate .
Step 1: Find the inner function value first: .
Step 2: Substitute this result into the outer function : .
Final Answer: .
Type 2: Algebraic Composition (Variable Input)
Question: Given and , find .
Step 1: Write the structure: .
Step 2: Substitute the entire expression for into : .
Step 3: Simplify: .
Final Answer: .
Type 3: Finding the Domain of a Composite Function
Question: Find the domain of if and .
Step 1: Identify the domain of the inner function . Since it's , .
Step 2: Identify the restriction of the outer function . The denominator cannot be zero.
Step 3: Solve the restriction: .
Final Answer: The domain is .
Type 4: Decomposition (The "Reverse" Process)
Question: Express as a composition of two functions and such that .
Step 1: Identify the "inner" operation. Here, is happening first. So, .
Step 2: Identify the "outer" operation applied to that result. The result is being raised to the power of . So, .
Final Answer: and . (This is vital for Calculus/Chain Rule later).
Type 5: Composition with Self (Iterative Functions)
Question: If , find .
Step 1: Set up the substitution: .
Step 2: Plug in the expression: .
Step 3: Multiply numerator and denominator by to clear the fractions: .
Final Answer: .
6. More Worked Examples
Example 11: Finding the Domain
Find the domain of .
Solution: You can't take the square root of a negative.
So , which means .
Example 12: Evaluating Functions
If , find .
Solution: .
Example 13: Piecewise Functions
A function that changes rules: if , and if .
Solution: If , use first rule . If , use the second rule .
Example 14: Inverse Functions
Find the inverse of .
Solution: Swap and : .
Example 15: Identifying Even/Odd
Is even or odd?
Solution: . Since , it is Even.
Example: Evaluating a Function
Question: Given , find .
Solution: Substitute for every in the equation: .
Example: Finding Domain (Rational Function)
Question: Determine the domain of .
Solution: A rational function is undefined if the denominator is zero. Here, . Thus, the domain is all real numbers except .
Example: Finding Domain (Square Root)
Question: Determine the domain of .
Solution: For the output to be a real number, the value under the square root must be . Solve , which gives . Domain: .
Example: Function Composition
Question: If and , find .
Solution: Substitute into : .
Example: Operations on Functions
Question: If and , find .
Solution: Multiply the functions: .
Example: Testing for Even Functions
Question: Determine if is an even function.
Solution: Check if . . Since , it is even and symmetric about the y-axis.
Example: Testing for Odd Functions
Question: Determine if is an odd function.
Solution: Check if . . Since , it is odd and symmetric about the origin.
Example: Piecewise Functions
Question: Evaluate if .
Solution: Since , use the second rule: .
Example: Absolute Value Functions
Question: Solve for .
Solution: Substitute : . This measures distance from .
Example: Quadratic Function (Vertex Form)
Question: Find the vertex of .
Solution: Factor out of the first two terms: .
Complete the square inside: .
The vertex is .
Limits and Continuity of a Function
Imagine driving a car from Lagos to Ibadan. Your GPS tracks your position every second. If a bridge at a specific point is washed out, you cannot physically stand on that point. However, by looking at your position just meters before the bridge and just meters after it, you can accurately predict exactly where that missing point lies.
In mathematics, this is what we call finding a limit. In your upcoming modules on derivatives and integrals, you will discover that calculus is entirely built upon this single concept: analyzing how a mathematical expression behaves as it gets closer and closer to a specific value, even if that value is impossible to plug in directly.
Foundational Concept
A limit is the value that a function approaches as the input variable approaches a specific number. We do not care what the function actually equals at that exact input; we only care about its behavior near it.
We write this mathematically as:
This is read as: "The limit of as approaches equals ."
Let us look at a numerical example. Consider the function:
If you try to calculate directly, you get a mathematical disaster:
Division by zero is undefined.
However, let us build a table of values to see what happens as gets extremely close to from both sides:
| from the left | from the right | ||
|---|---|---|---|
| 1.9 | 3.9 | 2.1 | 4.1 |
| 1.99 | 3.99 | 2.01 | 4.01 |
| 1.999 | 3.999 | 2.001 | 4.001 |
| 1.9999 | 3.9999 | 2.0001 | 4.0001 |
Notice how as crawls closer to , the output crawls closer to . Therefore, even though does not exist, .
The Laws of Limits
Evaluating limits from first principles every time would be exhausting. Fortunately, mathematicians have established a set of laws that allow us to break complicated limits into simpler parts. These laws work provided the individual limits involved actually exist.
Suppose and as , and let be any constant. Then:
| Law | Statement |
|---|---|
| Law 1 — Constant Rule | |
| Law 2 — Identity Rule | |
| Law 3 — Sum Rule | |
| Law 4 — Difference Rule | |
| Law 5 — Constant Multiple Rule | |
| Law 6 — Product Rule | |
| Law 7 — Quotient Rule | , provided |
| Law 8 — Power Rule | |
| Law 9 — Root Rule | , provided when is even |
Example 2.2 — Applying the Limit Laws
Evaluate: as .
We apply the limit laws step by step, naming each law as we go.
Apply the Sum/Difference Rule (Laws 3 & 4):
Apply the Constant Multiple Rule (Law 5):
Apply the Power Rule (Law 8) and Identity Rule (Law 2) and Constant Rule (Law 1):
Arithmetic:
Answer: 9
Observation: For a polynomial function , as is always equal to . This is because polynomials are continuous everywhere. This means that for polynomials, you can simply substitute directly.
Detailed Breakdown
Step 1: Evaluate by Direct Substitution
Whenever you are asked to find a limit, your very first action should always be to plug the target number directly into the function. If the function is a simple polynomial or rational function and does not result in a zero in the denominator, this direct value is your limit.
Step 2: Resolve Indeterminate Forms ()
If direct substitution results in , the limit is not necessarily non-existent. It simply means the true answer is hidden. You must use algebra to simplify the expression and eliminate the terms causing the zero. The two most common techniques for this are:
Factorization: Breaking polynomials into products to cancel out the problematic terms.
Rationalization: Multiplying the numerator and denominator by a conjugate expression to eliminate square roots.
Step 3: Check One-Sided Limits
For a limit to exist globally, the function must approach the exact same value from both sides.
Left-hand limit (): The value approaches as gets closer to using numbers smaller than .
Right-hand limit (): The value approaches as gets closer to using numbers larger than .
The fundamental rule of limits states:
If the left-hand limit does not equal the right-hand limit, the general limit does not exist (DNE).
Example 1: Factorization Method
Question: Evaluate the limit:
Solution:
Try Direct Substitution: Plug in .
This is an indeterminate form. We must alter the function algebraically.
Factor the Numerator: Recognize that is a difference of two squares: .
Cancel Common Terms: Because we are evaluating a limit, approaches but is never exactly . This means , allowing us to safely divide it out:
Apply Direct Substitution Again: Now substitute into the simplified expression: .
Therefore, .
Example 2: Rationalization Method
Question: Evaluate the limit:
Solution:
Try Direct Substitution: Plug in . .
We must clear the square root from the numerator using a conjugate.
Multiply by the Conjugate: The conjugate of is .
Multiply both the top and bottom by this term:
Expand the Numerator: Use the identity :
Now substitute this back into our limit:
Cancel Common Terms: Divide the out of the numerator and denominator:
Apply Direct Substitution: Plug in :
Therefore, .
Using Expansion Method for Evaluating Limit
The core idea of the expansion method is that near , complex functions can be perfectly approximated by a custom polynomial.
For instance, if you graph and the simple line near the origin, they look almost identical. If you want more accuracy, you add more terms:
Here are the four standard Maclaurin series expansions you must memorize for your first-year exams. They are your primary tools for this method:
(Note: The exclamation point denotes a factorial. For example, , and .)
Detailed Breakdown
Step 1: Identify the Target Condition
The expansion method is most powerful when you are evaluating a limit where approaches () and direct substitution yields .
Step 2: Substitute the Series Expansions
Replace the trigonometric or exponential functions in your limit with their corresponding polynomial series. Usually, writing out the first two or three terms of the series is more than enough to solve the problem.
Step 3: Group and Simplify the Terms
Group like powers of together in both the numerator and the denominator.
Step 4: Factor and Cancel the Lowest Power of
The term causing the problem is always the lowest power of present in the expression. Factor this power out from both the top and bottom, then cancel them out completely.
Step 5: Evaluate by Direct Substitution
Plug into the remaining simplified expression. Every term that still contains an will become zero, leaving you with your final numerical answer.
Worked Examples
Example 1: Solving a Trigonometric Limit
Question: Evaluate the limit using the expansion method:
Solution:
Try Direct Substitution:
This is indeterminate. Since there is a term, we will use its series expansion.
Substitute the Expansion for :
Recall that . Let us plug this directly into our limit expression:
Distribute the Negative Sign and Simplify the Numerator:
Carefully distribute the minus sign into the parentheses:
Notice that the terms and cancel each other out:
Factor out and Cancel :
Divide every term in the numerator by the denominator's :
Apply Direct Substitution ():
Every higher-power term containing will vanish to zero:
Therefore, .
Example 2: Mixing Exponential and Trigonometric Functions
Question: Evaluate the limit: .
Solution:
Try Direct Substitution:
We must expand both in the numerator and in the denominator.
Substitute Both Series Expansions:
Substitute these into the limit:
Simplify the Numerator and Denominator:
In the numerator, and . In the denominator, . Our expression collapses beautifully to:
Factor out and Cancel the Lowest Common Power ():
Factor out from both the top and the bottom expressions:
Cancel the terms:
Apply Direct Substitution ():
Therefore, .
Common Pitfalls
-
The Variable Substitution Mistake: If your function contains a modified term like , you cannot just use the expansion for . You must replace every single in the standard expansion formula with .
For example:
-
Truncating Too Early: If you only write down the very first term of a series (e.g., replacing with just ), you might accidentally cancel everything out and get a false or again. Always write out at least up to the term matching the highest power in your denominator.
Common Pitfalls
- The or Undefined Error: Do not stop your work if you get . It is a signal to do more algebra, not a final answer.
- Forgetting the Limit Notation: Students often stop writing the symbol "" during intermediate steps. You must keep writing the limit operator until the exact moment you substitute the number into the variable.
Key Takeaways
- Limit Concept: A limit tracks what value a function approaches, not what it explicitly equals at a point.
- Indeterminate Form: Finding means you must simplify the function using factoring or rationalization.
- Existence Condition: A general limit only exists if the left-sided limit matches the right-sided limit.
Continuity of a Function
Imagine drawing a graph on a piece of paper. If you can trace the entire curve from left to right without ever lifting your pen from the page, your function is continuous. If your pen has to jump over a missing point, skip across a gap, or shoot off to infinity, the function is discontinuous.
In real-world engineering, you want physical properties like the temperature of a solar panel or the voltage across a circuit to be continuous. Sudden breaks or jumps usually signal structural failures or explosive system changes.
Foundational Concept
A function is continuous at a specific point if there are no breaks, holes, or jumps at that point. To prove this mathematically, the function must clear three strict hurdles.
A function is continuous at if and only if:
- is defined (the point actually exists).
- exists (the left and right sides point to the same location).
- (the missing hole is perfectly filled by the point).
If any single one of these three conditions fails, the function is discontinuous at .
Detailed Breakdown
Step 1: Check if the Point Exists
Look at the function description. Can you plug into the function without breaking a mathematical law (like dividing by zero)? If you get an undefined result, stop immediately; the function is discontinuous.
Step 2: Verify the Limit Exists
Calculate the left-hand limit and the right-hand limit. If you are dealing with a piecewise function (a function that changes formulas at a certain boundary), evaluate the specific formula used for values smaller than , then evaluate the formula used for values larger than . If their values match, your limit exists.
Step 3: Compare Point and Limit
Check if your numeric answer from Step 1 matches your numeric answer from Step 2. If they are identical, the curve is unbroken, and the function is continuous.
Worked Examples
Example 1: Verifying Continuity of a Piecewise Function
Question: Determine if the following function is continuous at :
Solution:
We must test all three conditions of continuity at .
Condition 1: Does exist?
Looking at the piecewise rules, when , the function explicitly says . So (Condition 1 passes).
Condition 2: Does exist?
Because the formula changes at , we must check both one-sided limits.
Left-Hand Limit (): Use the rule for , which is .
Right-Hand Limit (): Use the rule for , which is .
Since both the left-hand limit and right-hand limit equal , the general limit exists:
Condition 3: Does the limit equal the point value?
Compare our answers: and .
Since all three conditions are satisfied, the function is continuous at .
Example 2: Finding a Missing Parameter for Continuity
Question: Find the value of the constant that makes the function continuous everywhere:
Solution: For the function to be continuous everywhere, it must specifically be continuous at the transition boundary . This means the left-hand limit must equal the right-hand limit at .
- Find the Left-Hand Limit: Use the expression for .
- Find the Right-Hand Limit: Use the expression for .
- Set Them Equal to Solve for :
Subtract from both sides:
Divide by :
Therefore, setting forces the two pieces of the graph to meet seamlessly at , making the function continuous.
Common Pitfalls
- Only Checking One Side: When dealing with piecewise functions, students often evaluate only one of the expressions to find a limit. You must evaluate both sides of the boundary value separately.
- Assuming Direct Value Rules Everything: A function can have a valid limit at a point while still being discontinuous if the actual point value is plotted elsewhere (a removable discontinuity). Always check condition 3!
Key Takeaways
- Three-Part Test: Continuity requires a point to exist, a limit to exist, and for both values to match exactly.
- Piecewise Transitions: To fix or verify continuity in split functions, match the left-sided expression to the right-sided expression at the split point.
Practice Exercises
- If , find .
- What is the domain of ?
- Calculate if and .
- Determine if is Even or Odd.
- Find the inverse of .
- Solve for .
- Find for .
- If , find .