Plotting the trajectory of a particle in polar coordinates

In summary, plotting the trajectory of a particle in polar coordinates involves representing its position using a radius and an angle, which are functions of time. The radial distance indicates how far the particle is from the origin, while the angle describes its direction. By determining the equations for these parameters, one can visualize the particle's motion in a circular or spiral path, allowing for analysis of its speed and acceleration in a two-dimensional plane. This method is particularly useful for problems involving angular motion or where symmetry about a point is present.
  • #1
Lambda96
223
75
Homework Statement
Plot the curve of ##\rho(t)=\rho_0 + \rho_1 \sin^2(4 \pi t)##
Relevant Equations
none
Hi,

Unfortunately, I am not quite sure whether I have solved/plotted the following task correctly

Bildschirmfoto 2023-12-05 um 15.40.22.png

I started by resolving the expression ##\phi=2 \pi t## to t so that I can represent ##\rho(t)## with ##\rho(\phi)##

The vector ##\vec{e}_r## was written in my lecture as follows ##\vec{e}_{\rho}## , ##\vec{e}_{\rho}= \left(\begin{array}{c} \cos(\phi) \\ \sin(\phi) \end{array}\right)##

Then the position vector is ##\vec{r}(\phi)=\rho(\phi) \vec{e}_{\rho}=(\rho_0+\rho_1 \sin^2(2 \phi) ) \left(\begin{array}{c} \cos(\phi) \\ \sin(\phi) \end{array}\right)##

Then I plotted this expression using Mathematica from ##0## to ##2 \pi##

Bildschirmfoto 2023-12-05 um 16.04.07.png


Is that correct? Because doesn't the two different colors mean that I got the trajectory for two different particles instead of just one?
 
Physics news on Phys.org
  • #2
Note that the expression ##\rho = 0.1 + \sin^2(4\pi t)## is always greater than or equal to 0.1. So, the trajectory never gets closer than 0.1 to the origin.

The format for Mathematica's PolarPlot is

1701793023547.png


Here, ##r## is just your ##\rho## expressed as a function of ##\phi##, but without the ##\vec{e}_{\rho}= \left(\begin{array}{c} \cos(\phi) \\ \sin(\phi) \end{array}\right)##. By putting in ##\vec{e}_{\rho}= \left(\begin{array}{c} \cos(\phi) \\ \sin(\phi) \end{array}\right)##, you are essentially going to Cartesian coordinates where the x and y components are expressed in terms of the parameter ##\phi##. In that case, you could use Mathematica's ParametricPlot. However, I think using PolarPlot is simpler here.
 
Last edited:
  • Like
Likes Lambda96
  • #3
In addition to what @TSny said, can I add this.

Lambda96 said:
Then the position vector is ##\vec{r}(\phi)=\rho(\phi) \vec{e}_{\rho}=(\rho_0+\rho_1 \sin^2(2 \phi) ) \left(\begin{array}{c} \cos(\phi) \\ \sin(\phi) \end{array}\right)##
Note that ##(\rho_0+\rho_1 \sin^2(2 \phi))## is a scalar quantity. So

##(\rho_0+\rho_1 \sin^2(2 \phi) )\left(\begin{array}{c} \cos(\phi) \\ \sin(\phi) \end{array}\right)##

is equal to

## \left(\begin{array}{c} \rho_0\cos(\phi)+\rho_1 \sin^2(2 \phi)\cos(\phi) \\ \rho_0\sin(\phi)+\rho_1 \sin^2(2 \phi)\sin(\phi) \end{array}\right)##

This doesn't match what you entered in Mathematica.

You might want practise/check by plotting a few simple curves of known shapes.
 
  • #4
Thank you TSny and Steve4Physics for your help 👍👍

I have now redone the plot and got the following:

Bildschirmfoto 2023-12-05 um 19.00.05.png
 
  • Like
Likes Steve4Physics and TSny
  • #5
Looks good.
 
  • Like
Likes Lambda96
  • #6
If you want to use the command ParametricPlot, then the format is
1701800241740.png

So, for this problem we would have
1701800303332.png


Or, maybe less confusing,
1701800607050.png
 
  • Like
Likes Lambda96
  • #7
Thank you TSny for your help 👍 and also thank you for showing me how to plot the curve with ParametricPlot 👍 Since Mathematica is relatively new to me, this helped me a lot.
 
  • Like
Likes TSny

FAQ: Plotting the trajectory of a particle in polar coordinates

What are polar coordinates and how do they differ from Cartesian coordinates?

Polar coordinates represent a point in a plane using a distance from a reference point (usually the origin) and an angle from a reference direction (usually the positive x-axis). In contrast, Cartesian coordinates use two perpendicular axes (x and y) to define a point in the plane. Polar coordinates are particularly useful for problems involving circular or rotational symmetry.

How do you convert Cartesian coordinates to polar coordinates?

To convert Cartesian coordinates (x, y) to polar coordinates (r, θ), you use the following formulas: \( r = \sqrt{x^2 + y^2} \) and \( θ = \tan^{-1}(y/x) \). Here, r is the radial distance from the origin, and θ is the angle measured from the positive x-axis.

What is the equation of motion for a particle in polar coordinates?

The equations of motion for a particle in polar coordinates are given by two second-order differential equations: \( \ddot{r} = r\dot{θ}^2 + F_r/m \) and \( r\ddot{θ} + 2\dot{r}\dot{θ} = F_θ/m \), where \( \ddot{r} \) is the radial acceleration, \( \ddot{θ} \) is the angular acceleration, \( \dot{r} \) is the radial velocity, \( \dot{θ} \) is the angular velocity, \( F_r \) is the radial force, \( F_θ \) is the tangential force, and m is the mass of the particle.

How do you plot the trajectory of a particle in polar coordinates?

To plot the trajectory of a particle in polar coordinates, you need to solve the equations of motion to obtain r(t) and θ(t) as functions of time. Once you have these functions, you can plot the trajectory by converting these polar coordinates to Cartesian coordinates using \( x(t) = r(t) \cos(θ(t)) \) and \( y(t) = r(t) \sin(θ(t)) \), and then plotting x(t) versus y(t).

What are some common applications of polar coordinates in physics and engineering?

Polar coordinates are commonly used in fields such as electromagnetism, fluid dynamics, and orbital mechanics. They are particularly useful for problems involving circular or rotational symmetry, such as the motion of planets and satellites, the analysis of electrical fields around charged particles, and the study of waves and oscillations in circular membranes.

Similar threads

Replies
3
Views
1K
Replies
11
Views
3K
Replies
3
Views
2K
Replies
5
Views
288
Replies
3
Views
3K
Back
Top