Two equations to solve simultaneously

  • Thread starter Thread starter johann1301
  • Start date Start date
AI Thread Summary
The discussion focuses on solving two simultaneous linear equations involving constants c and d. The equations are structured with A and B defined as A = 1 + sqrt(2) and B = 1 - sqrt(2). Participants suggest methods to isolate variables, with one effective approach being to multiply the first equation by A or B before subtracting from the second equation. The correct solutions derived from these methods are c = (sqrt(2) + 2)/4 and d = (2 - sqrt(2))/4. The conversation emphasizes the importance of showing work to identify mistakes in the solution process.
johann1301
Messages
216
Reaction score
1

Homework Statement


2 = c(1+sqrt(2)) + d(1-sqrt(2))
5 = c(1+sqrt(2))2 + d(1-sqrt(2))2

The Attempt at a Solution


[/B]
Ive tried finding an expression for c, and replacing c in the other equation, but it gives me the wrong answer... what should i do?

The answer should be c=(sqrt(2)+2)/4
 
Last edited by a moderator:
Physics news on Phys.org
Show your working. We can't help you if we can't see where you might have gone wrong.
 
You understand that these are just linear equations, don't you: Ac+ Bd= 2 and A^2c+ B^2d= 5 with A= 1+ \sqrt{2} and B= 1- \sqrt{2}. Yes, you could solve the first equation for c, c= (2- Bd)/A, and put that into the second equation: A^2[(2- Bd)/A)+ B^2d= A(2- Bd)+ B^2d= 2A- ABd+B^2d= 5 so (B^2- AB)d= 5- 2A and d= (5- 2A)/(B^2- AB)

Personally, I would have multiplied the first equation by A to get A^2c+ ABd= 2A and then subtract that from the second equation: (B^2- AB)d= 5- 2A which immediately gives d= (5- 2A)/(B^2- AB). Similarly, multiply the first equation by B to get ABc+ B^2d= 2B and subtract that from the second equation to get (A^2- AB)c= 5- 2B so that c= (5- 2B)/(A^2- AB).

Now put A= 1+\sqrt{2} and B= 1- \sqrt{2}.
 
  • Like
Likes johann1301
Thanks! I got the correct answer using d = (5- 2A)/(B^2- AB). Turns out I've been doing a mistake before i got to this part...
 
HallsofIvy said:
You understand that these are just linear equations, don't you: Ac+ Bd= 2 and A^2c+ B^2d= 5 with A= 1+ \sqrt{2} and B= 1- \sqrt{2}. Yes, you could solve the first equation for c, c= (2- Bd)/A, and put that into the second equation: A^2[(2- Bd)/A)+ B^2d= A(2- Bd)+ B^2d= 2A- ABd+B^2d= 5 so (B^2- AB)d= 5- 2A and d= (5- 2A)/(B^2- AB)

Personally, I would have multiplied the first equation by A to get A^2c+ ABd= 2A and then subtract that from the second equation: (B^2- AB)d= 5- 2A which immediately gives d= (5- 2A)/(B^2- AB). Similarly, multiply the first equation by B to get ABc+ B^2d= 2B and subtract that from the second equation to get (A^2- AB)c= 5- 2B so that c= (5- 2B)/(A^2- AB).

Now put A= 1+\sqrt{2} and B= 1- \sqrt{2}.

Which, of course, should simplify to...

c = (2 + Sqrt[2])/4

d = (2 - Sqrt[2])/4
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
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