HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, an
ordered basis In mathematics, a set of vectors in a vector space is called a basis if every element of may be written in a unique way as a finite linear combination of elements of . The coefficients of this linear combination are referred to as components ...
of a
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but can ...
of finite
dimension In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coord ...
allows representing uniquely any element of the vector space by a
coordinate vector In linear algebra, a coordinate vector is a representation of a vector as an ordered list of numbers (a tuple) that describes the vector in terms of a particular ordered basis. An easy example may be a position such as (5, 2, 1) in a 3-dimensio ...
, which is a
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is called ...
of scalars called
coordinates In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine the position of the points or other geometric elements on a manifold such as Euclidean space. The order of the coordinates is sig ...
. If two different bases are considered, the coordinate vector that represents a vector on one basis is, in general, different from the coordinate vector that represents on the other basis. A change of basis consists of converting every assertion expressed in terms of coordinates relative to one basis into an assertion expressed in terms of coordinates relative to the other basis. Such a conversion results from the ''change-of-basis formula'' which expresses the coordinates relative to one basis in terms of coordinates relative to the other basis. Using
matrices Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** ''The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchis ...
, this formula can be written :\mathbf x_\mathrm = A \,\mathbf x_\mathrm, where "old" and "new" refer respectively to the firstly defined basis and the other basis, \mathbf x_\mathrm and \mathbf x_\mathrm are the
column vector In linear algebra, a column vector with m elements is an m \times 1 matrix consisting of a single column of m entries, for example, \boldsymbol = \begin x_1 \\ x_2 \\ \vdots \\ x_m \end. Similarly, a row vector is a 1 \times n matrix for some n, c ...
s of the coordinates of the same vector on the two bases, and A is the change-of-basis matrix (also called transition matrix), which is the matrix whose columns are the coordinate vectors of the new
basis vector In mathematics, a set of vectors in a vector space is called a basis if every element of may be written in a unique way as a finite linear combination of elements of . The coefficients of this linear combination are referred to as components ...
s on the old basis. This article deals mainly with finite-dimensional vector spaces. However, many of the principles are also valid for infinite-dimensional vector spaces.


Change of basis formula

Let B_\mathrm =(v_1, \ldots, v_n) be a basis of a
finite-dimensional vector space In mathematics, the dimension of a vector space ''V'' is the cardinality (i.e., the number of vectors) of a basis of ''V'' over its base field. p. 44, §2.36 It is sometimes called Hamel dimension (after Georg Hamel) or algebraic dimension to di ...
over a field . For , one can define a vector by its coordinates a_ over B_\mathrm \colon :w_j=\sum_^n a_v_i. Let :A=\left(a_\right)_ be the
matrix Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** '' The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
whose th column is formed by the coordinates of . (Here and in what follows, the index refers always to the rows of and the v_i, while the index refers always to the columns of and the w_j; such a convention is useful for avoiding errors in explicit computations.) Setting B_\mathrm =(w_1, \ldots, w_n), one has that B_\mathrm is a basis of if and only if the matrix is
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that is ...
, or equivalently if it has a nonzero
determinant In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if a ...
. In this case, is said to be the ''change-of-basis matrix'' from the basis B_\mathrm to the basis B_\mathrm . Given a vector z\in V, let (x_1, \ldots, x_n) be the coordinates of z over B_\mathrm , and (y_1, \ldots, y_n) its coordinates over B_\mathrm ; that is :z=\sum_^nx_iv_i = \sum_^ny_jw_j. (One could take the same summation index for the two sums, but choosing systematically the indexes for the old basis and for the new one makes clearer the formulas that follows, and helps avoiding errors in proofs and explicit computations.) The ''change-of-basis formula'' expresses the coordinates over the old basis in term of the coordinates over the new basis. With above notation, it is :x_i = \sum_^n a_y_j\qquad\text i=1, \ldots, n. In terms of matrices, the change of basis formula is :\mathbf x = A\,\mathbf y, where \mathbf x and \mathbf y are the column vectors of the coordinates of over B_\mathrm and B_\mathrm , respectively. ''Proof:'' Using the above definition of the change-of basis matrix, one has :\begin z&=\sum_^n y_jw_j\\ &=\sum_^n \left(y_j\sum_^n a_v_i\right)\\ &=\sum_^n \left(\sum_^n a_ y_j \right) v_i. \end As z=\textstyle \sum_^n x_iv_i, the change-of-basis formula results from the uniqueness of the decomposition of a vector over a basis.


Example

