Question

In: Computer Science

Give an example of a linear system of three equations with three unknowns that has the...

Give an example of a linear system of three equations with three unknowns that has the general solution with one parameter.

Solutions

Expert Solution

Ans. Example:

system of three equations in three unknowns.
x1+ x2 + x3 = 4 (1)
x1+ 2x2 + 3x3 = 9 (2)
2x1+ 3x2 + x3 = 7 (3)
We can reduce the system down to two equations in two unknowns by using the first equation to solve for
x1 in terms of x2 and x3
x1 = 4 − x2 − x3 equation-(1’)
and substituting this solution into the remaining two equations
(2) (4 − x2 − x3) + 2x2+3x3 = 9 =⇒ x2+2x3 = 5
(3) 2(4 − x2 − x3) + 3x2+ x3 = 7 =⇒ x2− x3 = −1
We now have two equations in two unknowns, x2 and x3. We can solve the first of these two equations for
x2 in terms of x3
x2 = 5 − 2x3 equation -(2’)

and substitute the result into the final equation
(5 − 2x3) − x3 = −1 =⇒ −3x3 = −6
to get down to one equation in the one unknown x3. We can trivially solve it for x3
x3 = 2
and substitute the result into (2’) to give x2
x2 = 5 − 2x3 = 5 − 2 × 2 = 1
and finally substitute the now known values of x2 and x3 into (1’) to determine x1
x1 = 4 − x2 − x3 = 4 − 1 − 2 = 1


Related Solutions

Write your own routine to solve a system of n linear equations and n unknowns using...
Write your own routine to solve a system of n linear equations and n unknowns using the LU decomposition. Input should take an augmented matrix and the number of equations n. Output should be the augmented matrix. L and U matrices and the solution. Also compare your results to those of Matlab’s built in LU decomposition. Use your code to solve the systems given as (a) and (b) below: a) 3a − 2b + c = −3, a − 4b...
(3) (1.1: Geometry) For each part below, give an example of a linear system of equations...
(3) (1.1: Geometry) For each part below, give an example of a linear system of equations in two variables that has the given property. In each case, draw the lines corresponding to the solutions of the equations in the system. (a) has no solution (b) has exactly one solution (c) has infinitely many solutions (i) Add or remove equations in (b) to make an inconsistent system. (ii) Add or remove equations in (b) to create infinitely many solutions. (iii) Add...
how to solve a system of 4 equations with 4 unknowns?
how to solve a system of 4 equations with 4 unknowns?
Solve the linear system of equations Ax = b, and give the rank of the matrix...
Solve the linear system of equations Ax = b, and give the rank of the matrix A, where A = 1 1 1 -1 0 1 0 2 1 0 1 1 b = 1 2 3
Let's say that I have a set of ten linear, simulateous equations for 6 unknowns. What...
Let's say that I have a set of ten linear, simulateous equations for 6 unknowns. What MATLAB code could I write to see how many of the variables could be solved in a numerical solution?
Suppose a system of linear equations has 2 equations and 3 variables. (a) True or False:...
Suppose a system of linear equations has 2 equations and 3 variables. (a) True or False: The system could have no solutions. (b) Produce an example of a system with 2 equations and 3 variables that has no solution, or explain why such a system is impossible.
Please explain and give an example: Solving linear and quadratic equations. Please type answer do not...
Please explain and give an example: Solving linear and quadratic equations. Please type answer do not hand write. Thank you.
Explain what the Gaussian elimination does, by column picture, to a linear system with 3 unknowns...
Explain what the Gaussian elimination does, by column picture, to a linear system with 3 unknowns and 3 equations.
SET UP BUT DO NOT SOLVE the following system of linear equations: A company sells three...
SET UP BUT DO NOT SOLVE the following system of linear equations: A company sells three sizes of fruit trays. The small size contains 200 gr of watermelons and 100 gr of grapes. The medium size contains 400 gr of watermelons, 100 gr of pineapples, and 300 gr of grapes. The large size contains 600 gr of watermelons, 200 gr of pineapples, and 400 gr of grapes. Suppose that the company receives an order for 28 kg of watermelons, 6...
Explain how the absorbance of mixtures is additive. Describe the “two unknowns, two equations” system used...
Explain how the absorbance of mixtures is additive. Describe the “two unknowns, two equations” system used to find the concentrations of two absorbing species in mixtures.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT