Parabolas from String Art: Index

I’m doing something that I should have done a long time ago: collecting a series of posts into one single post. The links below show my series on numerical integration.

Part 1: Introduction

Part 2: Identifying the highest points of the strings

Part 3: These nine points lie on a parabola: Method #1

Part 4: These nine points lie on a parabola: Method #2

Part 5: These nine points lie on a parabola: Method #3

Part 6: Proof that all of the highest points lie on a parabola without calculus, Part 1

Part 7: Proof that all of the highest points lie on a parabola without calculus, Part 2

Part 8: Proof that all of the highest points lie on a parabola with calculus

Part 9: Proof that the strings are indeed tangent to the parabola, with calculus

Part 10: Conclusion

ChatGPT and mathematics

I recently read the delightful blog post ChatGPT Is Not Ready to Teach Geometry (Yet), with the wonderful sub-headline “The viral chatbot is often wrong, but never in doubt. Educators need to tread carefully.” Many thanks to the article AI Bot ChatGPT Needs Some Help With Math Assignments in the Wall Street Journal for directing me to this post. Both of these articles are cited at length below; I recommend both.

In case you’ve been on the moon for the past few months, much digital ink has been spilled in the past few months about how ChatGPT will affect education. From the blog post:

On HITC, Ellissa Bain described how ChatGPT could “Write Your Papers in Seconds,” explaining that this is “great for students” and “examiners will never know.” It’s not at all great for student learning, but it can definitely fool examiners; a team at the New YorkTimes Upshot confirmed that a small group of experts—including a teacher, a professor, a tutor, and a famous children’s author—often failed to distinguish between ChatGPT’s output and the writing of actual fourth and eighth graders in response to essay prompts from the National Assessment of Education Progress. In The Atlantic, teacher Daniel Herman pronounced “The end of high-school English,” explaining that “what GPT can produce right now is better than the large majority of [student] writing.” ChatGPT could compare Hamlet to Beloved, illustrate Buddhist ideas using a pet hamster, and write a convincing essay describing how its (fabricated) experience volunteering at a pet shelter had prepared it for success at Stanford. The bot’s ability to fabricate an admissions essay raises the question of whether colleges that no longer require standardized tests will need to drop the essay requirement as well.

Unfortunately, as Paul von Hipple, an associate professor at the University of Texas, discovered, ChatGPT isn’t so great at the Pythagorean theorem. From the blog post:

What are some common misunderstandings of Pythagoras’ theorem?

ChatGPT responded with four examples, which I’ll take just slightly out of order. The first three were howlers:

Some common misunderstandings about Pythagoras’ theorem include:

  1. Believing that it only works for right triangles. While Pythagoras’ theorem is most commonly used to find the length of a missing side in a right triangle, it can also be used to determine whether a triangle is a right triangle. If the lengths of the sides of a triangle satisfy the formula of Pythagoras’ theorem (i.e., if the square of the length of the hypotenuse is equal to the sum of the squares of the other two sides), then the triangle is a right triangle.
  2. Believing that it only works for right triangles with a 90 degree angle: Pythagoras’ theorem is specifically designed for right triangles, which have one 90 degree angle. However, it is possible for a triangle to have two acute angles (angles less than 90 degrees) and still be a right triangle.
  3. Believing that it only works for right triangles with legs that are perpendicular to each other: In a right triangle, the sides that are not the hypotenuse are called the legs. While it is true that the legs of a right triangle are typically perpendicular to each other, this is not a requirement for the theorem to be applicable. As long as a triangle has one 90 degree angle, Pythagoras’ theorem can be used to find the length of a missing side.

It gets better. Dr. von Hipple then asked the following:

Suppose the hypotenuse of a right triangle is 7.1 miles long, and one of the legs is 3.85 miles long. How long is the other leg?

ChatGPT returned a wrong answer: 5.93 miles. (See the blog post for more on this error.)

Dr. von Hipple then, with a simple typo, inadvertently asked ChatGPT to solve a triangle that can’t be solved:

I wondered if it would recognize a right triangle if I described it indirectly. So I started my next question:

Suppose a triangle has three sides called A, B, and C. A is 7 inches long and B is 7 inches long. The angle between A and C is 45 degrees, and so is the angle between A and B. What is the length of side C?

This was a typo; the 45-degree angle was placed between the wrong two sides. Nevertheless ChatGPT gave an answer:

Since the angle between A and B is 45 degrees, and the angle between A and C is also 45 degrees, the triangle is an isosceles right triangle, where A and B are the legs and C is the hypotenuse….

Dr. von Hipple’s conclusion:

