Phil Lucht Math & Physics Archive
Home / Math and Physics Files / Math / Linear Algebra for QM website / galileo.phys.virginia.edu / classes / 751.mf1i.fall02

751LinearAlgebra

PDF · 20 pages · 333.9 KB
Open PDF file

Course notes by Michael Fowler (University of Virginia, Physics 751, dated 9/12/06), saved by Phil from the web and converted to PDF. Covers vector spaces, Dirac bra-ket notation, linear independence and bases, inner products, operators and their matrix representations, eigenvalues and eigenvectors, Hermitian operators and change of basis, as used in quantum mechanics.

AI-written summary; may contain errors.

Extracted text (machine-read; may contain errors)
Linear Algebra for Quantum Mechanics Michael Fowler 9/12/06 Introduction We’ve seen that in quantum mechanics, the state of an electron in some potential is given by a wave function , and physical variables are represented by operators on this wave function, such as the momentum in the x-direction The Schrödinger wave equation is a linear equation, which means that if and are solutions, then so is , where c1, c2 are arbitrary complex numbers. This linearity of the sets of possible solutions is true generally in quantum mechanics, as is the representation of physical variables by operators on the wave functions. The mathematical structure this describes, the linear set of possible states and sets of operators on those states, is in fact a linear algebra of operators acting on a vector space . From now on, this is the language we’ll be using most of the time. To clarify , we’ll give some definitions. What is a Vector Space? The prototypical vector space is of course the set of real vectors in ordinary three-dimensional space, these vectors can be represented by trios of real numbers measuring the components in the x, y and z directions respectively . The basic pr operties of these vectors ar e: any vector multiplied by a number is another vector in the space, ; the sum of two vectors is another vector in the space, that given by just adding the corresponding components together: These two properties together are referred to as “ closur e”: adding vectors and multiplying them by numbers cannot get you out of the space. A further property is that there is a unique null vector and each vector has an additive inverse which added to the original vector gives the null vector . Mathematicians have generalized the definition of a vector space: a general vector space has the properties we’ve listed above for three-dimensional real vectors, but the operations of addition and multiplication by a number are generalized to more abstract operations between more general entities. The operators are, however , restricted to being commutative and associative. Notice that the list of necessary properties for a general vector space does not include that the vectors have a magnitude—that would be an additional requirement, giving what is called a normed vector space. More about that later . To go from the familiar three-dimensional vector space to the vector spaces relevant to quantum mechanics, first the real numbers (components of the vector and possible multiplying factors) are to be generalized to complex numbers, and second the three-component vector goes an n component vector . The consequent n-dimensional complex space is suf ficient to describe the quantum mechanics of angular momentum, an important subject. But to describe the wave function of a particle in a box requires an infinite dimensional space, one dimension for each Fourier component, and to describe the wave function for a particle on an infinite line requires the set of all normalizable continuous dif ferentiable functions on that line. Fortunately , all these generalizations are to finite or infinite sets of complex numbers, so the mathematicians’ vector space requirements of commutativity and associativity are always trivially satisfied. We use Dirac’ s notation for vectors, and call them “kets”, so, in his language, if belong to the space, so does for arbitrary complex constants c1, c2. Since our vectors are made up of complex numbers, multiplying any vector by zero gives the null vector , and the additive inverse is given by reversing the signs of all the numbers in the vector . Clearly , the set of solutions of Schrödinger ’s equation for an electron in a potential satisfies the requirements for a vector space: is just a complex number at each point in space, so only complex numbers are involved in forming , and commutativity , associativity , etc., follow at once. Vector Space Dimensionality The vectors are linearly independent if implies A vector space is n-dimensional if the maximum number of linearly independent vectors in the space is n. Such a space is often called V n(C), or V n(R) if only real numbers are used. Now , vector spaces with finite dimension n are clearly insuf ficient for describing functions of a continuous variable x. But they are well worth reviewing here: they are fine for describing quantized angular momentum, and they serve as a natural introduction to the infinite- dimensional spaces needed to describe spatial wavefunctions. A set of n linearly independent vectors in n-dimensional space is a basis —any vector can be written in a unique way as a sum over a basis: You can check the uniqueness by taking the dif ference between two supposedly distinct sums: it will be a linear relation between independent vectors, a contradiction. Since all vectors in the space can be written as linear sums over the elements of the basis, the sum of multiples of any two vectors has the form: Inner Product Spaces The vector spaces of relevance in quantum mechanics also have an operation associating a number with a pair of vectors, a generalization of the dot product of two ordinary three- dimensional vectors, Following Dirac, we write the inner product of two ket vectors as . Dirac refers to this form as a “bracket” made up of a “bra” and a “ket”. An important differ ence from the simple three-dimensional real vector inner product is that we’re usually dealing with complex vector spaces, and we requir e where * denotes complex conjugate. This means that is real. We require to be positive , except for the null vector , for which it is zero. (These requirements do restrict the classes of vector spaces we are considering, but they are all satisfied by the spaces relevant to quantum mechanics.) The norm of is defined by If is a member of V n(C), so is , for any complex number a. We require the inner product operation to commute with multiplication by a number , so The complex conjugate of the right hand side is For consistency , the bra corresponding to the ket must be It follows that if Constructing an Orthonormal Basis: the Gram-Schmidt Process To have something better resembling the standard dot product of ordinary three vectors, we need that is, we need to construct an orthonormal basis in the space. There is a straightforward procedure for doing this called the Gram-Schmidt process. We begin with a linearly independent set of basis vectors, . We first normalize by dividing it by its norm. Call the normalized vector Now cannot be parallel to because the original basis was of linearly independent vectors, but in general has a nonzero component parallel to equal to since is normalized. Therefore, the vector is perpendicular to as is easily verified. It is also easy to compute the norm of this vector , and divide by it to get the second member of the orthonormal basis. Next, we take and subtract of f its components in the directions and and normalize the remainder , and so on. In an n-dimensional space, having constructed an orthonormal basis with members any vector can be written as a column vector , The corresponding bra is , which we write as a row vector with the elements complex conjugated, . This operation, going from columns to rows and taking the complex conjugate, is called taking the adjoint , and can also be applied to matrices, as we shall see shortly . The reason for representing the bra as a row is that the inner product of two vectors is then given by standard matrix multiplication: (Of course, this only works with an orthonormal base.) The Schwartz Inequality The Schwartz inequality is the generalization to any inner product space of the result (or ) for ordinary three-dimensional vectors. The equality sign in that result only holds when the vectors are parallel. To generalize to higher dimensions, one might just note that two vectors are in a two-dimensional subspace, but an illuminating way of understanding the inequality is to write the vector as a sum of two components, one parallel to and one perpendicular to . The component parallel to is just , so the component perpendicular to is the vector . Substituting this expression into , the inequality follows. This same point can be made in a general inner product space: if are two vectors, then is the component of perpendicular to , as is easily checked by taking its inner product with . Linear Operators A linear operator A takes any vector in a linear vector space to a vector in that space, and satisfies with c1, c2 arbitrary complex constants. The identity operator I is (obviously!) defined by: For an n-dimensional vector space with an orthonormal basis since any vector in the space can be expressed as a sum , the linear operator is completely determined by its action on the basis vectors—this is all we need to know . It’s easy to find an expression for the identity operator in terms of bras and kets. Taking the inner product of both sides of the equation with the bra gives so Since this is true for any vector in the space, it follows that that the identity operator is just This is an important result that will reappear in many disguises. To analyze the action of a general linear operator A, we just need to know how it acts on each basis vector . Beginning with this must be some sum over the basis vectors, and since they are orthonormal, the component in the direction must be just That is, So if the linear operator A acting on gives , that is, the linearity tells us that where in the fourth step we just inserted the identity operator . Since the are all orthogonal, the coef ficient of a particular on the left-hand side of the equation must be identical with the coef ficient of the same on the right-hand side. That is, Therefore the operator A is simply equivalent to matrix multiplication : It is important to note that a linear operator applied successively to the members of an orthonormal basis might give a new set of vectors which no longer span the entir e space . To give an example, the linear operator applied to any vector in the space picks out the vector ’s component in the direction. It is called a projection operator . The operator projects a vector into its components in the subspace spanned by the vectors and , and so on—if we extend the sum to be over the whole basis, we recover the identity operator . Exercise: prove that the matrix representation of the projection operator has all elements zero except the first two diagonal elements, which are equal to one. There can be no inverse operator to a nontrivial projection operator , since the information about components of the vector perpendicular to the projected subspace is lost. Since linear operators are represented by matrices, and their action on vectors is standard matrix multiplication, it follows that applying two linear operators in succession is equivalent to matrix multiplication —and, therefore, since matrices do not in general commute, nor do linear operators. The Adjoint Operator and Hermitian Matrices As we’ve discussed, if a ket in the n-dimensional space is written as a column vector with n (complex) components, the corresponding bra is a row vector having as elements the complex conjugates of the ket elements. then follows automatically from standard matrix multiplication rules, and on multiplying by a complex number a to get (meaning that each element in the column of numbers is multiplied by a) the corresponding bra goes to But suppose that instead of multiplying a ket by a number , we operate on it with a linear operator . What generates the parallel transformation among the bras? In other words, if can we find a corresponding operator that sends the bra to ? This must be another linear operator , because A is linear , that is, if under A and then under A Consequently , under the parallel bra transformation we must have so the bra transformation is necessarily also linear . Recalling that the bra is an n-element row vector , the most general linear transformation sending it to another bra is an matrix operating on the bra from the right . This bra operator is called the adjoint of A, written That is, the ket has corresponding bra In an orthonormal basis, using the notation to denote the bra corresponding to the ket say, So the adjoint operator is the transpose complex conjugate . Important : for a product of two operators (prove this!), An operator equal to its adjoint is called Hermitian , one equal to minus its adjoint is anti Hermitian (sometimes skew Hermitian). These operator types are in some ways generalizations of real and imaginary numbers. Any operator can be expressed as a sum of a Hermitian operator and an anti Hermitian operator , This notion naturally extends to vectors and numbers : the adjoint of a ket is the corresponding bra, the adjoint of a number is its complex conjugate. This is useful to bear in mind when taking the adjoint of an operator which may be partially constructed of vectors and numbers, such as projection-type operators. The adjoint of a product of matrices, vectors and numbers is the product of the adjoints in reverse or der. (Of course, for numbers the order doesn’ t matter .) Unitary Operators An operator is unitary if This implies first that U operating on any vector gives a vector having the same norm, since the new norm and furthermore inner products are preserved, The original orthonormal basis in the space must ther efore under a unitary transformation go to another orthonormal basis . Conversely , any transformation that takes one orthonormal basis into another one is a unitary transformation. To see this, suppose that a linear transformation A sends the members of the orthonormal basis to the dif ferent orthonormal set , so etc. Then the vector will go to having the same norm, from and similarly is invariant. A unitary operation amounts to a rotation (possibly combined with a reflection) in the space. Evidently , since the adjoint rotates the basis back—it is the inverse operation, and so also, that is, U and commute. Determinants We review in this section the determinant of a matrix, a function closely related to the operator properties of the matrix. Let’s start with matrices: The determinant of this matrix is defined by: Writing the two rows of the matrix as vectors: (R denotes row), is just the area (with appropriate sign) of the parallelogram having the two row vectors as adjacent sides: This is zero if the two vectors are parallel (linearly dependent) and is not changed by adding any multiple of to (because the new parallelogram has the same base and the same height as the original—check this by drawing). Let’s go on to the more interesting case of matrices: The determinant of A is defined as where if any two are equal, +1 if ijk = 123, 231 or 312 (that is to say , an even permutation of 123) and –1 if ijk is an odd permutation of 123. Repeated suf fixes, of course, imply summation here. Writing this out explicitly , Just as in two dimensions, it’ s worth looking at this expression in terms of vectors representing the rows of the matrix so This is the volume of the parallelopiped formed by the three vectors being adjacent sides (meeting at one corner , the origin). This parallelepiped volume will of course be zero if the three vectors lie in a plane, and it is not changed if a multiple of one of the vectors is added to another of the vectors. That is to say, the determinant of a matrix is not changed if a multiple of one r ow is added to another row. This is because the determinant is linear in the elements of a single row , and the last term is zero because two rows are identical—so the triple vector product vanishes. A more general way of stating this, applicable to lar ger determinants, is that for a determinant with two identical rows, the symmetry of the two rows, together with the antisymmetry of ensures that the terms in the sum all cancel in pairs. Since the determinant is not altered by adding some multiple of one row to another , if the rows are linearly dependent, one row could be made identically zero by adding the right multiples of the other rows. Since every term in the expression for the determinant has one element from each row , the determinant would then be identically zero. For the three-dimensional case, the linear dependence of the rows means the corresponding vectors lie in a plane, and the parallelepiped is flat. The algebraic ar gument generalizes easily to determinants: they are identically zer o if the rows ar e linearly dependent . The generalization from determinants is that becomes: where ijk…p is summed over all permutations of 132… n, and the symbol is zero if any two of its suf fixes are equal, +1 for an even permutation and 1 for an odd permutation. ( Note : any permutation can be written as a product of swaps of neighbors. Such a representation is in general not unique, but for a given permutation, all such representations will have either an odd number of elements or an even number .) An important theorem is that for a product of two matrices A, B the determinant of the product is the product of the determinants, This can be verified by brute force for matrices, and a proof in the general case can be found in any book on mathematical physics. It can also be proved that if the rows are linearly independent, the determinant cannot be zero. (Here’s a pr oof: take an matrix with the n row vectors linearly independent. Now consider the components of those vectors in the n – 1 dimensional subspace perpendicular to (1, 0, … ,0). These n vectors, each with only n – 1 components, must be linearly dependent, since there are more of them than the dimension of the space. So we can take some combination of the rows below the first row and subtract it from the first row to leave the first row ( a, 0, 0, … ,0), and a cannot be zero since we have a matrix with n linearly independent rows. We can then subtract multiples of this first row from the other rows to get a determinant having zeros in the first column below the first row . Now look at the n – 1 by n – 1 determinant to be multiplied by a. Its rows must be linearly independent since those of the original matrix were. Now proceed by induction.) To return to three dimensions, it is clear from the form of that we could equally have taken the columns of A as three vectors, in an obvious notation, , and linear dependence among the columns will also ensure the vanishing of the determinant—so, in fact, linear dependence of the columns ensures linear dependence of the rows. This, too, generalizes to : in the definition of determinant , the row suf fix is fixed and the column suf fix goes over all permissible permutations, with the appropriate sign—but the same terms would be generated by having the column suffixes kept in numerical order and allowing the row suf fix to under go the permutations. An Aside: Reciprocal Lattice Vectors It is perhaps worth mentioning how the inverse of a matrix operator can be understood in terms of vectors. For a set of linearly independent vectors , a reciprocal set can be defined by and the obvious cyclic definitions for the other two reciprocal vectors. We see immediately that from which it follows that the inverse matrix to . (These reciprocal vectors are important in x-ray crystallography , for example. If a crystalline lattice has certain atoms at positions , where n1, n2, n3 are integers, the reciprocal vectors are the set of normals to possible planes of the atoms, and these planes of atoms are the important elements in the dif fractive x-ray scattering.) Eigenkets and Eigenvalues If an operator A operating on a ket gives a multiple of the same ket, then is said to be an eigenket (or, just as often, eigenvector , or eigenstate !) of A with eigenvalue . Eigenkets and eigenvalues are of central importance in quantum mechanics: dynamical variables are operators, a physical measurement of a dynamical variable yields an eigenvalue of the operator , and forces the system into an eigenket. In this section, we shall show how to find the eigenvalues and corresponding eigenkets for an operator A. We’ll use the notation for the set of eigenkets with corresponding eigenvalues ai. (Obviously , in the eigenvalue equation here the suf fix i not summed over .) The first step in solving is to find the allowed eigenvalues ai. Writing the equation in matrix form: This equation is actually telling us that the columns of the matrix are linearly dependent! To see this, write the matrix as a row vector each element of which is one of its columns, and the equation becomes which is to say the columns of the matrix are indeed a linearly dependent set. We know that means the determinant of the matrix is zero, Evaluating the determinant using gives an nth order polynomial in sometimes called the characteristic polynomial . Any polynomial can be written in terms of its roots: where the ai’s, the roots of the polynomial, and C is an overall constant, which from inspection of the determinant we can see to be (It’s the coef ficient of ) The polynomial roots (which we don’ t yet know) are in fact the eigenvalues. For example, putting in the matrix, which means that has a nontrivial solution and this is our eigenvector Notice that the diagonal term in the determinant generates the leading two orders in the polynomial , (and some lower order terms too). Equating the coef ficient of here with that in , Putting in both the determinantal and the polynomial representations (in other words, equating the -independent terms), So we can learn something about the eigenvalues directly from the determinant. But if the space is bigger than this is not enough to solve the problem. We must solve the polynomial equation to find the set of eigenvalues, then use them to calculate the corresponding eigenvectors. This is done one at a time. Labeling the first eigenvalue found as a1, the corresponding equation for the components vi of the eigenvector is This looks like n equations for the n numbers vi, but it isn’ t: remember the rows are linearly dependent, so there are only n – 1 independent equations. However , that’ s enough to determine the ratios of the vector components v1, …, vn, then finally the eigenvector is normalized. Eigenvalues and Eigenstates of Hermitian Matrices For a Hermitian matrix, it is easy to establish that the eigenvalues are always real. Taking (in this section) A to be hermitian, and labeling the eigenkets by the eigenvalue, that is, the inner product with the bra gives But the inner product of the adjoint equation (remembering ) with gives so , and all the eigenvalues must be real. Furthermore, the eigenkets belonging to differ ent eigenvalues are orthogonal , if taking the adjoint of the first equation and taking its inner product with , so unless the eigenvalues are equal. If they are equal, then any linear combination of them is also an eigenvector with the same eigenvalue, and the Gram Schmidt procedure can be used to construct an orthonormal basis in this subspace as part of a full orthonormal basis. A subspace spanned by eigenvectors having the same eigenvalue is termed degenerate . Diagonalizing a Hermitian Matrix Diagonalizing a matrix means transforming to an orthonormal basis in which the only nonzero matrix elements are on the diagonal, i = j. In fact, it is evident from the discussion at the end of the previous section that a hermitian matrix is diagonal in the orthonormal basis of its set of eigenvectors: , since However , we are assuming that we know the matrix elements of A in some other orthonormal basis, so to diagonalize A we need to rotate from the initial orthonormal basis to one made up of the eigenkets of A. Denoting the initial orthonormal basis in the standard fashion the elements of the matrix are . A transformation from one orthonormal basis to another is a unitary transformation, as discussed above, so we write it Under this transformation, the matrix element So we can find the appropriate transformation matrix U by requiring that be diagonal with respect to the original set of basis vectors. (Transforming the operator in this way , leaving the vector space alone, is equivalent to rotating the vector space and leaving the operator alone. Of course, in a system with more than one operator , the same transformation would have to be applied to all the operators). In fact, the unitary matrix U we need is just composed of the normalized eigenkets of the operator A, It is easy to see that this must be true: so (The repeated suf fixes here are of course not summed over .) To actually find the eigenkets, then, we need to go through the routine outlined in the previous section, that is, first find the eigen values by finding the zeros of the determinantal equation, then enter the roots one at a time into the matrix equation to give n - 1 linear equations for the n unknown components of the eigenket Then If some of the eigenvalues are the same, the Gram Schmidt procedure may be needed to generate an orthogonal set, as mentioned earlier . Functions of Matrices The same unitary operator U that diagonalizes an Hermitian matrix A will also diagonalize A2, because so Evidently , this same process works for any power of A, and formally for any function of A expressible as a power series, but of course conver gence properties need to be considered, and this becomes trickier on going from finite matrices to operators on infinite spaces. Commuting Hermitian Matrices From the above, the set of powers of an Hermitian matrix all commute with each other , and have a common set of eigenvectors (but not the same eigenvalues, obviously). In fact it is not difficult to show that any two Hermitian matrices that commute with each other have the same set of eigenvectors (after possible Gram Schmidt rearrangements in degenerate subspaces). If two Hermitian matrices A, B commute, that is, AB = BA, and A has a nondegenerate set of eigenvectors then that is, is an eigenvector of A with eigenvalue ai. Since A is nondegenerate, must be some multiple of , and we conclude that A, B have the same set of eigenvectors. Now suppose A is degenerate, and consider the subspace spanned by the eigenvectors of A having eigenvalue . Applying the ar gument in the paragraph above, must also lie in this subspace. Therefore, if we transform B with the same unitary transformation that diagonalized A, B will not in general be diagonal in the subspace , but it will be what is termed block diagonal , in that if B operates on any vector in it gives a vector in . B can be written as two diagonal blocks: one , one with zeroes outside these diagonal blocks, for example, for m = 2, n = 5: And, in fact, if there is only one degenerate eigenvalue that second block will only have nonzero terms on the diagonal: B therefore operates on two subspaces, one m-dimensional, one ( n m)-dimensional, independently —a vector entirely in one subspace stays there. This means we can complete the diagonalization of B with a unitary operator that only operates on the block . Such an operator will also af fect the eigenvectors of A, but that doesn’ t matter , because all vectors in this subspace are eigenvectors of A with the same eigenvalue, so as far as A is concerned, we can choose any orthonormal basis we like—the basis vectors will still be eigenvectors. This establishes that any two commuting Hermitian matrices can be diagonalized at the same time. Obviously , this can never be true of noncommuting matrices, since all diagonal matrices commute. Example: Diagonalizing a Unitary Matrix As previously stated, a unitary matrix is an operator that rotates an orthonormal basis into another orthonormal basis. It is clear that in three dimensions the axis through the origin about which the basis is rotated is an eigenvector of this transformation. It’s less clear what the other two eigenvectors might be—or , equivalently , what are the eigenvectors corresponding to a two dimensional rotation of basis in a plane? The way to find out is to write down the matrix and diagonalize it. The matrix Note that the determinant is equal to unity . The eigenvalues are given by solving The corresponding eigenvectors satisfy The eigenvectors, normalized, are: Note that, in contrast to a Hermitian matrix, the eigenvalues of a unitary matrix do not have to be real. In fact, from , sandwiched between the bra and ket of an eigenvector , we see that any eigenvalue of a unitary matrix must have unit modulus—it’ s a complex number on the unit circle. With hindsight, we should have realized that one eigenvalue of a two-dimensional rotation had to be , the product of two two-dimensional rotations is given be adding the angles of rotation, and a rotation through changes all signs, so has eigenvalue -1. Note that the eigenvector itself is independent of the angle of rotation—the rotations all commute, so they must have common eigenvectors. Successive rotation operators applied to the plus eigenvector add their angles, when applied to the minus eigenvector , all angles are subtracted.