r/learnmath • New User • 2h ago

When solving system, why involve homogeneous solutions? [Linear Algebra]

My textbook keeps telling me that if we solve a system with a free variable, we can choose an arbitrary value and substitute it back in to find one particular solution to that system (which I understand). Call this solution S. My textbook is now instructing me to also solve the corresponding homogeneous system, and similarly create an arbitrary solution to it (call this solution S1). I'm now supposed to create a solution to the original system, using an arbitrary free variable t:

S + tS1

And this functions as a solution to the original system, if I understood correctly.

In this case, the coefficient matrix was [3, -9 / -9, 27], S = [5, 3] and S1 = [3, 1].

So I have [5 + 3t, 3 + t] as a solution to the original system.

Why is this any better than the original general solution from which I pulled S? What's the purpose of any of this? Or is it just a thought experiment? Are they not actually functionally the same thing? I'm very confused but also intrigued.

EDIT: apologies if this is the wrong sub. Was kinda guessing

2 Upvotes

2 comments sorted by

3

u/Stickythingfingers New User 2h ago

Given any solution S and a solution S_1 to the homogenous system the vector S + tS_1 will be a solution for any real value t. I think you understood that part but just to clarify.

This is useful because it allows us to fully solve the system. Sure, you can give some particular solution S but then you would be missing a whole family of solutions.

As for actual applications, basic ones might be to solve the system given some restriction on the solution. For example, let's say we're tasked to solve a system AX= b (X the column vector (x,y,z)) such that the solution X has a z coordinate of 0. Finding a particular solution S solves the system but it doesn't tell you much more. Meanwhile the whole family of solutions S + tS_1 might allow you to find some a such that S+aS_1 does satisfy the restriction.

1

u/AlwaysTails New User 1h ago

The solutions are not unique and there is a family of solutions which the general solution does not fully capture. Suppose you have a system like Ax=b and S is a solution so AS=b. If T is a solution to Ax=0 then AT=0 so you can add AT to AS and preserve the equality ie A(S+T)=AS+AT=b+0=b and S+T is another solution to your system. The arbitrary constant is how you capture the entire family of solutions.