AssigmentByM - Farhan Khan SS BSSE F22 E21
AssigmentByM - Farhan Khan SS BSSE F22 E21
AssigmentByM - Farhan Khan SS BSSE F22 E21
Farhan Khan
BSSE-F22-E21
SOFTWARE ENGERNING
LINER ALGEBERA
"Linear algebra is for mathematics what the compass is for navigation."- Gilbert Strang -
This quote highlights the foundational and guiding role that linear algebra plays in various
mathematical explorations.
"We [Irving Kaplansky and Paul Halmos] share a philosophy about linear algebra: we think
basis-free, we write basis-free, but when the chips are down we close the office door and
compute with matrices like fury."- Irving Kaplansky - This humorous quote emphasizes the
duality of linear algebra, where abstract concepts and hands-on calculations coexist and
complement each other.
"Linear algebra is a powerful language for describing and solving problems that arise in
almost every area of science and engineering."- MIT OpenCourseware - This straightforward
quote underscores the universal applicability of linear algebra across diverse disciplines.
Linear algebra, the branch of mathematics dealing with vectors, matrices, linear
transformations, and their properties, permeates various aspects of software engineering. Its
versatility empowers software engineers to tackle diverse challenges across numerous domains.
While the specific applications vary depending on the software's purpose and the engineer's
specialization, here are some core areas where linear algebra plays a prominent role:
Lighting and Shading: Realistic lighting effects rely on vector calculations and matrix
multiplications to simulate how light interacts with surfaces. This creates depth, shadows, and
highlights, bringing virtual worlds to life.
Source : https://blenderartists.org/t/shading-not-realistic-can-you-shed-any-light-on-this-for-me-
pun-intended/1404071
Ray Tracing: Tracing the path of light rays through a scene involves complex ray-vector
intersections. Linear algebra calculations ensure accurate tracking, resulting in stunningly
realistic images often used in movies and high-end games.
Source : https://blenderartists.org/t/visualize-ray-tracing/1101564
Image Processing: Enhancing, manipulating, and analyzing images heavily utilize linear
transformations. Filters, edge detection, and other techniques employ linear algebra concepts to
improve image quality and extract information.
Source : http://what-when-how.com/embedded-image-processing-on-the-tms320c6000-dsp/non-
linear-filtering-of-images-image-processing-part-1/
Logistic Regression: Classifying data points into categories often relies on linear
separators and cost functions, both heavily dependent on linear algebra concepts like dot
products and distance calculations.
Source : https://towardsdatascience.com/logistic-regression-and-decision-boundary-
eab6e00c1e8?gi=6c83f1c452ec
Source : https://www.yunhaiwang.net/tvcg-dr/index.html
Support Vector Machines (SVMs): Classifying data with the largest margin between
classes employs linear algebra for distance calculations and hyperplane representations.
Source : https://www.researchgate.net/figure/Support-vector-machine-SVM-worked-by-finding-
a-separating-hyperplane-with-maximal_fig2_265603987
Neural Networks: The core operations of neural networks, such as matrix multiplication
and activation functions, are rooted in linear algebra, essential for learning representations and
making predictions.
Source : https://medium.com/data-science-365/one-hidden-layer-shallow-neural-network-
architecture-d45097f649e6
Source : https://www.chegg.com/homework-help/questions-and-answers/initial-tableau-linear-
programming-problem-given-use-simplex-method-solve-problem-left-beg-q114999346
Numerical Linear Algebra: Efficiently handling large matrices and systems of equations
in scientific computing relies on specialized algorithms and libraries like LAPACK and BLAS,
built on linear algebra principles.
Robot Kinematics and Control: Modeling robot movements and designing control
systems involve joint positions, velocities, and forces represented as vectors, with linear algebra
facilitating efficient calculations.
Source : https://studywolf.wordpress.com/2013/09/02/robot-control-jacobians-velocity-and-
force/
Digital Signal Processing (DSP): Analyzing and manipulating digital signals (audio,
sensor data) often involve fast Fourier transforms (FFTs) and other linear algebra-based
techniques.
Audio Effects: Synthesizing and processing audio effects like echo, reverb, and distortion
employs linear operations and filters implemented with linear algebra concepts.
Symmetric-Key Cryptosystems: Stream ciphers and block ciphers, used for data
encryption, often involve linear transformations and matrix operations for scrambling and
unscrambling data.
● Briefly summarize the key areas you covered (e.g., computer graphics, machine
learning, optimization, etc.).
● Reiterate the significance of linear algebra in each domain, highlighting its problem-
solving power and enabling technologies.
● Acknowledge that your exploration covered a vast landscape, but there's more to
discover.
● Briefly mention other potential areas where linear algebra plays a role, such as:
● Express your optimism about the future of linear algebra in software engineering.
● Encourage readers to learn more about linear algebra and explore its potential in
their own projects.
Conclude with a captivating video that visualizes
the power and applications of linear algebra: