I can't come up with the code to solve for a and b in terms of x and y.(adsbygoogle = window.adsbygoogle || []).push({});

Code (Text):x + I y = Sqrt[a + I b]Code (Text):In[84]:= Clear["Global`*"]

Solve[x + I y == Sqrt[a + I b], {a, b}]

During evaluation of In[84]:= Solve::svars:

Equations may not give solutions for all "solve" variables. >>

Out[85]= {{a -> -I b + x^2 + 2 I x y - y^2}}

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica and complex numbers

Loading...

Similar Threads - Mathematica complex numbers | Date |
---|---|

Mathematica Part of complex plot disappears [mathematica] | Apr 19, 2017 |

Mathematica: Solving Linear Complex Systems | Nov 7, 2012 |

Mathematica: Optimizing NIntegrate with complex integrand | Dec 4, 2011 |

Solving a complex equation involving conjugates with Mathematica | Apr 19, 2010 |

Mathematica - FindFit with complex numbers | Sep 9, 2008 |

**Physics Forums - The Fusion of Science and Community**