# mathematica

Published articles for mathematica.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Elliptic Curves as Elementary Equations

DevFeed: [Elliptic Curves as Elementary Equations](<https://devfeed.tech/articles/elliptic-curves-as-elementary-equations-40343.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/02/10/elliptic-curves-as-elementary-equations/>)

Published: 2014-02-10T10:00:40Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [algebra](<https://devfeed.tech/tags/algebra.md>), [algebraic-geometry](<https://devfeed.tech/tags/algebraic-geometry.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [elliptic-curves](<https://devfeed.tech/tags/elliptic-curves.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [function](<https://devfeed.tech/tags/function.md>), [mathematica](<https://devfeed.tech/tags/mathematica.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [security](<https://devfeed.tech/tags/security.md>), [systems](<https://devfeed.tech/tags/systems.md>)

### AI overview

This introductory tutorial explains elliptic curves as the sets of solutions to cubic polynomial equations in two variables. It motivates their study through algebraic geometry and their role in encryption, then begins developing the elliptic curve group structure using an elementary example involving pyramids of spheres.

### Source excerpt

Finding solutions to systems of polynomial equations is one of the oldest and deepest problems in all of mathematics. This is broadly the domain of algebraic geometry, and mathematicians wield some of the most sophisticated and abstract tools available to attack these problems. The elliptic curve straddles the elementary and advanced mathematical worlds in an interesting way. On one hand, it's easy to describe in elementary terms: it's the set of solutions to a cubic function of two variables.

## k-Means Clustering and Birth Rates

DevFeed: [k-Means Clustering and Birth Rates](<https://devfeed.tech/articles/k-means-clustering-and-birth-rates-40301.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/02/04/k-means-clustering-and-birth-rates/>)

Published: 2013-02-04T17:54:20Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [clustering](<https://devfeed.tech/topics/clustering.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [heuristic-algorithm](<https://devfeed.tech/tags/heuristic-algorithm.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mathematica](<https://devfeed.tech/tags/mathematica.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [partition](<https://devfeed.tech/tags/partition.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [unsupervised-learning](<https://devfeed.tech/tags/unsupervised-learning.md>)

### AI overview

This tutorial introduces the clustering problem, formalizes k-means clustering as a partitioning problem over points in a metric space, explains why finding an exact solution is difficult, and describes using a heuristic algorithm instead.

### Source excerpt

A common problem in machine learning is to take some kind of data and break it up into "clumps" that best reflect how the data is structured. A set of points which are all collectively close to each other should be in the same clump. A simple picture will clarify any vagueness in this: cluster-example Here the data consists of points in the plane. There is an obvious clumping of the data into three pieces, and we want a way to automatically determine which points are in which clumps.

## The Cellular Automaton Method for Cave Generation

DevFeed: [The Cellular Automaton Method for Cave Generation](<https://devfeed.tech/articles/the-cellular-automaton-method-for-cave-generation-40282.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2012/07/29/the-cellular-automaton-method-for-cave-generation/>)

Published: 2012-07-29T20:01:18Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Cellular automaton](<https://devfeed.tech/topics/cellular-automaton.md>), [procedural flowers](<https://devfeed.tech/topics/procedural-flowers.md>), [Game Development](<https://devfeed.tech/topics/game-development.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>), [Computing](<https://devfeed.tech/topics/computing.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [cellular-automata](<https://devfeed.tech/tags/cellular-automata.md>), [computing](<https://devfeed.tech/tags/computing.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mathematica](<https://devfeed.tech/tags/mathematica.md>), [procedural-generation](<https://devfeed.tech/tags/procedural-generation.md>), [programming](<https://devfeed.tech/tags/programming.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [video-games](<https://devfeed.tech/tags/video-games.md>)

### AI overview

This article examines a practical application of cellular automata: procedural generation of cave-like levels in video games. It explains how randomized level generation can reduce hand-crafted design effort and increase replay value, placing the technique in the broader history of procedural content generation.

### Source excerpt

Dear reader, this post has an interactive simulation! We encourage you to play with it as you read the article below. In our series of posts on cellular automata, we explored Conway's classic Game of Life and discovered some interesting patterns therein. And then in our primers on computing theory, we built up a theoretical foundation for similar kinds of machines, including a discussion of Turing machines and the various computational complexity classes surrounding them.

## Numerical Integration

DevFeed: [Numerical Integration](<https://devfeed.tech/articles/numerical-integration-40253.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2012/01/08/numerical-integration/>)

Published: 2012-01-08T18:08:42Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [function](<https://devfeed.tech/topics/function.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [calculus](<https://devfeed.tech/tags/calculus.md>), [function](<https://devfeed.tech/tags/function.md>), [mathematica](<https://devfeed.tech/tags/mathematica.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [numerical-analysis](<https://devfeed.tech/tags/numerical-analysis.md>), [programming](<https://devfeed.tech/tags/programming.md>), [simpson-s-rule](<https://devfeed.tech/tags/simpson-s-rule.md>), [trapezoidal-rule](<https://devfeed.tech/tags/trapezoidal-rule.md>)

### AI overview

This article explains numerical integration by revisiting definite integrals, Riemann sums, and partition-based approximations. It introduces the problem of approximating a function's definite integral and begins with the left Riemann sum.

### Source excerpt

Rectangles, Trapezoids, and Simpson's I just wrapped up a semester of calculus TA duties, and I thought it would be fun to revisit the problem of integration from a numerical standpoint. In other words, the goal of this article is to figure out how fast we can approximate the definite integral of a function $ f:\mathbb{R} \to \mathbb{R}$. Intuitively, a definite integral is a segment of the area between a curve $ f$ and the $ x$-axis, where we allow area to be negative when $ f(x) < 0$.

## Introduction to Cellular Automata

DevFeed: [Introduction to Cellular Automata](<https://devfeed.tech/articles/the-wild-world-of-cellular-automata-40214.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2011/06/29/conways-game-of-life/>)

Published: 2011-06-29T21:08:45Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Cellular automaton](<https://devfeed.tech/topics/cellular-automaton.md>), [Automaton](<https://devfeed.tech/topics/automaton.md>), [Finite-state machine](<https://devfeed.tech/topics/finite-state-machine.md>)

Tags: [cellular-automata](<https://devfeed.tech/tags/cellular-automata.md>), [computability-theory](<https://devfeed.tech/tags/computability-theory.md>), [conus](<https://devfeed.tech/tags/conus.md>), [conway](<https://devfeed.tech/tags/conway.md>), [life](<https://devfeed.tech/tags/life.md>), [mathematica](<https://devfeed.tech/tags/mathematica.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rules](<https://devfeed.tech/tags/rules.md>), [simulation](<https://devfeed.tech/tags/simulation.md>), [turing-machine](<https://devfeed.tech/tags/turing-machine.md>)

### AI overview

An introductory tutorial on cellular automata, explaining cells, states, transition rules, simultaneous updates, and a one-dimensional binary example.

### Source excerpt

Cellular Automata There is a long history of mathematical models for computation. One very important one is the Turing Machine, which is the foundation of our implementations of actual computers today. On the other end of the spectrum, one of the simpler models of computation (often simply called a system) is a cellular automaton. Surprisingly enough, there are deep connections between the two. But before we get ahead of ourselves, let's see what these automata can do.

## Well Orderings and Search

DevFeed: [Well Orderings and Search](<https://devfeed.tech/articles/well-orderings-and-search-40202.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2011/06/14/well-orderings-and-search/>)

Published: 2011-06-14T11:18:04Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>), [ordering](<https://devfeed.tech/topics/ordering.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [axiom-of-choice](<https://devfeed.tech/tags/axiom-of-choice.md>), [binary-search](<https://devfeed.tech/tags/binary-search.md>), [mathematica](<https://devfeed.tech/tags/mathematica.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [pseudocode](<https://devfeed.tech/tags/pseudocode.md>), [recursion](<https://devfeed.tech/tags/recursion.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [well-ordering](<https://devfeed.tech/tags/well-ordering.md>)

### AI overview

This tutorial explains binary search on sorted lists, including its recursive structure and O(log n) runtime. It then introduces strict total and well orders to explain why sorting and comparison work.

### Source excerpt

Binary Search Binary search is perhaps the first and most basic nontrivial algorithm a student learns. For the mathematicians out there, binary search is a fast procedure to determine whether a sorted list contains a particular element. Here is a pseudocode implementation: # Binary Search: # Given a list L, sorted via the total order <, and a sought # element x, return true iff L contains x. function binarySearch(L, x, <): # base case if(length(L) == 1): return L[0] == x middleIndex = floor(length(L) / 2) if (L[middleIndex] == x): return true # inductive step, with ellipsis notation meaning slices of L # from the beginning and to the end, respectively if (x < L[middleIndex]): return binarySort(L[.