Consider the
Euclidean vector space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidean s ...
\mathbb R^2. Its
standard basis In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors whose components are all zero, except one that equals 1. For example, in the ...
consists of the vectors v_1= (1,0) and v_2= (0,1). If one rotates them by an angle of , one gets a ''new basis'' formed by w_1=(\cos t, \sin t) and w_2=(-\sin t, \cos t). So, the change-of-basis matrix is \begin \cos t& -\sin t\\ \sin t& \cos t \end. The change-of-basis formula asserts that, if y_1, y_2 are the new coordinates of a vector (x_1, x_2), then one has :\beginx_1\\x_2\end=\begin \cos t& -\sin t\\ \sin t& \cos t \end\,\beginy_1\\y_2\end. That is, :x_1=y_1\cos t - y_2\sin t \qquad\text\qquad x_2=y_1\sin t + y_2\cos t. This may be verified by writing :\begin x_1v_1+x_2v_2 &= (y_1\cos t - y_2\sin t) v_1 + (y_1\sin t + y_2\cos t) v_2\\ &= y_1 (\cos (t) v_1 + \sin(t)v_2) + y_2 (-\sin(t) v_1 +\cos(t) v_2)\\ &=y_1w_1+y_2w_2. \end


In terms of linear maps

Normally, a
matrix Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** '' The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
represents a
linear map In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that ...
, and the product of a matrix and a column vector represents the
function application In mathematics, function application is the act of applying a function to an argument from its domain so as to obtain the corresponding value from its range. In this sense, function application can be thought of as the opposite of function abst ...
of the corresponding linear map to the vector whose coordinates form the column vector. The change-of-basis formula is a specific case of this general principle, although this is not immediately clear from its definition and proof. When one says that a matrix ''represents'' a linear map, one refers implicitly to bases of implied vector spaces, and to the fact that the choice of a basis induces an
isomorphism In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word i ...
between a vector space and , where is the field of scalars. When only one basis is considered for each vector space, it is worth to leave this isomorphism implicit, and to work
up to Two mathematical objects ''a'' and ''b'' are called equal up to an equivalence relation ''R'' * if ''a'' and ''b'' are related by ''R'', that is, * if ''aRb'' holds, that is, * if the equivalence classes of ''a'' and ''b'' with respect to ''R'' ...
an isomorphism. As several bases of the same vector space are considered here, a more accurate wording is required. Let be a field, the set F^n of the -tuples is a -vector space whose addition and scalar multiplication are defined component-wise. Its
standard basis In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors whose components are all zero, except one that equals 1. For example, in the ...
is the basis that has as its th element the tuple with all components equal to except the th that is . A basis B=(v_1, \ldots, v_n) of a -vector space defines a
linear isomorphism In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pre ...
\phi\colon F^n\to V by :\phi(x_1,\ldots,x_n)=\sum_^n x_i v_i. Conversely, such a linear isomorphism defines a basis, which is the image by \phi of the standard basis of F^n. Let B_\mathrm =(v_1, \ldots, v_n) be the "old basis" of a change of basis, and \phi_\mathrm the associated isomorphism. Given a change-of basis matrix , let consider it as the matrix of an
endomorphism In mathematics, an endomorphism is a morphism from a mathematical object to itself. An endomorphism that is also an isomorphism is an automorphism. For example, an endomorphism of a vector space is a linear map , and an endomorphism of a gr ...
\psi_A of F^n. Finally, let define :\phi_\mathrm=\phi_\mathrm\circ\psi_A (where \circ denotes
function composition In mathematics, function composition is an operation that takes two functions and , and produces a function such that . In this operation, the function is applied to the result of applying the function to . That is, the functions and ...
), and :B_\mathrm= \phi_\mathrm(\phi_\mathrm^(B_\mathrm)). A straightforward verification, allows showing that this definition of B_\mathrm is the same as that of the preceding section. Now, by composing the equation \phi_\mathrm=\phi_\mathrm\circ\psi_A with \phi_\mathrm^ on the left and \phi_\mathrm^ on the right, one gets :\phi_\mathrm^ = \psi_A \circ \phi_\mathrm^. It follows that, for v\in V, one has :\phi_\mathrm^(v)= \psi_A(\phi_\mathrm^(v)), which is the change-of-basis formula expressed in terms of linear maps instead of coordinates.


Function defined on a vector space

