Plotting Pythagorean triples in a polar form

Click For Summary
SUMMARY

This discussion focuses on plotting Pythagorean triples in polar form using Mathematica. The method involves calculating the angle theta using the tangent function based on the legs of a right triangle (a and b) and plotting the radius (c) in polar coordinates. A suggestion was made to consider plotting in Cartesian coordinates with x=c and y=angle to visualize the data effectively. The conversation highlights the challenges faced by beginners in Mathematica while attempting to implement this plotting technique.

PREREQUISITES
  • Understanding of Pythagorean triples and the equation a² + b² = c²
  • Basic knowledge of polar coordinates and their representation
  • Familiarity with Mathematica for plotting functions
  • Knowledge of trigonometric functions, specifically tangent for angle calculations
NEXT STEPS
  • Explore Mathematica's plotting functions for polar coordinates
  • Learn about the tangent function and its application in calculating angles
  • Research techniques for visualizing mathematical data in Cartesian coordinates
  • Investigate advanced plotting techniques to enhance data representation in Mathematica
USEFUL FOR

Mathematicians, educators, students, and anyone interested in visualizing Pythagorean triples and enhancing their skills in Mathematica plotting techniques.

tdswenson
Messages
3
Reaction score
0
There are plenty of interesting plots that use various ways to plot the integer occurrences of a^2 + b^2 = c^2 such as making ordered pairs (a,b) and doing that for all such that a^2 + b^2 < [a really big number] and very interesting patterns are noted. My thought is plotting a polar analog. Consider the legs of a right triangle a and b, use tangent to find the angle theta that is opposite of b, then knowing the value for c (because it is a pythagorean triple) plot it in polar form (theta, radius) where theta is can be easily found and the radius is c.

I am new to mathematica, and am trying to get it to work with little success yet. I will continue to try. I am posting it if anyone else wants to take a crack at it. Sorry for any lack of clarity in my explanation above; I am in a hurry want to post this before I leave. Thoughts, advice, criticism, all are welcome!
 
Physics news on Phys.org
Hi, tdswenson,
from your description it sounds like you'll get exactly the same graph as when plotting in cartesian coordinates with x=a and y=b.

Maybe your intention is to plot again in cartesian coordinates, but with x=c and y=angle. Note that you might need to scale up Y in order to see something, as your maximum c increases.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K