
r/desmos



Mysterious length of a Bezier curve?
I was thinking about ways to get the length of a Bezier curve segment.
There's the rigorous way, of breaking it up into smaller "linear" segments and then adding them up. It's tedious and not computationally cheap.
Then there's the wing it approach. I read somewhere that you could just measure the length of the net (line segments connecting the control points) and then just 1/3rd it to get a good estimate of the actual curve length.
This seemed like a plausibly valid approach, but I decided to test it out.
If you start the ticket, it randomly generates Bezier curves within the red bounding box, measures the Net Length, and the actual Curve Length and then plots them as (x, y) data points.
With enough data taken from bounding boxes of different sizes, if you perform a linear regression on it, the slope of the graph should tell you what a good "wing it ratio" is. I wanted to see if the 1/3rd estimate holds up.
It does not.
For starters, this scatter plot spreads like a cone with an upper bound slope of 1, and a lower bound slope of 0.27 (I don't yet fully understand why that is the smallest a Bezier curve can be in comparison to its net)
This is just not a good data set for a linear regression model. I was hoping for a scatter plot more or less consolidated around a line.
A cone means that there is equally valid data in a range of slope values around your "wing it ratio" .
And even if you power through with the assertion that some estimate is better than no estimate, and perform the regression, the best slopes I'm getting that carve through and bisect the data have a slope of around 1/2 and not 1/3.
You could argue that most Bezier curves people draw look like C shapes and this randomized curve generation process is not representative of curves you'd want to estimate in practice.
What do you think? And do you have any insight about why cubic Bezier curves can't be shorter than 27% of their net length?


World Map in 1 Polygon
Don't judge me for missing out on the entirety of Indonesia (I have beef with Indonesia because of geoguessr, it's my #1 opp).
1,896 points, 7 hours to make this
Graph link: https://www.desmos.com/calculator/o8ix1zxrdw


A math music video, animated in Desmos: Imagine All the Numbers (Having a Square Root)
Here's a song about imaginary numbers, set to the tune of "Imagine" by John Lennon, with accompanying animations made in Desmos:
https://www.youtube.com/watch?v=pOagqB8CuLE
Made for MoMath's Open Set math songs event: https://momath.org/openset/
The main Desmos graphs used:
Complex grid inversion: https://www.desmos.com/calculator/vfr0kwikp3
Mandelbrot with moving trajectory (will take a few seconds to render)
https://www.desmos.com/calculator/haablhcnxk
Domain-colouring complex roots of unity: https://www.desmos.com/3d/qckybwlbya
I hope some day you'll join us: https://www.desmos.com/calculator/7gsnqxr4up
With Fourier to guide us: https://www.desmos.com/calculator/bdnl8vzgz2
I hope you enjoy it!
Raj

20 Character Challenge is live!
official rules: https://youtu.be/hMqYC4QUvbU
Using desmos graphs on tests
Hello,
I am a mathematics teacher and wanting to put desmos graphs on tests for my students. For example, plotting a quadratic, taking a screenshot and pasting it onto the test as a graph.
Is this a breach of copyright?
Thanks.


Approximation of 1, but the full approximation description is too long for this title, as well as the approximation is too big for an image.
Approximation of 1 using an approximation of the golden ratio, but each element in the golden ratio is an approximation, in which all of the element's in those approximations are approximations, in which all of those elements in the approximations are approximations, in which all of them are written out using 1's only after being converted from primes to 2's only, and then from 2's only to no numbers only, and then from no numbers only to 1's only.

what is the most complex graph (image unrelated, and by youtuber dan dingle)
Help solving linear equations
So the tl;dr of what I need help with is I want to know if there's a way to basically tell Desmos "Assign V the solution to x=f(x)".
The long version is that I'm setting up a massive graph to solve some problems quickly by just imputing the different variables. There's one step where I have to solve for a value on my calculator and manually enter the result. I would like to just have Desmos do all of it, but I don't know how to make it do that. In this instance the specific equation is V_SB = V_DD - (V_t0 + g(√(p + V_SB) - √p)). V_SB is the variable I need solved for, everything else is given. I usually just punch it into my calculator and then manually write in a rounded off value, but would prefer to have Desmos do it all at once.