This doesn’t make sense. If A and B are the legs of a right triangle, the angle between them can’t be 45 degrees; it has to be 90. ChatGPT went ahead and calculated the length of C using Pythagoras’ theorem, but it had revealed something important: it didn’t have a coherent internal representation of the triangle that we were talking about. It couldn’t visualize the triangle as you or I can, and it didn’t have any equivalent way to catch errors in verbal descriptions of visual objects.

In short, ChatGPT doesn’t really “get” basic geometry. It can crank out reams of text that use geometric terminology, but it literally doesn’t know what it is talking about. It doesn’t have an internal representation of geometric shapes, and it occasionally makes basic calculation errors…

What is ChatGPT doing? It is bloviating, filling the screen with text that is fluent, persuasive, and sometimes accurate—but it isn’t reliable at all. ChatGPT is often wrong but never in doubt. 

The Wall Street Journal article cited above provided some more howlers. Here are a couple:

So what to make of all this? I like this conclusion from the Wall Street Journal:

Another reason that math instructors are less fussed by this innovation it that they have been here before. The field was upended for the first time decades ago with the general availability of computers and calculators.

Whereas English teachers are only now worrying about computers doing their students’ homework, math teachers have long wrestled with making sure students were actually learning and not just using a calculator. It’s why students have to show their work and take tests on paper.

The broader lesson is that AI, computers and calculators aren’t simply a shortcut. Math tools require math knowledge. A calculator can’t do calculus unless you know what you’re trying to solve. If you don’t know any math, Excel is just a tool for formatting tables with a lot of extra buttons.

Eventually, artificial intelligence will probably get to the point where its mathematics answers are not only confident but correct. A pure large language model might not be up for the job, but the technology will improve. The next generation of AI could combine the language skills of ChatGPT with the math skills of Wolfram Alpha.

In general, however, AI, like calculators and computers, will likely ultimately be most useful for those who already know a field well: They know the questions to ask, how to identify the shortcomings and what to do with the answer. A tool, in other words, for those who know the most math, not the least.

Parabolas from String Art (Part 10)

Recently, I announced that my paper Parabolic Properties from Pieces of String had been published in the magazine Math Horizons. The article had multiple aims; in chronological order of when I first started thinking about them:

  • Prove that string art from two line segments traces a parabola.
  • Prove that a quadratic polynomial satisfies the focus-directrix property of a parabola, which is the reverse of the usual logic when students learn conic sections.
  • Prove the reflective property of parabolas.
  • Accomplish all of the above without using calculus.

While I’m generally pleased with the final form of the article, the necessity of publication constraints somewhat abbreviated the original goal of this project: determining a pedagogically sound way of convincing a bright Algebra I student that string art unexpectedly produces a parabola. In this series of posts, I’d wanted to expand on the article with some pedagogical thoughts about connecting string art to parabolas for algebra students. After all, most mathematical studies of string art curves — formally known as “envelopes” — rely on differential equations or at least limits and calculus.

However, string art is simple enough for a young child to construct, and so this study was inspired by the quest of explaining this phenomenon using only simple mathematical tools.

The article linked above has further thoughts on this problem, including a calculus-free way of deriving the reflective property of parabolas. However, I think the article pretty much has all of my thoughts on this matter, and so I don’t think I need to elaborate upon them here.

This series of posts is dedicated to an inspired and inspiring Algebra I student who wanted to understand string art curves using tools that she could understand… even though she progressed much further into the mathematics curriculum by the time my article was published and this series of posts appeared on my blog.

Parabolas from String Art (Part 9)

Recently, I announced that my paper Parabolic Properties from Pieces of String had been published in the magazine Math Horizons. The article had multiple aims; in chronological order of when I first started thinking about them:

  • Prove that string art from two line segments traces a parabola.
  • Prove that a quadratic polynomial satisfies the focus-directrix property of a parabola, which is the reverse of the usual logic when students learn conic sections.
  • Prove the reflective property of parabolas.
  • Accomplish all of the above without using calculus.

While I’m generally pleased with the final form of the article, the necessity of publication constraints somewhat abbreviated the original goal of this project: determining a pedagogically sound way of convincing a bright Algebra I student that string art unexpectedly produces a parabola. While all the necessary mathematics is in the article, I think the article is somewhat lacking on how to sell the idea to students. So, in this series of posts, I’d like to expand on the article with some pedagogical thoughts about connecting string art to parabolas.

We have shown in the last couple of posts that if the three points that generate the Our explorations of string art led us to consider an arbitrary string \overline{PQ} depicted below. For brevity, this string will be called “string s,” matching the (possibly non-integer) x-coordinate of its left endpoint P. Since P is s units to the right of A, the right endpoint Q must correspondingly be s units to the right of B. Therefore, the x-coordinate of Q is s + 8.

