• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 157 pages
Exam (elaborations)

Exam (elaborations) TEST BANK FOR Advanced Engineering Mathematics with Mathematica By Edward B. Magrab (Solution manual)

Document preview thumbnail
Preview 4 out of 157 pages

Exam (elaborations) TEST BANK FOR Advanced Engineering Mathematics with Mathematica By Edward B. Magrab (Solution manual) Solutions to Exercises in Chapter 1 Section 1.2 1.1 A matrix is an orthogonal matrix if Is the following matrix an orthogonal matrix? Solution: x={{-1.,-1},{1,-1},{-1,1},{1,1}}/2; Transpose[x].x//MatrixForm yields Therefore, X is an orthogonal matrix. 1.2 If does (A + B)2 = A 2 + B 2? Solution: a={{1,-1},{2,-1}}; b={{1,1},{4,-1}}; ((a+b).(a+b)-a.a-b.b)//MatrixForm yields Therefore, the expressions are equal. XT X = I X = 1 2 −1 −1 1 −1 −1 1 1 1 ⎛ ⎝ ⎜⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟⎟ 1 0 0 1 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ A = 1 −1 2 −1 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ B = 1 1 4 −1 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ 0 0 0 0 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ 3 1.3 Given the two matrices Find the matrix products AB and BA. Solution: Aa={{1,4,-3},{2,5,4}}; Bb={{4,1},{2,6},{0,3}}; Aa.Bb//MatrixForm Bb.Aa//MatrixForm 1.4 Given the following matrices and their respective orders: A (n´m), B (p´m), and C (n´s). Show one way in which these three matrices can be multiplied. What is the order of the resulting matrix? Solution: 1.5 Given Determine A2. Solution: From Eq. (1.13) A = 1 4 −3 2 5 4 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ and B = 4 1 2 6 0 3 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ AB = 1 4 −3 2 5 4 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ 4 1 2 6 0 3 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ = 12 16 18 44 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ BA = 4 1 2 6 0 3 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ 1 4 −3 2 5 4 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ = 6 21 −8 14 38 18 6 15 12 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ CT ABT →(n × s)T (n × m)(p × m)T →(s × n)(n × m)(m × p)→(s × p) A = ab b2 −a2 −ab ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ 4 Aa={{a b, b^2},{-a^2,-a b}}; Aa.Aa//MatrixForm 1.6 Given the matrix Determine the value of 4I - 4A - A2 + A3. Solution: Then, Mathematica verification Aa={{-4,-3,-1},{2,1,1},{4,-2,4}}; AA = a11 a12 a21 a22 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ a11 a12 a21 a22 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ = a11 2 + a12a21 a12 a11 + a22 ( ) a21 a11 + a22 ( ) a21a12 + a22 2 ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ = a2b2 − a2b2 b2 (ab − ab) −a2 (ab − ab) −a2b2 + a2b2 ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ = 0 A = −4 −3 −1 2 1 1 4 −2 4 ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ A2 = 6 11 −3 −2 −7 3 −4 −22 10 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ A3 = −14 −1 −7 6 −7 7 12 −30 22 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ 4I − 4A− A2 + A3 = 4 1 0 0 0 1 0 0 0 1 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ − 4 −4 −3 −1 2 1 1 4 −2 4 ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ − 6 11 −3 −2 −7 3 −4 −22 10 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ + −14 −1 −7 6 −7 7 12 −30 22 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ = 0 0 0 0 0 0 0 0 0 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ 5 A2=Aa.Aa; MatrixForm[A2] A3=A2.Aa; MatrixForm[A3] (4 IdentityMatrix[3]-4 Aa-A2+A3)//MatrixForm Section 1.3 1.7 Given the following matrices: What is the value of a that satisfies the following equation? Solution: Therefore, Mathematica verification Solve[{1,2}.{{2,a},{3,4}}.{{1},{2}}==Det[{{6,4},{7,5}}],a] 1.8 Show that Solution: x = 1 2 ⎧⎨⎩ ⎫⎬⎭ , A = 2 a 3 4 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ , B = 6 4 7 5 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ xT Ax = det B xT Ax = { 1 2 } 2 a 3 4 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ 1 2 ⎧⎨⎩ ⎫⎬⎭ = { 1 2 } 2 + 2a 11 ⎧⎨⎩ ⎫⎬⎭ = 24 + 2a detB = det 6 4 7 5 ⎛ ⎝ ⎜ ⎞ ⎠ ⎟ = 6 × 5 − 4 × 7 = 2 24 + 2a = 2 a = −11 det a b + c 1 b a + c 1 c a + b 1 ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ = 0 det a b + c 1 b a + c 1 c a + b 1 ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ = a a + c 1 a + b 1 − (b + c) b 1 c 1 + b a + c c a + b = a(c − b)− (b + c)(b − c)+ b(a + b)− c(a + c) = 0 6 Mathematica verification Det[{{a,b+c,1},{b,a+c,1},{c,a+b,1}}] 1.9 Expand the following determinants and reduce them to their simplest terms. a) Solution: Mathematica verification Det[{{1+a,a,a},{b,1+b,b},{b,b,1+b}}] b) Solution: Mathematica verification det 1+ a a a b 1+ b b b b 1+ b ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ det 1+ a a a b 1+ b b b b 1+ b ⎛ ⎝ ⎜⎜ ⎞ ⎠ ⎟⎟ = (1+ a) (1+ b)2 − b2 ⎡⎣ ⎤⎦ − a b(1+ b)− b2 ⎡⎣ ⎤⎦ + a b2 − b(1+ b) ⎡⎣ ⎤⎦ = (1+ a)[1+ 2b]− ab − ab = 1+ a + 2b + 2ab − 2ab = 1+ a + 2b det x3 +1 1 1 1 x3 +1 1 1 1 x3 +1 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ det x3 +1 1 1 1 x3 +1 1 1 1 x3 +1 ⎛ ⎝ ⎜⎜⎜ ⎞ ⎠ ⎟⎟⎟ = x( 3 +1) x( 3 +1)2 −1 ⎡⎣ ⎤⎦ − x3 +1−1 ⎡⎣ ⎤⎦ + 1− x3 −1 ⎡⎣ ⎤⎦ = x( 3 +1) x( 3 +1)2 −1 ⎡⎣ ⎤⎦ − 2x3 = x( 3 +1) x6 + 2x3 ⎡⎣ ⎤⎦ − 2x3 = x3 x6 + 2x( 3 )+ x6 + 2x3 − 2x3 = x9 + 2x6 + x6 = x6 x( 3 + 3)

