generated from Py4Phy/just-the-class
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: Week 10 Announcement | ||
week: 10 | ||
date: 2024-03-25 | ||
--- | ||
|
||
A lot of physics can be formulated in the language of **linear | ||
algebra** with vectors and matrices. Examples are problems in solid | ||
body mechanics and quantum mechanics. Three commonly encountered | ||
requirements are to find solutions to a matrix equation $$\mathsf{A} | ||
\mathbf{x} = \mathbf{b}$$, finding the inverse of a matrix | ||
$$\mathsf{A}^{-1}$$, and solving the eigenproblem $$\mathsf{A} | ||
\mathbf{v}_i = \lambda_i \mathbf{v}_i$$. Instead of writing our own | ||
solvers, we will learn how to use the routines in | ||
[numpy.linalg](https://numpy.org/doc/stable/reference/routines.linalg.html), | ||
NumPy's linear algebra module, which provides efficient and | ||
well-tested algorithm. | ||
|
||
A matrix solver is also needed for generalizing the *Newton-Raphson* | ||
[root finding algorithm from the last module]({{ site.baseurl }}{% | ||
link modules/root_finding/Root_finding.md %}) to arbitrary | ||
dimensions. We will develop a general Newton-Raphson solver (and also | ||
learn how to calculate the Jacobian using partial derivatives, based | ||
on the central difference algorithm from the [lesson on | ||
differentiation](modules/ODEs/differentiation.md)). |