Transforming vector-valued-functions

 
 
 
 
 

The difference between a function and a transformation

If you’ve taken Algebra or Calculus, you’re familiar with the idea of a function, which is a rule that maps one value to another.

For instance, the function f(x)=x+1f(x)=x+1 maps xx to x+1x+1. It tells us that, if we put any value xx into the function ff, the function will give back x+1x+1. In other words, the function will always return an output value that’s related to the input value we gave it.

Hi! I'm krista.

I create online courses to help you rock your math class. Read more.

 

We can also write the function f(x)=x+1f(x)=x+1 as f: xx+1f:\ x\mapsto x+1, where the arrow with the line on the back literally means “maps to,” telling us that ff will map every xx to x+1x+1.

Functions vs. transformations

We can also use functions to map vectors. For instance, the function

tells us that, for every vector v=(v1,v2)\vec{v}=(v_1,v_2) that we put into ff, the function will give us back a new vector, v=(3v1v2,2v2)\vec{v}=(3v_1-v_2,-2v_2). When a function maps vectors, we call it a vector-valued function.

While we usually use functions to map coordinate points, if we’re going to map vectors from one space to another, we usually switch over from the language of “functions,” to “transformations.”

In other words, even though functions and transformations perform the same kind of mapping operation, if we want to map vectors, we should really say that the mapping is done by a transformation instead of by a function. So instead of writing

to express the transformation of a vector v=(v1,v2)\vec{v}=(v_1,v_2), it’s more appropriate to write

In the same way that it’s most common to use ff to indicate a function, it’s most common to use TT to represent a transformation.

Domain, codomain, and range

Where before we used the notation f: xx+1f:\ x\mapsto x+1 to describe the mapping done by the function, we can use a regular arrow like T: ABT:\ A\to B to indicate that the transformation TT is mapping vectors from the set (or space) AA onto vectors in the set (or space) BB.

We also want to always consider the space of what we’re mapping from and what we’re mapping to. For instance, with T: ABT:\ A\to B, let’s say we’re mapping from real numbers to real numbers, where both vector sets AA and BB are defined by real numbers. We could write

T: RRT:\ \mathbb{R}\to\mathbb{R}

More specifically, if TT is mapping from the two-dimensional real plane to the two-dimensional real plane, we could write

T: R2R2T:\ \mathbb{R}^2\to\mathbb{R}^2

Keep in mind that, in Linear Algebra, we’ll sometimes be mapping “across dimensions,” for instance, from two dimensions to three dimensions, or vice versa.

In any transformation, the domain is what we’re mapping from, and the codomain is what we’re mapping to. So if T: R2R3T:\ \mathbb{R}^2\to\mathbb{R}^3, then the domain would be the two-dimensional plane R2\mathbb{R}^2, and the codomain would be three-dimensional space R3\mathbb{R}^3. On the other hand, if T: R3R2T:\ \mathbb{R}^3\to\mathbb{R}^2, then the domain would be R3\mathbb{R}^3 and the codomain would be R2\mathbb{R}^2.

The range is within the codomain. It’s the specific set of points that the mapping actually maps to inside the codomain. In other words, TT might be mapping us into R3\mathbb{R}^3 in general, but TT might not be mapping to every single point in R3\mathbb{R}^3. Whatever set of vectors in R3\mathbb{R}^3 are actually getting mapped to will make up the range of the TT.

 
 

Transformations are vector-valued functions


 
 

Take the course

Want to learn more about Linear Algebra? I have a step-by-step course for that. :)

 
 

 
 

Finding the domain, codomain, and range of a transformation

Example

The transformation TT maps every vector in R4\mathbb{R}^4 to the zero vector v=(0,0)\vec{v}=(0,0) in R2\mathbb{R}^2. What are the domain, codomain, and range of TT?

Because TT is mapping vectors in R4\mathbb{R}^4 to vectors in R2\mathbb{R}^2, we can express TT as T: R4R2T:\ \mathbb{R}^4\to\mathbb{R}^2, and say that the domain of the transformation is R4\mathbb{R}^4 and its codomain is R2\mathbb{R}^2.

In any transformation, the domain is what we’re mapping from, and the codomain is what we’re mapping to.

If every vector in R2\mathbb{R}^2 was being mapped to by TT, we would say that the range of TT is R2\mathbb{R}^2. But the transformation is mapping every vector in R4\mathbb{R}^4 to only the zero vector v=(0,0)\vec{v}=(0,0) in R2\mathbb{R}^2. Therefore, the range of TT is just the zero vector, v=(0,0)\vec{v}=(0,0).


 
 

Get access to the complete Linear Algebra course