File:Atan2 differs from arctan.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(1,262 × 1,102 pixels, file size: 139 KB, MIME type: image/png)

Captions

Captions

When ''x'' < 0, atan2 differs from arctan by π radians.

Summary

[edit]
Description
English: The arctangent function can be used to find the angle of a point (x, y), using arctan(y/x). Unfortunately, because y/x is the same as (−y)/(−x), this conflates pairs of opposite points, and does not return the intended angle whenever x is negative. The 2-argument arctangent function does not have this problem. When x < 0, the two-argument arctangent differs from arctan. If y > 0, by −π radians, or if y < 0, by π radians. When x > 0, the two functions have the same result.
Date
Source Own work, plotted with Desmos https://www.desmos.com/calculator/tx4ya4kk1h
Author Jacob Rus

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:28, 6 June 2024Thumbnail for version as of 17:28, 6 June 20241,262 × 1,102 (139 KB)Jacobolus (talk | contribs)Uploaded own work with UploadWizard

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file:

  • Usage on en.wikipedia.org

Metadata