Saltar al contenido
PMAKDMY
Recurso
Universidad · Álgebra Lineal · 1º de ingenieríaUniversity · Linear Algebra · first year of engineering

Espacios vectoriales en Álgebra Lineal: subespacios, rango y aplicaciones lineales, con una simulación y un simulacroVector spaces in Linear Algebra: subspaces, rank and linear maps, with a simulation and a mock exam

Los espacios vectoriales de Álgebra Lineal son el tema que desbloquea los otros tres: subespacios, aplicaciones lineales y diagonalización. Aquí van explicados como se ven, en R² y R³, antes de escribir una sola propiedad abstracta: una matriz es un viaje de un origen a un destino, sus columnas dicen dónde acaban los ejes, y los sistemas que ya hacías en bachillerato son ese mismo viaje. Lo imprescindible, siete ejemplos resueltos, una simulación para mover una figura con una matriz y un simulacro de 60 minutos con rúbrica.Vector spaces in Linear Algebra are the topic that unlocks the other three: subspaces, linear maps and diagonalisation. Here they are explained the way you can see them, in R² and R³, before writing a single abstract property: a matrix is a trip from an origin to a destination, its columns say where the axes end up, and the systems you already solved at school are that same trip. The must-knows, seven worked examples, a simulation to move a shape with a matrix and a 60-minute mock with a rubric.

Parte 1Part 1

Lo imprescindible de los espacios vectorialesThe must-knows of vector spaces

Las reglas son las mismas en R², en R³ y en R10⁸, que es donde trabaja una red neuronal. Por eso se aprenden donde se ven. Cuando dudes en un ejercicio, baja a dos o tres dimensiones y mira si tiene sentido.The rules are the same in R², in R³ and in R10⁸, which is where a neural network works. That is why you learn them where you can see them. When an exercise confuses you, drop to two or three dimensions and check whether it makes sense.

01 · combinación lineal01 · linear combination

Todo se construye sobre dos operaciones: multiplicar por un número y sumarEverything is built on two operations: multiplying by a number and adding

α·u + β·v

Multiplicar un vector por 2, o por 3500, ya es una combinación lineal. Sumar dos vectores, también. Nunca se multiplican vectores entre sí. Cada regla de este tema, de la definición de subespacio a la de rango, es una forma de preguntar si algo se consigue combinando linealmente otras cosas.Multiplying a vector by 2, or by 3500, is already a linear combination. Adding two vectors is too. Vectors are never multiplied by each other. Every rule in this topic, from the definition of a subspace to that of rank, is a way of asking whether something can be obtained by linearly combining other things.

02 · qué es un vector02 · what a vector is

Vector es cualquier cosa que se suma y se multiplica por númerosA vector is anything you can add and multiply by numbers

Un polinomio es un vector: 3t² + 2t + 2 es (2, 2, 3) si ordenas los coeficientes por grado, y el que falta vale 0. Una matriz también, columna a columna. Una suma de una parábola y una recta con pesos 0,3 y 0,7 es una combinación lineal igual que con flechas. Si un ejercicio te da polinomios, pásalos a vectores de coeficientes y haz lo de siempre.A polynomial is a vector: 3t² + 2t + 2 is (2, 2, 3) if you order the coefficients by degree, and a missing one is 0. A matrix is too, column by column. A sum of a parabola and a line with weights 0.3 and 0.7 is a linear combination just like with arrows. If an exercise gives you polynomials, turn them into coefficient vectors and do the usual.

03 · dimensión03 · dimension

Dimensión es en cuántas direcciones independientes te puedes moverDimension is how many independent directions you can move in

Un tren sobre su vía tiene una dimensión: adelante o atrás. Un coche, dos. Un avión, tres. Vivimos en R³ y los tres tienen coordenadas x, y, z, pero el tren solo usa una. Esa es la diferencia entre la dimensión del espacio y la del subespacio por el que te mueves. Cualquier dirección nueva que sea combinación lineal de las que ya tienes no añade dimensión: el coche que va en diagonal sigue en dos.A train on its track has one dimension: forwards or backwards. A car, two. A plane, three. We live in R³ and all three have x, y, z coordinates, but the train only uses one. That is the difference between the dimension of the space and that of the subspace you move through. Any new direction that is a linear combination of the ones you have adds no dimension: a car going diagonally is still in two.

04 · subespacio04 · subspace

Un subespacio cumple las mismas reglas que el espacio, y cabe dentroA subspace follows the same rules as the space, and fits inside

Combina dos vectores de un subespacio y sigues dentro: dos Mercedes combinados siguen siendo Mercedes. Por eso las tres condiciones de los apuntes (contiene el 0, cerrado para la suma, cerrado para el producto por escalar) son una sola: es cerrado para combinaciones lineales. Las ecuaciones que lo definen son lineales (nada al cuadrado) y homogéneas (con el 0 se cumplen): un subespacio de rango 2 metido en R³ siempre pasa por el origen. Una recta desplazada, y = 2x + 1, no es subespacio: no contiene el 0.Combine two vectors of a subspace and you stay inside: two Mercedes combined are still a Mercedes. That is why the three conditions in your notes (contains 0, closed under addition, closed under scalar multiplication) are a single one: it is closed under linear combinations. The equations that define it are linear (nothing squared) and homogeneous (0 satisfies them): a rank-2 subspace sitting in R³ always passes through the origin. A shifted line, y = 2x + 1, is not a subspace: it does not contain 0.

05 · paramétricas e implícitas05 · parametric and implicit equations

