My Math Forum solve the eqn z^2+2(1+i)z+2=0,giving each result in the form a+bi.

 Algebra Pre-Algebra and Basic Algebra Math Forum

 September 5th, 2017, 10:49 PM #21 Global Moderator   Joined: Dec 2006 Posts: 18,140 Thanks: 1415 How did you obtain $\small\dfrac{√3}{3}$ and supposedly verify it by substitution?
September 5th, 2017, 11:49 PM   #22
Senior Member

Joined: Mar 2015
From: New Jersey

Posts: 1,174
Thanks: 90

Quote:
 Originally Posted by skipjack How did you obtain $\small\dfrac{√3}{3}$ and supposedly verify it by substitution?
Quote:
 Originally Posted by zylo Let $\displaystyle z=a+bi$, substitute into OP, and set real and imaginary parts to 0 to solve for $\displaystyle a$ and $\displaystyle b$. 1) $\displaystyle a^{2}-b^{2}+2a-2b+2=0$ for the real part and 2) $\displaystyle ab+a+b=0$ for the imaginary part. Substituting for $\displaystyle a$ from 2) into 1) gives: 3) $\displaystyle (b^{2}+2b)^{2}=2$ 4)$\displaystyle b^{2}+2b=\pm\sqrt{2}$ $\displaystyle b^{2}+2b=-\sqrt{2}$ gives a complex b, invalid. $\displaystyle b^{2}+2b=+\sqrt{2}$ gives $\displaystyle b=-1\pm \sqrt{1+\sqrt{2}}$ 5) $\displaystyle b=-1+\sqrt{1+\sqrt{2}}$ gives $\displaystyle a=-1+\frac{1}{\sqrt{1+\sqrt{2}}}=-1+\frac{\sqrt{3}}{3}\sqrt{\sqrt{2}-1}$ 6) $\displaystyle b=-1-\sqrt{1+\sqrt{2}}$ gives $\displaystyle a=-1-\frac{1}{\sqrt{1+\sqrt{2}}}=-1-\frac{\sqrt{3}}{3}\sqrt{\sqrt{2}-1}$
$\displaystyle (\sqrt{2}+1)(\sqrt{2}-1)$ = 3. Made same mistake every time I checked it.

I substituted b and the first expression for $\displaystyle a$ from 5) into 1), which I was absolutely sure of, and thought it was OK- but missed a 2 but didn't recheck because it was what I wanted.

The biggy was 3). I got it because I got a $\displaystyle -2b^{3}$ and a $\displaystyle +2b^{3}$ after substituting for a from 2) into 1) which cancelled out. Finally rechecked it again and both signs were -, which left me with a quartic and I quit.

Sorry I didn't let you know, but the "quite simple" remark still rankled.

But maybe it wasn't all wasted. I suspect if you substituted z=a+bi into the general complex quadratic you would find you had to solve a quartic which would essentially rule out the method.

I assume your answer is correct. Mathematicians never make mistakes in algebra.

I still think THE general approach is the quadratic formula, which should work out to your answer if I finished the calculation I started, and if not, check by substitution. I would do it in the hope of showing you are wrong because of the "quite simple" remark, but the outcome would be highly in doubt given your algebra is probably impeccable and thus not worth the effort.

Finally, I don't think you answered the OP because, in my opinion, the answer should be how to solve A complex quadratic, not THE complex quadratic, which I attempted to do, and that's not quite so "simple".

