Docsity

Maple Tutorial 2 - Lecture Notes | MAP 5485, Study notes of Mathematics

Toggle sidebar
bg1
MAP 5485, Maple Tutorial 2
Use Maple to solve the following problems. Write your answers below the ques-
tions.
1. Let Abe the matrix
2 3 1
3 2 2
1.521 4 1/2
to two decimal places. Let Pbe the matrix composed of eigenvectors of Aand
Mbe diagonal matrix with the corresponding eigenvalues. Use Maple to compute
that
AP =P M
(approximately), i. e., show that
AP −P M = 0.
This will work for any matrix Awith distinct eigenvalues. How do you explain
this?
2. A rotation matrix is a matrix Asuch that
(1) A0A=Iand det A= 1.
Let R1(θ), R2(θ), and R3(θ) be rotations an angle of θaround the x,yand zaxes
respectively and let
A=R1(1.2)R2(2.1)R1(5.4).
Verify using Maple that the matrix Aabove satisfies (1) and so it is a rotation
matrix. (Remember that prime indicates transpose, whose Maple command is
Transpose.) Find the eigenvalues of Aand the absolute values of the eigenvalues
of A(to 2 decimal places).
3. Let Abe the rotation matrix in problem 2. Notice that there is one real eigen-
vector and two complex ones. The real eigenvector corresponds to the eigenvalue 1
and is the axis of the rotation.
Let w1and w2be the two complex eigenvectors. Notice that w1=w2. Find
v1=w1+w2
2and v2=w1−w2
2i
and verify that v1and v2are vectors with real coordinates. These are just the
real and imaginary parts of the complex eigenvectors. By using the dot product
(DotProduct), show that v1and v2are perpendicular.
1
pf2

Partial preview of the text

Download Maple Tutorial 2 - Lecture Notes | MAP 5485 and more Study notes Mathematics in PDF only on Docsity!

MAP 5485, Maple Tutorial 2

Use Maple to solve the following problems. Write your answers below the ques- tions.

  1. Let A be the matrix (^) 

to two decimal places. Let P be the matrix composed of eigenvectors of A and M be diagonal matrix with the corresponding eigenvalues. Use Maple to compute that

AP = P M

(approximately), i. e., show that

AP − P M = 0.

This will work for any matrix A with distinct eigenvalues. How do you explain this?

  1. A rotation matrix is a matrix A such that

(1) A′A = I and det A = 1.

Let R 1 (θ), R 2 (θ), and R 3 (θ) be rotations an angle of θ around the x,y and z axes respectively and let

A = R 1 (1.2)R 2 (2.1)R 1 (5.4).

Verify using Maple that the matrix A above satisfies (1) and so it is a rotation matrix. (Remember that prime indicates transpose, whose Maple command is Transpose.) Find the eigenvalues of A and the absolute values of the eigenvalues of A (to 2 decimal places).

  1. Let A be the rotation matrix in problem 2. Notice that there is one real eigen- vector and two complex ones. The real eigenvector corresponds to the eigenvalue 1 and is the axis of the rotation. Let w 1 and w 2 be the two complex eigenvectors. Notice that w 1 = w 2. Find

v 1 =

w 1 + w 2 2

and v 2 =

w 1 − w 2 2 i

and verify that v 1 and v 2 are vectors with real coordinates. These are just the real and imaginary parts of the complex eigenvectors. By using the dot product (DotProduct), show that v 1 and v 2 are perpendicular. 1

2

  • Find and simplify the partial derivative ∂ ∂x

x^3 y + zx x^7 y^6 + ex^2 z^2

Use the Maple command simplify.

  • Find x′(t) if

x(t) =

t^7 cos^2 (t) ln(t) earctan(xt)

Use the Maple command map.

  1. The Frenet frame for the helix h(t) = (cos t, sin t, t)′^ is

F =

−b sin t − cos t b sin t b cos t − sin t −b cos t b 0 b

where b =

2 /2. Plot the spacecurve

C = h(t) +. 5 F

cos at sin at

for t = 0 to t = 2π and with a = 5. Also plot for a = 4 and a = 3.