Tool to achieve coordinates system changes in the 2d-plane (cartesian, polar, etc.). These are mathematical operations representing the same elements but in different referentials.
2D Coordinates Systems - dCode
Tag(s) : Geometry
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
A 2D coordinate system is used to identify and locate points in the (two-dimensional) plane. The system is generally provided with a frame with an origin of coordinates (0,0).
There are several types of 2D coordinate systems:
— The Cartesian coordinate system, the most common, having a reference with 2 perpendicular axes noted x and y for abscissas and ordinates respectively.
— The polar coordinate system, identifying a point by its distance from the origin and by an angle
— Other less common systems such as the parabolic system, the barycentric or the elliptical
The base / referential change using cartesian coordinates $ (x, y) $ to another referential using polar coordinates $ (r, \theta) $ obeys the equations: $$ r = \sqrt{x^2 + y^2} \\ \theta = 2\arctan\left(\frac y{x+ \sqrt{x^2+y^2}} \right) $$ with $ \arctan $ the reciprocal of the function $ \tan $ (tangent).
The value of $ \theta $ calculated here is included in the interval $ ] -\pi, \pi ] $ (to have it in the interval $ ] 0, 2 \pi ] $ add $ \pi $)
If $ r = 0 $ then the angle can be defined by any real number
Example: The point of the plane in position $ (1,1) $ in Cartesian coordinates is defined by the polar coordinates $ r = \sqrt{2} $ and $ \theta = \pi/4 $
The base / referential change from polar coordinates $ (r, \theta) $ to another referential using cartesian coordinates $ (x, y) $ follows the equations: $$ x = r \cos(\theta) \\ y = r \sin(\theta) $$
with $ r $ a positive real number and $ \theta $ an angle defined between $ ] -\pi, \pi ] $
The choice of the appropriate 2D coordinate system depends on the nature of the problem to be solved. Cartesian coordinate systems are often used to solve problems involving functions or polynomials, while polar coordinate systems are used to solve problems involving circles or complex numbers.
dCode retains ownership of the "2D Coordinates Systems" source code. Except explicit open source licence (indicated Creative Commons / free), the "2D Coordinates Systems" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "2D Coordinates Systems" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "2D Coordinates Systems" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "2D Coordinates Systems" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
2D Coordinates Systems on dCode.fr [online website], retrieved on 2024-12-21,