Two burgers and one hot dog cost 4.82→Write 2B+1H=4.82.
One burger and two hot dogs cost 3.70→Write 1B+2H=3.70.
Set up a Ratio Of Matrices from the 2 equations written:
[2 4.82]
[1 3.70]
[2 1]
[1 2]
The cost of a hot dog is equal to the value of this Ratio Of Matrices and is given by Cramer's Rule in Linear Algebra as (2×3.70−1×4.82) ÷ (2×2−1×1). This reduces to (7.40-4.82)÷(4-1) or 2.58÷3 equal to $0.86 for one hot dog.