How to Solve a System of Equations with Multiple Variables and Equations

Click For Summary

Homework Help Overview

The discussion revolves around solving a system of equations derived from a differential equation using the Method of Undetermined Coefficients. The original poster is attempting to find the coefficients A1, A2, B1, and B2 from a set of equations but is encountering difficulties in solving the system.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the nature of the system, noting that there are initially three equations for four unknowns, which raises questions about the solvability of the system. The original poster attempts to derive a fourth equation but faces issues with their calculator when trying to solve the resulting system.

Discussion Status

Some participants suggest that the system may be dependent or underdetermined, indicating that one variable might need to be treated as arbitrary. There is a recognition that the derived fourth equation may not contribute to a unique solution, leading to a discussion about the implications of having a row of zeros in the matrix representation.

Contextual Notes

There is a mention of the possibility that the original differential equation might have been set up incorrectly, which could affect the validity of the derived equations. Participants are encouraged to share the original differential equation for further examination.

ns5032
Messages
27
Reaction score
0

Homework Statement



Well, I am in the middle of solving a (quite difficult) differential equation using the Method of Undetermined Coefficients, and have finally come across a system of equations and I need to solve for A(sub 1), or (A1), (A2), (B1), and (B2), but I cannot figure out how to (or if it is possible at all, seeing as how I could have done the rest of the problem wrong before it). The system of equations I now have is:

(1) -7(A1) + 3(A2) + 6(B1) - 21(B2) = 2
(2) 3(A1) + 12(A2) - 7(B1) + 3(B2) = -34
(3) 21(A1) + 5(B1) = 150

Homework Equations


---

The Attempt at a Solution



Using equation (3), I can determine that
(A1) = (50/7) - (5/21)(B1)
and that
(B1) = 30 - (21/5)(A1)

Using these and plugging them into equation (2), I get a 4th equation:

(4) 1029(A1) + 420(A2) - 25(B1) + 105(B2) = 5410

Now I have a new system of equations:

(1) -7(A1) + 3(A2) + 6(B1) - 21(B2) = 2
(2) 3(A1) + 12(A2) - 7(B1) + 3(B2) = -34
(3) 21(A1) + 5(B1) = 150
(4) 1029(A1) + 420(A2) - 25(B1) + 105(B2) = 5410

Now, I tried using my calculator to solve this system, but it only gives me an error. Is there another way to solve for the coefficients?? Any help would be great!
 
Physics news on Phys.org
Hi,
I'm not the best at linear algebra, but it looks to me like you have 3 equations and 4 unknowns. That can't be solved. You do need one more equation, but it seems to me like if you solve the last equation for A1 and A2 and then plug that back into equation 2, you have a dependent system. If you solve number 3 for A1 and then plug that into 1 and 2, then you have 2 equations and 3 unknowns...still can't solve it.

I may be wrong here...I'm wrong a lot,
But that's what I remember.
CC
 
Well I started with only 3 equations, but under "attempt at the solution" I did what you said and got a 4th equation. So now I have 4 equations with 4 variables which should work, but when I use matrices in my calculator, it won't solve it.
 
You have to allow one of the variables to be arbitrary, and then solve for the rest of them in terms of the arbitrary variable. This will give you a set of solutions, which are known as the "solution space"
 
ns5032 said:
Well I started with only 3 equations, but under "attempt at the solution" I did what you said and got a 4th equation. So now I have 4 equations with 4 variables which should work, but when I use matrices in my calculator, it won't solve it.

What you did to obtain that 4th equation was putting A1 and B1 from (3) into another equation. While that may appear to give you a fourth equation, if you actually try to solve it via row-reduction, you should see that you will get a row of zero's. Meaning that you will have an infinite number of solutions

ns5032 said:
but I cannot figure out how to (or if it is possible at all, seeing as how I could have done the rest of the problem wrong before it)
You could post the differential equation you tried to solve and then post your attempt at it and we can attempt to see if you went wrong somewhere in the process.
 
Last edited:

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 67 ·
3
Replies
67
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K