- Learn
- Mathematics
- University Math
- Linear Algebra 1
- Linear Transformations
Linear Independence and Linear Transformations
BeginnerLesson 2 of 9 in Linear Algebra 1 Course
What you will learn
- Build linear combinations, picture the span of a few vectors as a point, line, plane or whole space, and use row reduction to decide which vectors a set can reach.
- Form linear combinations and decide whether a vector lies in a spanWrite linear combinations of vectors, describe their span geometrically, and test whether a given vector is in the span by solving a linear system.
- Decide when a set of vectors spans the whole spaceUse the pivots of a coefficient matrix to decide whether its columns span all of the space, and describe which vectors they reach when they do not.
- Form linear combinations and decide whether a vector lies in a span
- Use the definition and row reduction to test sets of vectors for linear independence, find dependence relations, apply quick tests, and connect independence with span.
- Test for linear independence by row reductionApply the definition of linear independence, test a set by solving a homogeneous system, and write a dependence relation when one exists.
- Recognize independence and dependence quicklyUse the special cases for one and two vectors, the zero vector and too many vectors, and the link between dependence and one vector being a combination of the others.
- Connect span, independence and pivotsCompare what pivots in rows and in columns say about a set of vectors, see how removing redundant vectors keeps the span, and recognize sets that both span and are independent.
- Test for linear independence by row reduction
- Recognize linear transformations between spaces of vectors, compute images and pre-images with matrices, and find the matrix that represents a given linear transformation.
- Recognize transformations and test whether they are linearUse the language of domain, codomain, image and range, see matrices as transformations, and decide whether a rule is linear from the definition.
- Compute images, pre-images and the range of a matrix transformationApply a matrix transformation to vectors, solve for the vectors that map to a given output, describe the range as a span, and use linearity to find new images from known ones.
- Find the standard matrix of a linear transformationBuild the matrix of a linear transformation from the images of the standard basis vectors, whether the transformation is given by a formula, by images of the standard vectors or by images of other vectors.
- Recognize transformations and test whether they are linear
- Write and interpret the matrices of rotations, reflections, scalings, shears and projections, describe their effect on shapes, and combine transformations.
- Write matrices for rotations and reflectionsFind the standard matrices of rotations about the origin and reflections in lines through the origin in the plane, and of rotations and reflections about the coordinate axes and planes in space.
- Write matrices for scalings, shears and projectionsFind and interpret the standard matrices of expansions, contractions, horizontal and vertical shears, and projections onto coordinate axes, coordinate planes and lines through the origin.
- Describe the effect of a transformation and combine transformationsRead the geometric action of a 2 × 2 matrix from its columns, find images of shapes, and build the matrix of one transformation followed by another.
- Write matrices for rotations and reflections
- Use the definitions and the pivot tests to decide whether a linear transformation is one-to-one, onto, both or neither, and interpret the answer for systems and geometric maps.
- Apply the definitions and pivot tests for one-to-one and onto mapsState what one-to-one and onto mean, link them to the existence and uniqueness of solutions, and test a transformation with its standard matrix.
- Use matrix size and geometry to classify transformationsUse the size of the standard matrix to rule out one-to-one or onto, handle the square case, and classify the geometric transformations of the plane and space.
- Apply the definitions and pivot tests for one-to-one and onto maps
Linear Transformations study guide
1Find the vectors a set can reach
A few vectors can generate a line, a plane, or an entire space by being scaled and added. The central question is whether a target vector can be built from them. You will turn that question into a linear system, interpret the answer geometrically, and then move from checking a single target to checking every target in the space. Row reduction provides evidence for both kinds of claim.
1.1 Build vectors with linear combinations
A linear combination scales vectors and adds the results. The scalars are called weights. They may be any real numbers, including negative numbers and fractions. Vectors such as represent columns; their entries stay in the same order during every calculation.
Scale first, then add
For and , calculate
The first weight acts on both entries of the first vector. Then matching entries are added. A negative weight reverses the direction of a vector before scaling its length.
The span, written , is the set of all possible linear combinations. The listed vectors are generators, not a list of every vector in the span. Choosing all weights zero gives the zero vector; choosing one weight 1 and the others zero gives a generator itself.
Picture all the combinations
The span of the zero vector alone is just the origin. A nonzero vector spans the whole line through the origin in its direction, because its weight may be positive, zero, or negative. Two nonzero vectors on the same line still span only that line. Two vectors in three dimensions that are not multiples span a plane through the origin. In particular, a span cannot be a line or plane shifted away from the origin.
Test a target with a system
To decide whether is in a span, solve
Put the generators in the columns of a matrix and the target in the augmented column. Then row reduce . A contradiction, such as a row representing , means there are no suitable weights. If the system is consistent, any solution supplies them.
Take , , and . The vector equation gives
The second equation gives , and the first gives . The third is satisfied because . Thus . If the target changes to , the first two equations force the same weights, but the third fails. That vector lies off the spanned plane.
Read the matrix product as a combination
If , then
So matrix multiplication and span membership describe the same calculation from different directions: multiply to obtain a target from known weights; solve a system to recover weights for a target. Placing generators in rows reverses those roles and builds the wrong system. Also, a set of weights must satisfy every coordinate equation at once; agreement in the first two coordinates cannot settle a three-coordinate problem.
Key Takeaways
- The span is the set of all linear combinations, with arbitrary real weights.
- Every span contains the origin; one nonzero vector spans a line through it.
- Put generators in columns and test membership by solving .
- A consistent system gives weights; a contradictory row rules out membership.
1.2 Test whether the span fills the space
Reaching one target and reaching every target are different claims. A set spans when every vector with entries is one of its linear combinations. The whole-space test asks about the coefficient matrix itself.
Look for a pivot in every row
For an matrix , these statements are equivalent:
- is consistent for every .
- The columns of span .
- has a pivot in every row.
Put the generators into columns, reduce to echelon form, and check the rows. Each row pivot lets the system accommodate another coordinate condition. If a row of the reduced coefficient matrix is zero, some targets produce a nonzero augmented entry in that row and make the system inconsistent.
For and , the coefficient matrix reduces as follows:
There is a pivot in both rows, so these columns span . This establishes reachability for every target, without solving a new system for each one.
The row test works without knowing the target because row operations preserve consistency. When every coefficient row has a pivot, no row of the reduced augmented system can have all-zero coefficients and a nonzero right-hand side. There may be free weights if there are extra columns, but you can set those weights to zero and solve the pivot equations by back substitution. Free weights do not prevent reaching every target; they offer different ways to reach it.
Describe a span that is smaller
Now use the columns , , and . The third column is the sum of the first two. Subtract row 1 and then row 2 from row 3:
The missing third-row pivot means that the columns do not span . To find exactly what they reach, carry a general target through the same row operations. The last augmented entry becomes , so consistency requires
This equation describes their plane through the origin. The vector is in it, but is not. The condition is also sufficient: choose weights and the resulting combination is .
Use the count as an early check
Fewer than vectors cannot span . There can be at most one pivot per column, so two columns cannot supply three row pivots. Having at least vectors makes spanning possible, but the actual directions still matter. For example, , , and all lie on one line despite being three vectors in the plane.
Use the coefficient matrix for the whole-space test. Reducing an augmented matrix for a particular target answers only whether that target is reachable. Even many successful target checks can miss a direction that the columns never reach.
Key Takeaways
- The columns span exactly when the coefficient matrix has a pivot in every row.
- Fewer than vectors cannot span ; having enough vectors alone is insufficient.
- A general augmented target can reveal an equation describing a smaller span.
2Find redundancy and unique weights
A set can reach many vectors while still containing a vector it does not need. Linear independence detects that redundancy by asking how the zero vector can be formed. You will use homogeneous systems and quick geometric tests, then connect the results to span. The distinction explains when a reachable vector has unique weights and why a basis gives just enough vectors to describe the whole space.
2.1 Use a homogeneous system to test independence
Every set of vectors can produce zero by using all-zero weights. Linear independence means this is the only way to do it. Linear dependence means that some choice of weights, not all zero, also produces zero.
The definition gives the test
For columns , solve
The all-zero solution is the trivial solution. A solution with at least one nonzero entry is nontrivial. The word nontrivial does not require every weight to be nonzero.
With the vectors in the columns of , this is the homogeneous system . Row reduce and look at columns: a pivot in every column means there are no free variables, so only the trivial solution remains. Any column without a pivot gives a free variable and therefore a nontrivial solution. The zero augmented column may be omitted because row operations leave it zero.
Find a dependence relation
Consider , , and . Their matrix is
Subtract twice row 1 from row 2, then subtract the new row 2 from row 3. This gives
Column 3 has no pivot. The equations say and . Choose to get . Therefore
This is a dependence relation. Substitution checks it coordinate by coordinate: . Solving for the third vector shows what was redundant: .
If instead the third vector is , the same operations leave a final entry 2 in the third row. All three columns then have pivots. No nontrivial relation remains, so this changed set is independent.
Describe all the zero combinations
Leaving in the dependent example gives . The value gives the trivial solution, and every nonzero gives a dependence relation. For instance, gives . These are different weight lists expressing the same redundancy. Because row operations preserve the solutions of the homogeneous system, the weights found from the reduced matrix apply to the original vectors; check the relation there, not against a newly interpreted list of reduced columns.
A zero row does not settle independence
The two vectors and form a matrix. Reduction gives two column pivots and a zero row. They are independent: there are two weights and both are forced to zero in the homogeneous system. The zero row says that the columns do not fill three-dimensional space, which is a different issue.
The test is about the whole set. A useful statement is “these three vectors are independent” or “the third vector lies outside the span of the first two.” Naming a single member as “the independent vector” leaves its relationship to the other vectors unclear.
Key Takeaways
- Independence means has only the all-zero solution.
- A free variable produces a dependence relation with at least one nonzero weight.
- Independence requires a pivot in every column, including for rectangular matrices.
- Check a proposed dependence relation in the original vectors.
- A zero row alone does not establish dependence.
2.2 Recognize dependence before row reducing
Some sets reveal their dependence immediately. These quick tests come from the same definition as the row-reduction test: find nonzero weights that cancel the vectors, or show that no such weights can exist.
One vector, two vectors, and zero
A set containing one nonzero vector is independent. At least one of its entries is nonzero, so forces . A set containing the zero vector is dependent, even if it also contains other useful directions. Give the zero vector weight 1 and every other vector weight 0.
Two vectors are dependent exactly when one is a scalar multiple of the other. For example, . The negative factor still counts as a multiple: the vectors lie on the same line through the origin. Check the same factor in every coordinate. The pair and is independent because doubling the second vector gives , not .
Count vectors and entries
Any vectors in are dependent when . Their matrix has more columns than rows, so it cannot have a pivot in every column. At least one variable in the homogeneous system is free.
This is a way to rule out independence, not a guarantee when the inequality is reversed. Three vectors in may be independent or dependent. Enough rows only provide room for pivots; they do not force pivots to occur.
Dependence means at least one redundancy
For a set with two or more vectors, dependence is equivalent to at least one vector being a combination of the others. To see why, start with a nontrivial relation and choose a coefficient that is nonzero. Move its vector term to one side and divide by that coefficient.
For example, gives . If the first vector in a dependent ordered list is nonzero, at least one later vector can be built from its predecessors: take the last nonzero coefficient in a dependence relation and solve for that vector.
Do not replace “at least one” with “every.” In , the second vector is twice the first. But the third cannot be built from the first two, whose second entries are both zero.
Check the whole set, not just pairs
The vectors , , and are pairwise nonparallel. Yet the third is the sum of the first two, so the set is dependent. For three vectors in , independence requires that they do not all lie in one plane through the origin.
If an independent pair already spans a plane, adding a vector in that plane creates dependence. Adding a vector outside that plane gives an independent triple. This follows because a relation with a nonzero coefficient on the new vector would express it using the old pair; a relation with coefficient zero would contradict independence of the pair.
Key Takeaways
- A singleton is independent exactly when its vector is nonzero.
- Any set containing zero is dependent; a pair is dependent exactly when one vector is a multiple of the other.
- More than vectors in are always dependent.
- A dependent set has at least one vector that can be removed without losing its direction from the span.
- Pairwise nonparallel vectors can still form a dependent set.
- Add a vector outside an independent set’s span to preserve independence.
2.3 Connect spanning, independence, and bases
Span asks whether outputs exist. Independence asks whether the weights are unique. These properties can hold separately, and the two pivot tests make their different roles visible.
Compare the questions
| Property of columns of an matrix | Meaning | Pivot test |
|---|---|---|
| Span | Every target has weights | Pivot in every row |
| Linear independence | Every reachable target has unique weights | Pivot in every column |
For the uniqueness claim, suppose and . Subtract to obtain . Independence forces . If instead for some nonzero , then every gives the same output as . A reachable vector has infinitely many weight lists in the dependent case.
All four combinations occur
- and span and are independent.
- and are independent but do not span .
- , , and span but are dependent.
- and are dependent and do not span .
In the third case, the first two vectors already span the plane. The extra column gives another way to reach outputs without supplying any new output direction.
For the three plane vectors , consider the target . One weight list is . Add the zero relation with weights to obtain the different list . It gives again. The target has not changed, even though all three weights have. Multiplying the zero relation by any real parameter produces infinitely many such lists. For a target outside the span, there is no starting solution to modify.
Remove a redundant vector
If , then
Every old combination can be rewritten without the third vector, so removing it keeps the span. Only remove a vector whose redundancy has been established. In the set , removing loses the vertical direction.
For , the relation is . Every coefficient is nonzero, so this particular relation can be solved for any of its three vectors. Here any one vector may be removed without shrinking the span.
The square case gives a basis
For exactly vectors in , the matrix is square. A pivot in every row then means a pivot in every column, and conversely. Thus independence and spanning are equivalent in this case.
A set that both spans and is independent is a basis of . It must have exactly vectors: fewer cannot span, and more cannot be independent. The standard basis consists of , the columns of . A basis need not point along the coordinate axes; the pair is also a basis of .
Key Takeaways
- Spanning guarantees existence; independence guarantees uniqueness for reachable targets.
- Adding a dependence relation to a solution gives another weight list for the same target.
- Removing a vector that is a combination of the others preserves the span.
- For vectors in , spanning and independence are equivalent.
- A basis of is an independent spanning set with exactly vectors.
3Turn transformation rules into matrices
A matrix can be viewed as a rule that sends each input vector to an output vector. This viewpoint connects computations with geometry: columns tell you where coordinate directions go, and systems recover inputs from outputs. You will test whether a rule is linear, distinguish the codomain from the range, and build the unique standard matrix from a formula or from known images of vectors.
3.1 Recognize a linear transformation
A transformation is a function on vectors. In , every input in the domain has exactly one output in the codomain . The output is the image of . The range is the set of outputs actually reached; it may be smaller than the codomain.
Read the input and output sizes
An matrix defines . Its columns match the input entries, and its rows produce the output entries. A matrix therefore maps into .
What linearity requires
A transformation is linear when it preserves both addition and scalar multiplication:
These identities must hold for every allowed pair of vectors and every real scalar. Together they give the superposition rule
You can combine inputs first and transform once, or transform the inputs first and combine their images with the same weights. Every matrix transformation is linear, because matrix–vector multiplication distributes over addition and respects scalar multiplication.
Inspect a formula
The rule is linear. Each output is a sum of constant multiples of the input coordinates. It can be written as a matrix product. Once a formula is simplified, this is the form to look for: no remaining constant shift, variable products, powers other than 1, or nonlinear functions of the inputs.
The transformation is not linear. It sends zero to . Every linear transformation sends zero to zero, since . A nonzero translation fails this necessary test immediately.
To establish linearity directly, work with arbitrary inputs, not just selected numerical ones. For , take and . Then , which is . Also . For a vector-valued rule, verify the same equalities in every output coordinate, or identify the fixed matrix that gives the rule.
Fixing the origin is only the first check
Consider . It does send zero to zero. But
Since , preservation of scaling would require those outputs to match. This one failure establishes that is not linear. A few successful tests cannot establish linearity for every input, but one failed test can disprove it.
A straight-line graph is also insufficient. The scalar function has a straight graph but does not fix zero. Linear transformations from to have the form .
Key Takeaways
- A linear transformation preserves vector addition and scalar multiplication for all inputs.
- An matrix defines a map from to .
- Every matrix transformation is linear.
- Failing rules out linearity; passing it alone is insufficient.
3.2 Compute outputs and recover inputs
Computing an image starts with an input and applies the rule. Finding a pre-image starts with an output and asks which input produced it. The first task is multiplication; the second is solving a system.
Multiply to find an image
Let have matrix
For , use the input entries as weights on the columns:
The input has two entries, while its image has three. This size check helps keep the two directions of the calculation distinct.
Solve to find pre-images
For a target , solve . The equations are
The first two give , and the third checks. This is the only pre-image because there are no free variables. For , the first two equations still force , but the last equation fails. That target has no pre-image.
Infinitely many pre-images are possible too. If
then the target gives and . Put to obtain every pre-image:
A matrix transformation gives each input one output, but an output may have no input, one input, or infinitely many inputs that lead to it.
Identify the range
Every output is a combination of the columns of , so the range is precisely their span. For the first matrix, it is the plane spanned by and . It is a subset of the stated codomain , not the whole codomain.
You can describe that range by an equation too. For a general output , the first two equations give and . Substitute into the third to obtain . This condition is both necessary and sufficient: any target satisfying it is produced by . The plane description and the column-span description name the same set of outputs. One describes it by a coordinate restriction; the other describes how to generate its points.
Linearity can also give images without a formula. If and , then
Read a matrix in context
Suppose one bread batch uses 2 kg of flour and 0.1 kg of sugar, and one cake batch uses 1 kg of flour and 0.5 kg of sugar. Columns list the ingredients per batch, so
Three bread batches and four cake batches use kilograms of flour and sugar. To use exactly 12 kg of flour and 1.5 kg of sugar, solve and . Substituting gives , hence 5 bread batches and 2 cake batches.
Key Takeaways
- Compute an image by multiplying; find pre-images by solving .
- A target can have no pre-image, one pre-image, or infinitely many pre-images.
- The range is the span of the matrix columns.
- Linearity carries the same weights from inputs to their images.
- In a model, keep input roles and output units in their stated order.
3.3 Build the standard matrix from vector images
A linear transformation between coordinate spaces has exactly one standard matrix. Its columns are the images of the standard basis vectors. This gives a method whether the rule is described by a formula, by geometry, or by known vector images.
Why the columns determine the rule
In , the vector has 1 in entry and zero elsewhere. These standard vectors are the columns of . Every input is
Linearity gives
Thus satisfies . Any matrix representing the same transformation must have these columns, since multiplying it by picks out column . This also establishes uniqueness.
Start from a formula
For , substitute the two standard vectors:
Place the results into columns:
It has three rows for output entries and two columns for input entries. At , both the formula and the matrix give . This check helps detect a copied coefficient or a row/column error.
If images are already supplied, place them directly into columns. For a map from to with images , , and of the three standard vectors, the matrix is
Start from images of other vectors
Suppose a linear map satisfies and . Those outputs belong to the nonstandard inputs and . First write
Apply the same combinations to the known outputs. This gives and , hence
Multiplying by the original inputs recovers both given outputs.
Check linearity before using the theorem
The identity map has matrix ; the zero map has a zero matrix of the appropriate size. A nonlinear rule has no standard matrix. For , arranging and into columns creates a matrix, but it cannot represent on all inputs. That matrix sends zero to zero, while sends zero to .
Key Takeaways
- Column j of a standard matrix is the image of the jth standard basis vector.
- The standard matrix of has rows and columns.
- If images of other inputs are given, express standard vectors using those inputs first.
- A linear transformation has a unique standard matrix; a nonlinear rule has none.
4Read geometry from matrix columns
The columns of a transformation matrix show what happens to the coordinate directions. From those images you can build rotations, reflections, shears, scalings, and projections, then predict what happens to shapes. You will also combine transformations by following each standard vector through them in order. This makes signs, fixed directions, and lost information visible before you compute an arbitrary image.
4.1 Rotate and reflect vectors
To construct a geometric matrix, follow the standard vectors and place their images in columns. In the plane, rotations about the origin and reflections in lines through the origin are linear. Their matrices preserve lengths and angles.
Rotate in the plane
For a counterclockwise angle , the images are and . Therefore
The minus sign is at the top right because turns toward the negative horizontal axis. A clockwise turn uses , reversing both sine signs. For , the rule is , so . For , . A half-turn gives and sends each vector to its negative.
Reflect in a line
| Mirror line | Matrix | Image of |
|---|---|---|
| Horizontal axis | ||
| Vertical axis | ||
For a line at angle to the positive horizontal axis, the reflection matrix is
For this is , sending to . Points on the mirror line remain fixed; perpendicular vectors reverse. Reflecting twice in the same line returns the input. A reflection reverses the orientation of an ordered pair of directions, while a rotation preserves it.
Rotate about a coordinate axis in space
A positive rotation follows the right-hand rule: viewed from the positive end of the axis toward the origin, the turn is counterclockwise. Keep the coordinate along the axis fixed. With and , the matrices are
The rotating coordinate pairs are about the horizontal -axis, about the -axis, and about the -axis. The order explains the sine signs in . Through , the vector goes to about the -axis, about the -axis, and about the -axis.
Reflect in a coordinate plane
Reflection in the -plane changes only the sign of . Reflection in the -plane changes only the sign of , and reflection in the -plane changes only the sign of . Each matrix is diagonal, with two entries 1 and one entry . Coordinates within the mirror plane stay fixed.
A nontrivial rotation about a point other than the origin, or reflection in a line away from the origin, moves zero. Such a transformation is not linear. A full turn is the identity regardless of its center.
Key Takeaways
- Find geometric matrices by tracking the standard vectors into their columns.
- Positive plane angles are counterclockwise; the rotation matrix has a minus sine at the top right.
- Rotations and reflections preserve lengths and angles, but reflections reverse orientation.
- A spatial rotation fixes its axis coordinate and follows the right-hand rule.
- Reflection in a coordinate plane negates the perpendicular coordinate.
- A reflection through a line away from the origin is not linear.
4.2 Scale, shear, and project vectors
Scalings change size, shears slide points parallel to an axis, and projections collapse directions. Their matrices can all be built from the images of the standard vectors, but they preserve different geometric information.
Change size or slide sideways
The matrix sends to . For it is an expansion, and for it is a contraction. A diagonal matrix with entries scales the horizontal and vertical coordinates separately: sends to . A zero scale collapses a direction; a negative factor reverses that coordinate as well as scaling it.
A horizontal shear has matrix and rule
It fixes the horizontal axis and moves each point sideways by times its height. For , the unit square becomes the parallelogram with vertices . Its base and height remain 1, so its area stays 1.
A vertical shear is , sending to . It fixes the vertical axis. To avoid swapping the two forms, ask which coordinate changes: the first output changes for a horizontal shear, so its extra coefficient belongs in the first row.
Drop a perpendicular coordinate
Projection onto the horizontal axis sends to and has matrix . Projection onto the vertical axis keeps only . In space, projections onto the -, -, and -planes give , , and . Their diagonal matrices keep two coordinates with entries 1 and erase the third with entry 0. Projection onto a coordinate axis keeps only that axis coordinate; onto the -axis it gives .
Project onto a slanted line
The orthogonal projection onto the line in direction sends a point to the closest point on that line. Its matrix is
For a line at angle , choose direction . The denominator is 1, giving diagonal entries and off-diagonal entries .
For , use direction . Then and . The output lies on the line. The segment from to has slope , perpendicular to slope 2.
Connect a projection to a reflection
The projected point is the midpoint between a point and its reflection in the same line. Thus the reflection of is . For the preceding point, .
Projecting twice has the same effect as projecting once, because points on the target line or plane already stay fixed. All points along a perpendicular line share one projected point. This loss of information prevents recovering the original input from its projection.
Key Takeaways
- Positive factors above 1 expand; factors between 0 and 1 contract.
- A horizontal shear changes the horizontal coordinate and fixes the horizontal axis.
- Coordinate projections replace the perpendicular coordinates with zero.
- A line projection keeps points on the line fixed and sends perpendicular directions to zero.
- Projecting twice equals projecting once.
- Reflection in the same line gives .
4.3 Transform shapes and follow compositions
A linear transformation acts on an entire shape by acting on its points. Its columns give the images of the coordinate directions, so they also show how the unit square changes.
Read the image of a shape
If the columns of a plane matrix are and , the unit square’s vertices map in order to
Independent columns give a parallelogram. If both columns lie on one line, the square collapses to a segment; if both are zero, it collapses to a point. For , the images of the standard vectors show a clockwise quarter-turn. For they show expansion by 3.
Transforming just the vertices works for polygons because linear transformations preserve the way a segment is traced. A point on the segment from to is for . Its image is , a point on the segment between the images. If the endpoint images coincide, the whole segment collapses to that point.
Follow each standard vector through both rules
“Apply , then ” means . The first transformation appears on the right. If both are linear, the composition is linear, and column is .
Rotate counterclockwise through , then reflect in the horizontal axis. Follow the two columns separately:
The standard matrix is , a reflection in . Reverse the order and the tracks become
Now the matrix is , a reflection in . The same two operations can therefore give different results in different orders.
Combine special cases
Two rotations about the origin, through then , give a rotation through . Two reflections in origin lines at angles then give a rotation through . The order of the mirror angles determines the direction of the turn.
Check the net shift
A nonzero translation cannot itself be represented by a standard matrix. Combining translations with linear transformations produces a rule . The full rule is linear exactly when its net shift is zero. For example, translate by and then project onto the vertical axis: . The projection removes the shift, and the resulting rule is linear. A nontrivial rotation around moves the origin and retains a nonzero net shift.
Key Takeaways
- Transform polygon vertices and join their images in the original order.
- The unit square maps to a parallelogram, a segment, or a point.
- For a composition, track each standard vector through the operations in their stated order.
- Reversing operations can change the resulting matrix.
- A combination of linear maps and translations is linear exactly when its net shift vanishes.
5Decide which maps reach or repeat outputs
Some transformations miss possible outputs; others send different inputs to the same place. One-to-one and onto describe these two behaviors. You will connect both definitions to the pivot tests, use matrix size to rule out impossible cases, and interpret geometric examples. Paying attention to the stated codomain is essential: the same projection can reach every point of a plane while missing most of space.
5.1 Test one-to-one and onto with pivots
For , onto means that every vector of the codomain has at least one pre-image. One-to-one means that every vector of the codomain has at most one pre-image. These definitions separate existence from uniqueness.
Keep the two questions distinct
Every function assigns each input one output. One-to-one asks something stronger: do different inputs always have different outputs? A map may be one-to-one even though some codomain vectors have no pre-image. A map may be onto even though some outputs have many pre-images.
For a matrix transformation :
| Property | System statement | Column statement | Pivot test |
|---|---|---|---|
| Onto | Every target has a solution | Columns span | Every row |
| One-to-one | Every target has at most one solution | Columns are independent | Every column |
Use the pivots of the coefficient matrix, without a chosen target column.
Why the zero-output test works
A linear transformation is one-to-one exactly when has only the zero solution. If two inputs have the same image, subtracting them gives . When zero is the only input sent to zero, those two inputs must be equal. Conversely, a nonzero input sent to zero shares its image with zero itself, so the map fails to be one-to-one.
One-to-one but not onto
The matrix reduces to . Both columns have pivots, so the map is one-to-one. Only two of its three rows have pivots, so it is not onto . For instance, a target would force the input from the first two coordinates, but that input gives third coordinate 2.
Onto but not one-to-one
For , both rows have pivots, so every target in is reached. Column 3 has no pivot, so the map is not one-to-one. Indeed, both and map to zero. Varying the free variable generates repeated inputs for every reachable target.
Neither property
Take . Subtract row 1 from row 3, then add row 2 to row 3. The last row becomes zero, leaving two pivots in a three-row, three-column matrix. The map is neither onto nor one-to-one. Its outputs satisfy , so is missed, and gives a repeated output.
The reduced equations also show the complete failure of uniqueness for any reachable target. Put . From and , obtain . The third equation then holds exactly when . If that condition holds, every real gives a pre-image; if it fails, none does. A free variable changes the number of solutions only after consistency is established.
Key Takeaways
- Onto means every codomain vector is reached; one-to-one means no output is reached by two distinct inputs.
- Onto requires pivots in every row; one-to-one requires pivots in every column.
- A linear map is one-to-one exactly when zero is its only zero-output input.
- Use the coefficient matrix, not the augmented matrix for one target.
5.2 Use size, codomain, and geometry
Matrix size can rule out a property before row reduction. Geometry then explains why the failure occurs. Always state the domain and codomain: onto compares the range to the specified codomain.
Count the available pivot positions
For an matrix, at most the smaller of pivots can occur.
- If , there are more input coordinates than output coordinates. Some column lacks a pivot, so the linear map cannot be one-to-one.
- If , some row lacks a pivot, so the linear map cannot be onto .
- If , a pivot in every row is equivalent to a pivot in every column. A square linear map is either both one-to-one and onto, or neither.
A wide matrix can be onto, but its size does not guarantee it. For , all columns lie on the line through . The map from to is neither onto nor one-to-one. A tall matrix can similarly lose independence despite having enough rows.
See which geometric rules can be undone
Rotations, reflections, shears, and uniform scalings with nonzero factor are both one-to-one and onto their coordinate space. Rotate through the negative angle to undo a rotation; reflect again to undo a reflection; shear with the negative factor to undo a shear; scale by the reciprocal to undo a nonzero scaling. Each output has exactly one input.
A projection onto a line in the plane, viewed as a map , is neither. Only points of the line are reached, and all points on each perpendicular line share an output. Projection from space onto a coordinate plane, with codomain still , fails for the same two reasons. The zero map on a positive-dimensional coordinate space is also neither.
Change the codomain carefully
Compare three maps:
| Rule and spaces | One-to-one? | Onto? |
|---|---|---|
| , | No: is lost | Yes: every pair is reached |
| , | No: is lost | No: nonzero third entries are missed |
| , | Yes: the pair is recoverable | No: nonzero third entries are missed |
Separate a mathematical map from a production limit
The ingredient matrix has two pivots, so it gives a unique real input pair for every real output pair. In a bakery, batch counts must also meet production restrictions. For example, zero flour and positive sugar cannot come from nonnegative amounts of these two products, although the real-number system has a solution. For a target of 0 kg of flour and 1 kg of sugar, the first equation gives . Substituting into the sugar equation gives , hence and . The output is reached over the real domain, but the negative bread count cannot be produced.
Key Takeaways
- A wide matrix cannot define a one-to-one linear map; a tall matrix cannot define an onto map.
- Size rules rule out properties but do not guarantee the remaining property.
- A square linear map is one-to-one exactly when it is onto.
- Rotations, reflections, shears, and nonzero uniform scalings are both one-to-one and onto.
- A projection into the original full space misses outputs and repeats inputs.
- Whether a map is onto depends on its stated codomain.
Linear Transformations examples
1Build a span and test its reach
10 steps
- 1IntroductionFrom a target to a whole span
You can build new vectors by scaling and adding a few starting vectors. The set of everything you can build is their span. We will first check one target by solving for its weights, then ask whether the same generators can reach every vector of the surrounding space. The calculations will also show why a line or plane may be the full answer.
- 2ExplanationWeights build a vector
A linear combination uses one weight on each whole vector. For and , it is . The first two coordinates select the weights, while the third coordinate follows from them. Negative weights let the combinations extend in the opposite directions, while fractions allow intermediate scalings.
- 3ExampleSet up the target equations
Can these generators reach ? Put the vectors in columns and form .
Coordinate by coordinate, this gives , , and . The same two unknown weights appear in all three equations. They cannot be chosen separately for each coordinate.
- 4ExampleCheck the forced weights
The first two equations force . Substitute into the third: , so all coordinates agree and .
- 5ChallengeTry a nearby target
Is in the span of and ? Explain using the weights.
---reveal---
No. The first two coordinates force weights 2 and 3, which give third coordinate . No different weights can repair the third coordinate without spoiling one of the first two. The target is outside the plane reached by these generators.
- 6Key InsightA whole plane has one coordinate condition
Every combination in this example is . Thus a target lies in the span exactly when . This is a plane through the origin. The two generators are not parallel, so they fill that plane, but they cannot fill three-dimensional space. The condition tells us which targets are missed without testing them one at a time.
- 7ExplanationUse rows to test every target
To decide whether columns span , row reduce the coefficient matrix and check for a pivot in every row. Then every target can be accommodated. If a coefficient row becomes zero, some targets produce a nonzero augmented entry there and fail. Here the column matrix has two pivots and three rows, so it cannot reach all of .
- 8ExampleAdd the missing direction
Add to the two generators. Their matrix is . Subtract row 1 and twice row 2 from row 3 to obtain . There is a pivot in every row, so the three vectors span space. The new weight can now adjust the third coordinate without changing the first two.
- 9ChallengeReach a target with the added direction
Using , , and , find weights for . Why is it now reachable?
---reveal---
Use weights : the first two vectors give and the third adds . The third generator supplies the missing coordinate direction, consistent with the new third-row pivot.
- 10RecapChoose the right span question
To check one target, solve its augmented system and test every coordinate. To check all targets, look for a pivot in every coefficient row. A general target can describe a smaller reachable line or plane. In the example, two columns enforced ; adding the third direction removed that restriction and made every three-entry target reachable.
2Test independence and remove redundancy
13 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionFind directions you do not need
- 2ExplanationZero must have only zero weights
- 3ExampleReduce a three-column set
- 4ExampleTurn the free variable into a relation
- 5ChallengeDoes a zero row always mean dependence?
- 6TipUse quick checks before elimination
- 7Key InsightNonparallel pairs can hide a relation
- 8ChallengeWhich vector supplies a needed direction?
- 9ConnectionA relation changes weights without changing output
- 10ExampleRemove redundancy without losing the span
- 11ExplanationA basis has enough directions and no redundancy
- 12ChallengeAdd a vector and compare both properties
- 13RecapRead columns and rows separately
3Build and use a transformation matrix
14 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionGive a matrix an input-output meaning
- 2ExplanationPreserve addition and scaling
- 3ExampleFixing zero is not enough
- 4ChallengeFind the constant shift
- 5ExplanationName the three spaces correctly
- 6ExampleMultiply to get an image
- 7ExampleSolve to recover a pre-image
- 8ChallengeRecover every input for one output
- 9Key InsightThe standard columns come from standard inputs
- 10ExampleSeparate the given inputs from standard inputs
- 11ExampleApply those weights to the known images
- 12ChallengeRead a formula into columns
- 13ChallengeUse linearity to reach a new image
- 14RecapChoose forward multiplication or backward solving
4Build geometric maps from their columns
19 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionTrack coordinate directions through geometry
- 2ExampleBuild a quarter-turn one column at a time
- 3ExplanationUse the angle formula
- 4ChallengeCheck the direction of a turn
- 5ExplanationA reflection keeps its mirror line fixed
- 6ConnectionRotate an ordered coordinate pair in space
- 7ExampleA plane reflection changes one sign
- 8ExampleMake a square lean with a shear
- 9TipTell a shear from a scaling
- 10ExplanationA projection erases a direction
- 11ExampleProject onto a slanted line
- 12Key InsightProjection locates the reflection midpoint
- 13ChallengeSeparate a shadow from a mirror image
- 14ExplanationThe columns draw the transformed square
- 15ExampleCompose the shear with a rotation
- 16ChallengeLocate the opposite square corner
- 17ConnectionCombine rotations and reflections
- 18Key InsightJudge the net shift after all operations
- 19RecapFollow directions and check fixed points
5Separate reachability from uniqueness
11 steps
Save this lesson to follow every Walkthrough step by step.
- 1IntroductionAsk whether outputs are missed or repeated
- 2ExplanationAt least one versus at most one
- 3Key InsightTest uniqueness using only the zero output
- 4ExampleClassify a wide matrix
- 5ChallengeClassify a tall matrix
- 6ExplanationUse size to rule out a property
- 7ConnectionThe square case joins the two tests
- 8ExampleKeep the codomain in the statement
- 9ChallengeLook past the shape of the matrix
- 10ChallengeCombine reachability and uniqueness
- 11RecapMatch each conclusion to its evidence
Linear Transformations practice questions
Set 1: Span, dependence, and unique weights10 Practice Questions
Question 1 of 10
Show answerHide answer
Question 2 of 10
Show answerHide answer
Question 3 of 10
Show answerHide answer
Question 4 of 10
Show answerHide answer
Question 5 of 10
Show answerHide answer
Question 6 of 10
Show answerHide answer
Question 7 of 10
Show answerHide answer
Question 8 of 10
Show answerHide answer
Question 9 of 10
Show answerHide answer
Question 10 of 10
Show answerHide answer
Set 2: Images, linearity, and standard matrices10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 3: Rotations, projections, and transformation order10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 4: One-to-one, onto, and the stated codomain10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Set 5: Connect span, geometry, and transformation tests10 Practice Questions
Save this lesson to see every answer and practice every set.
Question 1 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 2 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 3 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 4 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 5 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 6 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 7 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 8 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 9 of 10
Show answerHide answer
Save this lesson to see this answer.
Question 10 of 10
Show answerHide answer
Save this lesson to see this answer.
Stuck on your own question? Homework Help
Key Terms
A
Augmented matrix
B
Basis
C
Codomain
Coefficient matrix
Composition
Consistency condition
Contraction
Coordinate projection
Coplanar vectors
Counterclockwise angle
D
Dependence relation
Domain
E
Expansion
F
Fixed point
H
Homogeneous system
Horizontal shear
I
Identity matrix
Image of a polygon
Image of a vector
Inclusion map
L
Linear combination
Linear dependence
Linear independence
Linear transformation
M
Matrix transformation
N
Net shift
Nontrivial solution
O
One-to-one (injective)
Onto (surjective)
Orientation
Orthogonal projection
P
Pivot position
Pre-image
R
Range
Redundant vector
Reflection
Repeated output
Right-hand rule
Rotation
S
Scalar
Scalar multiple
Span
Span membership
Spanning set
Square matrix
Standard basis
Standard basis vector
Standard matrix
Superposition
T
Tall matrix
Transformation
Trivial solution
U
Uniform scaling
Unique representation
V
Vertical shear
W
Wide matrix
Z
Zero map
Zero-output test
About this lesson
Make your own Study Materials
Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.