Calculus and Linear Algebra for Relativity
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal additional columns.
Scrollable figure. Use Left and Right arrow keys to inspect hidden content.
Relativity uses elementary calculus and linear algebra in a less forgiving way than many introductory physics courses: the objects must survive a change of coordinates or basis. This module checks the small set of skills needed to differentiate fields, manipulate linear maps and bilinear forms, and keep components distinct from the geometric object they represent. It offers focused preparation for relativity.
By the end, you should be able to use these tools in coordinate, tensor, and variational calculations, then carry them into a changed relativity problem while checking dimensions and simple limits.
Calculus and linear-algebra diagnostic
Section titled “Calculus and linear-algebra diagnostic”Work without a timer. Record the reasoning that fixes each sign, index, or matrix order; a bare numerical answer is not enough.
- Let . Find and the directional derivative at along .
- A linear map has matrix in a basis . For the new basis and , find the matrix and verify that its eigenvalues did not change.
- For the bilinear form and vector , compute when . Then lower the index on .
- For fixed endpoint variations of integrate the term by parts and identify the equation selected by .
Hints and solutions
Section titled “Hints and solutions”Hints for 1
First compute the partial derivatives. A differential is a covector: apply it to rather than taking an extra dot product with an undefined metric.
Solution to 1
The chain rule gives
At this is . Therefore
The result is linear in , as a directional derivative must be.
Hints for 2
Put the new basis vectors into the columns of . Components obey , so .
Solution to 2
Here
Thus
Both matrices have characteristic polynomial . Components changed; the linear map and its eigenvalues did not.
Hints for 3
Use the bilinear form once for the norm and once to compute . Do not change the spatial sign when lowering the time component.
Solution to 3
With the displayed signature,
Lowering the index gives
The norm is independent of the chosen inertial components. The calculation also catches the common mistake .
Hints for 4
Use . Keep the endpoint term until the fixed-endpoint condition removes it.
Solution to 4
Integration by parts yields
The boundary term vanishes because . Since ,
Arbitrary interior variations therefore imply . The full variational interpretation belongs to Variational Mechanics and Symmetries.
Interpret the result
Section titled “Interpret the result”- Secure: all four setups are correct, matrix order and index lowering are explained, and each result has a check.
- Uncertain: the method is recognizable but one topic—usually basis changes, bilinear forms, or integration by parts—requires prompts. Review that subsection below and repeat the corresponding problem with new numbers.
- Not yet: coordinate changes are treated as changes of the underlying object, derivatives cannot be organized as linear maps, or endpoint terms are discarded without justification. Work through the focused review before returning to a relativity route.
Use your answers to choose what to study next. A single algebra slip with a sound setup calls for a quick review; an unfamiliar construction calls for studying the corresponding section.
Focused review
Section titled “Focused review”Derivatives as linear maps
Section titled “Derivatives as linear maps”At a point, is the linear rule taking a direction to the first-order change . For a map , the Jacobian is the component matrix of its derivative. Under composition, matrix order follows the chain rule. This viewpoint is the bridge to tangent maps and tensor transformation laws.
Objects and components
Section titled “Objects and components”A vector is not its component column. If the columns of are the new basis vectors expressed in the old basis, then component columns obey and hence ; the geometric vector itself has not changed. A linear map has matrix , while a covariant bilinear form has . In index notation, repeated upper–lower pairs are summed, and free indices must agree on both sides of an equation.
Bilinear forms and eigenstructure
Section titled “Bilinear forms and eigenstructure”Positive-definite inner products are not the only useful bilinear forms. The Lorentzian form has one negative and three positive directions. Lowering an index applies the metric; it is not decorative typography. Eigenvalues of a linear map are basis-independent, while the entries of its matrix and its eigenvectors’ component columns are not.
Controlled integration by parts
Section titled “Controlled integration by parts”Variational and field calculations repeatedly move derivatives between factors. Always record the boundary term, the data held fixed, and the regularity needed. Dropping a boundary term before stating why it vanishes is not a harmless shortcut in gravitational action problems.
For the coordinate-independent continuation, use Tensor Fields and Natural Operations. It develops the full geometric interpretation from the tools introduced here.
Transfer task: flat spacetime in polar coordinates
Section titled “Transfer task: flat spacetime in polar coordinates”In -dimensional flat spacetime,
Change variables to , . Derive the metric components in , compute the squared norm of , and state where is timelike.
Hint 1
Differentiate and , then expand . The mixed terms must cancel.
Hint 2
Once the metric is diagonal, use the component column and compute .
Solution
The differentials are
Squaring and adding gives , so
Therefore
is timelike when , null at , and spacelike beyond it. Restoring changes the condition to , which is dimensionally correct. The changed coordinate representation did not create curvature; it only made the metric components position-dependent.
Common errors
Section titled “Common errors”- Multiplying basis-change matrices in the wrong order because the direction of component conversion was not stated.
- Treating and as identical without specifying a metric that converts the covector into a vector.
- Changing a tensor’s components and calling that a change in the tensor itself.
- Omitting endpoint or boundary terms before declaring the variation or boundary conditions.
Return to your route
Section titled “Return to your route”If this module interrupted the Graduate General Relativity Self-Study Path or the First Graduate Course in General Relativity, return there after completing the transfer task. If differential equations remain the weak point, continue first to Differential Equations for Relativity.