Las paramétricas dicen por dónde puedes ir; las implícitas, por dónde noParametric equations say where you can go; implicit ones, where you cannot

n.º de parámetros + n.º de implícitas = dimensión del espacionumber of parameters + number of implicit equations = dimension of the space  ·  dim S + dim S⊥ = n

La vía del tren sobre el eje y es x = 0, y = λ, z = 0: un parámetro, la λ con la que avanzas. Sus implícitas son x = 0 y z = 0: las dos direcciones prohibidas. Uno más dos son las tres dimensiones de R³. El plano perpendicular a la vía, y = 0, es el subespacio ortogonal: tiene dimensión 2 y con la vía llena el espacio. Por eso en bachillerato una recta tenía dos implícitas y un plano una sola. Pasar de paramétricas a implícitas es eliminar los parámetros; pasar de implícitas a paramétricas es dar valores a una letra y despejar las demás, como en un sistema compatible indeterminado. Y las restricciones se acumulan: en R³ una implícita deja un plano, dos independientes dejan una recta y tres dejan un punto, que tiene dimensión cero. Si no puedes ir ni adelante, ni a los lados, ni arriba, te quedas donde estás. Por eso la intersección de una recta y un plano es un punto: entre los dos suman tres restricciones.The train track along the y axis is x = 0, y = λ, z = 0: one parameter, the λ you move along. Its implicit equations are x = 0 and z = 0: the two forbidden directions. One plus two are the three dimensions of R³. The plane perpendicular to the track, y = 0, is the orthogonal subspace: it has dimension 2 and together with the track it fills the space. That is why at school a line had two implicit equations and a plane only one. Going from parametric to implicit means eliminating the parameters; going from implicit to parametric means giving values to one letter and solving for the rest, as in an indeterminate system. And restrictions add up: in R³ one implicit equation leaves a plane, two independent ones leave a line and three leave a point, which has dimension zero. If you cannot go forwards, sideways or up, you stay where you are. That is why a line and a plane meet at a point: between them they add up to three restrictions.

06 · la matriz es una transformación06 · the matrix is a transformation

Las columnas de la matriz son el destino de los ejesThe columns of the matrix are where the axes end up

A · (origenorigin) = (destinodestination)  ·  A·e1 = primera columnafirst column  ·  A·e2 = segunda columnasecond column

Multiplica la matriz por el vector (1, 0) y sale la primera columna; por (0, 1) y sale la segunda. Es decir: la matriz te dice dónde acaba cada eje, y con eso sabe dónde acaba cualquier vector, porque A·u es la combinación lineal de las columnas con los pesos de u. La identidad deja todo igual, como multiplicar por 1. Cambia una columna y la figura se estira, se tuerce o se refleja. El número de filas es la dimensión del espacio de destino; el de columnas, la del espacio de origen. Una matriz 2×3 va de R³ a R². Cuadrada significa que no cambias de dimensión.Multiply the matrix by the vector (1, 0) and you get the first column; by (0, 1) and you get the second. In other words: the matrix tells you where each axis ends up, and with that it knows where any vector ends up, because A·u is the linear combination of the columns with the weights of u. The identity leaves everything as it is, like multiplying by 1. Change one column and the shape stretches, tilts or flips. The number of rows is the dimension of the target space; the number of columns, that of the source space. A 2×3 matrix goes from R³ to R². Square means you do not change dimension.

07 · rango, imagen y núcleo07 · rank, image and kernel

El rango es la dimensión de la transformación; lo que se aplasta es el núcleoThe rank is the dimension of the transformation; what gets squashed is the kernel

dim Im + dim Ker = dim (origenorigin)  ·  dim Im = rango A

Si una matriz 2×2 tiene rango 1, sus dos columnas apuntan en la misma dirección y todo el plano acaba en una recta: has comprimido una dimensión. Los vectores que caen en la dirección aplastada acaban en el 0: eso es el núcleo, y se calcula imponiendo A·v = 0. Si el rango es completo no se aplasta nada y el núcleo es solo el 0. Una fila de ceros al reducir por Gauss te avisa de que el rango es menor que la dimensión.If a 2×2 matrix has rank 1, its two columns point the same way and the whole plane lands on a line: you have squeezed out one dimension. The vectors lying along the squashed direction end up at 0: that is the kernel, and you find it by imposing A·v = 0. If the rank is full nothing is squashed and the kernel is only 0. A row of zeros after Gaussian reduction warns you that the rank is smaller than the dimension.

09 · cambio de base09 · change of basis

Un cambio de base no mueve el vector: cambia desde dónde lo mirasA change of basis does not move the vector: it changes where you look from

v = a·b1 + b·b2 + c·b3  →  P·vB = vC  ·  vB = P−1·vC

Llamar (2, 3, 5) a un vector es decir que vale 2·(1, 0, 0) + 3·(0, 1, 0) + 5·(0, 0, 1): sus coordenadas son los pesos en la base canónica. Con otra base cambian los pesos, no el vector. Para encontrarlos no hace falta recordar nada: escribe la combinación lineal, iguálala al vector y resuelve el sistema. Su forma matricial es P·vB = vC, donde las columnas de P son los vectores de la nueva base escritos en la canónica: P convierte coordenadas en B en coordenadas usuales, y P−1 hace el viaje contrario. En R² el vector (2, 1) en la base {(2, 1), (−1, 1)} es (1, 0): la misma flecha, otro nombre. No lo confundas con una aplicación lineal, que sí mueve el vector. Cuando una aplicación se escribe en otras bases se juntan las dos cosas; eso está en el recurso de aplicaciones lineales.Calling a vector (2, 3, 5) means saying it equals 2·(1, 0, 0) + 3·(0, 1, 0) + 5·(0, 0, 1): its coordinates are the weights in the standard basis. With another basis the weights change, not the vector. To find them you need to remember nothing: write the linear combination, set it equal to the vector and solve the system. Its matrix form is P·vB = vC, where the columns of P are the vectors of the new basis written in the standard one: P turns coordinates in B into usual coordinates, and P−1 makes the return trip. In R² the vector (2, 1) in the basis {(2, 1), (−1, 1)} is (1, 0): the same arrow, another name. Do not confuse it with a linear map, which does move the vector. When a map is written in other bases both things come together; that is in the linear maps resource.