Content preview

, Solutions to Exercises in Chapter 1

Section 1.2
1.1 A matrix is an orthogonal matrix if
XTX = I
Is the following matrix an orthogonal matrix?
⎛ −1 −1 ⎞
1⎜ 1 −1 ⎟
⎟
X= ⎜
2⎜ −1 1 ⎟
⎜⎝ 1 1 ⎟⎠
Solution:

x={{-1.,-1},{1,-1},{-1,1},{1,1}}/2;
Transpose[x].x//MatrixForm

yields
⎛ 1 0 ⎞
⎜ ⎟
⎝ 0 1 ⎠
Therefore, X is an orthogonal matrix.

1.2 If
⎛ 1 −1 ⎞ ⎛ 1 1 ⎞
A=⎜ ⎟ B=⎜ ⎟
⎝ 2 −1 ⎠ ⎝ 4 −1 ⎠
does (A + B)2 = A 2 + B 2?
Solution:

a={{1,-1},{2,-1}};
b={{1,1},{4,-1}};
((a+b).(a+b)-a.a-b.b)//MatrixForm

yields
⎛ 0 0 ⎞
⎜ ⎟
⎝ 0 0 ⎠
Therefore, the expressions are equal.



2

,1.3 Given the two matrices
⎛ 4 1 ⎞
⎛ 1 4 −3 ⎞
A=⎜ and B=⎜ 2 6 ⎟
⎝ 2 5 4 ⎟⎠ ⎜ ⎟
⎜⎝ 0 3 ⎟⎠

Find the matrix products AB and BA.

