Examples of Change of Basis and Matrix Transformations. Quadratic Forms
Examples of Change of Basis and Matrix Transformations. Quadratic Forms
Examples of Change of Basis and Matrix Transformations. Quadratic Forms
EXAMPLES OF CHANGE OF
BASIS AND
MATRIX TRANSFORMATIONS.
QUADRATIC FORMS.
Prof. N. Harnew
University of Oxford
MT 2012
1
Outline: 14. EXAMPLES OF CHANGE OF BASIS
AND MATRIX TRANSFORMATIONS.
QUADRATIC FORMS.
14.1 Examples of change of basis
14.1.1 Representation of a 2D vector in a rotated coordinate
frame
14.1.2 Rotation of a coordinate system in 2D
14.2 Rotation of a vector in fixed 3D coord. system
14.2.1 Example 1
14.2.2 Example 2
14.3 MATRICES AND QUADRATIC FORMS
14.3.1 Example 1: a 2 × 2 quadratic form
14.3.2 Example 2: another 2 × 2 quadratic form
14.3.3 Example 3: a 3 × 3 quadratic form
2
14.1 Examples of change of basis
14.1.1 Representation of a 2D vector in a rotated coordinate
frame
3
x 0 = r cos α y 0 = r sin α
x = r cos(θ + α) y = r sin(θ + α)
y sin α
x cos α
→ x 0 = cos(θ+α) → y 0 = sin(θ+α)
x cos α = x 0 cos θ cos α − x 0 sin θ sin α y sin α = y 0 sin θ cos α + y 0 cos θ sin α
Since x 0 sin α = y 0 cos α Since y 0 cos α = x 0 sin α
cos θ − sin θ
New basis : |e01 i = (≡ x̂0 ), |e02 i = (≡ ŷ0 )
sin θ cos θ
(4)
5
I The transformation matrix S is determined from |e0i i = S|ei i
S11 S12 1 cos θ S11 = cos θ
= ⇒ (5)
S21 S22 0 sin θ S21 = sin θ
S11 S12 0 − sin θ S12 = − sin θ
= ⇒ (6)
S21 S22 1 cos θ S22 = cos θ
cos θ − sin θ
Hence S(θ) = (7)
sin θ cos θ
r0 = R(θ) r
9
14.3 MATRICES AND QUADRATIC FORMS
Best illustrated by a few examples.
2 2 x 1 0 x
x +y = (x, y) = (x, y) =1
y 0 1 y
(15)
10
14.3.2 Example 2: another 2 × 2 quadratic form
I Matrix representation:
5 2 x
(x, y) =5 (16)
2 3 y
→ 5x 2 + 4xy + 3y 2 = 5
11
14.3.3 Example 3: a 3 × 3 quadratic form
I Represent x 2 + y 2 − 3z 2 + 2xy + 6xz − 6yz = 4 in the matrix
form (X T AX ).
I Write
a b c
x
ax + by + cz
I In symmetrical form: 1
1 3
set b = d, c = g, f = h X 1T
1 −3 X = 4 (20)
3 −3 −3
12