08 · los sistemas de bachillerato08 · the systems from school

A·X = B es ir del origen X al destino B; la inversa deshace el viajeA·X = B is going from the origin X to the destination B; the inverse undoes the trip

Un sistema de ecuaciones es una ecuación matricial concreta: conoces el destino B y buscas de dónde venía. X = A−1·B es volver, de Barcelona a Gijón. Y el teorema de Rouché-Frobenius, dicho con dimensiones: si rango A = rango A' = n.º de incógnitas, la transformación llena el espacio y el núcleo es 0, SCD. Si rango A = rango A' pero menor que n, la transformación es de menos dimensión que el espacio y el núcleo tiene tantas dimensiones como parámetros te salían, SCI. Si rango A' es mayor que rango A, intentas meter algo de más dimensión en algo de menos: no cabe, SI.A system of equations is one specific matrix equation: you know the destination B and want to know where it came from. X = A−1·B is the return trip. And the Rouché-Frobenius theorem, said with dimensions: if rank A = rank A' = number of unknowns, the transformation fills the space and the kernel is 0, a unique solution. If rank A = rank A' but smaller than n, the transformation has fewer dimensions than the space and the kernel has as many dimensions as parameters you used to get, infinitely many solutions. If rank A' is bigger than rank A, you are trying to fit something of higher dimension into something of lower dimension: it does not fit, no solution.

Parte 2Part 2

Ejemplos resueltos de espacios vectorialesWorked examples on vector spaces

Son del tipo de los que salen en un primer parcial de álgebra, con números propios. Intenta cada uno antes de abrir la solución. Cuando te atasques, pregúntate en qué dimensión estás y en cuál acabas.They are of the kind set in a first algebra midterm, with our own numbers. Try each one before opening the solution. When you get stuck, ask yourself what dimension you are in and which one you end up in.

Ejemplo 1: un sistema leído como transformaciónExample 1: a system read as a transformation

Discute y resuelve el sistema x + y + z = 2, 2x + 2y + 2z = 4, x − y + 3z = 0. Di de qué dimensión es la transformación y qué tiene que ver con las soluciones.Discuss and solve the system x + y + z = 2, 2x + 2y + 2z = 4, x − y + 3z = 0. Say what dimension the transformation has and what that has to do with the solutions.

Ver la soluciónSee the solution
  1. Escríbelo como A·X = B, con A = 1112221−13 y B = (2, 4, 0). X es el origen, B el destino, A el viaje.Write it as A·X = B, with A = 1112221−13 and B = (2, 4, 0). X is the origin, B the destination, A the trip.
  2. Rango de A: la segunda fila es el doble de la primera, así que no aporta dirección. La tercera no es múltiplo de la primera. Rango 2. Estás en R³, pero la transformación es de dimensión 2: un plano que va a parar a un plano.Rank of A: the second row is twice the first, so it adds no direction. The third is not a multiple of the first. Rank 2. You are in R³, but the transformation has dimension 2: a plane that lands on a plane.
  3. Rango de A': la fila (2, 2, 2 | 4) sigue siendo el doble de (1, 1, 1 | 2). También 2. Rango A = rango A' = 2 < 3 incógnitas: SCI, con 3 − 2 = 1 parámetro.Rank of A': the row (2, 2, 2 | 4) is still twice (1, 1, 1 | 2). Also 2. Rank A = rank A' = 2 < 3 unknowns: infinitely many solutions, with 3 − 2 = 1 parameter.
  4. Resuelve con las dos filas útiles. Suma la primera y la tercera: 2x + 4z = 2, luego x = 1 − 2z. De la primera, y = 2 − x − z = 1 + z. Con z = λ: X = (1 − 2λ, 1 + λ, λ).Solve with the two useful rows. Add the first and the third: 2x + 4z = 2, so x = 1 − 2z. From the first, y = 2 − x − z = 1 + z. With z = λ: X = (1 − 2λ, 1 + λ, λ).
  5. Lee el resultado: X = (1, 1, 0) + λ·(−2, 1, 1). Una recta: un parámetro, dimensión 1. Y (−2, 1, 1) es justo el núcleo de A: compruébalo, A·(−2, 1, 1) = (0, 0, 0). Todo lo que va en esa dirección se aplasta al mismo destino, por eso hay infinitos orígenes para un solo B.Read the result: X = (1, 1, 0) + λ·(−2, 1, 1). A line: one parameter, dimension 1. And (−2, 1, 1) is exactly the kernel of A: check it, A·(−2, 1, 1) = (0, 0, 0). Everything along that direction is squashed onto the same destination, which is why there are infinitely many origins for a single B.

SCI. Soluciones (1 − 2λ, 1 + λ, λ). dim Im = 2, dim Ker = 1, y 2 + 1 = 3.Infinitely many solutions, (1 − 2λ, 1 + λ, λ). dim Im = 2, dim Ker = 1, and 2 + 1 = 3.

