Trying to use polar coordinates to find the distance between two points

Click For Summary

Homework Help Overview

The discussion revolves around using polar coordinates to find the distance between two points, specifically from (3,0) to (0,3) in Cartesian coordinates. Participants are exploring the concept of invariant distance and the correct application of polar coordinate formulas in this context.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the use of differentials in polar coordinates and the integration of arc length along a curve. There are questions about expressing the radius as a function of angle and the correct limits for integration. Some participants express uncertainty about their calculations and seek validation of their approaches.

Discussion Status

There is ongoing exploration of the correct setup for the problem, with some participants providing guidance on expressing the radius in terms of angle and discussing the implications of their calculations. Multiple interpretations of the problem are being considered, particularly regarding the integration process and the nature of the curve involved.

Contextual Notes

Some participants mention that they are not looking for straightforward solutions and are instead focused on understanding the underlying concepts. There is also a note that one participant is using Wolfram for experimentation rather than for homework purposes.

SamRoss
Gold Member
Messages
256
Reaction score
36
Homework Statement
Trying to get a better understanding of invariant distance. As an example, I want to find the distance between (3,0) and (0,3) (in Cartesian coordinates) but using polar coordinates.
Relevant Equations
##{ds}^2={dx}^2+{dy}^2={dr}^2+r^2{d\theta}^2##
##{dx}^2+{dy}^2=3^2+3^2=18##

##{dr}^2+r^2{d\theta}^2=0^2+3^2*(\theta/2)^2\neq18##

I have a feeling that what I'm doing wrong is just plugging numbers into the polar coordinate formula instead of treating it as a curve. For example, I naively plugged in 3 for r even though I know the radius would change along the line from (3,0) to (0,3) (Cartesian coordinates). How can this be done correctly? Also, I am not looking to use the ##{r_1}^2+{r_2}^2-2{r_1}{r_2}cos(\theta_1-\theta_2)## formula which I know would solve the problem easily.
 
Physics news on Phys.org
The drdr and dθdθ are differentials, not coordinate differences. The expression dsds is the distance between two infinitesimally separated points. You can integrate it along any curve to get its length - not just the straight line. In your case you (inadvertently) computed the length of a quarter circle
 
SamRoss said:
Problem Statement: Trying to get a better understanding of invariant distance.
What is "invariant distance"? Is it a standard name for a mathematical topic?

How can this be done correctly?
My guess is that your are trying to find the arc length of a curve that is the straight line between (3.0) and (0,3). In that case a relevant equation is
##L = \int_a^b \sqrt{ r^2 + (\frac{dr}{d\theta})^2 } d\theta ## and you must express ##r## as function of ##\theta## so that the path from ##\theta = a## to ##\theta = b## goes along the line from (3,0) to (0,3).
 
Stephen Tashi said:
##L = \int_a^b \sqrt{ r^2 + (\frac{dr}{d\theta})^2 } d\theta ## and you must express ##r## as function of ##\theta## so that the path from ##\theta = a## to ##\theta = b## goes along the line from (3,0) to (0,3).

I wrote the equation of the line in Cartesian coordinates: y=-x+3. Plugging in ##x=rcos\theta## and ##y=rsin\theta## and rearranging I got ##r=3/(sin\theta+cos\theta)##. Then ##\frac {dr} {d\theta}=-\frac {3(cos\theta-sin\theta)} {(sin\theta+cos\theta)^2}##. The integral should go from 0 to pi/2. Is this correct so far?
 
SamRoss said:
I wrote the equation of the line in Cartesian coordinates: y=-x+3. Plugging in ##x=rcos\theta## and ##y=rsin\theta## and rearranging I got ##r=3/(sin\theta+cos\theta)##. Then ##\frac {dr} {d\theta}=-\frac {3(cos\theta-sin\theta)} {(sin\theta+cos\theta)^2}##. The integral should go from 0 to pi/2. Is this correct so far?

You can simpilfy that to r = \frac{3}{\sqrt{2}} \sec(\theta - \tfrac{\pi}4) and use <br /> \frac{d}{d\theta} \sec \theta = \sec \theta \tan \theta, \qquad \frac{d}{d\theta} \tan \theta = \sec^2 \theta
 
pasmith said:
You can simpilfy that to r = \frac{3}{\sqrt{2}} \sec(\theta - \tfrac{\pi}4) and use <br /> \frac{d}{d\theta} \sec \theta = \sec \theta \tan \theta, \qquad \frac{d}{d\theta} \tan \theta = \sec^2 \theta

I'm trying that in Wolfram (this is just for fun and not actual homework anyway) but I seem to be doing something wrong. Where is my mistake?

245597
 
Orodruin said:
In your case you (inadvertently) computed the length of a quarter circle

That makes sense. Thank you.
 
SamRoss said:
I'm trying that in Wolfram (this is just for fun and not actual homework anyway) but I seem to be doing something wrong. Where is my mistake?

View attachment 245597

The derivative of A\sec\theta is A\sec\theta \tan\theta.
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
6K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K