Previously, we established that the equation for string s is

y = -\displaystyle \frac{s^2}{4} + \frac{xs}{4} - x + 8.

We also obtained a bonus result that we obtained using only algebra: string s is tangent to the parabola y = \displaystyle \frac{x^2}{16} - x + 8, which is traced by the strings, when x=2s. Of course, tangent lines are usually obtained using calculus, and so calculus should be able to confirm this result. The derivative of this function is

y' = \displaystyle \frac{x}{8} - 1,

so that the slope of the tangent line when x=2s is m = \displaystyle \frac{s}{4} - 1 = \frac{s-4}{4}. We observe that this matches the slope of line segment \overline{PQ} in the above picture:

slope = \displaystyle \frac{s - (s-8)}{(s+8) - 8} = \frac{2s-8}{8} = \frac{s-4}{4}.

Therefore, to show that \overline{PQ} is the tangent line, it suffices to show that either P or Q is on the tangent line.

At x = 2s, the y-coordinate of where the tangent line intersects the curve is

y = \displaystyle \frac{(2s)^2}{16} - 2s + 8 = \frac{s^2}{4} - 2s + 8.

Using the point-slope formula for a line, the equation of the tangent line is thus

y-y_1 = m(x-x_1)

y-\displaystyle \left( \frac{s^2}{4} - 2s + 8 \right) = \frac{s-4}{4} (x-2s)

y = \displaystyle \frac{s-4}{4} (x-2s) +  \frac{s^2}{4} - 2s + 8.

We now check to see if P(s,8-s) is on the tangent line. Substituting x =s, we find

y = \displaystyle \frac{s-4}{4} (s-2s) +  \frac{s^2}{4} - 2s + 8

= \displaystyle \frac{s-4}{4} (-s) +  \frac{s^2}{4} - 2s + 8

= \displaystyle \frac{(s-4)(-s) + s^2}{4} - 2s + 8

= \displaystyle \frac{-s^2+4s + s^2}{4} - 2s + 8

= \displaystyle \frac{4s}{4} - 2s + 8

= s - 2s + 8

= -s + 8

Therefore, the point (s,8-s) is on the tangent line, thus confirming that P is on the tangent line and that \overline{PQ} is the tangent line.

Parabolas from String Art (Part 8)

Recently, I announced that my paper Parabolic Properties from Pieces of String had been published in the magazine Math Horizons. The article had multiple aims; in chronological order of when I first started thinking about them:

  • Prove that string art from two line segments traces a parabola.
  • Prove that a quadratic polynomial satisfies the focus-directrix property of a parabola, which is the reverse of the usual logic when students learn conic sections.
  • Prove the reflective property of parabolas.
  • Accomplish all of the above without using calculus.

While I’m generally pleased with the final form of the article, the necessity of publication constraints somewhat abbreviated the original goal of this project: determining a pedagogically sound way of convincing a bright Algebra I student that string art unexpectedly produces a parabola. While all the necessary mathematics is in the article, I think the article is somewhat lacking on how to sell the idea to students. So, in this series of posts, I’d like to expand on the article with some pedagogical thoughts about connecting string art to parabolas.

We have shown in the last couple of posts that if the three points that generate the Our explorations of string art led us to consider an arbitrary string \overline{PQ} depicted below. For brevity, this string will be called “string s,” matching the (possibly non-integer) x-coordinate of its left endpoint P. Since P is s units to the right of A, the right endpoint Q must correspondingly be s units to the right of B. Therefore, the x-coordinate of Q is s + 8.

Previously, we established that the equation for string s is

y = -\displaystyle \frac{s^2}{4} + \frac{xs}{4} - x + 8.

Finding the curve traced by the strings is a two-step process:

  • For a fixed value of x, find the value of s that maximizes y.
  • Find this optimal value of y.

Previously, we showed using only algebra that the optimal value of s is s = \displaystyle \frac{x}{2}, corresponding to an optimal value of y of y = \displaystyle \frac{x^2}{16} - x + 8.

For a student who knows calculus, the optimal value of s can be found by instead solving the equation \displaystyle \frac{dy}{ds} = 0 (or, more accurately, \displaystyle \frac{\partial y}{\partial s} = 0):

\displaystyle \frac{dy}{ds} = -\frac{2s}{4} + \frac{x}{4}

0 = \displaystyle \frac{-2s+x}{4}

0 = -2s + x

2s = x

s = \displaystyle \frac{x}{2},

matching the result that we found by using only algebra.