Ejemplo 2: montar la matriz de una transformaciónExample 2: building the matrix of a transformation

Escribe la matriz que gira 90° en sentido antihorario en R² y aplícasela al vector (1, 1). Después escribe la que refleja sobre el eje x y la que lleva (1, 0) a (1, 0) y (0, 1) a (1, 1).Write the matrix that rotates by 90° anticlockwise in R² and apply it to the vector (1, 1). Then write the one that reflects across the x axis and the one that sends (1, 0) to (1, 0) and (0, 1) to (1, 1).

Ver la soluciónSee the solution
  1. No pienses en fórmulas: pregunta dónde acaba cada eje. Al girar 90°, e1 = (1, 0) acaba en (0, 1) y e2 = (0, 1) acaba en (−1, 0). Esas son las columnas: A = 0−110.Do not think about formulas: ask where each axis ends up. After a 90° turn, e1 = (1, 0) ends at (0, 1) and e2 = (0, 1) ends at (−1, 0). Those are the columns: A = 0−110.
  2. A·(1, 1) = 1·(0, 1) + 1·(−1, 0) = (−1, 1). El vector estaba a 45° entre los ejes y sigue a 45° entre los ejes de destino: ha girado con ellos.A·(1, 1) = 1·(0, 1) + 1·(−1, 0) = (−1, 1). The vector sat at 45° between the axes and is still at 45° between the destination axes: it turned with them.
  3. Reflexión sobre el eje x: e1 se queda, e2 pasa a (0, −1). A = 100−1. Cambiar el signo de una columna refleja; cambiar el de las dos gira 180°.Reflection across the x axis: e1 stays, e2 becomes (0, −1). A = 100−1. Flipping the sign of one column reflects; flipping both rotates by 180°.
  4. La tercera es una cizalla: columnas (1, 0) y (1, 1), A = 1101. Determinante 1: el área no cambia, solo se tuerce. Pruébalo en la simulación de la parte 3.The third is a shear: columns (1, 0) and (1, 1), A = 1101. Determinant 1: the area does not change, it only tilts. Try it in the simulation in part 3.

En las tres el rango es 2: ninguna aplasta nada y todas tienen inversa.In all three the rank is 2: none of them squashes anything and all have an inverse.

Ejemplo 3: de paramétricas a implícitas y al ortogonalExample 3: from parametric to implicit and to the orthogonal complement

S es el subespacio de R³ generado por (1, 0, 2) y (0, 1, −1). Da sus paramétricas, su implícita, su dimensión y el subespacio ortogonal.S is the subspace of R³ spanned by (1, 0, 2) and (0, 1, −1). Give its parametric equations, its implicit equation, its dimension and the orthogonal subspace.

Ver la soluciónSee the solution
  1. Los dos vectores no son proporcionales: rango 2, dimensión 2. Es un plano por el origen.The two vectors are not proportional: rank 2, dimension 2. It is a plane through the origin.
  2. Paramétricas, por dónde puedes ir: x = λ, y = μ, z = 2λ − μ.Parametric equations, where you can go: x = λ, y = μ, z = 2λ − μ.
  3. Implícita, por dónde no: elimina los parámetros. λ = x y μ = y, luego z = 2x − y, es decir, 2x − y − z = 0. Una sola implícita: 2 parámetros + 1 implícita = 3.Implicit equation, where you cannot go: eliminate the parameters. λ = x and μ = y, so z = 2x − y, that is, 2x − y − z = 0. One implicit equation: 2 parameters + 1 implicit = 3.
  4. El ortogonal es la dirección prohibida: los coeficientes de la implícita, (2, −1, −1). Compruébalo: su producto escalar con (1, 0, 2) es 2 − 2 = 0 y con (0, 1, −1) es −1 + 1 = 0. S⊥ tiene dimensión 1, y 2 + 1 = 3.The orthogonal complement is the forbidden direction: the coefficients of the implicit equation, (2, −1, −1). Check it: its dot product with (1, 0, 2) is 2 − 2 = 0 and with (0, 1, −1) is −1 + 1 = 0. S⊥ has dimension 1, and 2 + 1 = 3.

Mismo plano, tres formas de escribirlo: dos vectores, dos parámetros o una implícita. Elige la que te convenga en cada paso.Same plane, three ways to write it: two vectors, two parameters or one implicit equation. Pick whichever suits each step.

Ejemplo 4: polinomios como vectoresExample 4: polynomials as vectors

En los polinomios de grado menor o igual que 2, ¿son linealmente independientes p1 = t² − 1, p2 = t + 1 y p3 = t² + t? ¿Qué dimensión tiene el subespacio que generan?Among polynomials of degree at most 2, are p1 = t² − 1, p2 = t + 1 and p3 = t² + t linearly independent? What is the dimension of the subspace they span?

Ver la soluciónSee the solution
  1. Pásalos a vectores de coeficientes en el orden (1, t, t²): p1 = (−1, 0, 1), p2 = (1, 1, 0), p3 = (0, 1, 1).Turn them into coefficient vectors in the order (1, t, t²): p1 = (−1, 0, 1), p2 = (1, 1, 0), p3 = (0, 1, 1).
  2. Ponlos en una matriz y calcula el rango. El determinante de −110011101 vale −1·(1 − 0) − 1·(0 − 1) + 0 = 0. Rango menor que 3.Put them in a matrix and find the rank. The determinant of −110011101 is −1·(1 − 0) − 1·(0 − 1) + 0 = 0. Rank less than 3.
  3. Dos de ellos no son proporcionales, así que el rango es 2. Son dependientes y el subespacio tiene dimensión 2.Two of them are not proportional, so the rank is 2. They are dependent and the subspace has dimension 2.
  4. Busca la relación: p1 + p2 = t² − 1 + t + 1 = t² + t = p3. El tercero no aporta dirección.Find the relation: p1 + p2 = t² − 1 + t + 1 = t² + t = p3. The third adds no direction.

El enunciado con polinomios asusta; pasado a vectores es el rango de siempre.The polynomial wording looks scary; as vectors it is the usual rank.

Ejemplo 5: núcleo e imagen de una matriz que cambia de dimensiónExample 5: kernel and image of a matrix that changes dimension

Sea A = 121242. Di de qué espacio a qué espacio va, calcula su imagen y su núcleo con sus dimensiones, y comprueba la fórmula.Let A = 121242. Say which space it goes from and to, find its image and kernel with their dimensions, and check the formula.

Ver la soluciónSee the solution
  1. Tres columnas: el origen es R³. Dos filas: el destino es R². Es una 2×3, va de R³ a R².Three columns: the origin is R³. Two rows: the destination is R². It is 2×3, it goes from R³ to R².
  2. Imagen: lo que generan las columnas, (1, 2), (2, 4) y (1, 2). Todas proporcionales: rango 1. La imagen es la recta de R² en la dirección (1, 2). Todo R³ se aplasta sobre esa recta.Image: what the columns span, (1, 2), (2, 4) and (1, 2). All proportional: rank 1. The image is the line in R² along (1, 2). All of R³ gets squashed onto that line.
  3. Núcleo: impón A·v = 0. Las dos filas dicen lo mismo, x + 2y + z = 0. Una implícita en R³: un plano, dimensión 2. Paramétricas: y = λ, z = μ, x = −2λ − μ, generado por (−2, 1, 0) y (−1, 0, 1).Kernel: impose A·v = 0. Both rows say the same, x + 2y + z = 0. One implicit equation in R³: a plane, dimension 2. Parametric: y = λ, z = μ, x = −2λ − μ, spanned by (−2, 1, 0) and (−1, 0, 1).
  4. dim Im + dim Ker = 1 + 2 = 3 = dim del origen. Cuadra.dim Im + dim Ker = 1 + 2 = 3 = dim of the origin. It checks out.

Si te dan B = (3, 6), el sistema A·X = B es SCI con dos parámetros: B está en la recta imagen. Con B = (3, 5) es incompatible: no está.If you are given B = (3, 6), the system A·X = B has infinitely many solutions with two parameters: B lies on the image line. With B = (3, 5) it has none: it does not.

Ejemplo 6: ¿es subespacio?Example 6: is it a subspace?

Di cuáles de estos conjuntos de R² son subespacios: (a) los (x, y) con y = 2x; (b) los (x, y) con y = 2x + 1; (c) los (x, y) con x·y = 0.Say which of these subsets of R² are subspaces: (a) the (x, y) with y = 2x; (b) the (x, y) with y = 2x + 1; (c) the (x, y) with x·y = 0.

Ver la soluciónSee the solution
  1. (a) Sí. Es la recta (λ, 2λ): un parámetro, generada por (1, 2), rango 1. Lineal y homogénea. Combina dos puntos de la recta y sigues en ella.(a) Yes. It is the line (λ, 2λ): one parameter, spanned by (1, 2), rank 1. Linear and homogeneous. Combine two points on the line and you stay on it.
  2. (b) No. Es la misma dirección, pero desplazada: (0, 0) no la cumple, porque 0 ≠ 1. Un subespacio siempre pasa por el origen.(b) No. Same direction, but shifted: (0, 0) does not satisfy it, since 0 ≠ 1. A subspace always passes through the origin.
  3. (c) No. Es la unión de los dos ejes. Cada eje por separado sí es subespacio, pero (1, 0) + (0, 1) = (1, 1) se sale: no es cerrado para la suma. Además x·y = 0 no es lineal.(c) No. It is the union of the two axes. Each axis on its own is a subspace, but (1, 0) + (0, 1) = (1, 1) leaves it: it is not closed under addition. Besides, x·y = 0 is not linear.

Prueba rápida: ¿contiene el 0? ¿Las ecuaciones son lineales y sin término independiente? Si las dos respuestas son sí, es subespacio, y su dimensión es el número de parámetros.Quick test: does it contain 0? Are the equations linear with no constant term? If both answers are yes, it is a subspace, and its dimension is the number of parameters.

Ejemplo 7: coordenadas de un vector en otra baseExample 7: coordinates of a vector in another basis

Comprueba que B = {(1, 1, 0), (0, 1, 1), (1, 0, 1)} es una base de R³ y calcula las coordenadas de v = (3, 1, 4) en B. Escribe la matriz que pasa de B a la base canónica.Check that B = {(1, 1, 0), (0, 1, 1), (1, 0, 1)} is a basis of R³ and find the coordinates of v = (3, 1, 4) in B. Write the matrix that goes from B to the standard basis.

Ver la soluciónSee the solution
  1. Base: tres vectores en R³ son base si tienen rango 3. El determinante de 101110011 vale 1·(1 − 0) − 0 + 1·(1 − 0) = 2 ≠ 0. Sí es base.Basis: three vectors in R³ form a basis if their rank is 3. The determinant of 101110011 is 1·(1 − 0) − 0 + 1·(1 − 0) = 2 ≠ 0. It is a basis.
  2. Coordenadas: busca a, b, c con a·(1, 1, 0) + b·(0, 1, 1) + c·(1, 0, 1) = (3, 1, 4). Componente a componente: a + c = 3, a + b = 1, b + c = 4.Coordinates: look for a, b, c with a·(1, 1, 0) + b·(0, 1, 1) + c·(1, 0, 1) = (3, 1, 4). Component by component: a + c = 3, a + b = 1, b + c = 4.
  3. Suma las tres: 2(a + b + c) = 8, luego a + b + c = 4. Restando cada ecuación: b = 1, c = 3, a = 0. vB = (0, 1, 3).Add all three: 2(a + b + c) = 8, so a + b + c = 4. Subtracting each equation: b = 1, c = 3, a = 0. vB = (0, 1, 3).
  4. Comprueba: 0·(1, 1, 0) + 1·(0, 1, 1) + 3·(1, 0, 1) = (3, 1, 4). Es el mismo vector; solo ha cambiado el nombre.Check: 0·(1, 1, 0) + 1·(0, 1, 1) + 3·(1, 0, 1) = (3, 1, 4). It is the same vector; only its name has changed.
  5. La matriz P con los vectores de B en columnas, 101110011, cumple P·(0, 1, 3) = (3, 1, 4): pasa de coordenadas en B a coordenadas canónicas. P−1 hace el viaje contrario, y es la que resuelve el sistema de una vez para cualquier vector.The matrix P with the vectors of B as columns, 101110011, satisfies P·(0, 1, 3) = (3, 1, 4): it goes from coordinates in B to standard coordinates. P−1 makes the return trip, and it solves the system once and for all for any vector.

Mismo esquema que los sistemas: la combinación lineal es A·X = B, con la base en las columnas. Si la matriz es 3×3 la inversa sale por determinantes; a partir de 4×4, Gauss.Same scheme as systems: the linear combination is A·X = B, with the basis in the columns. For a 3×3 matrix the inverse comes from determinants; from 4×4 on, use Gauss.

Parte 3Part 3

Simulación: una matriz mueve una figuraSimulation: a matrix moves a shape

La E gris es la original. Escribe una matriz, o elige un caso, y mira dónde acaba la E dorada. Las flechas roja y azul son las columnas: el destino de e1 y de e2. Arrastra el vector u y comprueba que A·u es siempre la combinación de las columnas con sus coordenadas.The grey E is the original. Type a matrix, or pick a case, and watch where the gold E ends up. The red and blue arrows are the columns: where e1 and e2 land. Drag the vector u and check that A·u is always the combination of the columns with its coordinates.

Simulación · transformación lineal en R²Simulation · linear transformation in R²

Las columnas dicen dónde acaban los ejesThe columns say where the axes end up

Cuando el rango baja a 1, toda la E se aplasta sobre una recta y aparece en ámbar el núcleo: la dirección que se convierte en 0. Es lo que pasa en un sistema compatible indeterminado.When the rank drops to 1, the whole E is squashed onto a line and the kernel appears in amber: the direction that becomes 0. It is what happens in a system with infinitely many solutions.

A =

La simulación necesita JavaScript. Sin él, la idea es esta: las columnas de la matriz son el destino de los ejes, y cualquier vector acaba en la combinación lineal de las columnas.The simulation needs JavaScript. Without it, the idea is this: the columns of the matrix are where the axes end up, and any vector lands on the linear combination of the columns.

Prueba esto: pon la identidad y dobla una columna; luego cambia el signo de una, y después de las dos; escribe dos columnas proporcionales y mira el núcleo; por último escribe la matriz del ejemplo 2 y arrastra u hasta (1, 1).Try this: start with the identity and double one column; then flip the sign of one, and then of both; type two proportional columns and look at the kernel; finally type the matrix from example 2 and drag u to (1, 1).

Conviene saberlo: donde se pierden los puntosGood to know: where the marks are lost

  • Confundir la dimensión del espacio con la del subespacio. Una recta en R³ tiene x, y, z y dimensión 1. La dimensión es el número de parámetros, no el de coordenadas.Mixing up the dimension of the space with that of the subspace. A line in R³ has x, y, z and dimension 1. Dimension is the number of parameters, not of coordinates.
  • Dar por subespacio una recta desplazada. Si hay término independiente, no contiene el 0 y no lo es. Lineal y homogéneo, siempre.Taking a shifted line for a subspace. If there is a constant term, it does not contain 0 and it is not one. Linear and homogeneous, always.
  • Contar vectores en vez de calcular el rango. Tres vectores pueden generar un plano. La dimensión es el rango de la matriz que forman.Counting vectors instead of finding the rank. Three vectors can span a plane. The dimension is the rank of the matrix they form.
  • Leer la matriz al revés. Filas: dimensión del destino. Columnas: dimensión del origen. Una 3×4 va de R⁴ a R³.Reading the matrix backwards. Rows: dimension of the destination. Columns: dimension of the origin. A 3×4 goes from R⁴ to R³.
  • Olvidar la cuenta de parámetros e implícitas. Si suman más o menos que n, hay un error: sobra una implícita que es combinación de otras, o falta una.Forgetting the count of parameters and implicit equations. If they add up to more or less than n, something is wrong: either an implicit equation is a combination of others, or one is missing.
  • Escribir las columnas donde van las filas. El destino de e1 es la primera columna. Si lo pones en fila, has transpuesto la transformación.Writing the columns where the rows go. The destination of e1 is the first column. If you write it as a row, you have transposed the transformation.
  • Calcular rangos con determinantes en R⁵. Vale hasta R⁴. A partir de ahí, Gauss: cada fila de ceros es una dimensión menos.Finding ranks with determinants in R⁵. It works up to R⁴. Beyond that, Gauss: each row of zeros is one dimension less.
  • Confundir un cambio de base con una aplicación lineal. El cambio de base deja el vector quieto y le cambia las coordenadas; la aplicación lo mueve. Cuando un ejercicio junta las dos cosas, separa primero cuál es cuál.Mixing up a change of basis with a linear map. The change of basis leaves the vector still and changes its coordinates; the map moves it. When an exercise combines both, first separate which is which.
  • Asustarse con la notación. «Clausura lineal de p1, …, pm» es el subespacio que generan. «q no está en la clausura» se demuestra por contradicción: supón que es combinación lineal y mira qué falla. Con polinomios, el grado: una combinación lineal de polinomios de grado como mucho 14 nunca llega a t15. Ponlo con números que conozcas y escríbelo con palabras; eso ya es una reducción al absurdo.Getting scared by the notation. "Linear span of p1, …, pm" is the subspace they generate. "q is not in the span" is proved by contradiction: assume it is a linear combination and see what breaks. With polynomials, the degree: a linear combination of polynomials of degree at most 14 never reaches t15. Put it with numbers you know and write it in words; that already is a proof by contradiction.
Parte 4Part 4

Simulacro de espacios vectorialesVector spaces mock exam

Tres ejercicios, 60 minutos, sin calculadora. Son ejercicios propios del tipo de un primer parcial de álgebra lineal, no enunciados de un examen real. Puntúa sobre 10.Three exercises, 60 minutes, no calculator. These are our own exercises of the kind set in a first linear algebra midterm, not questions from a real exam. Marked out of 10.

60:00
NotaScore 0,0 / 10

Ejercicio 1Exercise 1

3,5 puntos3.5 points

Sea S el subespacio de R⁴ definido por las implícitas x − y + z = 0 y y + t = 0.Let S be the subspace of R⁴ defined by the implicit equations x − y + z = 0 and y + t = 0.

  1. a)(1 punto) Calcula su dimensión y da unas paramétricas y una base.(1 point) Find its dimension and give parametric equations and a basis.
  2. b)(1 punto) Di si el vector (2, 1, −1, −1) pertenece a S y si (1, 1, 1, 1) pertenece a S.(1 point) Say whether the vector (2, 1, −1, −1) belongs to S and whether (1, 1, 1, 1) belongs to S.
  3. c)(1,5 puntos) Da una base del subespacio ortogonal S⊥ y comprueba la cuenta de dimensiones.(1.5 points) Give a basis of the orthogonal subspace S⊥ and check the dimension count.
Solución y correcciónSolution and marking
a)

Dos implícitas independientes en R⁴: dimensión 4 − 2 = 2. Da valores a dos letras: z = λ, t = μ. De la segunda, y = −μ. De la primera, x = y − z = −μ − λ. Paramétricas (−λ − μ, −μ, λ, μ). Base: (−1, 0, 1, 0) y (−1, −1, 0, 1).Two independent implicit equations in R⁴: dimension 4 − 2 = 2. Give values to two letters: z = λ, t = μ. From the second, y = −μ. From the first, x = y − z = −μ − λ. Parametric (−λ − μ, −μ, λ, μ). Basis: (−1, 0, 1, 0) and (−1, −1, 0, 1).

b)

Con implícitas se comprueba sustituyendo. (2, 1, −1, −1): 2 − 1 − 1 = 0 y 1 − 1 = 0, pertenece. (1, 1, 1, 1): 1 − 1 + 1 = 1 ≠ 0, no pertenece.With implicit equations you check by substituting. (2, 1, −1, −1): 2 − 1 − 1 = 0 and 1 − 1 = 0, it belongs. (1, 1, 1, 1): 1 − 1 + 1 = 1 ≠ 0, it does not.

c)

Las direcciones prohibidas son los coeficientes de las implícitas: (1, −1, 1, 0) y (0, 1, 0, 1). Son independientes, luego base de S⊥, de dimensión 2. Comprobación: su producto escalar con cada vector de la base de S es 0, y 2 + 2 = 4.The forbidden directions are the coefficients of the implicit equations: (1, −1, 1, 0) and (0, 1, 0, 1). They are independent, so they form a basis of S⊥, of dimension 2. Check: their dot product with each basis vector of S is 0, and 2 + 2 = 4.

RúbricaRubric0 / 3,5

Ejercicio 2Exercise 2

3,5 puntos3.5 points

Sea f la aplicación lineal de R³ en R³ con matriz A = 101011112.Let f be the linear map from R³ to R³ with matrix A = 101011112.

  1. a)(1 punto) Calcula el rango de A y la dimensión de la imagen y del núcleo.(1 point) Find the rank of A and the dimensions of the image and the kernel.
  2. b)(1,25 puntos) Da una base del núcleo y una de la imagen.(1.25 points) Give a basis of the kernel and one of the image.
  3. c)(1,25 puntos) Discute el sistema A·X = B para B = (1, 2, 3) y para B = (1, 2, 4), sin resolverlo.(1.25 points) Discuss the system A·X = B for B = (1, 2, 3) and for B = (1, 2, 4), without solving it.
Solución y correcciónSolution and marking
a)

La tercera fila es la suma de las dos primeras, así que el determinante es 0. Las dos primeras no son proporcionales: rango 2. dim Im = 2, dim Ker = 3 − 2 = 1. La transformación aplasta una dimensión.The third row is the sum of the first two, so the determinant is 0. The first two are not proportional: rank 2. dim Im = 2, dim Ker = 3 − 2 = 1. The transformation squashes one dimension.

