Jump to content

Linear algebra (Osnabrück 2024-2025)/Part I/Lecture 2/refcontrol

From Wikiversity

A main focus of mathematics is to study how a certain variable (describing a size or a magnitude) depends on another variable (or several variables). For example, how does the area of a square depend on the length of the side, how does the price depend on the commodities bought, how does the size of a population grow with time. Such dependencies are expressed with the concept of a mapping.


Let L and M denote sets. A mapping F from L to M is given by assigning to every element of the set L exactly one element of the set M. The unique element that is assigned to xL is denoted by F(x). For the mapping as a whole, we write

F:LM,xF(x).

If a mapping F:LM is given, then L is called the domain (or domain of definition) of the map, and M is called the codomain (or target range) of the map. For an element xL, the element

F(x)M

is called the value of F at the place (or argument) x.

Two mappings F:L1M1 and G:L2M2 are equal if and only if their domains coincide, their codomains coincide, and if for all xL1=L2 the equality F(x)=G(x) in M1=M2 holds. So the equality of mappings is reduced to the equalities of elements in a set. Mappings are also called functions. However, we will usually reserve the term function for mappings where the codomain is a number set like the real numbers .

For every set L, the mapping

LL,xx,

which sends every element to itself, is called the identity (on L). We denote it by IdL. For another set M and a fixed element cM, the mapping

LM,xc

that sends every element xL to the constant value c is called the constant mapping (with value c). It is usually again denoted by c.[1]

There are several ways to describe a mapping, like a value table, a bar chart, a pie chart, an arrow diagram, or the graph of the mapping. In mathematics, a mapping is most often given by a mapping rule that allows computing the values of the mapping for every argument. Such rules are, e.g., (from to ) xx2, xx3ex+sinx, etc. In the sciences and in sociology, also empirical functions are important that describe real movements or developments. But also for such functions, one wants to know whether they can be described (approximately) in a mathematical manner.


x 1 2 3 4 5 6
π(x) 2 4 6 5 3 1

Peter John Acklam


0 1 2 3 4 5 6
0 0 0 0 0 0 0 0
1 0 1 2 3 4 5 6
2 0 2 4 6 1 3 5
3 0 3 6 2 5 1 4
4 0 4 1 5 2 6 3
5 0 5 3 1 6 4 2
6 0 6 5 4 3 2 1



Injective and surjective mappings

Let L and M denote sets, and let

F:LM,xF(x),

be a mapping.MDLD/mapping Then F is called injective if for two different elements x,xL, also F(x) and F(x)

are different.

Let L and M denote sets, and let

F:LM,xF(x),

be a mapping.MDLD/mapping Then F is called surjective if, for every yM, there exists at least one element xL, such that

F(x)=y.

Let M and L denote sets, and suppose that

F:ML,xF(x),

is a mapping.MDLD/mapping Then F is called bijective if F is injectiveMDLD/injective as well as

surjective.MDLD/surjective

These concepts are fundamental!

The question, whether a mapping F:LM has the properties of being injectiveMDLD/injective or surjective,MDLD/surjective can be understood looking at the equation

F(x)=y

(in the two variables x and y). The surjectivity means that for every yM there exists at least one solution

xL

for this equation; the injectivity means that for every yM there exists at most one solution xL for this equation. The bijectivity means that for every yM there exists exactly one solution xL for this equation. Hence, surjectivity means the existence of solutions, and injectivity means the uniqueness of solutions. Both questions are everywhere in mathematics, and they can also be interpreted as surjectivity or injectivity of suitable mappings.

In order to show that a certain mapping is injective, we often use the following strategy: One shows for any two given elements x and x using the condition F(x)=F(x) that x=x holds. This method is often easier than showing that xx implies F(x)F(x).


The mappingMDLD/mapping

,xx2,