A
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-oriente ...
that has a vector space as its
domain Domain may refer to: Mathematics *Domain of a function, the set of input values for which the (total) function is defined ** Domain of definition of a partial function ** Natural domain of a partial function **Domain of holomorphy of a function * ...
is commonly specified as a
multivariate function In mathematical analysis and its applications, a function of several real variables or real multivariate function is a function with more than one argument, with all arguments being real variables. This concept extends the idea of a function ...
whose variables are the coordinates on some basis of the vector on which the function is applied. When the basis is changed, the
expression Expression may refer to: Linguistics * Expression (linguistics), a word, phrase, or sentence * Fixed expression, a form of words with a specific meaning * Idiom, a type of fixed expression * Metaphorical expression, a particular word, phrase, o ...
of the function is changed. This change can be computed by substituting the "old" coordinates for their expressions in terms of the "new" coordinates. More precisely, if is the expression of the function in terms of the old coordinates, and if is the change-of-base formula, then is the expression of the same function in terms of the new coordinates. The fact that the change-of-basis formula expresses the old coordinates in terms of the new one may seem unnatural, but appears as useful, as no
matrix inversion In linear algebra, an -by- square matrix is called invertible (also nonsingular or nondegenerate), if there exists an -by- square matrix such that :\mathbf = \mathbf = \mathbf_n \ where denotes the -by- identity matrix and the multiplicati ...
is needed here. As the change-of-basis formula involves only
linear function In mathematics, the term linear function refers to two distinct but related notions: * In calculus and related areas, a linear function is a function whose graph is a straight line, that is, a polynomial function of degree zero or one. For dist ...
s, many function properties are kept by a change of basis. This allows defining these properties as properties of functions of a variable vector that are not related to any specific basis. So, a function whose domain is a vector space or a subset of it is * a linear function, * a
polynomial function In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
, * a
continuous function In mathematics, a continuous function is a function such that a continuous variation (that is a change without jump) of the argument induces a continuous variation of the value of the function. This means that there are no abrupt changes in val ...
, * a
differentiable function In mathematics, a differentiable function of one real variable is a function whose derivative exists at each point in its domain. In other words, the graph of a differentiable function has a non- vertical tangent line at each interior point in ...
, * a
smooth function In mathematical analysis, the smoothness of a function is a property measured by the number of continuous derivatives it has over some domain, called ''differentiability class''. At the very minimum, a function could be considered smooth if ...
, * an
analytic function In mathematics, an analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions. Functions of each type are infinitely differentiable, but complex ...
, if the multivariate function that represents it on some basis—and thus on every basis—has the same property. This is specially useful in the theory of
manifold In mathematics, a manifold is a topological space that locally resembles Euclidean space near each point. More precisely, an n-dimensional manifold, or ''n-manifold'' for short, is a topological space with the property that each point has a n ...
s, as this allows extending the concepts of continuous, differentiable, smooth and analytic functions to functions that are defined on a manifold.


Linear maps

Consider a
linear map In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that ...
from a
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but can ...
of dimension to a vector space of dimension . It is represented on "old" bases of and by a matrix . A change of bases is defined by an change-of-basis matrix for , and an change-of-basis matrix for . On the "new" bases, the matrix of is :P^MQ. This is a straightforward consequence of the change-of-basis formula.


Endomorphisms

Endomorphism In mathematics, an endomorphism is a morphism from a mathematical object to itself. An endomorphism that is also an isomorphism is an automorphism. For example, an endomorphism of a vector space is a linear map , and an endomorphism of a gr ...
s, are linear maps from a vector space to itself. For a change of basis, the formula of the preceding section applies, with the same change-of-basis matrix on both sides of the formula. That is, if is the
square matrix In mathematics, a square matrix is a matrix with the same number of rows and columns. An ''n''-by-''n'' matrix is known as a square matrix of order Any two square matrices of the same order can be added and multiplied. Square matrices are often ...
of an endomorphism of over an "old" basis, and is a change-of-basis matrix, then the matrix of the endomorphism on the "new" basis is :P^MP. As every
invertible matrix In linear algebra, an -by- square matrix is called invertible (also nonsingular or nondegenerate), if there exists an -by- square matrix such that :\mathbf = \mathbf = \mathbf_n \ where denotes the -by- identity matrix and the multiplicati ...
can be used as a change-of-basis matrix, this implies that two matrices are similar if and only if they represent the same endomorphism on two different bases.


Bilinear forms

