Mathematica Mathematica Help - Plotting equation with i

AI Thread Summary
The discussion revolves around the challenges of plotting a complex function in Mathematica using PolarPlot. The original equation, r[t_] = 3 Cos[t] + iSin[t], fails to plot correctly due to the nature of PolarPlot, which is designed for real radii. Users suggest that to visualize complex functions, one might need to use alternative methods, such as ParametricPlot or consider using the absolute value of the complex function with Abs[], which provides the real distance from the origin in the complex plane. The conversation highlights the limitations of PolarPlot for complex numbers and points to the need for different plotting techniques to achieve the desired visualization.
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.
 
Physics news 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.
 

Similar threads

Replies
1
Views
2K
Replies
2
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
5
Views
2K
Replies
5
Views
2K
Back
Top