고유값·고유벡터·양의 준정부호Eigenvalues, eigenvectors and positive semidefiniteness
반복되는 방향에서 직교축·제곱형식·실제 공분산까지From invariant lines to orthogonal axes, quadratic forms and actual covariance
실습 6종 · 풀이 포함 연습문제 35개6 labs · 35 exercises with solutions
기초Foundations
1. 변환을 반복해도 같은 직선에 남는 입력1. Inputs that stay on the same line after a transformation
사진을 가로로 늘이고 세로로 줄이면 대부분의 화살표는 기울기도 바뀝니다. 그러나 가로축의 화살표는 여전히 가로축에, 세로축의 화살표는 세로축에 남습니다. 행렬이 특별하게 취급하는 이런 방향을 알면 복잡한 변환을 간단한 배율로 읽을 수 있습니다.
이 장에서는 고유값·고유벡터를 정의하고, 대칭행렬의 직교기저와 제곱식으로 연결합니다. 실제 자료에서는 공분산과 비중심 Gram 행렬을 구별하며, 수학적으로 큰 고유값이 현실에서 좋은 성과나 미래 성장을 뜻하는 것은 아님을 확인합니다.
Stretch a picture horizontally and shrink it vertically. Most arrows change slope, but the horizontal and vertical axes retain their own lines. Such special directions let a matrix transformation be understood through scalar multipliers.
We define eigenvalues and eigenvectors, then connect symmetric matrices to orthogonal bases and quadratic forms. Actual covariance and uncentered Gram examples will distinguish matrix structure from claims about performance or future growth.
기초Foundations
2. Av=λv: 숫자 하나로 바뀌는 비영벡터2. Av=λv: a nonzero vector changed by one scalar
정방행렬 A에 대해 0이 아닌 v가 Av=λv를 만족하면 v는 고유벡터, λ는 그에 대응하는 고유값입니다. λ>0이면 같은 방향의 배율이고, λ<0이면 반대 방향으로 뒤집힌 배율입니다. λ=0이면 출력이 0이 됩니다.
Av=λv,v=0,A∈Rn×n
벡터가 원래 직선 안에 남는다는 설명은 음수와 0의 경우까지 포함하기 위한 것입니다. 출력 0의 각도를 재거나, 음수 고유값에서도 반드시 같은 방향이라고 말하면 안 됩니다.
입력과 출력의 공간이 같아야 같은 v를 양쪽에 쓸 수 있으므로 여기서는 정방행렬을 다룹니다. 직사각형 자료행렬의 정보는 뒤에서 AᵀA 같은 정방행렬과 17장의 특잇값으로 연결합니다.
For a square A, a nonzero v satisfying Av=λv is an eigenvector with eigenvalue λ. A positive multiplier preserves orientation, a negative one reverses it, and zero erases the vector.
Av=λv,v=0,A∈Rn×n
“Stays on its line” accommodates negative and zero multipliers. Do not assign an angle to a zero output or claim a negative eigenvalue preserves orientation.
The same vector must fit input and output spaces, hence the square shape. Rectangular data connect later through square Gram matrices and singular values.
기초Foundations
3. 0벡터는 제외하지만 고유값 0은 허용한다3. Exclude zero eigenvectors, not zero eigenvalues
A0=λ0은 어떤 λ에도 맞습니다. 그래서 0벡터를 허용하면 행렬의 특별한 배율을 구별할 수 없습니다. 고유벡터는 정의에서 0을 제외합니다.
0 is an eigenvalue of A⟺Null(A)={0}⟺A is singular
반면 P=diag(1,0)에서 v=(0,1)은 0이 아니고 Pv=0v여서 고유값 0의 올바른 고유벡터입니다. 가로축은 고유값 1로 유지되고 세로축은 지워집니다.
v가 고유벡터이면 어떤 0이 아닌 c에 대해서도 cv가 같은 고유값의 고유벡터입니다. 길이나 부호 하나를 고정했다고 유일해지는 것은 아니며, 단위벡터 표현에서도 ± 두 부호가 같은 고유직선을 나타냅니다.
A0=λ0 holds for every λ, so allowing the zero vector would fail to identify special multipliers. The definition excludes zero eigenvectors.
0 is an eigenvalue of A⟺Null(A)={0}⟺A is singular
But P=diag(1,0) has a valid nonzero eigenvector (0,1) with eigenvalue zero. The horizontal direction has eigenvalue one, while the vertical direction is deleted.
Every nonzero multiple of an eigenvector shares its eigenvalue. Even unit-vector representations have a sign ambiguity: ±v describe the same eigenline.
기초Foundations
4. 후보를 먼저 곱해서 확인하기4. Verify candidates by multiplication first
A=diag(2,−1)에서 (1,0)은 2배, (0,1)은 −1배가 됩니다. 그러나 (1,1)은 (2,−1)로 바뀌어 한 배율로 설명할 수 없습니다. 고유벡터인지 확인할 때는 모든 성분에 같은 λ가 맞아야 합니다.
(200−1)(11)=(2−1)=λ(11)for any real λ
실습에서는 Av, λv, 차이 Av−λv를 함께 확인합니다. 후보 v가 0이면 검산에서 제외합니다. 단순히 잔차가 작다는 이유로 반올림된 후보를 정확한 해라고 부르지 않고, 값의 크기에 맞춘 허용기준을 표시합니다.
성분별로 Av의 값을 v로 나누는 방법은 v의 어느 성분이 0일 때 깨집니다. 내적이나 잔차로 전체 벡터를 검산하면 이런 나누기 실수를 피할 수 있습니다.
For A=diag(2,−1), the coordinate directions have multipliers 2 and −1. But (1,1) becomes (2,−1), which cannot use one common multiplier.
(200−1)(11)=(2−1)=λ(11)for any real λ
Inspect Av, λv and their residual in the lab. Exclude zero candidates. A small residual establishes approximate agreement under a stated scale-aware tolerance, not exact equality.
Dividing componentwise by v fails when a component is zero. Checking the whole residual avoids this unnecessary division.
기초Foundations
5. 특성방정식은 왜 det(A−λI)=0인가5. Why the characteristic equation is det(A−λI)=0
Av=λv를 정리하면 (A−λI)v=0입니다. 0이 아닌 해가 있으려면 A−λI가 특이해야 합니다. 14장의 조건을 쓰면 행렬식이 0이어야 한다는 식을 얻습니다.
det(A−λI)=0,A=(acbd)⟹λ2−(a+d)λ+(ad−bc)=0
전개는 (a−λ)(d−λ)−bc입니다. 여기서 a+d는 대각합 trace, ad−bc는 행렬식입니다. 2차방정식의 두 근을 중복도까지 세면 합은 trace, 곱은 determinant가 됩니다. 근이 실수인지 여부는 아직 보장하지 않았습니다.
λ를 찾았다고 v까지 다 구한 것은 아닙니다. 각 λ에 대해 (A−λI)v=0을 다시 풀고 0을 제외해야 합니다. 다항식의 근을 세는 것과 독립적인 벡터의 수를 세는 것을 구별하세요.
Rearrange to (A−λI)v=0. A nonzero solution requires singularity, giving the determinant condition from Chapter 14.
det(A−λI)=0,A=(acbd)⟹λ2−(a+d)λ+(ad−bc)=0
Expand (a−λ)(d−λ)−bc. The two roots counted with multiplicity have sum trace a+d and product determinant ad−bc. They have not yet been guaranteed real.
After finding λ, solve the homogeneous system for its nonzero eigenvectors. Counting polynomial roots differs from counting independent directions.
기초Foundations
6. 한 예를 고유값·고유벡터까지 끝내기6. Complete an example through eigenvectors
λ=1에서는 x+y=0이므로 (1,−1)의 비영배수입니다. 단위벡터로 쓰면 q₊=(1,1)/√2, q₋=(1,−1)/√2입니다. 두 내적이 0이라 원래 좌표축을 45° 돌린 직교축을 얻었습니다.
이 예에서 일반 입력 x=αq₊+βq₋는 Ax=3αq₊+βq₋로 바뀝니다. 원래 좌표에서 두 성분이 섞이던 계산이 새 축에서는 각각의 배율로 분리됩니다.
For [[2,1],[1,2]], the characteristic polynomial factors as (λ−3)(λ−1). Eigenvalue 3 gives y=x; eigenvalue 1 gives y=−x.
A(11)=3(11),A(1−1)=(1−1)
Normalize to q₊=(1,1)/√2 and q₋=(1,−1)/√2. They form orthogonal axes rotated by 45 degrees.
In these coordinates, x=αq₊+βq₋ transforms to 3αq₊+βq₋. Mixing in the original coordinates becomes separate scalar actions.
기초Foundations
7. 고유공간에는 0도 들어간다7. An eigenspace includes zero
λ에 대한 고유공간은 Null(A−λI)입니다. 고유벡터들과 0을 합친 집합이어서 부분공간이 됩니다. ‘고유벡터는 0이 아니다’와 ‘고유공간은 0을 포함한다’가 충돌하는 말이 아닙니다.
Eλ=Null(A−λI),dimEλ=n−rank(A−λI)
A=2I₂이면 모든 비영벡터가 고유값 2의 고유벡터입니다. 고유공간 전체가 평면이고 기저는 여러 방법으로 고를 수 있습니다. 서로 다른 축 그림이 나와도 계산 오류가 아닐 수 있습니다.
λ가 고유값이 아니면 이 영공간에는 0만 있습니다. 고유공간의 차원은 실제로 고유값일 때 적어도 1입니다. 이 정의는 14장의 소거·랭크·자유변수와 바로 연결됩니다.
Eλ=Null(A−λI) contains all corresponding eigenvectors plus zero, making it a subspace. Excluding zero eigenvectors is compatible with including zero in the eigenspace.
Eλ=Null(A−λI),dimEλ=n−rank(A−λI)
For A=2I₂, the eigenspace is the whole plane, so many different bases work. Different axis pictures need not signal an error.
If λ is not an eigenvalue, this null space contains only zero. Actual eigenspaces have positive dimension, linking directly to rank and free variables.
학부Undergraduate
8. 서로 다른 고유값은 독립 방향을 준다8. Distinct eigenvalues give independent directions
두 비영 고유벡터 v,w가 같은 직선에 있어 w=cv라고 합시다. c≠0이므로 Aw=cAv=cλv이면서 μw=cμv입니다. 따라서 λ=μ여야 합니다. 서로 다른 λ,μ라면 두 벡터는 같은 직선일 수 없습니다.
A=SΛS−1,S=(v1⋯vn)when there are n independent eigenvectors
일반 n차원에서도 서로 다른 고유값에 대응하는 고유벡터들은 독립입니다. 독립 고유벡터 n개를 모아 S를 만들면 AS=SΛ이고, 오른쪽에서 S⁻¹을 곱해 대각화를 얻습니다.
고유값이 중복되어도 독립 고유벡터가 충분하면 대각화할 수 있습니다. ‘모든 고유값이 서로 달라야 한다’는 필요조건은 아닙니다. 반대로 근을 중복까지 n개 찾았다고 독립 벡터가 자동 n개라는 뜻도 아닙니다.
If nonzero eigenvectors v and w=cv lie on one line, then Aw=cλv=cμv forces λ=μ. Thus distinct eigenvalues cannot share that line.
A=SΛS−1,S=(v1⋯vn)when there are n independent eigenvectors
In general, distinct-eigenvalue eigenvectors are independent. A complete eigenbasis gives AS=SΛ and hence diagonalization.
Distinct eigenvalues are sufficient, not necessary: repeated values can also have a complete eigenbasis. Counting roots with multiplicity does not automatically count independent vectors.
선택 심화Optional extension
9. 선택 반례: 실수행렬도 실수 고유축이 없을 수 있다9. Optional counterexample: a real matrix may lack real eigenaxes
90° 회전 R=[[0,−1],[1,0]]은 모든 비영 실수 화살표를 직각으로 돌립니다. 원래 직선에 남는 비영벡터가 없습니다. 특성식은 λ²+1=0으로 실수근이 없습니다.
R=(01−10),det(R−λI)=λ2+1,λ=±i
복소수 i²=−1을 허용하면 ±i라는 고유값이 생깁니다. 이는 복소좌표의 확장이며 화면에 실수 고유화살표를 억지로 그려야 한다는 뜻이 아닙니다. 이 장의 직교축·정부호 실습은 실수 대칭행렬로 조건을 좁혀 진행합니다.
‘실수 숫자로 만든 행렬이면 고유값도 실수’라는 규칙은 거짓입니다. 어떤 추가 구조가 실수를 보장하는지 확인하는 것이 다음 절들의 목적입니다.
A 90-degree rotation sends every nonzero real arrow off its original line. Its characteristic equation λ²+1=0 has no real roots.
R=(01−10),det(R−λI)=λ2+1,λ=±i
Complex coordinates with i²=−1 admit eigenvalues ±i. This does not justify inventing real eigenarrows. The orthogonal-axis and definiteness labs restrict their matrices to real symmetric ones.
Real matrix entries alone do not guarantee real eigenvalues. The next sections explain which additional structure does.
선택 심화Optional extension
10. 선택 반례: 중복근 두 개와 고유방향 두 개는 다르다10. Optional counterexample: repeated roots need not give a full eigenbasis
J=[[1,1],[0,1]]의 특성식은 (1−λ)²입니다. 그러나 λ=1의 식은 y=0만 허용하므로 고유공간은 가로축 하나입니다. 평면 전체의 기저를 고유벡터로 채울 수 없어 대각화할 수 없습니다.
J=(1011),E1=span((1,0)),Jk=(10k1)
두 고유값이 1이라는 이유로 Jᵏ=I라고 하면 틀립니다. 전단이 반복되어 오른쪽 위가 k로 자랍니다. 나중의 Jordan 형식이 이를 정리하지만 지금은 ‘대각화 가능’ 조건이 필요하다는 반례로 충분합니다.
N=[[0,1],[0,0]]도 두 고유값이 모두 0이지만 랭크는 1입니다. 일반행렬에서 0이 아닌 고유값 개수를 곧바로 랭크라고 세면 안 됩니다. 대칭행렬에서는 완전한 직교기저 덕분에 그 연결을 사용할 수 있습니다.
J=[[1,1],[0,1]] has the repeated root 1 but only the horizontal eigenspace. It lacks a full eigenbasis and is not diagonalizable.
J=(1011),E1=span((1,0)),Jk=(10k1)
Despite both eigenvalues being one, powers are not the identity. Repeated shear grows with k. Jordan theory later organizes this behavior.
Similarly, [[0,1],[0,0]] has only zero eigenvalues but rank one. Counting nonzero eigenvalues as rank requires additional structure such as symmetric diagonalization.
기초Foundations
11. 실수 대칭행렬이라는 특별한 조건11. The special structure of real symmetric matrices
Aᵀ=A이면 대칭행렬입니다. 2×2에서는 양쪽 비대각 성분이 같은 [[a,b],[b,d]]입니다. 이 경우 특성식의 판별식은 (a−d)²+4b²로 음수가 될 수 없어 두 근이 실수입니다.
A=(abbd),λ±=2a+d±(a−d)2+4b2
두 근이 같으려면 a=d,b=0이어야 하므로 A=aI입니다. 이때 모든 방향이 고유방향입니다. 다른 경우에는 두 서로 다른 실수 고유값이 있고 다음 절의 직교성 증명이 두 축을 직각으로 만들어 줍니다.
일반적인 실수 대칭 n×n 행렬에도 실수 고유값과 완전한 정규직교 고유기저가 존재합니다. 이것이 스펙트럼 정리입니다. 여기서는 2차원 근의 존재와 직교성을 직접 확인하고 일반 정리를 계산·이차형식에 적용합니다.
A symmetric matrix satisfies Aᵀ=A. For [[a,b],[b,d]], the characteristic discriminant (a−d)²+4b² is nonnegative, giving real roots.
A=(abbd),λ±=2a+d±(a−d)2+4b2
Equality of the roots forces a=d and b=0, so every direction is an eigenvector direction of a scalar matrix. Otherwise two real eigenvalues are distinct.
The spectral theorem extends this to every real symmetric n×n matrix, with a complete orthonormal eigenbasis. We directly establish the two-dimensional roots and orthogonality, then use the general theorem.
a,b,d를 바꾸며 대칭성을 유지하세요. 기본 [[2,1],[1,2]]의 고유값은 3,1입니다. [[2,0],[0,2]]로 바꾸면 두 값이 2로 같고 특정 45°축만 특별한 답일 이유가 사라집니다.
같은 고유직선에서 화살표 부호를 뒤집어도 올바른 단위 고유벡터입니다. 중복고유값에서는 서로 다른 정규직교기저를 고를 수도 있습니다. 자료를 조금 바꿨을 때 표시 화살표가 달라진 원인이 부호 선택인지, 가까운 고유값에서 축이 민감한 것인지 구별하세요.
표시한 축은 Av=λv, 길이 1, 서로 내적 0으로 검산합니다. 고유값만 맞는다고 벡터까지 맞다고 하지 않습니다. 반올림한 단위벡터는 검산에 작은 잔차를 남길 수 있습니다.
Vary a,b,d while preserving symmetry. The default [[2,1],[1,2]] has eigenvalues 3 and 1. At 2I both are 2, and no particular rotated pair is uniquely preferred.
Sign reversals preserve eigenlines; repeated eigenspaces admit different orthonormal bases. Distinguish sign conventions from sensitivity when eigenvalues are close.
Check displayed eigenvectors using Av=λv, unit lengths and zero mutual dot product. Correct values alone do not certify correct vectors; rounded vectors may leave small residuals.
기초Foundations
13. 서로 다른 대칭 고유축이 직교하는 증명13. Why distinct symmetric eigenvectors are orthogonal
Av=λv, Aw=μw이고 A가 대칭이라고 합시다. vᵀAw는 한쪽으로 계산하면 μvᵀw입니다. 다른 쪽으로 옮기면 (Av)ᵀw=λvᵀw입니다. 대칭성이 있어 Aᵀ 대신 A를 쓸 수 있습니다.
λvTw=(Av)Tw=vTAw=μvTw,(λ−μ)vTw=0
λ≠μ이면 내적이 0이어야 합니다. 일반 비대칭행렬의 서로 다른 고유벡터는 독립일 뿐 반드시 직교하지는 않습니다. 이 증명에서 어느 줄이 대칭을 썼는지 확인해 보세요.
같은 고유값의 공간 안에서는 고유벡터들이 처음부터 직교할 필요가 없습니다. 그러나 그 공간도 부분공간이므로 15장의 Gram–Schmidt로 직교기저를 고를 수 있습니다. 서로 다른 고유공간 사이의 직교성과 한 공간 내부의 기저 선택을 구별합니다.
For Av=λv and Aw=μw, symmetry lets vᵀAw be computed as both μvᵀw and λvᵀw.
λvTw=(Av)Tw=vTAw=μvTw,(λ−μ)vTw=0
Distinct eigenvalues therefore force orthogonality. General nonsymmetric eigenvectors with distinct values need only be independent.
Vectors within one repeated eigenspace need not initially be orthogonal, but Gram–Schmidt chooses an orthogonal basis there. Separate cross-eigenspace orthogonality from within-space basis choice.
정규직교 고유벡터를 열로 모아 Q를 만들면 QᵀQ=QQᵀ=I이고 A=QΛQᵀ입니다. 여기서는 완전한 n개 기저를 모았으므로 정방 Q입니다. 15장의 부분공간용 직사각형 Q와 크기 조건이 다릅니다.
A=QΛQT,z=QTx,Ax=QΛz
먼저 Qᵀ로 고유축 좌표 z를 읽고, Λ로 각 성분을 배율 조정한 뒤, Q로 원래 좌표에 되돌립니다. Q의 방향은 부호·순서 선택에 따라 달라도 Λ를 같은 순서로 맞추면 최종 A는 같습니다.
고유벡터를 (q₁,q₂) 대신 (q₂,−q₁)로 적으면 고유값도 그에 맞게 옮겨야 합니다. 고유값 목록만 정렬하고 벡터 열을 그대로 두는 것은 잘못된 짝짓기입니다.
Collect a complete orthonormal eigenbasis in square Q. Then QᵀQ=QQᵀ=I and A=QΛQᵀ, unlike a rectangular partial-basis Q from Chapter 15.
A=QΛQT,z=QTx,Ax=QΛz
Qᵀ reads eigenbasis coordinates, Λ rescales each component, and Q returns to the original coordinates. Sign and order conventions can vary if values remain paired correctly.
Sorting eigenvalues without moving their vector columns breaks the decomposition. Always verify matched eigenpairs.
기초Foundations
15. 이차형식 xᵀAx: 혼합항을 새 축으로 풀기15. Quadratic forms separate mixed terms in eigenaxes
대칭 A=[[a,b],[b,d]]에서 xᵀAx=ax₁²+2bx₁x₂+dx₂²입니다. 가운데 2는 양쪽 비대각 항이 함께 나오기 때문입니다. 숫자 하나를 돌려주는 이 식을 이차형식이라 부릅니다.
q(x)=xTAx,q(x)=i∑λizi2(z=QTx)
[[2,1],[1,2]]에서는 q=2x₁²+2x₁x₂+2x₂²입니다. 고유축에서는 3z₁²+z₂²로 바뀝니다. 새로운 값을 만들어 낸 것이 아니라 같은 제곱식을 다른 직교좌표로 정리한 것입니다.
실습에서 벡터와 고유축 좌표를 바꾸어 두 계산이 같은지 확인하세요. 모든 고유값이 양수일 때 q=1은 타원이고 각 반축 길이는 1/√λᵢ입니다. 0이나 음수 고유값이 있으면 같은 타원 해석을 강제로 적용하지 않습니다.
For symmetric [[a,b],[b,d]], the scalar xᵀAx equals ax₁²+2bx₁x₂+dx₂². Both off-diagonal entries contribute to the factor two.
q(x)=xTAx,q(x)=i∑λizi2(z=QTx)
For [[2,1],[1,2]], the original mixed expression becomes 3z₁²+z₂². It is the same scalar in rotated coordinates.
Compare both calculations. When all eigenvalues are positive, q=1 is an ellipse with semiaxes 1/√λᵢ. Zero or negative values require a different geometric interpretation.
기초Foundations
16. 단위방향의 값은 고유값 사이에 놓인다16. Unit-direction quadratic values lie between eigenvalues
실수 대칭행렬에서 ‖x‖=1이면 직교좌표 z도 길이 1이므로 Σzᵢ²=1입니다. q(x)=Σλᵢzᵢ²는 고유값들의 비음수 가중평균입니다. 따라서 최솟값과 최댓값은 양끝 고유값 사이입니다.
λmin≤xTxxTAx≤λmax(x=0,A=AT)
분수는 Rayleigh 몫입니다. 최소·최대 고유방향을 고르면 실제로 경계값을 얻습니다. 중복된 극값에서는 최적 방향도 여러 개일 수 있습니다. 분모 0인 영벡터에는 정의하지 않습니다.
[[2,1],[1,2]]에서는 모든 단위방향의 값이 1~3 사이이고 (1,1)/√2에서 3입니다. x=(1,1)처럼 단위화하지 않은 벡터의 q는 6이므로 범위를 벗어난다고 정리의 반례가 되지는 않습니다. 길이 조건이나 분모를 잊지 마세요.
For a real symmetric matrix and unit x, orthogonal coordinates satisfy Σzᵢ²=1. Thus q is a weighted average of eigenvalues and lies between their extremes.
λmin≤xTxxTAx≤λmax(x=0,A=AT)
This quotient is the Rayleigh quotient. Extreme eigendirections attain its bounds; repeated extremes can allow multiple optimizers. Zero input is excluded.
For [[2,1],[1,2]], unit-direction values lie in [1,3]. The unnormalized input (1,1) has q=6; this does not contradict a unit-vector statement.
기초Foundations
17. 양의 정부호·준정부호·부정부호의 뜻17. Positive definite, semidefinite and indefinite forms
이 장에서는 실수 대칭행렬을 기준으로 분류합니다. 모든 비영 x에서 q(x)>0이면 양의 정부호(PD), 모든 x에서 q(x)≥0이면 양의 준정부호(PSD)입니다. 준정부호는 0이 되는 비영방향을 허용하므로 가역성까지 보장하지 않습니다.
A⪰0⟺λi≥0for all i,A≻0⟺λi>0for all i(A=AT)
고유축에서 q=Σλᵢzᵢ²이므로 부호 조건을 읽을 수 있습니다. 어떤 λ가 음수이면 그 고유방향에서 q가 음수입니다. 양수와 음수 고유값이 함께 있으면 양·음 값을 모두 갖는 부정부호입니다. 모든 고유값이 음수인 음의 정부호와 구별하세요.
diag(1,0)은 PSD지만 PD가 아닙니다. diag(1,−1)은 부정부호이고, 0행렬은 PSD이면서 음의 준정부호이기도 합니다. 기호 ≻0은 모든 칸이 양수라는 뜻이 아니므로 원소별 부호와 혼동하지 않습니다.
For real symmetric matrices, PD means q(x)>0 for every nonzero x; PSD means q(x)≥0 for all x. PSD allows nonzero zero directions and need not imply invertibility.
A⪰0⟺λi≥0for all i,A≻0⟺λi>0for all i(A=AT)
The eigenbasis sum proves these equivalences. Mixed positive and negative values give an indefinite form. All-negative values instead give a negative definite form.
diag(1,0) is PSD but not PD; diag(1,−1) is indefinite. The zero matrix is both positive and negative semidefinite. Matrix positivity does not mean every entry is positive.
기초Foundations
18. 2×2 판정은 경계 a=0까지 나누어 본다18. A 2×2 test must include the boundary a=0
A=[[a,b],[b,d]]의 PD 조건은 a>0, ad−b²>0입니다. PSD 조건은 a≥0, d≥0, ad−b²≥0입니다. PSD에서는 두 대각 원소를 모두 확인해야 하며 앞쪽 주대각 소행렬식만 비음수라고 충분하지 않습니다.
ax2+2bxy+dy2=a(x+aby)2+(d−ab2)y2(a>0)
a>0에서는 완전제곱으로 조건을 확인할 수 있습니다. a=0인 PSD 경계에서는 ad−b²≥0이 b=0을 강제하고 q=dy²가 되므로 d≥0이 필요합니다. a로 나눈 공식을 a=0에 쓰지 않습니다.
diag(0,−1)은 첫 대각원소 0, 전체 행렬식 0이지만 세로방향에서 q=−1이라 PSD가 아닙니다. 반대로 [[1,2],[2,1]]은 모든 칸이 양수라도 (1,−1)에서 q=−2입니다. 눈으로 보이는 칸의 부호는 판정법이 아닙니다.
For symmetric [[a,b],[b,d]], PD requires a>0 and ad−b²>0. PSD requires a≥0, d≥0 and ad−b²≥0. Nonnegative leading principal minors alone are insufficient for PSD.
ax2+2bxy+dy2=a(x+aby)2+(d−ab2)y2(a>0)
Complete the square when a>0. At a=0, the determinant condition forces b=0, leaving q=dy² and requiring d≥0. Do not divide by a at this boundary.
diag(0,−1) defeats the incomplete leading-minor test. The all-positive-entry matrix [[1,2],[2,1]] is also not PSD: q(1,−1)=−2.
기초Foundations
19. Gram 행렬은 왜 항상 양의 준정부호인가19. Why Gram matrices are always positive semidefinite
직사각형 B에서 G=BᵀB는 대칭입니다. 어떤 x를 넣어도 xᵀGx=(Bx)ᵀ(Bx)=‖Bx‖²≥0이므로 PSD입니다. B의 열이 독립이면 비영 x에서 Bx≠0이라 PD가 됩니다.
xTBTBx=∥Bx∥2,BTB≻0⟺B has full column rank
15장의 최소제곱에서 XᵀX가 왜 양의 제곱합을 만드는지 이제 고유값으로도 읽을 수 있습니다. 작은 고유값은 특정 계수방향을 따라 적합이 약하게만 변한다는 뜻이며, 음의 곡률이라는 뜻은 아닙니다.
BBᵀ도 PSD지만 크기와 좌표공간이 다릅니다. 기업의 두 연도×다섯 품목 행렬 R에서 RRᵀ는 2×2이고 연도를 좌표로 봅니다. RᵀR은 5×5로 품목 좌표를 봅니다. 두 행렬을 같은 차원의 공분산이라고 부르지 않습니다.
For rectangular B, G=BᵀB is symmetric and xᵀGx=‖Bx‖²≥0. It becomes PD exactly when B has independent columns.
xTBTBx=∥Bx∥2,BTB≻0⟺B has full column rank
This explains XᵀX in least squares. A small eigenvalue indicates a coefficient direction that changes fitted values weakly, not negative curvature.
BBᵀ is PSD too, but has another shape and coordinate space. With two years and five categories, RRᵀ is 2×2 in year coordinates, while RᵀR is 5×5 in category coordinates.
기초Foundations
20. 중심 공분산과 비중심 Gram을 구별하기20. Distinguish centered covariance from uncentered Gram matrices
행이 관측이고 열이 특성인 자료표 Z에서 각 열의 평균을 먼저 뺀 표를 H라고 합시다. Σ=HᵀH/n은 분모 n을 쓴 기술적 공분산입니다. Gram 행렬의 양의 배수이므로 PSD입니다. 모집단의 참공분산을 안다는 뜻은 아닙니다.
Hij=Zij−Zˉj,Σ=n1HTH,vTΣv=n1i∑(hiTv)2≥0
단위벡터 v에 대한 마지막 값은 그 방향으로 본 중심자료의 평균제곱 변동입니다. 가장 큰 고유값은 이 기준에서 큰 변동방향을 고릅니다. 경제적으로 중요한 원인이나 더 좋은 국가를 찾았다는 뜻은 아닙니다.
평균을 빼지 않은 ZᵀZ는 일반적으로 같은 공분산이 아닙니다. n>1일 때 n−1 분모를 쓰면 이 중심표에서 모든 고유값이 n/(n−1)배가 되지만 축은 같습니다. 분모·중심화·단위를 함께 기록해야 실제 결과를 재현할 수 있습니다.
Subtract feature means from an observation-row table to obtain H. Then Σ=HᵀH/n is the descriptive covariance with denominator n, a positive multiple of a Gram matrix and therefore PSD.
Hij=Zij−Zˉj,Σ=n1HTH,vTΣv=n1i∑(hiTv)2≥0
For unit v, the last value is mean squared centered variation in that direction. Maximizing it identifies a variance direction, not a cause or a ranking of social quality.
Uncentered ZᵀZ is generally not the same covariance. For n>1, using n−1 rescales all eigenvalues by n/(n−1) for the same centered table while preserving axes. Record centering, denominator and units.
k는 비음수 정수인 반복 횟수입니다. 0단계는 A⁰=I이고, 1단계부터 행렬을 실제 적용합니다. Av=λv이면 A²v=λ²v이고 귀납적으로 Aᵏv=λᵏv입니다. λ=0의 0단계 계수도 항등작용에 맞게 1로 읽으며, 0으로 지워지는 것은 k≥1에서입니다. 대칭행렬의 고유기저에서 x=Σcᵢqᵢ라면 각 성분에 λᵢᵏ가 곱해집니다. 반복의 모양을 각 배율로 나누어 볼 수 있습니다.
예를 들어 diag(2,1)에 (1,1)을 k번 적용하면 (2ᵏ,1)입니다. 길이로 나눈 방향은 가로축으로 가까워집니다. |λ₁|>|λ₂|이고 시작벡터가 첫 방향 성분을 가져야 이런 지배가 나타납니다.
실습은 고정된 대각행렬과 시작벡터의 가정 계산입니다. 매 단계 정규화한 화살표와 정규화 전 크기를 구별합니다. 큰 고유값 때문에 원래 크기가 커지는 현상을 실제 경제의 성장예측으로 바꾸어 말하지 않습니다.
The iteration count k is a nonnegative integer. Step zero uses A⁰=I; actual applications begin at step one. Av=λv implies Aᵏv=λᵏv. At step zero even a zero eigenvalue contributes identity multiplier one; deletion occurs for k≥1. In an eigenbasis, each component acquires its own power multiplier.
For diag(2,1) and (1,1), the result is (2ᵏ,1), whose normalized direction approaches the horizontal axis. This requires a strictly dominant absolute eigenvalue and a nonzero starting component in that direction.
The lab uses a hypothetical fixed diagonal map. Distinguish normalized direction from unnormalized magnitude. Matrix growth here is not an economic forecast.
기초Foundations
22. 지배축 설명이 실패하는 경우22. When the dominant-axis story needs qualifications
diag(2,1)에서도 시작벡터가 (0,1)이면 가로성분은 끝까지 0입니다. 더 큰 고유값을 가진 방향이 있다고 그 성분이 저절로 생기지는 않습니다.
diag(−2,1)에서는 큰 절대배율이 음수라 정규화한 화살표가 양·음 가로방향을 번갈아 향합니다. 직선 방향으로는 접근하지만 부호를 고정한 벡터로는 그대로 수렴하지 않을 수 있습니다. diag(2,−2)는 절대값이 같아서 일반적인 성분비가 줄어들지 않습니다.
모든 고유값 절대값이 1보다 작으면 대칭행렬 반복의 원래 크기는 0으로 갑니다. 그렇다고 정규화된 방향까지 0벡터라는 뜻은 아닙니다. 출력이 정확히 0이면 더 이상 길이로 나눌 수 없습니다. 대각화되지 않는 일반행렬에는 10절의 다항식 배율 같은 추가 현상이 있습니다.
Starting at (0,1) under diag(2,1) never creates a horizontal component. A dominant eigendirection must be present initially.
For diag(−2,1), normalized arrows alternate sign while approaching the same eigenline. For diag(2,−2), tied absolute values prevent the usual component-ratio decay.
If all symmetric eigenvalues have magnitude below one, unnormalized powers tend to zero. This differs from the normalized direction. An exactly zero output cannot be normalized; defective general matrices can have additional polynomial factors.
기초Foundations
23. 실제 세 행렬에서 평균·단위·좌표를 바꾸어 읽기23. Read centering, units and coordinates in three actual matrices
첫 자료는 2024년 16개 국가의 실질 1인당 GDP와 기대수명입니다. 두 열을 그 16개국의 평균·분모 16 표준편차로 표준화한 중심 공분산은 [[1,ρ],[ρ,1]], ρ≈0.784471입니다. 고유값은 약 1.784471과 0.215529, 단위는 무차원입니다.
둘째는 2006-12-17 한 가구의 1440분 주방·세탁 사용량 Wh입니다. 열평균을 빼고 분모 1440으로 만든 공분산은 대략 [[46.388055,9.042896],[9.042896,77.397719]]입니다. 고유값 약 79.842087,43.943687의 단위는 Wh²입니다. 중복된 측정쌍도 실제 빈도만큼 포함합니다.
셋째는 앞 장의 Apple 매출 R에서 만든 비중심 RRᵀ입니다. 두 축은 FY2023·FY2024이고 단위는 (백만 미국달러)²입니다. 고유값은 약 1.0339043×10¹¹과 5.6552774×10⁷입니다. 평균을 뺀 품목 공분산이나 미래 성장률이라고 부르지 않습니다.
실습에서 자료를 바꿀 때 행렬 종류·중심화·분모·단위·축 이름도 함께 읽으세요. 세 수치의 크기를 같은 성과점수로 순위 매길 수 없습니다. 실제 사례에서 다운로드 경로와 고정 사본의 검산을 함께 제공합니다.
The first matrix uses GDP per person and life expectancy for 16 countries in 2024. Standardizing with those 16-country means and denominator-16 scales gives centered covariance [[1,ρ],[ρ,1]], with ρ≈0.784471 and dimensionless eigenvalues about 1.784471 and 0.215529.
The second uses 1440 minute records of kitchen and laundry Wh for one household on 2006-12-17. Centered covariance with denominator 1440 is approximately [[46.388055,9.042896],[9.042896,77.397719]], with eigenvalues 79.842087 and 43.943687 Wh². Repeated pairs retain their observed frequencies.
The third is uncentered RRᵀ from Apple filing sales. Coordinates are FY2023 and FY2024; eigenvalues are about 1.0339043×10¹¹ and 5.6552774×10⁷ in squared millions of US dollars. This is not centered category covariance or a future growth rate.
Read matrix type, centering, denominator, units and coordinate names when switching data. Their magnitudes are not comparable performance scores. Sourced cases provide fixed-copy reproduction details.
기초Foundations
24. 좌표 단위를 바꾸면 고유축도 바뀔 수 있다24. Coordinate-unit changes can change eigenaxes
같은 물리적 관측이라도 한 열만 1000으로 나누면 공분산의 대각·비대각 값이 서로 다른 배율로 바뀝니다. 이 변환은 일반적인 직교회전이 아니므로 고유값과 축이 달라질 수 있습니다. 원자료의 단위 효과와 실질적인 변동을 구별해야 합니다.
Hnew=HD,Σnew=DTΣD
모든 열을 같은 c배 하면 공분산은 c²배라 고유값은 c²배, 축은 같습니다. 반면 각 열을 다른 배율로 바꾸면 이 단순 결론은 성립하지 않습니다. 표준화는 단위를 없애는 동시에 각 열의 상대적인 중요도를 정하는 선택입니다.
직교좌표변환 QᵀΣQ는 같은 고유값을 유지합니다. 단위변환 DᵀΣD와 이를 혼동하면 안 됩니다. 국가의 표준화 축과 가구의 원 Wh축은 각각 어떤 질문을 강조하는지 먼저 설명해야 합니다.
Rescaling one feature changes covariance entries by different factors. This is generally not an orthogonal rotation, so eigenvalues and axes can change despite unchanged physical observations.
Hnew=HD,Σnew=DTΣD
A common multiplier c scales all eigenvalues by c² and preserves axes. Different feature multipliers need not. Standardization also chooses relative feature importance.
Orthogonal similarity QᵀΣQ preserves eigenvalues; unit rescaling DᵀΣD is a different operation. Explain the question behind standardized country axes versus raw household Wh axes.
기초Foundations
25. 수치 검산: 작은 음수·부호·중복을 처리하기25. Numerical checks handle tiny negatives, signs and repeated values
실무에서는 실수 대칭행렬 전용 eigensolver를 사용하고 Av−λv, QᵀQ−I, A−QΛQᵀ를 검산합니다. 일반행렬 알고리즘의 결과를 모양만 보고 실수 직교축으로 처리하지 않습니다.
이론적으로 PSD인 Gram 행렬에 아주 작은 음수 고유값이 계산되면 입력오차·대칭성·행렬 크기·반올림 허용치를 확인합니다. 근거 없이 모든 음수를 0으로 바꾸면 실제 부정부호도 숨길 수 있습니다. 행렬을 조정했다면 원값과 규칙을 별도로 남깁니다.
큰 값에서 뺄셈으로 작은 고유값을 구할 때 상쇄가 생길 수 있습니다. 안정적인 라이브러리와 단위에 맞는 상대 검산을 사용합니다. 반복·근접 고유값의 고유벡터는 유일하지 않거나 민감할 수 있으므로 한 화살표 좌표의 일치만으로 재현성 실패라고 판단하지 않습니다.
Use a symmetric eigensolver for real symmetric data, checking Av−λv, QᵀQ−I and A−QΛQᵀ. A general solver's output is not automatically a real orthogonal basis.
A tiny negative value in a theoretically PSD Gram problem requires scale-aware checks of inputs, symmetry and roundoff. Arbitrarily clipping all negatives can hide genuine indefiniteness. Record any adjustment separately.
Subtracting large nearby terms can lose a small eigenvalue. Use stable tools and scaled residuals. Repeated or close eigenspaces can give nonunique or sensitive vectors, so coordinate sign agreement alone is not a reproduction criterion.
기초Foundations
26. 다음 연결: 제곱손실의 곡률과 특잇값26. Next bridges: squared-loss curvature and singular values
15장의 SSE(β)=‖y−Xβ‖²에서 β를 d만큼 바꿀 때 생기는 제곱항은 dᵀXᵀXd입니다. XᵀX가 PSD라 어떤 방향에서도 이 항이 음수가 되지 않습니다. 전체열랭크이면 양의 곡률이 있고 계수가 유일합니다.
다변수 미분을 배운 뒤에는 Hessian이 2XᵀX라는 것을 유도합니다. 지금은 15장의 정확한 제곱전개로 연결만 확인합니다. 일반 최적화의 충분조건 전체를 아직 증명한 것으로 보지는 않습니다.
17장의 SVD는 직사각형 X의 정보방향을 다룹니다. XᵀX의 고유값과 특잇값의 제곱이 연결되며, 제곱을 만들 때 수치조건이 나빠질 수 있는 이유도 설명합니다. 오늘의 스펙트럼 구조가 이후 통계·머신러닝의 도구가 됩니다.
In least squares, a coefficient change d contributes quadratic term dᵀXᵀXd. Gram positivity makes this nonnegative; full column rank makes it positive for nonzero d and gives unique coefficients.
After multivariable differentiation, the Hessian will be 2XᵀX. Here the exact expansion from Chapter 15 supplies the connection without claiming to have proved all optimization conditions.
SVD next handles rectangular X, relating squared singular values to eigenvalues of XᵀX and explaining numerical-conditioning consequences. These structures later support statistics and machine learning.
기초Foundations
27. 국가·가구·기업의 고유축 사례27. Country, household and company eigenaxis cases
국가 사례 · 두 지표가 함께 움직이는 방향을 행렬로 읽기
2024년 16개국의 1인당 실질 GDP와 출생 시 기대수명 자료를 다시 사용합니다. 각 열에서 참조 평균을 빼고 같은 16개국의 표준편차(ddof=0)로 나눈 Z는 16×2입니다. 표준화 좌표에는 단위가 없으며 국가별 좌표의 해석은 앞 장들과 같습니다. GDP는 2015년 불변 USD/명이고, 기대수명은 당시 사망률 패턴을 유지한다는 조건의 집단 지표로 개인 수명 예측이 아닙니다.
이번에는 한 국가를 점수 매기지 않고, 선택한 두 열이 만드는 자료 전체의 방향을 봅니다. Σ=ZᵀZ/16의 대각 성분은 각각 1, 비대각 성분은 두 표준화 지표의 같은 표본 상관계수 ρ입니다. 이것은 16개 참조 국가 자체를 요약한 행렬이며 임의추출 모집단에 대한 불확실성을 추정한 것이 아닙니다.
Σ=161ZTZ=[1ρρ1],ρ≈0.784470983230
1. 숫자가 같은 두 대각 성분에서 직접 찾는 고유방향
Σ[11]=(1+ρ)[11],Σ[−11]=(1−ρ)[−11]
같이 커지는 방향 (1,1)과 한쪽이 커지고 다른 쪽이 작아지는 방향 (−1,1)을 곱해 보면 각각 자기 방향을 유지합니다. 이것이 고유벡터이고, 곱해진 1±ρ가 고유값입니다. 표의 벡터는 길이가 1이 되도록 √2로 나눴습니다. 두 방향은 서로 직교합니다.
실제 표준화 행렬의 고유쌍: 표시값 반올림
방향
단위길이 고유벡터의 좌표
고유값 (무차원)
큰 고유값
(0.70710678, 0.70710678)
1.784470983
작은 고유값
(-0.70710678, 0.70710678)
0.215529017
먼저 생각한 뒤 풀이 보기: 고유값이 약 1.78447인 것이 GDP가 78.4% 성장한다는 뜻인가요?
그렇지 않습니다. 단위길이 방향 v로 각 표준화 행을 투영한 좌표 Zv의 제곱평균이 vᵀΣv이고, v가 고유벡터이면 그 값이 고유값입니다. 같은 방향의 자료 변동을 나타낼 뿐, 시간의 성장률·정책 효과·개인 수명 증가가 아닙니다.
161∥Zv∥22=vTΣv=λ(∥v∥2=1,Σv=λv)
먼저 생각한 뒤 풀이 보기: 왜 이 행렬에서는 고유값이 음수가 될 수 없나요?
wTΣw=161∥Zw∥22≥0
모든 실수 벡터 w에 대해 제곱을 더한 값이므로 0 이상입니다. 이것이 양의 준정부호(PSD)의 뜻입니다. 이 실제 행렬의 두 고유값은 모두 양수여서 양의 정부호이기도 합니다. 일반적인 공분산에서는 정확한 선형 중복이 있으면 0인 고유값이 생길 수 있습니다.
먼저 생각한 뒤 풀이 보기: 고유벡터에 −1을 곱하면 다른 결론이 되나요?
고유공간의 방향선은 같습니다. 두 성분의 부호를 함께 바꾸면 같은 축의 반대 화살표가 됩니다. 부호만 다른 계산 결과를 국가 간 관계가 뒤집힌 것으로 해석하지 않습니다. 참조 국가·변수·척도를 바꾸는 것은 다른 분석입니다.
ρ는 이 선택한 국가들의 두 지표가 함께 달라지는 양상을 요약합니다. 국가 사이의 연관만으로 GDP를 올리는 개입이 기대수명을 얼마나 바꿀지 알 수 없고, 개인 수준의 관계로 그대로 옮길 수도 없습니다. 그림은 실제 표준화 좌표의 산점도이며 확률분포나 신뢰영역을 추가로 가정하지 않습니다.
2006년 12월 17일의 UCI 공개 전력 자료에서 주방 계통 Sub_metering_1과 세탁실 계통 Sub_metering_2의 분별 유효에너지(Wh)를 사용합니다. 두 열이 모두 있는 1,440개 기록을 모두 포함합니다. 앞 장의 분평균 총전력 kW와는 다른 변수이며, 두 열의 단위는 같은 Wh입니다. 세탁실 계통에는 세탁기뿐 아니라 건조기·냉장고·조명도 포함되므로 특정 기기 한 대의 사용량으로 읽지 않습니다.
두 열의 평균은 각각 약 1.411805556 Wh와 2.907638889 Wh입니다. 각 기록에서 평균을 뺀 행을 모아 H(1440×2)를 만들고, C=HᵀH/1440을 계산합니다. 두 대각 성분은 열별 변동, 비대각 성분은 함께 달라지는 부분을 요약합니다. 모두 Wh² 단위입니다.
원문에는 같은 (주방,세탁실) 쌍이 반복됩니다. 그림은 같은 좌표를 합친 76개 위치이며 빈도 합계는 1,440입니다. (0,0)은 실제로 756개 기록입니다. 공분산은 76개 위치를 동등하게 평균한 값이 아니라 원래 1,440개 관측에 같은 가중치를 준 값입니다. 좌표의 빈도를 무시하면 다른 행렬이 됩니다.
먼저 생각한 뒤 풀이 보기: 큰 고유값의 방향으로 좌표를 만들면 무엇을 얻나요?
표의 단위 고유벡터 v를 사용해 각 기록의 중심 좌표 h에 대해 vᵀh를 계산합니다. 그 좌표의 제곱평균은 약 79.842087443 Wh²이고, 직교하는 다른 방향의 제곱평균은 약 43.943687055 Wh²입니다. 두 값을 더하면 원래 두 대각 성분의 합과 같아집니다.
λ1+λ2=tr(C)≈123.7857744985Wh2
먼저 생각한 뒤 풀이 보기: 두 열을 함께 Wh에서 kWh로 바꾸면 고유값과 방향은?
HkWh=1000HWh,CkWh=106CWh
두 고유값은 100만분의 1이 되지만 방향은 같습니다. 단위 하나만 바꾸면 상대 척도가 달라져 고유방향도 달라질 수 있습니다. 큰 고유값이라는 말은 어떤 단위와 척도에서 큰지 함께 읽어야 합니다.
먼저 생각한 뒤 풀이 보기: 분모를 1,440 대신 1,439로 바꾸면?
Cddof=1=14391440Cddof=0
같은 중심화 자료에 공통 양수를 곱하므로 고유값은 그 배수가 되고 고유벡터의 방향은 같습니다. 여기서는 이 완전한 하루 자체의 변동을 기술하므로 분모 1,440을 사용했습니다. 이를 자동으로 독립 표본의 통계적 추정이라고 해석하지 않습니다.
이 행렬은 두 계통의 공변동을 요약합니다. 한 계통이 다른 계통을 작동시켰다는 인과 주장이나 생활 습관의 식별이 아닙니다. 기록 시각은 원문 그대로이며 시간대·분의 시작과 끝·순간 피크를 추정하지 않습니다. 다른 날짜나 다른 가구에서도 같은 방향일지는 별도 자료가 필요합니다.
Apple의 FY2023·FY2024 공시 순매출을 행으로, 같은 순서의 다섯 품목을 열로 둔 R(2×5)을 사용합니다. R은 직사각형이므로 이 장의 보통 고유값을 R 자체에 붙이지 않습니다. 대신 G=R Rᵀ라는 2×2 대칭행렬을 만듭니다. 이것은 평균을 빼거나 관측 수로 나누지 않은 비중심 Gram 행렬이며 공분산이라고 부르지 않습니다.
대각 성분은 각 연도 매출벡터의 제곱길이이고 비대각 성분은 두 연도 벡터의 내적입니다. 고유벡터는 두 회계연도 좌표를 조합하는 방향이지 다섯 품목의 비중 벡터가 아닙니다. 그림에서는 각 품목을 (FY2023 매출,FY2024 매출)의 점으로 놓아 이 두 좌표를 보여 줍니다.
비중심 G의 고유쌍: 실제 두 연도 매출에서 계산
방향
단위길이 고유벡터의 좌표
고유값 ((백만 USD)²)
큰 고유값
(0.70036470, 0.71378518)
103,390,430,556.158720552
작은 고유값
(-0.71378518, 0.70036470)
56,552,773.841279448
먼저 생각한 뒤 풀이 보기: 이 Gram 행렬도 왜 양의 준정부호인가요?
wTGw=wTRRTw=∥RTw∥22≥0
여기서 w는 두 연도 좌표에 붙일 임의의 실수 가중치입니다. 그 조합의 다섯 품목 값을 제곱해 더하므로 음수가 될 수 없습니다. 이것은 경제적으로 모든 조합이 실제 매출이라는 주장이 아니라 행렬의 대수적 성질입니다.
먼저 생각한 뒤 풀이 보기: 큰 고유값은 미래 매출 성장률이나 기업가치인가요?
아닙니다. 고유값의 단위부터 매출단위²입니다. 모든 매출을 백만 USD 대신 십억 USD로 적으면 G와 고유값은 100만분의 1이 됩니다. 시간의 성장률이라면 단위 표기만 바꿔 이렇게 달라지지 않을 것입니다. 여기서는 이미 공시한 두 연도 벡터의 크기와 유사한 방향을 요약합니다.
먼저 생각한 뒤 풀이 보기: 두 연도 행을 가정상 똑같이 복사하면 양의 정부호도 유지될까요?
R∗=[rTrT],R∗R∗T=∥r∥22[1111]
이는 실제 공시를 바꾼 수학적 가정입니다. 두 고유값은 2||r||²와 0이 되어 여전히 PSD이지만 양의 정부호는 아닙니다. (1,−1) 방향은 두 복사본을 상쇄합니다. 실제 두 공시 행은 서로 배수가 아니므로 선형독립이고, 작은 고유값도 양수입니다.
실제 작은 고유값은 약 56,552,773.841279이며 큰 고유값보다 작지만 0은 아닙니다. 고유값이 작다는 것만으로 작은 품목을 없애도 된다는 경영 결론을 내릴 수 없습니다. 다음 장의 SVD에서는 어떤 행렬과 어떤 손실을 줄이는 저차원 근사인지 명확히 정합니다. FY2023 53주/FY2024 52주, 명목 매출·가격·환율·물량의 차이도 그대로 남습니다.
Country case · Read joint directions of two indicators
Reuse 2024 real GDP per capita and life expectancy at birth for sixteen countries. Subtract each reference mean and divide by the corresponding population standard deviation (ddof=0) to obtain the dimensionless 16×2 matrix Z. GDP uses constant 2015 USD/person. Life expectancy is a population indicator conditional on prevailing mortality patterns, not an individual lifespan prediction.
Rather than scoring individual countries, examine directions of the whole two-column dataset. In Σ=ZᵀZ/16, diagonal entries equal one and the off-diagonal entry is the same-reference correlation ρ. The matrix describes these sixteen countries; it does not estimate sampling uncertainty about a randomly sampled population.
Σ=161ZTZ=[1ρρ1],ρ≈0.784470983230
1. Find directions directly from equal diagonal entries
Σ[11]=(1+ρ)[11],Σ[−11]=(1−ρ)[−11]
The together-changing direction (1,1) and contrasting direction (−1,1) stay on their own lines under multiplication. They are eigenvectors with eigenvalues 1±ρ. Divide by √2 for the unit-length versions in the table. The two directions are orthogonal.
Eigenpairs of the actual standardized matrix: rounded display
Direction
Unit eigenvector coordinates
Eigenvalue (dimensionless)
Larger eigenvalue
(0.70710678, 0.70710678)
1.784470983
Smaller eigenvalue
(-0.70710678, 0.70710678)
0.215529017
Think first, then reveal: Does the eigenvalue about 1.78447 mean GDP grows by 78.4%?
No. For a unit direction v, the mean squared projected coordinates Zv equal vᵀΣv; for an eigenvector this equals its eigenvalue. It measures variation along a chosen data direction, not a time growth rate, policy effect or individual lifespan gain.
161∥Zv∥22=vTΣv=λ(∥v∥2=1,Σv=λv)
Think first, then reveal: Why can this matrix have no negative eigenvalues?
wTΣw=161∥Zw∥22≥0
A sum of real squares is nonnegative for every w: positive semidefiniteness. Both actual eigenvalues are strictly positive here, so this matrix is also positive definite. Exact linear redundancy in other covariance matrices can produce zero eigenvalues.
Think first, then reveal: Does reversing the sign of an eigenvector reverse the conclusion?
No. Multiplying both components by −1 reverses the arrow on the same direction line. A sign difference alone does not reverse the substantive relationship. Changing the reference countries, variables or scales does change the analysis.
Correlation describes these selected country-level indicators. It does not identify how a GDP intervention changes life expectancy or establish the same relation among individuals. The figure shows actual standardized coordinates without adding a probability distribution or confidence region.
Household case · Separate two submeter channels into variation directions
Use all 1,440 records of kitchen and laundry active energy, Sub_metering_1 and Sub_metering_2, on 17 December 2006 in the public UCI dataset. Both columns have Wh units. These differ from the minute-averaged global kW variable. The laundry circuit includes a dryer, refrigerator and light as well as a washing machine, so it is not one appliance’s consumption.
The column means are about 1.411805556 and 2.907638889 Wh. Subtract them from each record to form H with 1,440 rows and two columns. Compute C=HᵀH/1440. Diagonal entries describe each column’s variation; the off-diagonal describes joint variation. Every entry has Wh² units.
Eigenpairs of the actual day’s centered covariance
Direction
Unit eigenvector coordinates
Eigenvalue (Wh²)
Larger eigenvalue
(0.26094306, 0.96535419)
79.842087443
Smaller eigenvalue
(-0.96535419, 0.26094306)
43.943687055
Identical kitchen/laundry pairs repeat. The scatter consolidates them into 76 locations with counts summing to 1,440; (0,0) occurs 756 times. Covariance weights the original 1,440 observations equally, not the 76 distinct locations equally. Ignoring the counts would produce a different matrix.
Think first, then reveal: What does a coordinate along the larger-eigenvalue direction represent?
For the table’s unit eigenvector v, calculate vᵀh for each centered record. Its mean square is about 79.842087443 Wh²; the orthogonal direction gives about 43.943687055 Wh². Their sum equals the sum of the original diagonal entries.
λ1+λ2=tr(C)≈123.7857744985Wh2
Think first, then reveal: What if both Wh columns are converted to kWh?
HkWh=1000HWh,CkWh=106CWh
Both eigenvalues scale by one millionth while directions stay the same. Changing only one column’s unit changes relative scaling and can change eigendirections. Read a large eigenvalue together with its units and scales.
Think first, then reveal: What if the denominator changes from 1,440 to 1,439?
Cddof=1=14391440Cddof=0
The same centered matrix is multiplied by a common positive factor, scaling eigenvalues without changing eigendirections. We use denominator 1,440 to describe the complete chosen day itself, without automatically claiming independent-sample statistical inference.
Covariation does not establish that one circuit caused another to operate or identify personal habits. Keep recorded timestamps without inferring a timezone, minute boundaries or instantaneous peaks. Other days or households require separate observations.
Company case · How does a sales Gram matrix differ from covariance?
Place Apple’s actual FY2023/FY2024 net sales in the rows of R, with the same five product/service categories as columns. This 2×5 matrix is rectangular, so do not assign this chapter’s ordinary eigenvalues to R itself. Instead construct symmetric G=R Rᵀ. It is an uncentered Gram matrix without subtracting means or dividing by a count, not a covariance matrix.
Diagonal entries are squared lengths of annual sales vectors; the off-diagonal is their inner product. Eigenvectors combine two fiscal-year coordinates, not five category shares. The scatter places each category at its (FY2023 sales, FY2024 sales) coordinates.
Eigenpairs of uncentered G from actual annual sales
Direction
Unit eigenvector coordinates
Eigenvalue ((million USD)²)
Larger eigenvalue
(0.70036470, 0.71378518)
103,390,430,556.158720552
Smaller eigenvalue
(-0.71378518, 0.70036470)
56,552,773.841279448
Think first, then reveal: Why is this Gram matrix positive semidefinite?
wTGw=wTRRTw=∥RTw∥22≥0
For any real weights w on the two year coordinates, the expression is a sum of five squared combined category values. Nonnegativity is an algebraic property, not a claim that every mathematical combination is a physically reported sales vector.
Think first, then reveal: Is the large eigenvalue a future sales growth rate or company value?
No. It has squared sales units. Expressing every entry in billions instead of millions scales G and its eigenvalues by one millionth. A genuine time-growth rate would not change this way under a common unit conversion. These eigenpairs summarize size and directional similarity of already disclosed sales vectors.
Think first, then reveal: Would positive definiteness survive hypothetically copying one year into both rows?
R∗=[rTrT],R∗R∗T=∥r∥22[1111]
This is a hypothetical duplicate, not the actual filing. Eigenvalues become 2||r||² and zero: still PSD, but not positive definite. Direction (1,−1) cancels the copies. Actual year rows are not exact duplicates or proportional, so the smaller actual eigenvalue is positive.
The smaller actual eigenvalue is about 56,552,773.841279, small relative to the larger but nonzero. A small eigenvalue does not by itself justify eliminating a business category. The SVD chapter will specify which matrix and loss define a low-rank approximation. Unequal 53/52-week fiscal years and nominal price, exchange-rate and quantity differences remain unadjusted.
Verify eigenpairs directly and derive the 2×2 characteristic polynomial. Use rotation and shear counterexamples to reject automatic real eigenbases, then explain the special symmetric conditions. Assess PSD through all-direction quadratic values, not entrywise signs.
Record centering, units, denominators and coordinate order. Reproduce decompositions and residuals rather than demanding identical vector signs or repeated-space bases.
The exposition follows this series' learning sequence rather than completing general complex spectral theory. Next comes a full treatment of SVD for rectangular data.
자료 묶음을 풀고 코드와 실제데이터 폴더를 함께 두세요. 터미널에서 코드 파일이 있는 폴더로 이동해 아래 명령을 실행합니다. 코딩이 처음이라면 손계산과 웹 실습을 먼저 하고, 데이터 사이언스 입문에서 코드를 배운 뒤 돌아와도 됩니다.Extract the bundle, keeping the scripts beside the data folder. In a terminal, enter the script folder and run the commands below. Beginners can complete hand calculations and browser labs first, returning to code after studying introductory data science.
결과 파일은 각 코드에 지정된 결과 폴더에 저장됩니다. CSV 원자료는 덮어쓰지 않습니다.Result files are saved in the result directory specified by each script; the input CSVs are not overwritten.
영상·학자·함께 읽기Videos, thinkers and guided reading
본문의 질문을 넓히는 선택 학습입니다. 영상을 보기 전 질문을 먼저 읽고, 자신의 답을 쓴 뒤 해설과 비교하세요. 자료의 언어·선수 지식은 각 항목에 표시했습니다.Optional extensions to the chapter. Read the question first, write your answer, then compare with the explanation. Language and prerequisites are indicated below.
고유벡터와 고유값: 방향을 유지하는 행렬의 작용Eigenvectors and eigenvalues
3Blue1Brown · Grant Sanderson
본문의 공식 영어 영상에서 방향선을 유지하는 벡터를 찾아보세요. 국가의 두 고유방향을 실제 행렬에 곱하는 계산과 연결합니다.Use the official English video to identify vectors whose direction lines are preserved. Connect the picture to multiplying the two country eigenvectors by the actual matrix.
교재 안의 YouTube 플레이어에서 재생합니다. 원영상에서 제공하는 자막은 플레이어의 CC·설정에서 선택할 수 있습니다.Playback stays in this chapter’s YouTube player. Available captions can be selected through CC/settings.
보고 읽은 뒤 답하기Respond after watching/reading0벡터도 A0=λ0이니 고유벡터인가요?Is zero an eigenvector because A0=λ0?
생각을 점검하는 해설Check your reasoning
고유벡터는 정의상 0이 아닌 벡터입니다. 0은 어떤 λ에도 식이 맞아 특정한 방향과 배율을 구분해 주지 못합니다. 고유값 자체는 0일 수 있습니다.An eigenvector is nonzero by definition. Zero satisfies the equation for every λ without identifying a direction and scale. An eigenvalue itself may be zero.
레일리 · 파동과 측정에서 수학적 방향으로Lord Rayleigh: waves, measurement and mathematical directions
University of St Andrews · MacTutor
대학 아카이브는 존 윌리엄 스트럿, 레일리(1842–1919)의 파동 이론과 측정 연구를 소개합니다. 물리 모형의 방향과 자료 공분산의 방향이 같은 대수 언어를 쓰더라도 해석은 다르다는 점을 생각해 봅니다.The university archive introduces John William Strutt, Lord Rayleigh (1842–1919), waves and measurement. Physical-model directions and covariance directions can share algebra while retaining different meanings.
보고 읽은 뒤 답하기Respond after watching/reading국가 통계의 고유값을 물리적 진동수라고 불러도 될까요?Can an eigenvalue of country statistics be called a physical vibration frequency?
생각을 점검하는 해설Check your reasoning
어떤 행렬과 단위에서 나온 값인지 확인해야 합니다. 이 장의 국가 행렬은 표준화 공분산이므로 자료의 방향별 변동이지 진동 방정식의 주파수가 아닙니다.Check the matrix and units. Here the standardized covariance describes variation along statistical directions, not a frequency from a physical vibration equation.
고유벡터의 정의와 직접 대입 검산Eigenvector definitions and direct substitution
Georgia Tech · Interactive Linear Algebra §5.1
정사각형 행렬·비영 고유벡터·0일 수도 있는 고유값의 정의를 읽습니다. 실수대칭이라는 조건이 붙기 전에는 모든 실수행렬의 고유값이 실수라고 가정하지 않습니다.Read square-matrix, nonzero-eigenvector and possibly zero-eigenvalue definitions. Before imposing real symmetry, do not assume every real matrix has only real eigenvalues.
보고 읽은 뒤 답하기Respond after watching/reading기업의 2×5 매출 행렬 R에 바로 Av=λv 공식을 적용할 수 있나요?Can the ordinary Av=λv eigenproblem be applied directly to the 2×5 sales matrix R?
생각을 점검하는 해설Check your reasoning
이 장의 보통 고유문제는 정사각행렬을 대상으로 합니다. 여기서는 R Rᵀ를 만들었고, 다음 SVD에서 직사각형 R 자체의 구조를 다룹니다.The ordinary eigenproblem here requires a square matrix. We formed R Rᵀ; the next chapter uses SVD for rectangular R itself.
실수대칭행렬과 직교 고유기저Real symmetric matrices and an orthonormal eigenbasis
MIT OpenCourseWare · 18.06SC Lecture 25 summary
요약 PDF의 1쪽과 2쪽 위쪽에서 실수대칭행렬의 실수 고유값·직교 고유기저와 QΛQᵀ 분해를 읽습니다. 뒤의 피벗 요령을 영 피벗이 있는 모든 행렬에 그대로 적용하지 않습니다.Read page one and the top of page two on real eigenvalues, an orthonormal eigenbasis and QΛQᵀ for real symmetric matrices. Do not extend later pivot shortcuts unconditionally to zero-pivot cases.
보고 읽은 뒤 답하기Respond after watching/reading고유벡터 두 개와 고유값을 알면 원래 대칭행렬은?How do two orthonormal eigenvectors and eigenvalues recover the symmetric matrix?
생각을 점검하는 해설Check your reasoning
A=λ₁v₁v₁ᵀ+λ₂v₂v₂ᵀ로 복원합니다. 벡터 길이를 1로 맞추고 직교를 확인해야 이 형태를 그대로 쓸 수 있습니다.Use A=λ₁v₁v₁ᵀ+λ₂v₂v₂ᵀ. This form requires unit-length, mutually orthogonal vectors.
연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof
먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.
1. 대각행렬의 두 축Two diagonal eigenaxes
A=diag(2,−1)에 (1,0),(0,1),(1,1)을 넣어 어느 것이 고유벡터인지 판단하세요.
Apply diag(2,−1) to (1,0),(0,1),(1,1). Which are eigenvectors?
풀이와 확인할 이유Solution and explanation
출력은 (2,0),(0,−1),(2,−1)입니다. 앞 둘은 각각 고유값 2,−1의 고유벡터입니다. 마지막은 두 성분에 같은 배율이 맞지 않아 아닙니다. 음수 고유값도 허용됩니다.
The outputs are (2,0),(0,−1),(2,−1). The first two have eigenvalues 2 and −1; the third cannot use one common multiplier.
2. 고유값 0의 예A zero eigenvalue
P=diag(1,0), v=(0,3)은 고유쌍을 만들까요?
Does P=diag(1,0), v=(0,3) define an eigenpair?
풀이와 확인할 이유Solution and explanation
v는 0이 아니고 Pv=0이므로 고유값 0의 올바른 고유벡터입니다. 지워지는 방향을 나타냅니다. 고유값이 0이라는 이유로 고유벡터까지 0이어야 하는 것은 아닙니다.
Yes. The vector is nonzero and Pv=0v, so its eigenvalue is zero. It is a deleted direction.
3. 왜 영벡터는 제외할까Why exclude zero?
A0=7·0이 맞으면 모든 A가 고유값 7을 갖는다고 해도 될까요?
Does A0=7·0 prove every matrix has eigenvalue seven?
풀이와 확인할 이유Solution and explanation
안 됩니다. 영벡터는 모든 λ에 대해 식을 만족하므로 특별한 고유배율을 판별하지 못합니다. 고유벡터의 비영 조건이 바로 이 허위 결론을 막습니다.
No. Zero satisfies the equation for every multiplier and is excluded by the eigenvector definition.
4. 고유벡터의 부호와 길이Eigenvector sign and length
Av=3v, v≠0일 때 −2v와 v/‖v‖의 고유값은?
If Av=3v with nonzero v, what values correspond to −2v and v/‖v‖?
풀이와 확인할 이유Solution and explanation
선형성으로 A(−2v)=3(−2v)이며 단위화한 벡터도 같습니다. 고유값은 모두 3입니다. 부호와 길이는 표현 선택이고 고유직선은 유지됩니다.
Both still have eigenvalue three by linearity. Sign and normalization change the representation, not the eigenline.
5. 특성식 직접 전개Expand a characteristic polynomial
A=[[2,1],[1,2]]의 det(A−λI)를 전개하고 근·합·곱을 확인하세요.
Expand det(A−λI) for [[2,1],[1,2]] and check the root sum and product.
The Gram matrix is [[5,10],[10,20]], with eigenvalues 25 and 0. Direction (−2,1) is erased, so the form is PSD but not PD.
23. 두 관측의 중심 공분산Centered covariance of two observations
관측 (1,2),(3,4)에서 분모 n=2의 공분산을 구하세요.
Find denominator-two covariance for observations (1,2),(3,4).
풀이와 확인할 이유Solution and explanation
평균은 (2,3), 중심행은 (−1,−1),(1,1)입니다. HᵀH/2=[[1,1],[1,1]]이며 고유값 2,0입니다. 서로 다른 두 행이라고 항상 두 독립적인 특성방향을 주는 것은 아닙니다.
The mean is (2,3), giving centered covariance [[1,1],[1,1]] with eigenvalues 2 and 0. Distinct rows do not automatically provide independent feature directions.
24. 중심화하지 않은 표와 비교Compare an uncentered table
Z의 행이 (1,2),(3,4)일 때 ZᵀZ/2와 앞 문제의 중심 공분산을 비교하세요.
For rows (1,2),(3,4), compare ZᵀZ/2 with centered covariance.
풀이와 확인할 이유Solution and explanation
비중심 값은 [[5,7],[7,10]]이고 중심 값은 [[1,1],[1,1]]입니다. 차이는 평균 외적 [[4,6],[6,9]]입니다. 평균 수준을 포함한 Gram과 중심 변동의 공분산은 같은 대상이 아닙니다.
The uncentered result is [[5,7],[7,10]]. Subtracting the mean outer product [[4,6],[6,9]] gives centered [[1,1],[1,1]].
25. 분모 n−1로 바꾸기Switch to denominator n−1
n=2 중심 공분산의 고유값이 2,0입니다. 같은 H에 분모 n−1을 쓰면?
A denominator-two centered covariance has eigenvalues 2 and 0. What happens with denominator one?
풀이와 확인할 이유Solution and explanation
행렬이 2배이므로 고유값은 4,0이고 고유축은 같습니다. 자료나 중심화가 바뀐 것은 아니지만 수치의 분모 정의가 달라졌습니다.
The matrix doubles, giving eigenvalues 4 and 0 with the same axes. The denominator convention changed, not the observations.
26. 행렬의 세 번 적용Three repeated applications
A=diag(2,1), x=(1,1)에서 A³x와 두 성분의 비를 구하세요.
For diag(2,1), x=(1,1), find A³x and the second-to-first ratio.
풀이와 확인할 이유Solution and explanation
(8,1)이고 둘째/첫째 비는 1/8입니다. 일반 k에서 2⁻ᵏ로 줄어 가로 고유직선으로 가까워집니다. 크기를 정규화했는지와 원래 크기는 별도로 기록합니다.
The result is (8,1), ratio 1/8. Generally the ratio is 2⁻ᵏ while unnormalized magnitude grows.
27. 시작성분이 없는 경우A missing initial component
A=diag(2,1), x=(0,1)을 반복하면 큰 고유값 2의 방향으로 갈까요?
Do powers of diag(2,1) applied to (0,1) approach the eigenvalue-two direction?
풀이와 확인할 이유Solution and explanation
아닙니다. 모든 k에서 (0,1)입니다. 가로 성분이 처음부터 0이라 생성되지 않습니다. 절대지배 고유값만으로는 정규화 방향의 수렴 조건이 충분하지 않습니다.
No. Every result remains (0,1). The dominant component is absent initially.
28. 음수 지배값과 부호Negative dominance and sign
A=diag(−2,1), x=(1,1)에서 짝수·홀수 반복의 가로 부호를 설명하세요.
Explain even and odd powers of diag(−2,1) applied to (1,1).
풀이와 확인할 이유Solution and explanation
가로는 (−2)ᵏ라 짝수에 양수, 홀수에 음수입니다. 정규화한 벡터는 ±가로축 사이로 번갈아 가지만 하나의 직선으로는 접근합니다. 벡터 수렴과 직선 방향 접근을 구별합니다.
The horizontal sign alternates. Normalized vectors need not converge to one signed vector, although the lines they span approach the dominant eigenline.
29. 절대값이 같은 두 배율Tied absolute multipliers
A=diag(2,−2), x=(1,1)을 정규화하며 반복하면 한 축만 남나요?
Do normalized powers of diag(2,−2) from (1,1) leave only one axis?
풀이와 확인할 이유Solution and explanation
두 성분 크기가 항상 같고 부호만 바뀌므로 한 축으로의 성분비 감소가 없습니다. |λ₁|>|λ₂|라는 엄격한 조건이 빠진 경우입니다.
No. Component magnitudes remain equal. The strict absolute-eigenvalue gap required for the usual dominance argument is missing.
30. 모든 배율이 작을 때All multipliers below one
A=diag(1/2,1/4), x=(1,1)에서 원래 벡터와 정규화 방향은 각각 어떻게 되나요?
For diag(1/2,1/4) from (1,1), compare unnormalized values with normalized directions.
풀이와 확인할 이유Solution and explanation
원래 값은 (2⁻ᵏ,4⁻ᵏ)로 0에 갑니다. 그러나 둘째/첫째 비는 2⁻ᵏ라 정규화 방향은 가로축으로 갑니다. 0으로 가는 크기와 방향의 극한을 구별합니다.
Magnitudes tend to zero, but the component ratio tends to zero too, so normalized directions approach the horizontal axis.
31. 실제 국가 표준화 행렬Actual standardized country matrix
Σ=[[1,ρ],[ρ,1]], ρ≈0.784471에서 두 고유값·trace·단위를 구하세요.
For [[1,ρ],[ρ,1]], ρ≈0.784471, find eigenvalues, trace and units.
풀이와 확인할 이유Solution and explanation
(1,1) 방향은 1+ρ≈1.784471, (1,−1)은 1−ρ≈0.215529입니다. 합은 2로 trace와 같습니다. 두 열을 표준화했으므로 무차원이며 국가의 성장률이나 인과효과가 아닙니다.
The values are 1±ρ, summing to two. Standardization makes them dimensionless, not growth rates or causal effects.
32. 실제 가구 공분산의 단위Actual household covariance units
주방·세탁의 좌표가 Wh이면 공분산과 그 고유값의 단위는? 1440개의 중복 측정쌍은 한 번씩만 남겨도 될까요?
With kitchen and laundry in Wh, what are covariance/eigenvalue units? May repeated pairs be reduced to one occurrence each?
풀이와 확인할 이유Solution and explanation
공분산과 고유값은 Wh²입니다. 중복쌍의 관측빈도를 없애면 평균과 공분산이 다른 자료가 됩니다. 전체 1440분을 사용하거나 압축표의 빈도가중치를 유지해야 합니다.
The unit is Wh². Removing frequencies changes the data distribution. Retain all 1440 records or equivalent frequency weights.
33. 기업 Gram의 좌표공간Company Gram coordinates
R이 두 연도×다섯 품목 매출표입니다. RRᵀ의 크기·좌표·단위를 설명하세요.
For two-year by five-category sales R, state the shape, coordinates and unit of RRᵀ.
풀이와 확인할 이유Solution and explanation
2×2이며 좌표는 두 회계연도입니다. 단위는 (백만 미국달러)²입니다. 중심화하지 않았으므로 품목 공분산이라고 부르지 않으며 큰 고유값을 미래 성장으로 읽지 않습니다. RᵀR의 5개 품목 좌표와도 다릅니다.
It is 2×2 in fiscal-year coordinates, with squared million-dollar units. It is uncentered Gram, not centered category covariance or future growth.
34. 한 열의 단위를 바꾸면Rescaling one coordinate
Σ=diag(4,1)에서 첫 열의 값을 1/10배해 D=diag(0.1,1)을 적용합니다. 새 공분산과 큰 고유축은?
Apply D=diag(0.1,1) to covariance diag(4,1). What happens to the dominant axis?
풀이와 확인할 이유Solution and explanation
DᵀΣD=diag(0.04,1)입니다. 원래 큰 축은 첫째였지만 새 큰 축은 둘째입니다. 단위·가중눈금의 변화가 고유축을 바꿀 수 있음을 보여 줍니다. 직교회전과 다른 변환입니다.
The new covariance is diag(0.04,1), moving the dominant axis from the first coordinate to the second. Unit rescaling differs from orthogonal rotation.
35. 작은 음수를 무조건 지워도 될까May a tiny negative be erased automatically?
이론적 Gram 계산에서 −10⁻¹² 고유값이 나왔습니다. 항상 0으로 바꾸고 PSD라고 결론낼까요?
A theoretical Gram calculation returns −10⁻¹². Should it always be clipped to zero?
풀이와 확인할 이유Solution and explanation
입력과 행렬 크기·단위·대칭성·반올림 기준을 먼저 확인합니다. 작은 상대오차일 수도 있지만 잘못된 자료처리나 실제 부정부호를 숨길 수도 있습니다. 조정은 근거 있는 허용정책 아래 원값과 별도로 기록합니다.
No automatic rule follows. Check scale, units, symmetry, inputs and tolerances. Document any justified adjustment separately rather than hide possible errors.
자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.