Last edited by skipjack; September 6th, 2017 at 02:10 AM.

 September 6th, 2017, 01:53 AM #23 Global Moderator   Joined: Dec 2006 Posts: 18,140 Thanks: 1415 The value for $b$ and the first value for $a$ are correct in (5) and (6), so you should have been able to verify them by substituting them into (1) without any problem - I don't understand why "missing a 2" would be relevant or what "2" you missed. Can you explain what you meant, being more specific? The expression $(√2 + 1)(√2 - 1)$ doesn't seem to arise when you do the above substitutions. How did you obtain √3 from it anyway? Also, as you had obtained correct expressions, I don't understand why you aren't satisfied with the method you used. A slip in your arithmetic doesn't imply that your method is unsound. I didn't use the expression "quite simply". I took the first step of completing the square, which is a standard solution method, and the method used to prove the quadratic formula. Given that x² + 2px + q = 0, adding p² - q to both sides gives x² + 2px + p² = p² - q, i.e. (x + p)² = p² - q. For p = 1 + i and q = 2, the right-hand side is (1 + i)² - 2, which is the expression I posted.
 September 6th, 2017, 09:21 AM #24 Senior Member   Joined: Mar 2015 From: New Jersey Posts: 1,174 Thanks: 90 Everything worked out after all. Couldn't find where the 3's came from. $\displaystyle z=a+bi$, substitute into OP, and set real and imaginary parts to $\displaystyle 0$ to solve for $\displaystyle a$ and $\displaystyle b$. 1) $\displaystyle a^{2}-b^{2}+2a-2b+2=0$ for the real part and 2) $\displaystyle ab+a+b=0$ for the imaginary part. Substituting for $\displaystyle a$ from 2) into 1) gives: 3) $\displaystyle (b^{2}+2b)^{2}=2$ 4) $\displaystyle b^{2}+2b=\pm\sqrt{2}$ 5) $\displaystyle b^{2}+2b=-\sqrt{2}$ gives a complex b, invalid. 6) $\displaystyle b^{2}+2b=+\sqrt{2}$ gives $\displaystyle b=-1\pm \sqrt{1+\sqrt{2}}$ 7) $\displaystyle b=-1+\sqrt{1+\sqrt{2}}$ gives $\displaystyle a=-1+\frac{1}{\sqrt{1+\sqrt{2}}}=-1+\sqrt{\sqrt{2}-1}$ 8 ) $\displaystyle b=-1-\sqrt{1+\sqrt{2}}$ gives $\displaystyle a=-1-\frac{1}{\sqrt{1+\sqrt{2}}}=-1-\sqrt{\sqrt{2}-1}$ -------------------------------------------------------------------------------------- Scratch work: 9) $\displaystyle a^{2}-b^{2}+2a-2b+2=0$ 10) $\displaystyle (a-b)(a+b)+2(a-b)+2=0$ 11) $\displaystyle (a-b)(a+b+2)+2=0$ 12) $\displaystyle I(z)=0 \rightarrow ab+a+b=0\rightarrow a=\frac{-b}{b+1}$ substituting 12) into 11) gives, after clearing fractions, 13) $\displaystyle (b^{2}+2b)(b^{2}+2b+2)-2(1+b)^{2}=0$ 14) $\displaystyle (b^{2}+2b)^{2}=2$ Solving for real b gives, for case 7) 15) $\displaystyle b=-1+\sqrt{\sqrt{2}+1}$ 16) $\displaystyle a=\frac{-b}{b+1}=-1+\frac{1}{\sqrt{\sqrt{2 }+1}}$ 17) $\displaystyle a=-1+\frac{\sqrt{\sqrt{2}+1}}{\sqrt{2}+1}=-1+\frac{(\sqrt{2}-1)\sqrt{\sqrt{2}+1} }{(\sqrt{2}-1)(\sqrt{2} +1)}=-1+\sqrt{\sqrt{2}-1}\sqrt{\sqrt{2}-1}\sqrt{\sqrt{2}+1}$ 18 ) $\displaystyle a=-1+\sqrt{\sqrt{2}-1}$ Once I worked with 9) in the form of 11) everything fell into place. I still have to think about your factoring, and look at substituting a+bi into the general complex quadratic to see if it leads to a quartic equation.
 September 6th, 2017, 11:35 AM #25 Global Moderator   Joined: Dec 2006 Posts: 18,140 Thanks: 1415 That's correct, but when your scratch work is taken into account, I'm not sure that your answer still qualifies as "straightforward, no gimmicks". Any quadratic equation can be solved by use of the quadratic formula. The difficulty here was obtaining the real and imaginary parts of the solutions (separately). Before investigating whether that's more difficult for "the general complex quadratic", you would need to state how its coefficients are allowed to be defined.
 September 6th, 2017, 11:59 AM #26 Math Team   Joined: Dec 2013 From: Colombia Posts: 7,030 Thanks: 2341 Math Focus: Mainly analysis and algebra It's clearly not more difficult as Skipjack's approach was simply to complete the square - exactly the way the formula is derived. The more complicated part is determining $\sqrt{i-1}$, which is necessary in both solutions. The quartics in $a$ and $b$ only have 2 valid solutions because they have to be real. Skipjack didn't explicitly point out that he was selecting only those solutions, but he (correctly) did so nonetheless. Last edited by skipjack; September 6th, 2017 at 12:28 PM.
