12

cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Algebra meets Geometry:

Using the Quaternions to Implement Rotations

Tevian Dray

Department of Mathemati s

Oregon State University

http://math.oregonstate.edu/~tevian

Tevian Dray Quaternions

Page 2: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Introdu tion

3-d rotations: Aeronauti s, roboti s, omputer graphi s, ...

New Content: Use quaternions to implement rotations

Rotations

Tevian Dray Quaternions

Page 3: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Trigonometry

.r θθ(r cos , r sin )

θ

Polar oordinates: x = r os θ; y = r sin θ.

Tevian Dray Quaternions

Page 4: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Complex Plane

C = R⊕ iR

i

2 = −1

(x , y) 7−→ x + iy

x + iy = r os θ + i r sin θ = r e

Spe ial ase: e

±iπ/2 = ±i

e

iπ + 1 = 0

Tevian Dray Quaternions

Page 5: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Representing Complex Numbers

Please stand up.

Use left hand.

Real axis points forward.

Imaginary axis points upward.

Show me:

1

i

2 i

1+ i

(1+ i)i = i − 1

Thank you; please sit down.

Embodied Cognition!

Tevian Dray Quaternions

Page 6: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Multipli ation by i

Multipli ation by i : (x + i y)i = i x + i

2

y = −y + ix

Multipli ation by e

iθ: (r e iα)e iθ = r e

i(α+θ)

(Rotates ounter lo kwise by θ!)

Tevian Dray Quaternions

Page 7: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Quaternions

H = C⊕ Cj

k

j i

(1843)

q = (x + y i) + (z + w i) j = x + y i + z j + w k

ij = k = −ji ; i2 = j

2 = k

2 = −1

H is for Hamilton! (Q denotes rationals)

1880s: Ve tor analysis (Gibbs); i , j , k −→ ı̂, ̂, k̂

Tevian Dray Quaternions

Page 8: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

iq vs. qi

k

j iq = x + iy + jz + kw

iq = ix − y + kz − jw

qi = ix − y − kz + jw

Tevian Dray Quaternions

Page 9: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Conjugation

k

j i

q = x + iy + jz + kw

iq = ix − y + kz − jw

qi = ix − y − kz + jw

iqi = −x−iy+jz+kw

−iqi = x+iy−jz−kw

(rotation in jk-plane)

Tevian Dray Quaternions

Page 10: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Rotations

q 7−→ e

iθ/2qe

−iθ/2

1 7−→ 1; i 7−→ i

Rotates by θ �about i� (in jk-plane)

q 7−→ e

jθ/2qe

−jθ/2rotates about j , et .

∴ SO(3), the rigid rotations in 3 dimensions

Tevian Dray Quaternions

Page 11: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Generalizations

Plum mu�ns

Tevian Dray Quaternions

Page 12: cordinates: o xpeople.oregonstate.edu/~drayt/talks/PME17Qpub.pdf · resenting Rep Complex Numb ers Please stand up. Use left hand. Real axis p oints rd. a rw fo ry Imagina axis p

Generalizations

2015

k

lj i

il

kl

jl

O tonions! (O = H+Hℓ)

Use to model parti le physi s

http://o tonions.geometryof.org/GO

Tevian Dray Quaternions