How to solve a system of 3 equations for 3 unknowns

  • Thread starter Thread starter christurnadge
  • Start date Start date
  • Tags Tags
    System Unknowns
AI Thread Summary
To solve the system of three equations for three unknowns (x, m, L), the first step involves manipulating the equations through substitution. Starting with equation (2), x can be expressed as x = -(a^2)*L, and from equation (3), m can be defined as m = -(b^2)*g*L. Substituting these expressions into equation (1) leads to the rearrangement that allows for the calculation of L as L = (-c) / [(a^2) + (g^2)*(b^2)]. This value of L can then be used to find x and m, resulting in the final definitions of all three variables in terms of the constants a, b, c, and g. The discussion emphasizes the importance of substitution and elimination techniques in solving such systems of equations.
christurnadge
Messages
3
Reaction score
0

Homework Statement



The variables of interest are :

Constants are a, b, c, and g

Unknowns are x, m, and L

The intent is to define x, m, and L in terms of a, b, c, and g.


Homework Equations



The three dependent equations are :

(1) x + g*m = c

(2) [x / (a^2)] + L = 0

(3) [m / (b^2)] + g*L = 0


The Attempt at a Solution



The solution is known to be :

(4) x = [(a^2)*c] / [(a^2) + (g^2)*(b^2)]

(5) m = [(b^2)*g*c] / [(a^2) + (g^2)*(b^2)]

(6) L = (-c) / [(a^2) + (g^2)*(b^2)]

I would like to know the steps used to calculate this solution, using substitution and/or elimination. I apologise for not using LaTex formatting for the equations. Thank you in advance.
 
Physics news on Phys.org
I can help but where is your work? Have you even tried to work this on your own?
 
I'm interested as to how this is solved as it is part of a numerical method (adjoint-states) that I'm trying to understand. I've never studied linear algebra formally, so I don't have any experience in solving systems of equations. Through internet searching I have noted the use of substitution and elimination to solve such problems, but nonetheless I do not know how to begin.

I hope that you or other forum members may be able to demonstrate the steps required to achieve the solutions presented.

Thank you.
 
christurnadge said:
I hope that you or other forum members may be able to demonstrate the steps required to achieve the solutions presented.
We are not allowed to just give the solutions -- it's against forum rules.

I'll give you a hint to start, and I ask that you show the work in using the hint:
- Solve equation (2) for x.
- Solve equation (3) for m.
- Plug in the results into equation (1).
 
Using eumyang's suggestions, I can now calculate the solutions as follows :

(1) [x / (a^2)] + L = 0, therefore

(2) x = -(a^2)*L

(3) [m / (b^2)] + g*L = 0, therefore

(4) m = -(b^2)*g*L


For the following equation,

(5) x + g*m = c

using the identities provided by equations (2) and (4) gives :

(6) -(a^2)*L + g*[-(b^2)*g*L] = c

which can be rearranged to solve for L :

(7) L = (-c) / [(a^2) + (g^2)*(b^2)]


Now this definition of L can be inserted into equations (2) and (4) to provide definitions for x and m.


Thanks very much eumyang for your suggestions to get started!
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top