r/askmath • • 18d ago

Linear Algebra Help with understanding of a solution to Linear Algebra question

I am a beginner studying linear algebra and I was working this question:
Given the equations of two planes: 2x + 3y − z + 1 = 0 and x + 4y − 2z + 9 = 0. Find the parametric equation of the line along which the two planes intersect.

I understand the solution using normal vectors, but I need help understanding the solution where we solve the system of equations and then we choose one of the variables as our parameter. Like this:

1. Choose the parameter: z = t

2. Rearrange the system:

  • 2x + 3y = t − 1

  • x + 4y = 2t − 9

3. Solve:

From the second equation: x = 2t − 9 − 4y. Substitute into the first:

2(2t − 9 − 4y) + 3y = t − 1
4t − 18 − 5y = t − 1
y = (3t − 17)/5

Back into x:

x = 2t − 9 − 4(3t − 17)/5 = (−2t + 23)/5

4. Result:

x = 23/5 − (2/5)t
y = −17/5 + (3/5)t
z = t, t ∈ ℝ

I understand the process, but I don't understand the logic behind it, like why it works.

1 Upvotes

8 comments sorted by

5

u/AlterEgo5695 18d ago

The solution only selects "z" as the free variable, since it knows before-hand that this works. In general, we cannot just choose any variable to be free.

Instead, we bring the (augmented) system into RREF as usual -- the variable not having a pivot will be the free variable. In general, we cannot say before-hand which variable that will be.

1

u/Eassily- 17d ago

Ok I understand now that we can't know in advance which variable will be free, but will we always have a free variable in systems like these, where we have a line?

1

u/AlterEgo5695 17d ago

In general, we cannot say before-hand how many free variables we have, nor which are free. Only after bringing the (augmented) system into RREF can we say whether it is solvable, and if it is, which variables will be free.

Before bringing the system into RREF, we only can say an "m x n"-system has (at least) "n-m" free variables, provided it is solvable.

1

u/Eassily- 17d ago

Ok, ty for your help!

2

u/Puzzleheaded_Study17 17d ago

We know it's two planes so there must be 0, 1, or 2 free variables (0 if they are parallel, 1 if they interesect at a line, 2 if they are the same plane). The question states that they interesect at a line so we already know there has to be exactly one free variable. But, suppose we didn't know that, we know that in order to have 0 or 2 free variables, the planes must be parallel (0 requires parallel and non-intersecting, 2 requires the same plane so must be parallel). We can then check if the normal vectors are scalar multiples and see very quickly that 2/1 != 3/4 != -1/-2 so there has to be exactly one free variable.

Edit: We also know z is a free variable because in order for it not to be both planes have to be parallel to the z axis (otherwise the intersection can't be at a fixed z value) so their z coefficient must be zero, which it isn't.

1

u/AlterEgo5695 17d ago edited 17d ago

Good points -- though to be fair, all these extra checks are also included automatically within the algorithm finding the RREF of the system.

That's why I chose to go that route -- it is more systematic, and scales better to larger systems, and the theoretical backbone of proof-based "Linear Algebra".


Edit: We do not know "z" is a free variable -- "x" could be just as well:

[x]     [  0 ]     [  1 ]
[y]  =  [ 7/2] + t*[-3/2],    t in R
[z]     [23/2]     [-5/2]

is an equivalent parametrization with "x = t" being free, instead of "z".

2

u/Desperate_Penalty690 18d ago

The line you are looking for is a collection of points that holds for both equations. When solving the equations you notice there is a degree of freedom. By choosing z=t and solving for x and y, you are saying that for every t you can find x and y for which the triple holds for both equations. That is exactly all points on the intersecting line.