is neither injective nor surjective. It is not injectiveMDLD/injective because the different numbers 2 and 2 are both sent to 4. It is not surjectiveMDLD/surjective because only nonnegative elements are in the image (a negative number does not have a real square root). The mapping

0,xx2,

is injective, but not surjective. The injectivity can be seen as follows: If xy, then one number is larger, say

x>y0.

But then also x2>y2, and in particular x2y2. The mapping

0,xx2,

is not injective, but surjective, since every nonnegative real number has a square root. The mapping

00,xx2,

is injective and surjective.


Let F:LM denote a bijective mapping.MDLD/bijective mapping Then the mapping

G:ML

that sends every element yM to the uniquely determined element xL with F(x)=y,

is called the inverse mapping of F.

The inverse mapping is usually denoted by F1.

We discuss two classes of mappings that are in the framework of linear algebra very important. They are both so-called linear mappings.


Let a be fixed. This real number defines a mappingMDLD/mapping

,xax.

For a=0, this is the constant zero mapping. For a0, we have a bijectiveMDLD/bijective mapping; the inverse mappingMDLD/inverse mapping is

y1ay.

Here, the inverse mapping has a similar form as the mapping itself.


== Example Example 2.8

change==

Let an m×n-matrixMDLD/matrix

(a11a12a1na21a22a2nam1am2amn)

be given, where the entries aij are real numbers. Such a matrix defines a mappingMDLD/mapping

φ:nm,

by sending an n-tuple x=(x1x2xn)n to the m-tuple

φ(x)=(a11a12a1na21a22a2nam1am2amn)(x1x2xn)=(a11x1+a12x2++a1nxna21x1+a22x2++a2nxnam1x1+am2x2++amnxn)=(j=1na1jxjj=1na2jxjj=1namjxj).

The i-th component of the image vector is

yi=(ai1,ai2,,ain)(x1x2xn)=j=1naijxj.

So one has to apply the i-th row of the matrix to the column vector x in the described way.

It is a goal of linear algebra to determine, in dependence of the entries aij, whether the mapping defined by the matrix is injective, surjective, or bijective, and how, in the bijective case, the inverse mapping looks like.


A healthy breakfast starts with a fruit salad. The following table shows how much vitamin C, calcium, and magnesium various fruits have (in milligrams with respect to 100 grams of the fruit).


apple orange grapes banana
vitamin C 12 53 4 9
calcium 7 40 12 5
magnesium 6 10 8 27

This table yields a mapping, which assigns to a 4-tuple (x1x2x3x4), representing the used fruits, the content of the resulting fruit salad with respect to vitamin C, calcium, and magnesium, in the form of a 3-tuple (y1y2y3). This mapping can be described with the matrix

(125349740125610827)

using matrix multiplication as

(x1x2x3x4)(125349740125610827)(x1x2x3x4)=(12x1+53x2+4x3+9x47x1+40x2+12x3+5x46x1+10x2+8x3+27x4)=(y1y2y3).



Composition of mappings

Let L,M and N denote sets, let

F:LM,xF(x),

and

G:MN,yG(y),

be mappings.MDLD/mappings Then the mapping

GF:LN,xG(F(x)),

is called the composition of the mappings

F and G.

So we have

(GF)(x):=G(F(x)),

where the left-hand side is defined by the right-hand side. If both mappings are given by functional expressions, then the composition is realized by plugging in the first term into the variable of the second term (and to simplify the expression, if possible).

The compositionMDLD/composition of

F:,tt3,

and

G:,xx2x,

is given by

(GF)(t)=(t3)2t3=t6t3.

However,

(FG)(x)=(x2x)3=x63x5+3x4x3.

Hence, the composition of two mappings depends on the ordering.

For a bijective mapping φ:MN, the inverse mapping φ1:NM is characterized by the conditions

φφ1=IdN

and

φ1φ=IdM.

LemmaLemma 2.11 change

Let L,M,N and P be sets, and let

F:LM,xF(x),
G:MN,yG(y),

and

