A \({\bf{2}} \times {\bf{200}}\) data matrix \(D\) contains the coordinate of 200 points. Compute the number of multiplications required to transform these points using two arbitrary \({\bf{2}} \times {\bf{2}}\) matrices \(A\) and \(B\). Consider the two possibilities \[A\left( {BD} \right)\] and \(\left( {AB} \right)D\). Dicuss the implications of your results for computer graphics calculations.

Short Answer

Expert verified

1600 multiplications, 808 multiplications

Step by step solution

01

Find the number of multiplications for \(A\left( {BD} \right)\)

For producing each entry in \(BD\), two multiplications are necessary. Since \(BD\) is a \(2 \times 200\) matrix, it will take \(2 \times 2 \times 200 = 800\;{\rm{multiplications}}\) to compute it. By the same reasoning, it will take \(2 \times 2 \times 200 = 800\;{\rm{multiplications}}\) to compute \(A\left( {BD} \right)\). Thus, to compute \(A\left( {BD} \right)\) from the beginning, it will take \(1600\;{\rm{multiplications}}\).

02

Find the number of multiplications for \(\left( {AB} \right)D\)

To compute the \(2 \times 2\) matrix \(AB\), it will take \(2 \times 2 \times 2 = 8\;{\rm{multiplications}}\), and to compute \(\left( {AB} \right)D\), it will take \(2 \times 2 \times 200 = 800\)multiplications. Thus, to compute \(\left( {AB} \right)D\) from the beginning, it will take \(8 + 800 = 808\) multiplications.

03

Implication of the results in computer graphics

For computer graphics, calculations require the application of multiple transformations to data matrices. It is thus more efficient to compute the product of the transformation matrices before applying the result to the data matrix.

So, \(A\left( {BD} \right)\) requires 1600 multiplications, and \(\left( {AB} \right)D\) requires 808 multiplications. The first method uses twice as many applications.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

In Exercises 1–9, assume that the matrices are partitioned conformably for block multiplication. Compute the products shown in Exercises 1–4.

4. \[\left[ {\begin{array}{*{20}{c}}I&0\\{ - X}&I\end{array}} \right]\left[ {\begin{array}{*{20}{c}}A&B\\C&D\end{array}} \right]\]

Let \(A = \left( {\begin{aligned}{*{20}{c}}1&1&1\\1&2&3\\1&4&5\end{aligned}} \right)\), and \(D = \left( {\begin{aligned}{*{20}{c}}2&0&0\\0&3&0\\0&0&5\end{aligned}} \right)\). Compute \(AD\) and \(DA\). Explain how the columns or rows of A change when A is multiplied by D on the right or on the left. Find a \(3 \times 3\) matrix B, not the identity matrix or the zero matrix, such that \(AB = BA\).

Suppose Tand Ssatisfy the invertibility equations (1) and (2), where T is a linear transformation. Show directly that Sis a linear transformation. [Hint: Given u, v in \({\mathbb{R}^n}\), let \[{\mathop{\rm x}\nolimits} = S\left( {\mathop{\rm u}\nolimits} \right),{\mathop{\rm y}\nolimits} = S\left( {\mathop{\rm v}\nolimits} \right)\]. Then \(T\left( {\mathop{\rm x}\nolimits} \right) = {\mathop{\rm u}\nolimits} \), \[T\left( {\mathop{\rm y}\nolimits} \right) = {\mathop{\rm v}\nolimits} \]. Why? Apply Sto both sides of the equation \(T\left( {\mathop{\rm x}\nolimits} \right) + T\left( {\mathop{\rm y}\nolimits} \right) = T\left( {{\mathop{\rm x}\nolimits} + y} \right)\). Also, consider \(T\left( {cx} \right) = cT\left( x \right)\).]

Suppose Aand Bare \(n \times n\), Bis invertible, and ABis invertible. Show that Ais invertible. (Hint: Let C=AB, and solve this equation for A.)

In Exercises 1 and 2, compute each matrix sum or product if it is defined. If an expression is undefined, explain why. Let

\(A = \left( {\begin{aligned}{*{20}{c}}2&0&{ - 1}\\4&{ - 5}&2\end{aligned}} \right)\), \(B = \left( {\begin{aligned}{*{20}{c}}7&{ - 5}&1\\1&{ - 4}&{ - 3}\end{aligned}} \right)\), \(C = \left( {\begin{aligned}{*{20}{c}}1&2\\{ - 2}&1\end{aligned}} \right)\), \(D = \left( {\begin{aligned}{*{20}{c}}3&5\\{ - 1}&4\end{aligned}} \right)\) and \(E = \left( {\begin{aligned}{*{20}{c}}{ - 5}\\3\end{aligned}} \right)\)

\( - 2A\), \(B - 2A\), \(AC\), \(CD\).

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free