Excercise sheet 10 -- solutions
Matrices
1. Define matrices
A=(
), B=(
1
2
3
4
),
0
1
1
1
and the vectors
X=(
), Y=(
1
2
).
3
4
Do the following
(a) Calculate the expressions A B, B A , A X, X·Y and A B-B A
(b) Find the determinant of A, det A.
(c) Solve the equation A Z=Xfor Z. Check the result by substituting Z back into the equation
(d) Find the inverse
and calculate
A.
(e) Find the transposed matrix
.
(f) Find the eigenvalues and eigenvectors of A.
(g) Using Mathematicas help system, can you find a command that calculates the cross-product? Use it to calculate X×Y.
2. Vector calculus Mathematica commands can be found in the package Calculus`VectorAnalysis`. Can you find a way to calculate the gradient ∇f(x,y,z), divergence ∇·
(x,y,z) and curl ∇×
(x,y,z) for the scalar function f(x,y,z)=1/
and vector function
(x,y,z)=(
+y,y+z,z x)?
Schrödinger equation in matrix form
In the lecture notes, the Schrödinger equation was solved for the harmonic potential. Modify the potential to include the term ε
, that is, use V(r)=
+ε
Set ε=0.1. How do the energies change compared to the original, harmonic potential? How about the eigenfunctions?
| Created by Mathematica (April 10, 2007) |