H:NP,zH(z),

be mappings.MDLD/mappings Then

H(GF)=(HG)F
holds.

Proof  

Two mappings α,β:LP are the same if and only if the equality α(x)=β(x) holds for every xL. So let xL. Then

(H(GF))(x)=H((GF)(x))=H(G(F(x)))=(HG)(F(x))=((HG)F)(x). 



Graph, image and preimage of a mapping

Let L and M be sets, and let

F:LM

be a mapping.MDLD/mapping Then the set

Γ=ΓF={(x,F(x))xL}L×M
is called the graph of the mapping F.

The graph is a concept of set theory. Whether it is possible to "visualize“ it in a picture depends on whether we can visualize the product set L×M.


Let L and M be sets, and let

F:LM

be a mapping.MDLD/mapping For a subset SL, we call

F(S)={yMthere exists an xS such that F(x)=y}

the image of S under F. For S=L,

F(L)=ImF
is called the image of the mapping.

Let L and M be sets, and let

F:LM

be a mapping.MDLD/mapping For a subset TM, we call

F1(T)={xLF(x)T}

the preimage of T under F. For a subset T={y} with one element, we call

F1({y})
also the preimage of y.


For the mapping

,xx2,

the image of [1,2] is the set of all squares of real numbers between 1 and 2, this is thus [1,4]. The preimage of [1,4] consists of all real numbers whose square is between 1 and 4. This is [2,1][1,2].

For two given sets L and M, we denote the set of mappings from L to M by

Map(L,M)={f:LMf mapping}.



Binary operations

The natural addition assigns to two real numbers another real number, its structure is

+:×,(x,y)x+y.

Such binary operations play an important role in mathematics.


An operation (or binary operation) on a set M is a mappingMDLD/mapping

:M×MM,(x,y)(x,y)=xy.

A binary operation assigns to a pair

(x,y)M×M

another element

xyM.

Many mathematical constructions are captured by this concept: addition, subtraction, multiplication, division of numbers, the composition of mappings, the intersection or the union of sets, etc. Basically, any symbol can be used to denote a binary operation, like ,,+,,,,. Depending on the symbol, we call the binary operation also multiplication or addition, but this does not mean that we are referring to any natural multiplication. Important structural properties of a binary operation are listed in the following definitions.


A binary operationMDLD/binary operation

:M×MM,(x,y)xy,

on a set M is called commutative if for all x,yM the equality

xy=yx
holds.

A binary operationMDLD/binary operation

:M×MM,(x,y)xy,

on a set M is called associative if for all x,y,zM the equality

(xy)z=y(xz)
holds.

Let a set M and a binary operationMDLD/binary operation

:M×MM,(x,y)xy,

be given. An element eM is called neutral element of the operation if, for all xM, the equalities xe=x=ex

hold.

In the commutative case, it is enough to check only one property of the neutral element.


Let a set M with a binary operationMDLD/binary operation

:M×MM,(x,y)xy,

and a neutral elementMDLD/neutral element eM be given. For an element xM, an element yM is called inverse element (for x) if the equalities

xy=e=yx
hold.

Let L be a set, and let

M=Map(L,L)

be the set of all mappingsMDLD/mappings from L to itself. The composition of mappingsMDLD/composition of mappings gives a binary operationMDLD/binary operation on M, which is associative,MDLD/associative due to Lemma 2.11 . In general, it is not commutative.MDLD/commutative The identityMDLD/identity on L is the neutral element.MDLD/neutral element A mapping f:LL has an inverse elementMDLD/inverse element if and only if it is bijective;MDLD/bijective the inverse element is just the inverse mapping.MDLD/inverse mapping



Footnotes
  1. Hilbert has said that the art of denotation in mathematics is to use the same symbol for different things.


<< | Linear algebra (Osnabrück 2024-2025)/Part I | >>
PDF-version of this lecture
Exercise sheet for this lecture (PDF)