Solution:
Concept: A pair of simultaneous linear equations in x and y is two equations that must both be true at the same time. Their solution is the one pair of values of x and y that satisfies both equations.
Method of cross-multiplication: write both equations in the form a1x+b1y+c1=0 and a2x+b2y+c2=0, so that a, b and c are the coefficient of x, the coefficient of y and the constant term, each with its own sign. Then
b1c2−b2c1x=a1b2−a2b11
and
c1a2−c2a1y=a1b2−a2b11
provided a1b2−a2b1 is not zero.
Step 1 — Write both equations in the form ax+by+c=0.
The first equation is already in this form. In the second we move 130 to the left side, where it becomes −130.
x−y+2=0
7x+9y7x+9y−130=130=0
Step 2 — Read off the coefficients.
From the first equation, a1=1, b1=−1 and c1=2. From the second equation, a2=7, b2=9 and c2=−130.
Step 3 — Work out the three denominators.
We use the coefficients, keeping every sign, in the three cross products.
b1c2−b2c1=(−1)(−130)−(9)(2)=130−18=112
c1a2−c2a1=(2)(7)−(−130)(1)=14−(−130)=144
a1b2−a2b1=(1)(9)−(7)(−1)=9−(−7)=16
Step 4 — Find x and y.
We put the denominators into the cross-multiplication rule and solve each equation for its letter.
112xxx=161=16112=7
144yyy=161=16144=9
Step 5 — Check the answer.
We put x=7 and y=9 back into both original equations. On each line the two sides come out equal, so the answer is right.
7−9+27(7)+9(9)=0=130
Watch out: Take c1 and c2 with their signs after moving every term to the left side; a constant written on the right side changes sign. Note also that the coefficient of x in x−y+2=0 is 1 and that of y is −1.
Therefore, x=7 and y=9.