SYMBOLIC COMPUTATION APPROACH TO REDUCE ROUNDING ERRORS IN NUMERICAL OPERATIONS USING RYACAS

Computational operations on computers produce only approximations due to the limitations of numerical representation, finite precision arithmetic, and hardware constraints. For simple calculations, these errors are usually negligible. However, in a sequence of numerical computations, they can propagate and accumulate, leading to significant inaccuracies and becoming a critical issue, where small errors can have substantial consequences. R, like other programming languages designed for numerical computations, is not immune to precision errors. One approach to this issue is to preserve exact values throughout calculations. In R, there are several packages, such as Ryacas and Ryacas0 enable symbolic computation, which allow true values to be maintained during operations. In this paper, we propose an application of computational techniques that effectively eliminates precision errors arising from numerical calculations. We developed a user-defined function for solving linear systems using Gauss-Jordan row elementary operations. We first developed a function to solve linear systems without using the Ryacas package, named OBE.R, and another function with the same purpose but now using Ryacas, named yac-OBE.R. These two functions are compared, and as expected, the latter eliminates numerical precision errors; hence, the accuracy is one hundred percent improved. Additionally, this study is limited to solving linear systems with a unique solution and does not discuss cases with multiple solutions or no solution. Also, symbolic computation as implemented via Ryacas typically requires more processing time.

Authors

Institutions

Publication Details

Journal
BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN
Published
2025-11-24
DOI
https://doi.org/10.30598/barekengvol20iss1pp0743-0754
Primary Topic
Numerical Methods and Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SYMBOLIC COMPUTATION APPROACH TO REDUCE ROUNDING ERRORS IN NUMERICAL OPERATIONS USING RYACAS

Kie Van Ivanky Saputra, I Gusti Agung Anom Yudistira
BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN
Numerical Methods and Algorithms
article

SYMBOLIC COMPUTATION APPROACH TO REDUCE ROUNDING ERRORS IN NUMERICAL OPERATIONS USING RYACAS

Kie Van Ivanky Saputra, I Gusti Agung Anom Yudistira
article en

Abstract

Computational operations on computers produce only approximations due to the limitations of numerical representation, finite precision arithmetic, and hardware constraints. For simple calculations, these errors are usually negligible. However, in a sequence of numerical computations, they can propagate and accumulate, leading to significant inaccuracies and becoming a critical issue, where small errors can have substantial consequences. R, like other programming languages designed for numerical computations, is not immune to precision errors. One approach to this issue is to preserve exact values throughout calculations. In R, there are several packages, such as Ryacas and Ryacas0 enable symbolic computation, which allow true values to be maintained during operations. In this paper, we propose an application of computational techniques that effectively eliminates precision errors arising from numerical calculations. We developed a user-defined function for solving linear systems using Gauss-Jordan row elementary operations. We first developed a function to solve linear systems without using the Ryacas package, named OBE.R, and another function with the same purpose but now using Ryacas, named yac-OBE.R. These two functions are compared, and as expected, the latter eliminates numerical precision errors; hence, the accuracy is one hundred percent improved. Additionally, this study is limited to solving linear systems with a unique solution and does not discuss cases with multiple solutions or no solution. Also, symbolic computation as implemented via Ryacas typically requires more processing time.

BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPANVol. 20(1)
Pelita Harapan University (ID), Binus University (ID)
Binus University
Openalex Percentile: Top 63%
Numerical Methods and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

SYMBOLIC COMPUTATION APPROACH TO REDUCE ROUNDING ERRORS IN NUMERICAL OPERATIONS USING RYACAS — Kie Van Ivanky Saputra, I Gusti Agung Anom Yudistira · BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN (2025) | TGRS Research Map | TGRS