Comprehensive Notes on Linear Algebra and Affine Geometry

DIAGONALIZATION OF ENDOMORPHISMS

  • Fundamental Definitions:
    • Let KK be a field and VV a KK-vector space of finite dimension n=dim⁡K(V)n = \dim_K(V).
    • An endomorphism is a linear map f:V→Vf: V \rightarrow V.
    • The set of all such maps is denoted EndK(V)\text{End}_K(V).
  • Coordinate Matrix and Base Change:
    • Let BB and B′B' be bases of VV. Let AA be the matrix of ff in base BB and A′A' be the matrix of ff in base B′B'.
    • For a vector v∈Vv \in V, let XX be its coordinates in BB and YY be the coordinates of its image f(v)f(v).
    • The coordinate expression is Y=AXY = AX.
    • If PP is the change of base matrix (XB=PXB′X_B = P X_{B'}), then substituting yields PY′=APX′P Y' = A P X'.
    • This implies Y′=(P−1AP)X′Y' = (P^{-1} A P) X', proving that the relation between coordinate matrices is A′=P−1APA' = P^{-1} A P.
  • Similar Matrices:
    • Two matrices A,B∈Mn(K)A, B \in M_n(K) are similar (denoted A∼BA \sim B) if there exists an invertible matrix P∈GLn(K)P \in GL_n(K) such that B=P−1APB = P^{-1} A P.
    • Similarity is an equivalence relation:
      • Reflexive: A=I−1AIA = I^{-1} A I.
      • Symmetric: If B=P−1APB = P^{-1} A P, then A=(P−1)−1BP−1A = (P^{-1})^{-1} B P^{-1}.
      • Transitive: If B=P−1APB = P^{-1} A P and C=Q−1BQC = Q^{-1} B Q, then C=(PQ)−1A(PQ)C = (PQ)^{-1} A (PQ).
    • Similar matrices have the same rank: rg(A)=rg(B)rg(A) = rg(B).

EIGENVALUES AND EIGENVECTORS

  • Diagonalizability:
    • An endomorphism ff is diagonalizable if there exists a base BB of VV such that its coordinate matrix is diagonal (D=diag(λ1,…,λn)D = \text{diag}(\lambda_1, \dots, \lambda_n)).
    • In this base, the image of the basis vectors follows the rule f(ei)=λieif(e_i) = \lambda_i e_i.
    • A matrix AA is diagonalizable if it is similar to a diagonal matrix.
  • Definitions of Eigen-elements:
    • An element λ∈K\lambda \in K is an eigenvalue of ff if there exists a non-zero vector 0≠v∈V0 \neq v \in V such that f(v)=λvf(v) = \lambda v.
    • The vector vv is called an eigenvector associated with the eigenvalue λ\lambda.
  • Characterization of Diagonalizability (TFAE):
    1. ff is diagonalizable.
    2. Every coordinate matrix of ff is diagonalizable.
    3. There exists a base formed by eigenvectors of ff.
  • Eigenspaces (Subespacios Propios):
    • For an eigenvalue λ\lambda, the eigenspace is S(λ)={v∈V∣f(v)=λv}=ker(λidV−f)S(\lambda) = \{ v \in V \mid f(v) = \lambda v \} = \text{ker}(\lambda \text{id}_V - f).
    • The dimension of the eigenspace is the geometric multiplicity dλ=dim⁡S(λ)=n−rg(λIn−A)d_\lambda = \dim S(\lambda) = n - rg(\lambda I_n - A).
    • An eigenvalue must satisfy the equation ∣λI−A∣=0|\lambda I - A| = 0.

THEOREMS ON DIAGONALIZATION

  • The Multiplicity Inequality:
    • Let aλa_\lambda be the multiplicity of λ\lambda as a root of the characteristic polynomial (algebraic multiplicity).
    • Fundamental Lemma: dλ≤aλd_\lambda \leq a_\lambda.
    • Proof Sketch: By extending a base of S(λ)S(\lambda) to a base of VV, the matrix of ff takes a block form, showing (x−λ)dλ(x - \lambda)^{d_\lambda} divides the characteristic polynomial.
  • Main Diagonalization Theorem:
    • Let λ1,…,λr\lambda_1, \dots, \lambda_r be distinct eigenvalues. ff is diagonalizable if and only if:
      1. All roots of the characteristic polynomial belong to KK.
      2. aλi=dλia_{\lambda_i} = d_{\lambda_i} for all 1≤i≤r1 \leq i \leq r.
      3. The sum of dimensions ∑i=1rdλi=n\sum_{i=1}^r d_{\lambda_i} = n.
  • Applications and Properties:
    • If ff has nn distinct eigenvalues, it is automatically diagonalizable.
    • Similar matrices share the same characteristic polynomial.
    • Calculation of matrix powers: If A=PDP−1A = P D P^{-1}, then Ak=PDkP−1A^k = P D^k P^{-1}.
  • The Fibonacci Example:
    • Defined by a1=1a_1 = 1, a2=1a_2 = 1, an+1=an+an−1a_{n+1} = a_n + a_{n-1}.
    • Vector recurrence: (an+1an)=(1110)(anan−1)\begin{pmatrix} a_{n+1} \\ a_n \end{pmatrix} = \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} a_n \\ a_{n-1} \end{pmatrix}.
    • General term: (an+2an+1)=(1110)n(a2a1)\begin{pmatrix} a_{n+2} \\ a_{n+1} \end{pmatrix} = \begin{pmatrix} 1 & 1 \\ 1 & 0 \end{pmatrix}^n \begin{pmatrix} a_2 \\ a_1 \end{pmatrix}.

BILINEAR FORMS

  • Definition: A bilinear form F:V×V→KF: V \times V \rightarrow K is an application such that:
    1. F(v,αw+βu)=αF(v,w)+βF(v,u)F(v, \alpha w + \beta u) = \alpha F(v, w) + \beta F(v, u).
    2. F(αv+βw,u)=αF(v,u)+βF(w,u)F(\alpha v + \beta w, u) = \alpha F(v, u) + \beta F(w, u).
  • Coordinate Matrix of a Bilinear Form:
    • For base B={e1,…,en}B = \{e_1, \dots, e_n\}, matrix AA has entries aij=F(ei,ej)a_{ij} = F(e_i, e_j).
    • The calculation follows: F(v,w)=XtAYF(v, w) = X^t A Y, where X,YX, Y are coordinate vectors of v,wv, w.
  • Congruence of Matrices:
    • Under basis change XB=PXB′X_B = P X_{B'}, the matrix transforms as A′=PtAPA' = P^t A P.
    • Matrices AA and BB are congruent if there exists P∈GLn(K)P \in GL_n(K) such that B=PtAPB = P^t A P.
    • Congruence is an equivalence relation and preserves rank: rg(F)rg(F).

SYMMETRIC BILINEAR FORMS

  • Symmetry: FF is symmetric if F(u,v)=F(v,u)F(u, v) = F(v, u) for all u,v∈Vu, v \in V.
    • This corresponds to the matrix being symmetric (A=AtA = A^t).
  • Orthogonality:
    • Vectors u,vu, v are orthogonal if F(u,v)=0F(u, v) = 0.
    • uu is isotropic if F(u,u)=0F(u, u) = 0.
    • Orthogonal subspace of SS: S⊥={v∈V∣F(v,s)=0 ∀s∈S}S^\perp = \{v \in V \mid F(v, s) = 0 \, \forall s \in S\}.
    • Characterization: v∈S⊥  ⟺  F(v,b)=0v \in S^\perp \iff F(v, b) = 0 for all elements bb in a base of SS.
  • Regular Subspaces:
    • SS is regular if S∩S⊥=0S \cap S^\perp = 0.
    • If SS is regular, then V=S⊕S⊥V = S \oplus S^\perp.
  • Diagonalization of Bilinear Forms:
    • If char(K)≠2\text{char}(K) \neq 2, every symmetric bilinear form admits an orthogonal base (where the matrix is diagonal).
    • Proof by induction on dimension: Uses the existence of a non-isotropic vector bb to split the space into ⟨b⟩⊕⟨b⟩⊥\langle b \rangle \oplus \langle b \rangle^\perp.

SYLVESTER'S LAW OF INERTIA

  • Standard Forms in R\mathbb{R}:
    • For F∈BilSimR(V)F \in \text{BilSim}_\mathbb{R}(V), there exists a base where the matrix is D=diag(1,…,1,−1,…,−1,0,…,0)D = \text{diag}(1, \dots, 1, -1, \dots, -1, 0, \dots, 0).
    • The number of 11s (rr) and −1-1s (ss) are unique for a given form.
    • Signature: denoted as sig(F)=rsig(F) = r (or sometimes the triple (r,s,n−r−s)(r, s, n-r-s)).
  • Sylvester's Theorem: Matrices are congruent if and only if they have the same rank and signature.
  • Scalar Product: A symmetric bilinear form on R\mathbb{R} is a scalar product if rg(F)=sig(F)=nrg(F) = sig(F) = n.
    • This implies it is positive definite: F(u,u)>0F(u, u) > 0 for all u≠0u \neq 0.

EUCLIDEAN SPACES

  • Euclidean Space: A real vector space provided with a scalar product ⋅\cdot.
  • Norm of a Vector: ∥v∥=v⋅v\lVert v \rVert = \sqrt{v \cdot v}.
    • Properties: ∥v∥≥0\lVert v \rVert \geq 0, ∥v∥=0  ⟺  v=0\lVert v \rVert = 0 \iff v = 0, ∥λv∥=∣λ∣∥v∥\lVert \lambda v \rVert = |\lambda| \lVert v \rVert.
  • Fundamental Inequalities:
    • Cauchy-Schwarz: ∣v⋅w∣≤∥v∥∥w∥|v \cdot w| \leq \lVert v \rVert \lVert w \rVert.
    • Triangle Inequality: ∥v+w∥≤∥v∥+∥w∥\lVert v + w \rVert \leq \lVert v \rVert + \lVert w \rVert.
  • Angles: The angle α\alpha between v,wv, w satisfies cos⁡(α)=v⋅w∥v∥∥w∥\cos(\alpha) = \frac{v \cdot w}{\lVert v \rVert \lVert w \rVert}.
  • Pythagorean Theorem: If v⋅w=0v \cdot w = 0, then ∥v+w∥2=∥v∥2+∥w∥2\lVert v + w \rVert^2 = \lVert v \rVert^2 + \lVert w \rVert^2.

ORTHOGONALIZATION AND BASES

  • Gram-Schmidt Process: Technique to transform any base B={e1,…,en}B = \{e_1, \dots, e_n\} into an orthogonal base B′={eˉ1,…,eˉn}B' = \{\bar{e}_1, \dots, \bar{e}_n\}.
    1. eˉ1=e1\bar{e}_1 = e_1.
    2. eˉk=ek−∑j=1k−1ek⋅eˉj∥eˉj∥2eˉj\bar{e}_k = e_k - \sum_{j=1}^{k-1} \frac{e_k \cdot \bar{e}_j}{\lVert \bar{e}_j \rVert^2} \bar{e}_j.
  • Orthonormal Base: An orthogonal base where every vector is unary (∥v∥=1\lVert v \rVert = 1).
    • Changing between orthonormal bases involves an orthogonal matrix AA where A−1=AtA^{-1} = A^t.
    • The set of such matrices is the orthogonal group On(R)O_n(\mathbb{R}).
  • Orthogonal Projection: For a subspace UU, the projection of vv is the unique vector pU(v)∈Up_U(v) \in U such that v−pU(v)∈U⊥v - p_U(v) \in U^\perp.
    • Best Approximation: pU(v)p_U(v) is the vector in UU closest to vv. ∥v−pU(v)∥≤∥v−w∥\lVert v - p_U(v) \rVert \leq \lVert v - w \rVert for all w∈Uw \in U.

ISOMETRIES

  • Definition: A linear map hh is an isometry if it preserves the scalar product: h(v)⋅h(w)=v⋅wh(v) \cdot h(w) = v \cdot w.
  • Equivalent Definitions:
    1. hh is an isometry.
    2. hh preserves norms: ∥h(v)∥=∥v∥\lVert h(v) \rVert = \lVert v \rVert.
    3. The coordinate matrix AA in an orthonormal base is orthogonal (AtA=IA^t A = I).
  • Isometries in R2\mathbb{R}^2:
    • Case 1 (Determinant -1): Symmetries. Diagonalizable with eigenvalues 1,−11, -1.
    • Case 2 (Determinant 1): Rotations. Matrix A=(cos⁡θ−sin⁡θsin⁡θcos⁡θ)A = \begin{pmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{pmatrix}. Represents a rotation of angle θ\theta.

AFFINE SPACES

  • Definition: A triple (A,V,+)(A, V, +) where AA is a non-empty set of points and VV is a vector space.
    • Axiom 1: For any P,Q∈AP, Q \in A, there exists a unique vector u=PQ⃗∈Vu = \vec{PQ} \in V such that Q=P+uQ = P + u.
    • Axiom 2: P+(u+w)=(P+u)+wP + (u + w) = (P + u) + w.
  • Chasles Relation: PQ⃗+QR⃗=PR⃗\vec{PQ} + \vec{QR} = \vec{PR}.
  • Reference Systems: A pair (O,B)(O, B) where OO is an origin point and BB is a base for VV.
    • Coordinates of point PP are simply coordinates of vector OP⃗\vec{OP}.
  • Coordinate Change in Affine Systems:
    • Expression: XR=ZR+AXR′X_R = Z_R + A X_{R'} where AA is base change and ZRZ_R are coordinates of original origin in new system.
    • Compact Matrix Form: (1XR)=(10ZA)(1XR′)\begin{pmatrix} 1 \\ X_R \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ Z & A \end{pmatrix} \begin{pmatrix} 1 \\ X_{R'} \end{pmatrix}.

AFFINE VARIETIES

  • Definition: A variety centered at PP with direction subspace WW is WP={P+w∣w∈W}W_P = \{P + w \mid w \in W \}.
    • Dim 0: Point; Dim 1: Line; Dim 2: Plane; Dim n−1n-1: Hyperplane.
  • Representations:
    1. Vectorial: Q=P+λ1u1+⋯+λrurQ = P + \lambda_1 u_1 + \dots + \lambda_r u_r.
    2. Parametric: System of equations in coordinates with parameters λi\lambda_i.
    3. Implicit (Cartesian): Linear system of equations setting constraints on coordinates.
  • Intersection: If non-empty, WP∩UQ=(W∩U)RW_P \cap U_Q = (W \cap U)_R for any RR in the intersection.
  • Affine Span: The smallest variety containing a set of points P={P1,…,Pt}\mathcal{P} = \{P_1, \dots, P_t\}.
    • Points are affinely independent if vectors P1P2⃗,…,P1Pt⃗\vec{P_1 P_2}, \dots, \vec{P_1 P_t} are linearly independent.

AFFINITIES AND MOVEMENTS

  • Affinities (Affine Maps):
    • A map f:A1→A2f: A_1 \rightarrow A_2 is an affinity if there is an underlying linear map fˉ:V1→V2\bar{f}: V_1 \rightarrow V_2 such that f(Q)=f(P)+fˉ(PQ⃗)f(Q) = f(P) + \bar{f}(\vec{PQ}).
    • They preserve parallel structures and varieties.
  • Fixed Points: PP is fixed if f(P)=Pf(P) = P. The set of fixed points forms an affine variety Fix(f)=(ker(fˉ−Id))PFix(f) = (\text{ker}(\bar{f} - Id))_P.
  • Matrix of an Affinity: Y=B+AXY = B + AX. Compactly: (1Y)=(10BA)(1X)\begin{pmatrix} 1 \\ Y \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ B & A \end{pmatrix} \begin{pmatrix} 1 \\ X \end{pmatrix}.
  • Group Structure: Affinities form a group under composition (GA(A)GA(A)).
  • Special Families:
    • Translations: tv(P)=P+vt_v(P) = P + v. Underlying map is Identity.
    • Homotheties: hC,α(P)=C+αCP⃗h_{C, \alpha}(P) = C + \alpha \vec{CP}. Underlying map is αId\alpha Id.
  • Euclidean Affine Spaces:
    • Distance: d(P,Q)=∥PQ⃗∥d(P, Q) = \lVert \vec{PQ} \rVert.
    • Distance between point and variety: d(P,WQ)=∥PpWQ(P)⃗∥d(P, W_Q) = \lVert \vec{P p_{W_Q}(P)} \rVert.
    • Distance between varieties: d(WP,UQ)=d(P,(W+U)Q)d(W_P, U_Q) = d(P, (W + U)_Q).
  • Movements: An affinity that is also a distance isometry. This occurs if and only if the underlying linear map fˉ\bar{f} is an isometry (fˉ∈O(V)\bar{f} \in O(V)).