# How does Mathematica or Maple work?

**URL:** <https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601>\
**Category:** Factual Questions\
**Created:** [February 15, 2001, 4:54pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601 "2001-02-15T16:54:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Balduran](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@Balduran](https://boards.straightdope.com/u/Balduran)\
**Post date:** [February 15, 2001, 4:54pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/1 "2001-02-15T16:54:37Z")

</div>

Any computer wizards out there who have worked on them? How do they manage to do equation manipulations and retain the variables?

Although I do notice that for any serious problem they have to go to numerics or can’t solve it at all, but they are great for the tedious stuff.

---

<div class="post-metadata">

**Author:** ![Arjuna34](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Arjuna34](https://boards.straightdope.com/u/Arjuna34)\
**Post date:** [February 15, 2001, 5:22pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/2 "2001-02-15T17:22:21Z")

</div>

Very broadly, any equation manipulation that can be broken-down into a step-by-step algorithm (no matter how tedious) can be done with a computer program. Seemingly non-algorithmic operations such as simplifying equations can be attacked with a big, standard “bag o’ tricks”, and since the computer is so fast, many different attacks can be tried, and discarded if they don’t lead anywhere, much like you’d have to do by hand.

Arjuna34

---

<div class="post-metadata">

**Author:** ![RM\_Mentock](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@RM\_Mentock](https://boards.straightdope.com/u/RM_Mentock)\
**Post date:** [February 15, 2001, 5:38pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/3 "2001-02-15T17:38:46Z")

</div>

Do you mean, how do they take an algebraic expression and manipulate it or simplify it? Or do complicated indefinite integrals?

Like, take Integrate[(x-5)(x+2),x] and convert it to x^3/3 - 3x^2/2 - 10x + C?

The rules for defining variables and manipulating strings and functions that are part of the program–is that what you mean?

---

<div class="post-metadata">

**Author:** ![Balduran](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@Balduran](https://boards.straightdope.com/u/Balduran)\
**Post date:** [February 15, 2001, 5:55pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/4 "2001-02-15T17:55:17Z")

</div>

Well, I’m kind of interested in both, but I was thinking of things like indefinite integrals.

---

<div class="post-metadata">

**Author:** ![Balduran](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@Balduran](https://boards.straightdope.com/u/Balduran)\
**Post date:** [February 15, 2001, 6:07pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/5 "2001-02-15T18:07:05Z")

</div>

**Arjuna** , so it just looks at the form of the equation, and there are key elements in it that tell it to try a certain group of algorithms?

---

<div class="post-metadata">

**Author:** ![RM\_Mentock](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@RM\_Mentock](https://boards.straightdope.com/u/RM_Mentock)\
**Post date:** [February 15, 2001, 6:45pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/6 "2001-02-15T18:45:51Z")

</div>

Are you familiar with the old tables of indefinite integrals that we used to use on the old wood-burning computers? I mean, would-burn computers?

---

<div class="post-metadata">

**Author:** ![Balduran](https://avatars.discourse-cdn.com/v4/letter/b/cc9497/32.png) [@Balduran](https://boards.straightdope.com/u/Balduran)\
**Post date:** [February 15, 2001, 8:02pm UTC](https://boards.straightdope.com/t/how-does-mathematica-or-maple-work/54601/7 "2001-02-15T20:02:57Z")

</div>

[wonder years] And it was at that moment that I realised part of my innocence was gone forever.[/wonder years]

I suppose that’s it then. A table of integrals, some reduction algorithms, an integration by parts algorithm and various others. Makes sense.

Thanks guys