b)

Núcleo: A·v = 0 da x + z = 0 e y + z = 0 (la tercera sobra). Con z = λ: (−λ, −λ, λ), base (−1, −1, 1). Imagen: las columnas, (1, 0, 1), (0, 1, 1) y (1, 1, 2); la tercera es la suma de las otras dos. Base de la imagen: (1, 0, 1) y (0, 1, 1), el plano x + y − z = 0.Kernel: A·v = 0 gives x + z = 0 and y + z = 0 (the third is redundant). With z = λ: (−λ, −λ, λ), basis (−1, −1, 1). Image: the columns, (1, 0, 1), (0, 1, 1) and (1, 1, 2); the third is the sum of the other two. Basis of the image: (1, 0, 1) and (0, 1, 1), the plane x + y − z = 0.

c)

Hay solución solo si B está en la imagen, es decir, si cumple x + y − z = 0. B = (1, 2, 3): 1 + 2 − 3 = 0, está; rango A = rango A' = 2 < 3, SCI con un parámetro, que es la dimensión del núcleo. B = (1, 2, 4): 1 + 2 − 4 ≠ 0, no está; rango A' = 3 > 2, incompatible.There is a solution only if B lies in the image, that is, if it satisfies x + y − z = 0. B = (1, 2, 3): 1 + 2 − 3 = 0, it does; rank A = rank A' = 2 < 3, infinitely many solutions with one parameter, which is the dimension of the kernel. B = (1, 2, 4): 1 + 2 − 4 ≠ 0, it does not; rank A' = 3 > 2, no solution.

RúbricaRubric0 / 3,5

Ejercicio 3Exercise 3

3 puntos3 points

En el espacio de los polinomios de grado menor o igual que 2, considera q1 = 1 + t, q2 = 1 − t² y q3 = t + t².In the space of polynomials of degree at most 2, consider q1 = 1 + t, q2 = 1 − t² and q3 = t + t².

  1. a)(1,5 puntos) Estudia si son linealmente independientes y da la dimensión del subespacio que generan.(1.5 points) Study whether they are linearly independent and give the dimension of the subspace they span.
  2. b)(0,75 puntos) Di si el polinomio 2 + t − t² pertenece a ese subespacio.(0.75 points) Say whether the polynomial 2 + t − t² belongs to that subspace.
  3. c)(0,75 puntos) Razona por qué t³ no puede estar en la clausura lineal de q1, q2 y q3.(0.75 points) Explain why t³ cannot be in the linear span of q1, q2 and q3.
Solución y correcciónSolution and marking
a)

Vectores de coeficientes en (1, t, t²): q1 = (1, 1, 0), q2 = (1, 0, −1), q3 = (0, 1, 1). Determinante: 1·(0 + 1) − 1·(1 − 0) + 0 = 0. Rango 2: son dependientes, y de hecho q1 − q2 = q3. Dimensión 2.Coefficient vectors in (1, t, t²): q1 = (1, 1, 0), q2 = (1, 0, −1), q3 = (0, 1, 1). Determinant: 1·(0 + 1) − 1·(1 − 0) + 0 = 0. Rank 2: they are dependent, and in fact q1 − q2 = q3. Dimension 2.

b)

(2, 1, −1) = α(1, 1, 0) + β(1, 0, −1). De la segunda coordenada α = 1; de la tercera β = 1; la primera da 1 + 1 = 2. Sí pertenece: es q1 + q2.(2, 1, −1) = α(1, 1, 0) + β(1, 0, −1). From the second coordinate α = 1; from the third β = 1; the first gives 1 + 1 = 2. It does belong: it is q1 + q2.

c)

Por contradicción: si t³ fuera combinación lineal de los qi, sería un polinomio de grado como mucho 2, porque combinar linealmente nunca sube el grado. Pero t³ tiene grado 3. Contradicción.By contradiction: if t³ were a linear combination of the qi, it would be a polynomial of degree at most 2, because linear combinations never raise the degree. But t³ has degree 3. Contradiction.

RúbricaRubric0 / 3
Parte 5Part 5

Corrígete túMark it yourself

La rúbrica es nuestra y orientativa: cada universidad corrige con sus criterios. Lo que sí es general es que un razonamiento con dimensiones bien contadas vale más que una cuenta sin interpretar.The rubric is ours and is only a guide: each university marks with its own criteria. What is general is that an argument with dimensions counted properly is worth more than a calculation left uninterpreted.

Rutina para corregirteSelf-marking routine

  1. Deja de escribir cuando el reloj llegue a 0.Stop writing when the clock reaches 0.
  2. Cambia a un boli de otro color y abre la solución.Switch to a pen of another colour and open the solution.
  3. Marca una línea de la rúbrica solo si tu hoja enseña ese paso.Tick a rubric line only if your paper shows that step.
  4. En cada apartado perdido, apunta en qué dimensión estabas y en cuál acababas. Casi siempre el error está ahí.For each part you lost, write down what dimension you were in and which one you ended up in. The mistake is almost always there.
  5. Dos días después, rehaz solo los apartados que perdiste, sin mirar.Two days later, redo only the parts you lost, without looking.

Tus marcas se guardan solo en este navegador.Your ticks stay in this browser only.

Cuéntame en qué punto estás

Mira el plan, contesta dos preguntas y, si encajamos, pide la llamada. En 30 minutos te digo si te puedo ayudar y cómo, sin rodeos.

¿Una duda antes? Escríbeme por WhatsApp.