Solving Simultaneous Equations: 4x + 5y =12 and -8x + 4y =32

AI Thread Summary
The discussion revolves around solving the simultaneous equations 4x + 5y = 12 and -8x + 4y = 32. The initial attempt involved multiplying the equations to align the y coefficients, leading to incorrect subtraction and an erroneous value for x (4.666...). The correct approach was identified as subtracting the top equation from the bottom, yielding the correct solution for x (-2). Participants emphasized the importance of careful arithmetic and suggested writing out steps to avoid mistakes. The conversation highlighted various methods for solving simultaneous equations, including matrix representation.
paulb203
Messages
196
Reaction score
75
Homework Statement
Solve the following simultaneous equation;
Relevant Equations
4x + 5y =12
-8x + 4y =32
I multiplied the top one by 4, and the bottom one by 5 to make the y coefficients the same and got;

16x + 20y = 48
-40x + 20y = 160

Then I subtracted the bottom one from the top one and got;

-24 x = -112

Which gave x = 4.666...

But the answer for x was -2

I realise now that if I had subtracted the the top one from the bottom I would have got;

-56x = 112, which would give the correct answer for x (x = -2)

But I'm left thinking that the other way should have worked yet I ended up with 4.666... for x
Where did I go wrong when I did it the first way?
 
Physics news on Phys.org
matthewphilip said:
Homework Statement:: Solve the following simultaneous equation;
Relevant Equations:: 4x + 5y =12
-8x + 4y =32

I multiplied the top one by 4, and the bottom one by 5 to make the y coefficients the same and got;

16x + 20y = 48
-40x + 20y = 160

Then I subtracted the bottom one from the top one and got;

-24 x = -112
This is wrong. Subtracting the bottom from the top goes:
$$
(16x+20y-(-40x+20y))=16x+20y+40x-20y=56x=48-160=-112\text{ and }x=-2
$$
matthewphilip said:
Which gave x = 4.666...

But the answer for x was -2

I realise now that if I had subtracted the the top one from the bottom I would have got;

-56x = 112, which would give the correct answer for x (x = -2)

But I'm left thinking that the other way should have worked yet I ended up with 4.666... for x
Where did I go wrong when I did it the first way?
A general hint: Write out as much as you can. Writing is faster than thinking and mistakes are easier to trace. Here are the rest of my hints:
https://www.physicsforums.com/insights/10-math-tips-save-time-avoid-mistakes/
 
  • Like
Likes berkeman, topsquark and paulb203
Ah! Thank you. When I should have done 16x - (-40x) I incorrectly did 16x - 40x, yeah?

And thanks for the tips too. Bookmarked for later.
 
matthewphilip said:
Homework Statement:: Solve the following simultaneous equation;
Relevant Equations:: 4x + 5y =12
-8x + 4y =32

I multiplied the top one by 4, and the bottom one by 5 to make the y coefficients the same and got;

16x + 20y = 48
-40x + 20y = 160

Then I subtracted the bottom one from the top one and got;

-24 x = -112

Which gave x = 4.666...

But the answer for x was -2

I realise now that if I had subtracted the the top one from the bottom I would have got;

-56x = 112, which would give the correct answer for x (x = -2)

But I'm left thinking that the other way should have worked yet I ended up with 4.666... for x
Where did I go wrong when I did it the first way?
You could have too, multiplied the top equation by 2 and add it to the one in the bottom:
8x+10y=24
-8x+4y=32.
 
... or you could have written the coefficients as ##\begin{bmatrix}4&5\\-8&4\end{bmatrix}## then swap ##4## and ##4##, set a minus sign in front of the non-diagonal elements and get ##\begin{bmatrix}4&-5\\8&4\end{bmatrix}##, calculate ##4\cdot 4 - (-8)\cdot 5=56## and compute
$$
\begin{bmatrix}x\\y\end{bmatrix}=\dfrac{1}{56} \cdot \begin{bmatrix}4&-5\\8&4\end{bmatrix}\cdot \begin{bmatrix}12\\32\end{bmatrix}=\dfrac{1}{56}\begin{bmatrix}4\cdot 12-5\cdot 32\\8\cdot 12+4\cdot 32\end{bmatrix}=\begin{bmatrix}-112\\ 224\end{bmatrix}=\begin{bmatrix}-2\\4\end{bmatrix}
$$

Looks a bit complicated and unnecessarily long, but has the big advantage that it always works, as long as there is a unique solution.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top