Formal calculation
Article REF: AF1460 V1

Formal calculation

Authors : Claude GOMEZ, Bruno SALVY

Publication date: April 10, 2008 | Lire en français

Logo Techniques de l'Ingenieur You do not have access to this resource.
Request your free trial access! Free trial

Already subscribed?

Overview

ABSTRACT

Beyond an initial approach and the carrying out of simple calculations, the use of a formal calculation system requires an in-depth knowledge of the system and its limitations. By precising the mathematical domains where this type of calculation presents a significant interest, this article responds to the question of whether investment in formal calculation training is useful. Numerous examples illustrate its operation mode and thus deal with its basic calculations, notably on derivation, simplification of formulae and curve drawing, but also integral and matrix calculation and the resolution of non-linear equations. The formal calculation system Maple was selected for this presentation, as this widely diffused system has an extremely rich and open library.

Read this article from a comprehensive knowledge base, updated and supplemented with articles reviewed by scientific committees.

Read the article

AUTHORS

  • Claude GOMEZ: Research Director at INRIA (National Institute for Research in Computer Science and Control)

  • Bruno SALVY: Research Director at INRIA

 INTRODUCTION

Formal computation is now widely recognized in the scientific community in general and among engineers in particular. Indeed, these days it is easy to install and use a formal computation system on a simple, low-cost personal computer (PC, Macintosh). Once you have acquired such a system, you need to learn how to use it. At first, it is very easy to perform simple calculations, similar to those of a “formal calculator,” but to go further, some knowledge of the system and its limitations is necessary. Otherwise, the user quickly becomes discouraged and gives up. Therefore, training time is essential for using a formal computation system.

This raises the question: “Is symbolic computation useful to me?”; in other words, “Is it worth my while to spend time learning how to use such a system?” The purpose of this article is to answer that question. To do so, we will review the main areas of mathematics in which symbolic computation can solve problems. These fields are those in which engineers typically work: calculations involving rational numbers and fractions, differentiation, simplifying formulas, and plotting curves—which form the basis of any formal computation system—as well as integral and matrix calculations, and solving nonlinear equations and systems of differential equations commonly used by engineers. And finally, we must discuss numerical computation. The latter is generally the culmination of an engineer’s work, and formal computation should not be pitted against numerical computation. We will indeed demonstrate cases where formal computation can prove very useful in this field. For each section, we will show what formal computation can do, how it does it, and what its limitations are.

This document includes numerous examples to illustrate how symbolic computation works within a system. We have chosen the Maple symbolic computation system for this purpose. The reason is that this system is widely used (like Mathematica), has a sufficiently rich and open library (the source code for most functions is available), and is easily extensible.

The way a symbolic computation system like Maple works is simple: the user enters a command, ending with a semicolon “;” in a very natural syntax, and Maple displays the result in a high-resolution format that resembles mathematical typesetting. If you replace the semicolon with a colon “:”, the result is not displayed. Maple uses the concept of packages, meaning that a large number of commands are organized into groups based on their functionality. In this case, the command is written as [], such as LinearAlgebra [Determinant].

The purpose of this article is not to describe the Maple computer algebra system. We will not explain...

You do not have access to this resource.
Logo Techniques de l'Ingenieur

Exclusive to subscribers. 97% yet to be discovered!

You do not have access to this resource. Click here to request your free trial access!

Already subscribed?


Ongoing reading
Formal calculus

Article included in this offer

"Mathematics"

( 166 articles )

Complete knowledge base

Updated and enriched with articles validated by our scientific committees

Services

A set of exclusive tools to complement the resources

View offer details
Contact us