Mathematica Help - Plotting equation with i

  • Context: Mathematica 
  • Thread starter Thread starter tarheelborn
  • Start date Start date
  • Tags Tags
    Mathematica Plotting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 3K views
tarheelborn
Messages
121
Reaction score
0
I cannot seem to make mathematica plot the following equation correctly:

r[t_] = 3 Cos[t] + iSin[t];
plotbeta = PolarPlot[r[t], {t, -Pi/2, Pi/2}]

I have used the capital I to no avail; I have used * to indicate multiplication. It plots the curve without a problem when I leave out the i, but I need the i! I will appreciate your help. Thank you.
 
on Phys.org
PolarPlot[], documented here,
http://reference.wolfram.com/mathematica/ref/PolarPlot.html
plots a Real radius as a function of the angle.

Do you really want to plot a surface in Complex space as a function of Complex radius?
If you want a PolarPlot that plots Complex radii then I don't know what to suggest.
There have been a few example complex plotting functions demonstrated over the years,
I think Roman Maeder developed one of these in the really really old book "Programming in Mathematica."

Or do you perhaps want
r[t_] = Abs[3 Cos[t] + I Sin[t]];
where Abs[] returns the Real distance from the origin to the point 3 Cos[t] + I Sin[t] in the complex plane?
 
I finally managed to get this using ParametricPlot. It worked beautifully; just took some tweaking! Thank you.