September 6th, 2017, 02:53 PM   #27
Senior Member

Joined: Mar 2015
From: New Jersey

Posts: 1,174
Thanks: 90

Why would you derive the solution of a quadratic equation? Do you do that every time you solve a quadratic equation?

And I still don't understand this post:

Quote:
 Originally Posted by skipjack $z^2 + 2(1 + i)z + 2 = 0$ implies $(z + 1 + i)^2 = (1 + i)^2 - 2 = 2i - 2$. Let $(a + bi)^2 = 2i - 2$, where $a$ and $b$ are real. That implies $a^2 - b^2 = -2$ and $ab = 1$. 1) Eliminating $b$, $a^2 - 1/a^2 = -2$ and so $(a^2 + 1)^2 = 2$. Hence $a = \pm\sqrt{-1 + √2}$. Similarly, $b = \pm\sqrt{1 + √2}$, where $a$ and $b$ have the same sign. Hence $z = -1 + \sqrt{-1 + √2} + (\sqrt{1 + √2} - 1)i$ or $-1 - \sqrt{-1 + √2} - (\sqrt{1 + √2} + 1)i$.
1) is wrong. It should be: $\displaystyle a^{4} +2a^{2}-1=0$ with solutions (quick calculation)
$\displaystyle a=\pm\sqrt{\sqrt{3}-1}$
$\displaystyle b=\pm\frac{\sqrt{2}}{2}\sqrt{\sqrt{3}+1}$

z+1+i = a+bi, Let z=x+yi then
x+yi+1+i =a+bi so

x+1-a=0
y+1-b=0

Now what? Only greg1313 knows, it's "so simple."

You lead me down the garden path, insult me, and when I finally figure it out after assuming you couldn't be wrong, after 3 pgs you put the thread in HS Algebra. Nice crew. The honorable thing to do would be to apologize and put the thread where it's been all along.

Last edited by skipjack; September 7th, 2017 at 05:33 AM.

September 6th, 2017, 02:57 PM   #28
Senior Member

Joined: Sep 2015
From: Southern California, USA

Posts: 1,600
Thanks: 816

Quote:
 Originally Posted by zylo Why would you derive the solution of a quadratic equation? Do you do that every time you solve a quadratic equation?
doesn't make any sense does it... but... sometimes the nature of the equation leads itself towards completing the square rather than direct application of the quadratic formula.

if whole numbers are involved I tend to complete the square.

if decimal fractions are involved I tend to plug everything into the qf.

that's just me though.

September 7th, 2017, 03:51 AM   #29
Senior Member

Joined: Mar 2015
From: New Jersey

Posts: 1,174
Thanks: 90

Quote:
 Originally Posted by romsek doesn't make any sense does it... but... sometimes the nature of the equation leads itself towards completing the square rather than direct application of the quadratic formula. if whole numbers are involved I tend to complete the square. if decimal fractions are involved I tend to plug everything into the qf. that's just me though.
You missed the point, intentionally I presume. The question is how was that used to solve OP? Please address questions in my previous post #27, including why the thread was moved here after 26 posts.

 September 7th, 2017, 05:23 AM #30 Math Team   Joined: Dec 2013 From: Colombia Posts: 7,030 Thanks: 2341 Math Focus: Mainly analysis and algebra Why do you imagine that one should always stick to a single method? I factorise by hand or complete the square by preference because:it's good algebra practice; it gives more insight into the expression; calculators didn't do complex arithmetic when I was younger; it gives me the freedom to choose the form of the answer that is most useful to me, rather than just blindly accepting a calculator or formula output; I like to get answers for myself.

 Tags eqn, form, giving, result, solve

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post neera84 Complex Analysis 4 July 1st, 2013 11:08 AM jackson_wang Calculus 11 November 12th, 2012 07:52 PM ahlf Algebra 0 January 25th, 2011 12:13 PM neera84 Calculus 2 December 31st, 1969 04:00 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top