Symbolic Integration: the Stormy Decade Joel Moses* Project MAC, MIT, Cambridge, Massachusetts
Total Page:16
File Type:pdf, Size:1020Kb

Load more
Recommended publications
-
ECE3040: Table of Contents
ECE3040: Table of Contents Lecture 1: Introduction and Overview Instructor contact information Navigating the course web page What is meant by numerical methods? Example problems requiring numerical methods What is Matlab and why do we need it? Lecture 2: Matlab Basics I The Matlab environment Basic arithmetic calculations Command Window control & formatting Built-in constants & elementary functions Lecture 3: Matlab Basics II The assignment operator “=” for defining variables Creating and manipulating arrays Element-by-element array operations: The “.” Operator Vector generation with linspace function and “:” (colon) operator Graphing data and functions Lecture 4: Matlab Programming I Matlab scripts (programs) Input-output: The input and disp commands The fprintf command User-defined functions Passing functions to M-files: Anonymous functions Global variables Lecture 5: Matlab Programming II Making decisions: The if-else structure The error, return, and nargin commands Loops: for and while structures Interrupting loops: The continue and break commands Lecture 6: Programming Examples Plotting piecewise functions Computing the factorial of a number Beeping Looping vs vectorization speed: tic and toc commands Passing an “anonymous function” to Matlab function Approximation of definite integrals: Riemann sums Computing cos(푥) from its power series Stopping criteria for iterative numerical methods Computing the square root Evaluating polynomials Errors and Significant Digits Lecture 7: Polynomials Polynomials -
Package 'Mosaiccalc'
Package ‘mosaicCalc’ May 7, 2020 Type Package Title Function-Based Numerical and Symbolic Differentiation and Antidifferentiation Description Part of the Project MOSAIC (<http://mosaic-web.org/>) suite that provides utility functions for doing calculus (differentiation and integration) in R. The main differentiation and antidifferentiation operators are described using formulas and return functions rather than numerical values. Numerical values can be obtained by evaluating these functions. Version 0.5.1 Depends R (>= 3.0.0), mosaicCore Imports methods, stats, MASS, mosaic, ggformula, magrittr, rlang Suggests testthat, knitr, rmarkdown, mosaicData Author Daniel T. Kaplan <[email protected]>, Ran- dall Pruim <[email protected]>, Nicholas J. Horton <[email protected]> Maintainer Daniel Kaplan <[email protected]> VignetteBuilder knitr License GPL (>= 2) LazyLoad yes LazyData yes URL https://github.com/ProjectMOSAIC/mosaicCalc BugReports https://github.com/ProjectMOSAIC/mosaicCalc/issues RoxygenNote 7.0.2 Encoding UTF-8 NeedsCompilation no Repository CRAN Date/Publication 2020-05-07 13:00:13 UTC 1 2 D R topics documented: connector . .2 D..............................................2 findZeros . .4 fitSpline . .5 integrateODE . .5 numD............................................6 plotFun . .7 rfun .............................................7 smoother . .7 spliner . .7 Index 8 connector Create an interpolating function going through a set of points Description This is defined in the mosaic package: See connector. D Derivative and Anti-derivative operators Description Operators for computing derivatives and anti-derivatives as functions. Usage D(formula, ..., .hstep = NULL, add.h.control = FALSE) antiD(formula, ..., lower.bound = 0, force.numeric = FALSE) makeAntiDfun(.function, .wrt, from, .tol = .Machine$double.eps^0.25) numerical_integration(f, wrt, av, args, vi.from, ciName = "C", .tol) D 3 Arguments formula A formula. -
Calculus 141, Section 8.5 Symbolic Integration Notes by Tim Pilachowski
Calculus 141, section 8.5 Symbolic Integration notes by Tim Pilachowski Back in my day (mid-to-late 1970s for high school and college) we had no handheld calculators, and the only electronic computers were mainframes at universities and government facilities. After learning the integration techniques that you are now learning, we were sent to Tables of Integrals, which listed results for (often) hundreds of simple to complicated integration results. Some could be evaluated using the methods of Calculus 1 and 2, others needed more esoteric methods. It was necessary to scan the Tables to find the form that was needed. If it was there, great! If not… The UMCP Physics Department posts one from the textbook they use (current as of 2017) at www.physics.umd.edu/hep/drew/IntegralTable.pdf . A similar Table of Integrals from http://www.had2know.com/academics/table-of-integrals-antiderivative-formulas.html is appended at the end of this Lecture outline. x 1 x Example F from 8.1: Evaluate e sindxx using a Table of Integrals. Answer : e ()sin x − cos x + C ∫ 2 If you remember, we had to define I, do a series of two integrations by parts, then solve for “ I =”. From the Had2Know Table of Integrals below: Identify a = and b = , then plug those values in, and voila! Now, with the development of handheld calculators and personal computers, much more is available to us, including software that will do all the work. The text mentions Derive, Maple, Mathematica, and MATLAB, and gives examples of Mathematica commands. You’ll be using MATLAB in Math 241 and several other courses. -
Symbolic and Numerical Integration in MATLAB 1 Symbolic Integration in MATLAB
Symbolic and Numerical Integration in MATLAB 1 Symbolic Integration in MATLAB Certain functions can be symbolically integrated in MATLAB with the int command. Example 1. Find an antiderivative for the function f(x)= x2. We can do this in (at least) three different ways. The shortest is: >>int(’xˆ2’) ans = 1/3*xˆ3 Alternatively, we can define x symbolically first, and then leave off the single quotes in the int statement. >>syms x >>int(xˆ2) ans = 1/3*xˆ3 Finally, we can first define f as an inline function, and then integrate the inline function. >>syms x >>f=inline(’xˆ2’) f = Inline function: >>f(x) = xˆ2 >>int(f(x)) ans = 1/3*xˆ3 In certain calculations, it is useful to define the antiderivative as an inline function. Given that the preceding lines of code have already been typed, we can accomplish this with the following commands: >>intoff=int(f(x)) intoff = 1/3*xˆ3 >>intoff=inline(char(intoff)) intoff = Inline function: intoff(x) = 1/3*xˆ3 1 The inline function intoff(x) has now been defined as the antiderivative of f(x)= x2. The int command can also be used with limits of integration. △ Example 2. Evaluate the integral 2 x cos xdx. Z1 In this case, we will only use the first method from Example 1, though the other two methods will work as well. We have >>int(’x*cos(x)’,1,2) ans = cos(2)+2*sin(2)-cos(1)-sin(1) >>eval(ans) ans = 0.0207 Notice that since MATLAB is working symbolically here the answer it gives is in terms of the sine and cosine of 1 and 2 radians. -
Calcium: Computing in Exact Real and Complex Fields Fredrik Johansson
Calcium: computing in exact real and complex fields Fredrik Johansson To cite this version: Fredrik Johansson. Calcium: computing in exact real and complex fields. ISSAC ’21, Jul 2021, Virtual Event, Russia. 10.1145/3452143.3465513. hal-02986375v2 HAL Id: hal-02986375 https://hal.inria.fr/hal-02986375v2 Submitted on 15 May 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Calcium: computing in exact real and complex fields Fredrik Johansson [email protected] Inria Bordeaux and Institut Math. Bordeaux 33400 Talence, France ABSTRACT This paper presents Calcium,1 a C library for exact computa- Calcium is a C library for real and complex numbers in a form tion in R and C. Numbers are represented as elements of fields suitable for exact algebraic and symbolic computation. Numbers Q¹a1;:::; anº where the extension numbers ak are defined symbol- ically. The system constructs fields and discovers algebraic relations are represented as elements of fields Q¹a1;:::; anº where the exten- automatically, handling algebraic and transcendental number fields sion numbers ak may be algebraic or transcendental. The system combines efficient field operations with automatic discovery and in a unified way. -
Integration Benchmarks for Computer Algebra Systems
The Electronic Journal of Mathematics and Technology, Volume 2, Number 3, ISSN 1933-2823 Integration on Computer Algebra Systems Kevin Charlwood e-mail: [email protected] Washburn University Topeka, KS 66621 Abstract In this article, we consider ten indefinite integrals and the ability of three computer algebra systems (CAS) to evaluate them in closed-form, appealing only to the class of real, elementary functions. Although these systems have been widely available for many years and have undergone major enhancements in new versions, it is interesting to note that there are still indefinite integrals that escape the capacity of these systems to provide antiderivatives. When this occurs, we consider what a user may do to find a solution with the aid of a CAS. 1. Introduction We will explore the use of three CAS’s in the evaluation of indefinite integrals: Maple 11, Mathematica 6.0.2 and the Texas Instruments (TI) 89 Titanium graphics calculator. We consider integrals of real elementary functions of a single real variable in the examples that follow. Students often believe that a good CAS will enable them to solve any problem when there is a known solution; these examples are useful in helping instructors show their students that this is not always the case, even in a calculus course. A CAS may provide a solution, but in a form containing special functions unfamiliar to calculus students, or too cumbersome for students to use directly, [1]. Students may ask, “Why do we need to learn integration methods when our CAS will do all the exercises in the homework?” As instructors, we want our students to come away from their mathematics experience with some capacity to make intelligent use of a CAS when needed. -
Sequences, Series and Taylor Approximation (Ma2712b, MA2730)
Sequences, Series and Taylor Approximation (MA2712b, MA2730) Level 2 Teaching Team Current curator: Simon Shaw November 20, 2015 Contents 0 Introduction, Overview 6 1 Taylor Polynomials 10 1.1 Lecture 1: Taylor Polynomials, Definition . .. 10 1.1.1 Reminder from Level 1 about Differentiable Functions . .. 11 1.1.2 Definition of Taylor Polynomials . 11 1.2 Lectures 2 and 3: Taylor Polynomials, Examples . ... 13 x 1.2.1 Example: Compute and plot Tnf for f(x) = e ............ 13 1.2.2 Example: Find the Maclaurin polynomials of f(x) = sin x ...... 14 2 1.2.3 Find the Maclaurin polynomial T11f for f(x) = sin(x ) ....... 15 1.2.4 QuestionsforChapter6: ErrorEstimates . 15 1.3 Lecture 4 and 5: Calculus of Taylor Polynomials . .. 17 1.3.1 GeneralResults............................... 17 1.4 Lecture 6: Various Applications of Taylor Polynomials . ... 22 1.4.1 RelativeExtrema .............................. 22 1.4.2 Limits .................................... 24 1.4.3 How to Calculate Complicated Taylor Polynomials? . 26 1.5 ExerciseSheet1................................... 29 1.5.1 ExerciseSheet1a .............................. 29 1.5.2 FeedbackforSheet1a ........................... 33 2 Real Sequences 40 2.1 Lecture 7: Definitions, Limit of a Sequence . ... 40 2.1.1 DefinitionofaSequence .......................... 40 2.1.2 LimitofaSequence............................. 41 2.1.3 Graphic Representations of Sequences . .. 43 2.2 Lecture 8: Algebra of Limits, Special Sequences . ..... 44 2.2.1 InfiniteLimits................................ 44 1 2.2.2 AlgebraofLimits.............................. 44 2.2.3 Some Standard Convergent Sequences . .. 46 2.3 Lecture 9: Bounded and Monotone Sequences . ..... 48 2.3.1 BoundedSequences............................. 48 2.3.2 Convergent Sequences and Closed Bounded Intervals . .... 48 2.4 Lecture10:MonotoneSequences . -
Variable Planck's Constant
Variable Planck’s Constant: Treated As A Dynamical Field And Path Integral Rand Dannenberg Ventura College, Physics and Astronomy Department, Ventura CA [email protected] [email protected] January 28, 2021 Abstract. The constant ħ is elevated to a dynamical field, coupling to other fields, and itself, through the Lagrangian density derivative terms. The spatial and temporal dependence of ħ falls directly out of the field equations themselves. Three solutions are found: a free field with a tadpole term; a standing-wave non-propagating mode; a non-oscillating non-propagating mode. The first two could be quantized. The third corresponds to a zero-momentum classical field that naturally decays spatially to a constant with no ad-hoc terms added to the Lagrangian. An attempt is made to calibrate the constants in the third solution based on experimental data. The three fields are referred to as actons. It is tentatively concluded that the acton origin coincides with a massive body, or point of infinite density, though is not mass dependent. An expression for the positional dependence of Planck’s constant is derived from a field theory in this work that matches in functional form that of one derived from considerations of Local Position Invariance violation in GR in another paper by this author. Astrophysical and Cosmological interpretations are provided. A derivation is shown for how the integrand in the path integral exponent becomes Lc/ħ(r), where Lc is the classical action. The path that makes stationary the integral in the exponent is termed the “dominant” path, and deviates from the classical path systematically due to the position dependence of ħ. -
Semiclassical Unimodular Gravity
Preprint typeset in JHEP style - PAPER VERSION Semiclassical Unimodular Gravity Bartomeu Fiol and Jaume Garriga Departament de F´ısica Fonamental i Institut de Ci`encies del Cosmos, Universitat de Barcelona, Mart´ıi Franqu`es 1, 08028 Barcelona, Spain [email protected], [email protected] Abstract: Classically, unimodular gravity is known to be equivalent to General Rel- ativity (GR), except for the fact that the effective cosmological constant Λ has the status of an integration constant. Here, we explore various formulations of unimod- ular gravity beyond the classical limit. We first consider the non-generally covariant action formulation in which the determinant of the metric is held fixed to unity. We argue that the corresponding quantum theory is also equivalent to General Relativity for localized perturbative processes which take place in generic backgrounds of infinite volume (such as asymptotically flat spacetimes). Next, using the same action, we cal- culate semiclassical non-perturbative quantities, which we expect will be dominated by Euclidean instanton solutions. We derive the entropy/area ratio for cosmological and black hole horizons, finding agreement with GR for solutions in backgrounds of infinite volume, but disagreement for backgrounds with finite volume. In deriving the arXiv:0809.1371v3 [hep-th] 29 Jul 2010 above results, the path integral is taken over histories with fixed 4-volume. We point out that the results are different if we allow the 4-volume of the different histories to vary over a continuum range. In this ”generalized” version of unimodular gravity, one recovers the full set of Einstein’s equations in the classical limit, including the trace, so Λ is no longer an integration constant. -
VSDITLU: a Verifiable Symbolic Definite Integral Table Look-Up
VSDITLU: a verifiable symbolic definite integral table look-up A. A. Adams, H. Gottliebsen, S. A. Linton, and U. Martin Department of Computer Science, University of St Andrews, St Andrews KY16 9ES, Scotland {aaa,hago,sal,um}@cs.st-and.ac.uk Abstract. We present a verifiable symbolic definite integral table look-up: a sys- tem which matches a query, comprising a definite integral with parameters and side conditions, against an entry in a verifiable table and uses a call to a library of facts about the reals in the theorem prover PVS to aid in the transformation of the table entry into an answer. Our system is able to obtain correct answers in cases where standard techniques implemented in computer algebra systems fail. We present the full model of such a system as well as a description of our prototype implementation showing the efficacy of such a system: for example, the prototype is able to obtain correct answers in cases where computer algebra systems [CAS] do not. We extend upon Fateman’s web-based table by including parametric limits of integration and queries with side conditions. 1 Introduction In this paper we present a verifiable symbolic definite integral table look-up: a system which matches a query, comprising a definite integral with parameters and side condi- tions, against an entry in a verifiable table, and uses a call to a library of facts about the reals in the theorem prover PVS to aid in the transformation of the table entry into an answer. Our system is able to obtain correct answers in cases where standard tech- niques, such as those implemented in the computer algebra systems [CAS] Maple and Mathematica, do not. -
The 30 Year Horizon
The 30 Year Horizon Manuel Bronstein W illiam Burge T imothy Daly James Davenport Michael Dewar Martin Dunstan Albrecht F ortenbacher P atrizia Gianni Johannes Grabmeier Jocelyn Guidry Richard Jenks Larry Lambe Michael Monagan Scott Morrison W illiam Sit Jonathan Steinbach Robert Sutor Barry T rager Stephen W att Jim W en Clifton W illiamson Volume 10: Axiom Algebra: Theory i Portions Copyright (c) 2005 Timothy Daly The Blue Bayou image Copyright (c) 2004 Jocelyn Guidry Portions Copyright (c) 2004 Martin Dunstan Portions Copyright (c) 2007 Alfredo Portes Portions Copyright (c) 2007 Arthur Ralfs Portions Copyright (c) 2005 Timothy Daly Portions Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd. All rights reserved. This book and the Axiom software is licensed as follows: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of The Numerical ALgorithms Group Ltd. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS -
Monodromies and Functional Determinants in the CFT Driven Quantum Cosmology
Monodromies and functional determinants in the CFT driven quantum cosmology A.O.Barvinsky and D.V.Nesterov Theory Department, Lebedev Physics Institute, Leninsky Prospect 53, Moscow 119991, Russia Abstract We discuss the calculation of the reduced functional determinant of a special second order differential operator F = −d2/dτ 2 + g¨=g, g¨ ≡ d2g/dτ 2, with a generic function g(τ), subject to periodic boundary conditions. This implies the gauge-fixed path integral representation of this determinant and the monodromy method of its calculation. Motivations for this particular problem, coming from applications in quantum cosmology, are also briefly discussed. They include the problem of microcanonical initial conditions in cosmology driven by a conformal field theory, cosmological constant and cosmic microwave background problems. 1. Introduction Here we consider the class of problems involving the differential operator of the form d2 g¨ F = − + ; : (1.1) dτ 2 g where g = g(τ) is a rather generic function of its variable τ. From calculational viewpoint, the virtue of this operator is that g(τ) represents its explicit basis function { the solution of the homogeneous equation, F g(τ) = 0; (1.2) which immediately allows one to construct its second linearly independent solution τ dy Ψ(τ) = g(τ) (1.3) g2(y) τZ∗ and explicitly build the Green's function of F with appropriate boundary conditions. On the other hand, from physical viewpoint this operator is interesting because it describes long-wavelength per- turbations in early Universe, including the formation of observable CMB spectra [1, 2], statistical ensembles in quantum cosmology [3], etc.