**Also available as eBook on:**

This book developed from the need to teach a linear algebra course to students focused on data science and bioinformatics programs. These students tend not to realize the importance of linear algebra in applied sciences, since traditional linear algebra courses tend to cover mathematical contexts but not the computational aspect of linear algebra or its applications to data science and bioinformatics.

The author presents the topics in a traditional course, yet offers lectures as well as lab exercises on simulated and empirical data sets. This textbook provides students a theoretical basis which can then be applied to the practical R and Python problems, providing the tools needed for real-world applications.

Each section starts with working examples to demonstrate how tools from linear algebra can help solve problems in applied sciences. These exercises start from easy computations, such as computing determinants of matrices, to practical applications on simulated and empirical data sets with R so that students learn how to get started with R, along with computational examples in each section, and then students learn how to apply what they've learned to problems in applied sciences.

This book is designed from first principles to demonstrate the importance of linear algebra through working computational examples with R and Python, including tutorials on how to install R in the Appendix. If a student has never seen R, they can get started without any additional help.

Since Python is one of the most popular languages in data science, optimization, and computer science, code supplements are available for students who feel more comfortable with Python. R is used primarily for computational examples to develop studentsâ€™ practical computational skills.

**About the Author:**

**Dr. Ruriko Yoshida** is an Associate Professor of Operations Research at the Naval Postgraduate School. She received her PhD in Mathematics from the University of California, Davis. Her research topics cover a wide variety of areas: applications of algebraic combinatorics to statistical problems such as statistical learning on non-Euclidean spaces, sensor networks, phylogenetics, and phylogenomics. She teaches courses in statistics, stochastic models, probability, and data science.

**Preface. 1. Systems of Linear Equations and Matrices.** 1.1. Introductory Example from Statistics. 1.2. What is a Matrix? What is a Vector? 1.3. Systems of Linear Equations. 1.4. Echelon Form. **2. Matrix Arithmetic.** 2.1. Introductory Example from Statistics. 2.2. Matrix Operations. 2.3. Properties of Matrix Operations and Matrix Inverse. 2.4. Elementary Matrices. 2.5. Discussion. **3. Determinants.** 3.1. Introductory Example from Astronomy. 3.2. Determinants. 3.3. Introduction of Determinants. 3.4. Properties of Determinants. 3.5. Cramer's Rule. 3.6. Discussion. **4. Vector Spaces.** 4.1. Introductory Example from Data Science. 4.2. Vector Spaces and Subspaces. 4.3. Null Space, Column Space, and Row Space. 4.4. Spanning Sets and Bases. 4.5. Coordinates Systems and Change of Basis. 4.6. Discussion. **5. Inner Product Space.** 5.1. Introductory Example from Statistics. 5.2. Inner Products. 5.3. Angles and Orthogonality. 5.4. Discussion.** 6. Eigen Values and Eigen Vectors. **6.1. Introductory Example from Data Science: Image Compression. 6.2. Eigen Values and Eigen Vectors. 6.3. Diagonalization. 6.4. Discussion. **7. Linear Regression. **7.1. Introductory Example from Statistics. 7.2. Simple Linear Regression. 7.2. Simple Linear Regression. **8. Linear Programming.** 8.1. Introductory Example from Optimization. 8.2. Linear Programming. **9. Network Analysis.** 9.1. Introductory Example from Network Analysis. 9.1. Introductory Example from Network Analysis. 9.2. Graphs and Networks. 9.3. Discussion. **Appendices. **A) Introduction to RStudio via Amazon Web Service (AWS). B) B Introduction to R.** Bibliography. Index. **

### Biography

**Dr. Ruriko Yoshida** is an Associate Professor of Operations Research at the Naval Postgraduate School. She received her Ph.D. in Mathematics from the University of California, Davis. Her research topics cover a wide variety of areas: applications of algebraic combinatorics to statistical problems such as statistical learning on non-Euclidean spaces, sensor networks, phylogenetics, and phylogenomics. She teaches courses in statistics, stochastic models, probability, and data science.