applications of linear algebra in computer sciences
DESCRIPTION
I introduces some of the applications of linear algebra in Computer Sciences ie: Cryptography, Graph Theory, Networks and Computer Graphics.TRANSCRIPT
![Page 1: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/1.jpg)
APPLICATIONS OF LINEAR ALGEBRA IN COMPUTER SCIENCES
Hafiz Muhammad Amir Sharif
SP12-BSCS-B7(B)-110
![Page 2: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/2.jpg)
ObjectivesImportance of Linear Algebra
Graph Theory
Network Models
Cryptography
Computer Graphics
![Page 3: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/3.jpg)
Why Linear Algebra is important ?• Linear algebra is vital in multiple areas of science in
general. Because linear equations are so easy to solve, practically every area of modern science.
• It converts large number of problems to matrix and thus we solve the matrix.
![Page 4: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/4.jpg)
Graph Theory
![Page 5: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/5.jpg)
Network Models
• Determine the currents I1, I2, and I3 for the following electrical network:
![Page 6: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/6.jpg)
By Kirchhoff’s Law
![Page 7: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/7.jpg)
Cryptography• Encryption and decryption require the use of some secret
information, usually referred to as a key.• Example Let the message be
“PREPARE TO NEGOTIATE”• We assign a number for each letter of the alphabet.
![Page 8: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/8.jpg)
Thus the message becomes:
• Since we are using a 3 by 3 matrix, we break the enumerated message above into a sequence of 3 by 1 vectors:
![Page 9: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/9.jpg)
By multiplying encoding matrix to this matrix we will encrypt the msg
![Page 10: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/10.jpg)
Now to decrypt the msg we have to multiply this matrix to Inverse of encoding matrix• The inverse of this encoding matrix, the decoding matrix,
is:
• Multiplying again by this matrix we will get our Msg.
![Page 11: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/11.jpg)
Computer Graphics• In computer graphics every element is represented by a
MATRIX.
![Page 12: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/12.jpg)
Conclusion:• There are so many application of Linear Algebra in
Computer Science.
• From simple circuit solving to large web engine algorithms.
![Page 13: Applications of Linear Algebra in Computer Sciences](https://reader036.vdocuments.us/reader036/viewer/2022082511/5466395daf79595d038b48db/html5/thumbnails/13.jpg)
Thank you