Jump to content

Linear inhomogeneous system/Elimination/2x+5y+2z-v is 3, 3x-4y+u+2v is 1, 4x -2z+2u is 7/Example

From Wikiversity

We want to solve the inhomogeneous linear system

2x+5y+2z−v=33x−4y+u+2v=14x−2z+2u=7

over ℝ (or over ℚ). Firstly, we eliminate x by keeping the first row I, replacing the second row II by II−32I, and replacing the third row III by III−2I. This yields

2x+5y+2z−v=3−232y−3z+u+72v=−72−10y−6z+2u+2v=1.

Now, we can eliminate y from the (new) third row, with the help of the second row. Because of the fractions, we rather eliminate z (which eliminates also u). We leave the first and the second row as they are, and we replace the third row III by III−2II. This yields the system, in a new ordering of the variables,

2x+2z+5y−v=3−3z+u−232y+72v=−7213y−5v=8.

Now we can choose an arbitrary (free) value for v. The third row determines y uniquely, we must have

y=813+513v.

In the second equation, we can choose u arbitrarily, this determines z via

z=−13(−72−u−72v+232(813+513v))=−13(−72−u−72v+9213+11526v)=−13(9326−u+1213v)=−3126+13u−413v.

The first row determines x, namely

x=12(3−2z−5y+v)=12(3−2(−3126+13u−413v)−5(813+513v)+v)=12(3013−23u−413v)=1513−13u−213v.

Hence, the solution set is

{(1513−13u−213v,813+513v,−3126+13u−413v,u,v)∣u,v∈ℝ}.

A particularly simple solution is obtained by equating the free variables u and v with 0. This yields the special solution

(x,y,z,u,v)=(1513,813,−3126,0,0).

The general solution set can also be written as

{(1513,813,−3126,0,0)+u(−13,0,13,1,0)+v(−213,513,−413,0,1)∣u,v∈ℝ}.

Here,

{u(−13,0,13,1,0)+v(−213,513,−413,0,1)∣u,v∈ℝ}

is a description of the general solution of the corresponding homogeneous linear system.