A7 · Lesson 48 · Change of basis
The same action, seen from a better angle
A motor drive measures three phase currents that swing back and forth 60 times a second, yet its control loop regulates two steady numbers. The trick is to describe the currents in a coordinate frame that spins along with the rotor's magnetic field. Seen from that spinning frame, the rotating current vector stands still, and AC becomes DC. That's a change of basis: the physics doesn't change, only the coordinates you describe it in. Picking the right basis is how hard problems become easy ones.
- The current vector turns at = 1 (in units of the line frequency). The curves show its two coordinates in a frame turning at speed .
- At the frame stands still and you see the AC currents themselves. At the frame turns with the vector.
- Set to 1. What do the coordinates do? Now set it a little off 1.
Predict
A matrix is rewritten in a new basis as . Which of these stays the same?
The eigenvalues. describes the same transformation as , just in different coordinates, and a stretch factor along a direction doesn't depend on how you label points. The eigenvectors are the same arrows too, but their coordinates change: 's eigenvectors are times 's. The trace and determinant, built from the eigenvalues, stay the same as well.
Name it
Linear transformations
A linear transformation takes vectors to vectors and respects combinations:
Rotations, projections, stretches and derivatives are all linear. Choose a basis, record where sends each basis vector as a column, and you have 's matrix in that basis.
For example, on polynomials of degree at most 2 with basis , the derivative sends , , :
Change of basis
If the columns of are a new basis, a vector with new coordinates is in the old ones, so . A transformation with matrix in the old basis has matrix
in the new one: convert to old coordinates, apply , convert back. and are similar: same eigenvalues, trace, determinant and rank.
The best basis is usually the eigenvectors, where is diagonal (lesson 34), or for a symmetric matrix the orthonormal eigenvectors, where .
The Park transform
After the Clarke transform (lesson 18), a balanced three-phase set is a vector turning at the line frequency. Express it in a basis that rotates with angle :
The result is constant. Field-oriented motor control and grid-tied inverters (S11, S12) regulate and with ordinary DC controllers.
Worked example
Find the matrix of reflection across the line , in the standard basis and in the basis .
Show the solution
- Standard basis. and , so
- New basis. lies on the line and stays put; is perpendicular and flips. So
- Compare. Same reflection, much simpler matrix, because the new basis is its eigenvectors.
Answer in the standard basis and in the basis .
Worked example
A balanced set with peak 170 V leads the reference angle by 30°. What are and ?
Show the solution
- The alpha-beta components.
- Rotate by . That removes , leaving both constant.
Answer = 147.2 V and = 85 V, both constant.
Worked example
Find the matrix of differentiation on polynomials of degree at most 2, in the basis .
Show the solution
- It has a matrix. Differentiation is linear, so it has a matrix, whose columns are the images of the basis.
- Images of the basis.
- In coordinates.
- Its properties. Its null space is the constants and its rank is 2. Also, : differentiating a quadratic three times leaves nothing.
Answer has rows , and .
Check
In the basis , what is the entry of the derivative's matrix in row 2, column 3?
Check
The basis is and . What is the first coordinate of in it?
Check
has trace 5 and determinant 6. What is the trace of ?
Check
A balanced three-phase set with peak 100 V leads the reference angle by 20°. What is ?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
In the basis of its eigenvectors, what does the matrix of a projection onto a line in the plane look like?
Check
The vector turns at 1 rad/s and the frame at 1.1 rad/s. How long does the vector take to go once around, as seen from the frame?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
has matrix in the basis , .
(a)
What is the coordinate of ?
(b)
And its coordinate?
Check
Differentiate using the matrix in the basis .
Step 1
What is the constant term of the result?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is the coefficient of ?
Explain why
Why do similar matrices and have the same eigenvalues?
They describe the same transformation in two different coordinate systems. If , then , so is an eigenvector of the new matrix with the same eigenvalue. Algebraically, . A stretch factor along a direction is a geometric fact, independent of the coordinates used to describe it.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.