Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Finding real part (newbie question)

  • To: mathgroup at
  • Subject: [mg15825] Re: Finding real part (newbie question)
  • From: phbrf at (Peter Breitfeld)
  • Date: Mon, 8 Feb 1999 03:25:49 -0500 (EST)
  • Organization: das ist ein breites Feld ...
  • References: <79e8lo$>
  • Sender: owner-wri-mathgroup at

Gnalle <GNALLE at> schrieb:
> If a,b,c,d are real numbers. How do I use mathematica to find the real
> part of
> 1/(a + I b + 1/(c + I d))
> Yes I can calculate it by hand, but I would like to know how to use
> Mathematica.

Try this:

z=1/(a + I b + 1/(c + I d)

this gives the real-part:


               c + a c^2 + a d^2
1 + 2 a c - 2 b d + a^2(c^2 + d^2) + b^2(c^2 + d^2)

The imaginary part is then z-z1.

es gruesst
  Peter Breitfeld, Saulgau, Germany       (PGP public key: 08548045)

  • Prev by Date: Re: List Position
  • Next by Date: Re: Function definition
  • Previous by thread: Re: Finding real part (newbie question)
  • Next by thread: Re: Finding real part (newbie question)