Solving Simultaneous equations
[#permalink]
15 Jun 2021, 09:14
Yeah, I completed grad school in math, and I doubt any mathematician I know would ever use Cramer's rule to solve GMAT-level 2-equations/2-unknowns problems. It's easy to see where Cramer's rule comes from, and then it's easy to see why it's actually a bad idea to use it for simple problems. If you have this two equation/two unknowns problem:
ax + by = p
gx + hy = r
then if we want to solve for y, we can just get the same 'coefficient' in front of x, and subtract one equation from the other. So we can multiply the first equation by g, and the second by a, to get agx in both:
agx + bgy = gp
agx + ahy = ar
and subtracting equations, the 'agx' term will vanish:
bgy - ahy = gp - ar
y(bg - ah) = gp - ar
y = (gp - ar)/(bg - ah)
and that's Cramer's rule. Notice though if you had these two equations:
154x + 29y = 53
77x + 14y = 25
then if you plug into Cramer, you're doing this calculation: (77*53 - 154*25)/(29*77 - 14*154), which is bananas, at least if you don't see the useful factorization of 77 throughout. If you avoid Cramer, and just multiply the second equation by 2 and subtract equations, you simply do:
154x + 29y = 53
154x + 28y = 50
y = 3
So when you use Cramer, you're doing exactly the same thing that you would do when you subtract equations, if you subtract equations in the worst possible way. You're always doing at least as much work as you'd do subtracting equations, but we can often use least common multiples, or many other simple shortcuts, and if you commit to using Cramer, you're committing to never noticing any of those time-saving opportunities.