Total Equations are `3`
`4M_1+M_2+0M_3=-12 -> (1)`
`M_1+4M_2+M_3=12 -> (2)`
`0M_1+M_2+4M_3=-12 -> (3)`
Select the equations `(1)` and `(2)`, and eliminate the variable `M_1`.
`4M_1+M_2=-12` | ` xx 1->` | | `` | `4M_1` | `+` | `M_2` | | | `=` | `-12` | `` |
| | − | |
`M_1+4M_2+M_3=12` | ` xx 4->` | | `` | `4M_1` | `+` | `16M_2` | `+` | `4M_3` | `=` | `48` | `` |
| | |
|
| | | | | `-` | `15M_2` | `-` | `4M_3` | `=` | `-60` | ` -> (4)` |
Select the equations `(3)` and `(4)`, and eliminate the variable `M_2`.
`M_2+4M_3=-12` | ` xx 15->` | | | | `` | `15M_2` | `+` | `60M_3` | `=` | `-180` | `` |
| | + | |
`-15M_2-4M_3=-60` | ` xx 1->` | | | | `-` | `15M_2` | `-` | `4M_3` | `=` | `-60` | `` |
| | |
|
| | | | | | | `` | `56M_3` | `=` | `-240` | ` -> (5)` |
Now use back substitution method
From (5)
`56M_3=-240`
`=>M_3=(-240)/(56)=-4.2857`
From (3)
`M_2+4M_3=-12`
`=>M_2+4(-4.2857)=-12`
`=>M_2-17.1429=-12`
`=>M_2=-12+17.1429=5.1429`
From (2)
`M_1+4M_2+M_3=12`
`=>M_1+4(5.1429)+(-4.2857)=12`
`=>M_1+16.2857=12`
`=>M_1=12-16.2857=-4.2857`
Solution using Elimination method.
`M_1=-4.2857,M_2=5.1429,M_3=-4.2857`