Solution:
⎛ 4 1 ⎞
⎛ 1 4 −3 ⎞ ⎜ ⎛ 12 16 ⎞
AB = ⎜ 2 6 ⎟ =⎜
⎝ 2 5 4 ⎠ ⎜⎜ 0 3 ⎟⎟ ⎝ 18 44 ⎟⎠
⎟
⎝ ⎠
⎛ 4 1 ⎞ ⎛ 6 21 −8 ⎞
⎜ ⎟ ⎛ 1 4 −3 ⎞ ⎜
BA = 2 6 ⎜ = 14 38 18 ⎟
⎜ ⎟ ⎝ 2 5 4 ⎟⎠ ⎜ ⎟
⎜⎝ 0 3 ⎟⎠ ⎜⎝ 6 15 12 ⎟⎠


Aa={{1,4,-3},{2,5,4}};
Bb={{4,1},{2,6},{0,3}};
Aa.Bb//MatrixForm
Bb.Aa//MatrixForm

1.4 Given the following matrices and their respective orders: A (n´m), B (p´m), and C (n´s).
Show one way in which these three matrices can be multiplied. What is the order of the resulting
matrix?

Solution:
C T ABT → (n × s)T (n × m)( p × m)T → (s × n)(n × m)(m × p) → (s × p)


1.5 Given
⎛ ab b2 ⎞
A=⎜ ⎟
⎝ −a 2 −ab ⎠
Determine A2.

Solution: From Eq. (1.13)




3

, ⎛ a11 a12 ⎞ ⎛ a11 a12 ⎞ ⎛ a112 + a12 a21 a12 ( a11 + a22 ) ⎞
AA = ⎜ ⎟⎜ ⎟ =⎜ ⎟
⎝ 21 22 ⎠ ⎝ 21 22 ⎠ ⎜⎝ a21 ( a11 + a22 ) a21a12 + a22 ⎟⎠
2
a a a a

⎛ a 2b 2 − a 2b 2 b 2 ( ab − ab ) ⎞
=⎜ ⎟ =0
⎜⎝ −a 2 ( ab − ab ) −a 2b 2 + a 2b 2 ⎟⎠


Aa={{a b, b^2},{-a^2,-a b}};
Aa.Aa//MatrixForm

1.6 Given the matrix
⎛ −4 −3 −1 ⎞
A=⎜ 2 1 1 ⎟
⎜ ⎟
⎝ 4 −2 4 ⎠

Determine the value of 4I - 4A - A2 + A3.

Solution:
⎛ 6 11 −3 ⎞
A = −2 −7 3 ⎟
2 ⎜
⎜ ⎟
⎜⎝ −4 −22 10 ⎟⎠

⎛ −14 −1 −7 ⎞
A3 = ⎜ 6 −7 7 ⎟
⎜ ⎟
⎜⎝ 12 −30 22 ⎟⎠

Then,
⎛ 1 0 0 ⎞ ⎛ −4 −3 −1 ⎞
2 3⎜ ⎟
4I − 4 A − A + A = 4 0 1 0 − 4 ⎜ 2 1 1 ⎟
⎜ ⎟ ⎜ ⎟
⎜⎝ 0 0 1 ⎟⎠ ⎝ 4 −2 4 ⎠
⎛ 6 11 −3 ⎞ ⎛ −14 −1 −7 ⎞
− ⎜ −2 −7 3 ⎟ + ⎜ 6 −7 7 ⎟
⎜ ⎟ ⎜ ⎟
⎜⎝ −4 −22 10 ⎟⎠ ⎜⎝ 12 −30 22 ⎟⎠

⎛ 0 0 0 ⎞
=⎜ 0 0 0 ⎟
⎜ ⎟
⎜⎝ 0 0 0 ⎟⎠

Mathematica verification
Aa={{-4,-3,-1},{2,1,1},{4,-2,4}};


4

Connected book
 image
Publisher: 2020 ISBN: 9781000034523 Edition: Unknown

Document information

Uploaded on
November 15, 2021
Number of pages
157
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers
$5.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Expert001
4.4
(230)
Sold
839
Followers
567
Items
1470
Last sold
1 day ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions