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

Click For Summary
SUMMARY

The discussion centers on solving a system of equations derived from a differential equation using the Method of Undetermined Coefficients. The user initially has three equations and derives a fourth equation, resulting in a system of four equations with four unknowns: A1, A2, B1, and B2. However, the user encounters issues when attempting to solve this system using a calculator, which indicates that the system may have an infinite number of solutions due to linear dependence. The key takeaway is that one variable must be treated as arbitrary to explore the solution space effectively.

PREREQUISITES
  • Understanding of linear algebra concepts, particularly systems of equations
  • Familiarity with the Method of Undetermined Coefficients
  • Proficiency in using matrix operations for solving equations
  • Knowledge of differential equations and their applications
NEXT STEPS
  • Learn about linear dependence and how it affects the solvability of systems of equations
  • Study the concept of solution spaces in linear algebra
  • Explore matrix row-reduction techniques for solving systems of equations
  • Investigate the Method of Undetermined Coefficients in greater detail
USEFUL FOR

Students and professionals in mathematics, particularly those studying linear algebra and differential equations, as well as anyone seeking to improve their problem-solving skills in systems of equations.

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
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 67 ·
3
Replies
67
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K