A ''
bilinear form In mathematics, a bilinear form is a bilinear map on a vector space (the elements of which are called '' vectors'') over a field ''K'' (the elements of which are called '' scalars''). In other words, a bilinear form is a function that is linea ...
'' on a vector space ''V'' over a field is a function which is
linear Linearity is the property of a mathematical relationship ('' function'') that can be graphically represented as a straight line. Linearity is closely related to '' proportionality''. Examples in physics include rectilinear motion, the linear ...
in both arguments. That is, is bilinear if the maps v \mapsto B(v, w) and v \mapsto B(w, v) are linear for every fixed w\in V. The matrix of a bilinear form on a basis (v_1, \ldots, v_n) (the "old" basis in what follows) is the matrix whose entry of the th row and th column is . It follows that if and are the column vectors of the coordinates of two vectors and , one has :B(v, w)=\mathbf v^\mathbf B\mathbf w, where \mathbf v^ denotes the
transpose In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations). The tr ...
of the matrix . If is a change of basis matrix, then a straightforward computation shows that the matrix of the bilinear form on the new basis is :P^\mathbf B P. A
symmetric bilinear form In mathematics, a symmetric bilinear form on a vector space is a bilinear map from two copies of the vector space to the field of scalars such that the order of the two vectors does not affect the value of the map. In other words, it is a bilinea ...
is a bilinear form such that B(v,w)=B(w,v) for every and in . It follows that the matrix of on any basis is
symmetric Symmetry (from grc, συμμετρία "agreement in dimensions, due proportion, arrangement") in everyday language refers to a sense of harmonious and beautiful proportion and balance. In mathematics, "symmetry" has a more precise definiti ...
. This implies that the property of being a symmetric matrix must be kept by the above change-of-base formula. One can also check this by noting that the transpose of a matrix product is the product of the transposes computed in the reverse order. In particular, :(P^\mathbf B P)^ = P^\mathbf B^ P, and the two members of this equation equal P^ \mathbf B P if the matrix is symmetric. If the characteristic of the ground field is not two, then for every symmetric bilinear form there is a basis for which the matrix is
diagonal In geometry, a diagonal is a line segment joining two vertices of a polygon or polyhedron, when those vertices are not on the same edge. Informally, any sloping line is called diagonal. The word ''diagonal'' derives from the ancient Greek δ� ...
. Moreover, the resulting nonzero entries on the diagonal are defined up to the multiplication by a square. So, if the ground field is the field \mathbb R of the
real number In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s, these nonzero entries can be chosen to be either or .
Sylvester's law of inertia Sylvester's law of inertia is a theorem in matrix algebra about certain properties of the coefficient matrix of a real quadratic form that remain invariant under a change of basis. Namely, if ''A'' is the symmetric matrix that defines the quadra ...
is a theorem that asserts that the numbers of and of depends only on the bilinear form, and not of the change of basis. Symmetric bilinear forms over the reals are often encountered in
geometry Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is c ...
and
physics Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which ...
, typically in the study of
quadric In mathematics, a quadric or quadric surface (quadric hypersurface in higher dimensions), is a generalization of conic sections (ellipses, parabolas, and hyperbolas). It is a hypersurface (of dimension ''D'') in a -dimensional space, and it is de ...
s and of the
inertia Inertia is the idea that an object will continue its current motion until some force causes its speed or direction to change. The term is properly understood as shorthand for "the principle of inertia" as described by Newton in his first law ...
of a
rigid body In physics, a rigid body (also known as a rigid object) is a solid body in which deformation is zero or so small it can be neglected. The distance between any two given points on a rigid body remains constant in time regardless of external fo ...
. In these cases,
orthonormal bases In mathematics, particularly linear algebra, an orthonormal basis for an inner product space ''V'' with finite dimension is a basis for V whose vectors are orthonormal, that is, they are all unit vectors and orthogonal to each other. For example, ...
are specially useful; this means that one generally prefer to restrict changes of basis to those that have an
orthogonal In mathematics, orthogonality is the generalization of the geometric notion of '' perpendicularity''. By extension, orthogonality is also used to refer to the separation of specific features of a system. The term also has specialized meanings in ...
change-of-base matrix, that is, a matrix such that P^=P^. Such matrices have the fundamental property that the change-of-base formula is the same for a symmetric bilinear form and the endomorphism that is represented by the same symmetric matrix.
Spectral theorem In mathematics, particularly linear algebra and functional analysis, a spectral theorem is a result about when a linear operator or matrix can be diagonalized (that is, represented as a diagonal matrix in some basis). This is extremely useful be ...
asserts that, given such a symmetric matrix, there is an orthogonal change of basis such that the resulting matrix (of both the bilinear form and the endomorphism) is a diagonal matrix with the
eigenvalues In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denote ...
of the initial matrix on the diagonal. It follows that, over the reals, if the matrix of an endomorphism is symmetric, then it is
diagonalizable In linear algebra, a square matrix A is called diagonalizable or non-defective if it is similar to a diagonal matrix, i.e., if there exists an invertible matrix P and a diagonal matrix D such that or equivalently (Such D are not unique.) F ...
.


See also

*
Active and passive transformation Active may refer to: Music * ''Active'' (album), a 1992 album by Casiopea * Active Records, a record label Ships * ''Active'' (ship), several commercial ships by that name * HMS ''Active'', the name of various ships of the British Royal ...
*
Covariance and contravariance of vectors In physics, especially in multilinear algebra and tensor analysis, covariance and contravariance describe how the quantitative description of certain geometric or physical entities changes with a change of basis. In modern mathematical notat ...
*
Integral transform In mathematics, an integral transform maps a function from its original function space into another function space via integration, where some of the properties of the original function might be more easily characterized and manipulated than in ...
, the continuous analogue of change of basis.


Notes


References


Bibliography

* * *


External links


MIT Linear Algebra Lecture on Change of Basis
from MIT OpenCourseWare
Khan Academy Lecture on Change of Basis
from Khan Academy {{Authority control Linear algebra Matrix theory