Building New Functions from Old
Just as we can combine numbers with addition and multiplication, we can combine functions to create new, more complex ones. Understanding these constructions is fundamental to analyzing functions in higher dimensions.
1. Cartesian Product of Functions
This is the most fundamental way we build vector-valued functions. If we have a set of scalar-valued functions that all share the same domain, we can bundle them together.
Definition: Cartesian Product of Functions
Let be functions, each mapping from to . The Cartesian product of these functions is a new, vector-valued function defined as: Each is called a component function of .
This idea is powerful because it tells us that to understand a vector-valued function , we can often just study its scalar-valued component functions individually.
2. Composition of Functions
Composition is a familiar idea from single-variable calculus, and it extends naturally to higher dimensions. We can “pipe” the output of one function into the input of another, provided the dimensions match up.
Definition: Composition
Let and . The composition is a function from to defined by: The output of (a vector in ) becomes the input for .
3. Functions with Separated Variables
This is a special, yet common, way to construct a multivariable function from single-variable building blocks.
Definition: Separated Variables
Let be functions of a single real variable (). A function is said to have separated variables if it is formed by taking the product of these functions, each applied to a different coordinate:
Monomials
The simplest and most important example of functions with separated variables are monomials. A monomial in has the form: Here, each is just the power function . A polynomial is simply a sum of such monomials.
Ways of Visualizing Functions
Our single greatest challenge in multivariable calculus is that we cannot easily “see” the objects we are studying. A function requires an -dimensional space to graph, which is impossible for us beyond very simple cases. We must therefore rely on different kinds of visualizations to build our intuition.
1. The Graph of a Function ()
This is the most direct generalization from single-variable calculus. For a function , the graph is the set of all points in 3D space where . This creates a surface floating over the -plane.
Definition: Graph
The graph of a function is the set:
Even for simple functions, the resulting surfaces can be complex and beautiful.
- Example 1: . This function’s graph is a smooth, bowl-shaped surface called a paraboloid.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251017142524.png)
- Example 2: . This creates a chaotic surface with concentric ripples, like waves in a pond.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251017142543.png)
2. The Parametric Plot ( or )
When the domain is one-dimensional but the codomain is higher-dimensional, we can visualize the function’s image as a curve traced out in space. Think of the input variable as “time.” As evolves, the point moves through space, drawing a path.
- Example 1: A Circle ()
The function traces out the unit circle in the plane. At , the point is . At , it’s at , and so on.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251017142652.png)
- Example 2: A Helix ()
The function traces a helix in 3D space. The components move in a circle, while the component steadily increases, lifting the curve upwards.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251017142712.png)
3. The Vector Plot (Vector Fields, )
For a vector field, where the domain and codomain have the same dimension, we can’t easily graph the function. Instead, we visualize it by drawing the output vector with its tail placed at the input point . This gives us a “flow” or “field” diagram, showing the direction and magnitude of the function’s output at various points in space.
- Example 1: A Rotational Field ()
The function creates a vector field that rotates counter-clockwise around the origin.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251017142831.png)
- Example 2: A 3D Field ()
The function creates a more complex field in 3D space.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251017143149.png)
Continuity in
With a feel for multivariable functions, we can now ask the first fundamental question of analysis: what does it mean for such a function to be continuous? The core idea is the same as in one dimension: “small changes in input lead to small changes in output.”
Recalling Continuity in
A function is continuous at a point if:
- The Definition: For every , there exists a such that if , then .
- The Limit Definition: The limit of the function exists at and is equal to the function’s value: .
- The Sequential Definition: For every sequence that converges to , the sequence of function values converges to . This can be elegantly written as: Continuity means we can swap the function and the limit.
Extending to
To generalize these ideas, we simply replace the absolute value with the Euclidean norm . First, let’s define convergence for sequences of vectors.
Definition: Convergence of a Sequence in
A sequence of vectors in converges to a vector , written , if for every , there exists an integer such that for all , we have: This means that eventually, all points of the sequence lie within an -ball centered at .
Equivalent Conditions for Convergence
The following are equivalent for a sequence in and a point :
- .
- Component-wise Convergence: For each component , the sequence of real numbers converges to .
- The sequence of real numbers converges to 0.
Now we can define limits and continuity for multivariable functions.
Definition: Limit of a Function in
Let . We say that has a limit as approaches , written , if for every , there exists a such that for all with , we have:
Definition: Continuity of a Function in
A function is continuous at a point if: The sequential definition also holds: is continuous at if and only if for every sequence , we have .
Building Continuous Functions
Thankfully, most of the functions we build from familiar, continuous pieces are also continuous.
Properties of Continuous Functions
- Cartesian Products: The Cartesian product of continuous functions is continuous. This implies a vector-valued function is continuous if and only if all its component functions are continuous.
- Linear Maps: Any linear map is continuous everywhere.
- Sums and Products: Sums and products of finitely many continuous functions are continuous.
- Separated Variables: A function with separated variables, , is continuous if each factor is continuous.
- Polynomials: As a consequence of (3) and (4), all polynomials in several variables are continuous everywhere.
- Compositions: The composition of continuous functions is continuous.
The Perils of Multidimensional Limits
Here we arrive at one of the most significant, and subtle, departures from single-variable calculus. The very concept of a “limit” becomes richer and more demanding in higher dimensions.
The Core Challenge: Infinite Paths of Approach
In one dimension, when we consider the limit of as , there are only two directions of approach: from the left () and from the right (). The limit exists if and only if both one-sided limits exist and are equal.
In for , the situation is dramatically different. To approach a point , we are no longer confined to a single line. There are infinitely many paths we can take. We can approach along straight lines from any angle, along parabolic curves, spiraling in, and so on.
For a limit to exist in this context, the function must approach the exact same value along every single possible path. This is a much stronger condition.
This leads to a powerful method for proving that a limit does not exist.
The Path-Dependence Test for Discontinuity
If you can find two different paths of approach to a point along which the function has different limits, then the overall limit does not exist. Consequently, the function cannot be continuous at .
Let’s see this principle in action with a classic, illustrative example.
A Classic Discontinuous Function
Consider the function defined by: Is this function continuous at the origin ? For it to be continuous, the limit as must exist and be equal to . Let’s test this by approaching the origin along different paths.
Path 1: Along the x-axis (where ) We approach the origin using points of the form as .
Path 2: Along the y-axis (where ) We approach using points of the form as .
So far, the limit seems to be 0. But we have only checked two paths out of infinitely many. Let’s try a more general path.
- Path 3: Along a straight line This path represents approaching the origin along a line with slope . The terms cancel, and we are left with a limit that depends entirely on the slope :
The result is path-dependent!
- Along the line (where ), the limit is .
- Along the line (where ), the limit is .
- Along the x-axis (, where ), the limit is .
Since we found different limits along different paths, we can definitively conclude that the limit of as does not exist. Therefore, the function is not continuous at the origin. The 3D plot of this function vividly shows the problem: a tear or rip at the origin.
A More Systematic Tool: Polar Coordinates
Checking paths one by one can be tedious. For limits at the origin in , switching to polar coordinates provides a more powerful and comprehensive approach.
The transformation is and . The key insight is: The limit exists if and only if the value the function approaches as is the same for all angles . If the resulting limit depends on , it means the value depends on the path of approach, and the limit does not exist.
The Previous Example in Polar Coordinates
For : The limit as is equivalent to the limit as : The result is entirely dependent on . This confirms that the limit does not exist.
Now, let’s consider a case where the limit does exist.
A Continuous Function
Consider . Let’s switch to polar coordinates: Now, we take the limit as : The term is always bounded between -1 and 1, regardless of the angle . We have a classic “zero times bounded” situation. As , the function is squeezed to 0. The limit is 0, independent of . Since the limit exists and is equal to , the function is continuous at the origin.
The Sandwich Lemma (Squeeze Theorem)
Proving a limit exists can be tricky. The Sandwich Lemma, or Squeeze Theorem, is an essential tool for this, just as it was in single-variable calculus.
The Sandwich Lemma
Let be functions from . Suppose that for all in a neighborhood of (except possibly at itself), we have: If , then the limit of also exists and is equal to :
Using the Sandwich Lemma
Let’s re-examine . We want to show . We need to bound the absolute value of the function. Notice that , which means . So we have established the inequality: Now we can apply the Sandwich Lemma.
- Let our lower bound function be . Clearly, .
- Let our upper bound function be . Clearly, .
Since is squeezed between two functions that both go to 0, we must have , which implies .
Another Difficulty: The Domain of Definition
In higher dimensions, the set of points where a function is not defined (its set of discontinuities) can be much more complex than in one dimension. In , this set is typically a collection of isolated points. In , it can be points, curves, surfaces, or entire regions.
Domains of Common Functions
. Since the cosine function and polynomial functions are continuous everywhere, their composition is also continuous. This function is defined and continuous on all of .
. The natural logarithm is only defined for . The expression is positive everywhere except at the origin, where it is 0. Therefore, this function is defined and continuous on . The set of discontinuity is a single point.
. This is more complex. We need the argument of the logarithm to be positive: . The cosine function is positive when its argument is in intervals like , , etc. This means the function is not defined when: The set of discontinuities is an infinite collection of concentric circles centered at the origin.
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251018102046.png)
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251018102056.png)
/Semester-3/Analysis-2/Lecture-Notes/attachments/Pasted-image-20251018102238.png)