Skip to content

Commit 387ee0e

Browse files
authored
Merge pull request #5 from kolosovpetro/MATH-94
MATH-94
2 parents 5e25812 + 81c1296 commit 387ee0e

File tree

6 files changed

+24
-14
lines changed

6 files changed

+24
-14
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
*.xml linguist-detectable=false
99
*.css linguist-detectable=false
1010
*.m linguist-detectable=false
11-
*.nb linguist-detectable=false
11+
*.nb linguist-detectable=false
12+
*.cdf linguist-detectable=false

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.0.4] - 2025-02-24
9+
10+
### Changed
11+
12+
- Improve reasoning
13+
- Update abstract
14+
- Git attributes
15+
- Improve the flow
16+
817
## [1.0.3] - 2025-02-24
918

1019
### Changed
184 Bytes
Binary file not shown.

src/sections/01_abstract.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Let $P(m, X, N)$ be an $m$-degree polynomial in $X\in\mathbb{R}$
22
having fixed non-negative integers $m$ and $N$.
3-
Essentially, the polynomial $P(m, X, N)$ is a result of a rearrangement inside Faulhaber's formula
3+
The polynomial $P(m, X, N)$ is derived from a rearrangement of Faulhaber's formula
44
in the context of Knuth's work entitled "Johann Faulhaber and sums of powers".
55
In this manuscript we discuss the approximation properties of polynomial $P(m,X,N)$.
66
In particular, the polynomial $P(m,X,N)$ approximates the odd power function $X^{2m+1}$ in a certain neighborhood
7-
of a fixed non-negative integer $N$ with a percentage error less than $1\%$.
7+
of a fixed non-negative integer $N$ with a percentage error under $1\%$.
88
By increasing the value of $N$ the length of convergence interval with odd-power $X^{2m+1}$ also increases.
99
Furthermore, this approximation technique is generalized for arbitrary non-negative exponent $j$ of the power function $X^j$
1010
by using splines.

src/sections/02_introduction.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
For example,
1717
\input{sections/figures/05_fig_coefficients_a}
1818

19-
Essentially, the polynomial $P(m, X, N)$ is derived from a rearrangement of Faulhaber's formula
19+
The polynomial $P(m, X, N)$ is derived from a rearrangement of Faulhaber's formula
2020
in the context of Knuth's work entitled \textit{Johann Faulhaber and sums of powers}, see~\cite{knuth1993johann}.
2121
In particular, the polynomial $P(m, X, N)$ yields an identity for odd powers
2222
\begin{align*}
@@ -43,14 +43,14 @@
4343
Diving straight into the point, we switch our focus to the partial case of polynomial
4444
$P(2,X,4) = 900X^2 - 6000X + 10624$
4545
to show the first example of how it approximates the odd power function $X^5$.
46-
In general, we approximate the polynomial $X^{2m+1}$ using a lower-degree polynomial of degree $m$,
47-
as shown in the following image
46+
In general, we approximate the polynomial $X^{2m+1}$ using a lower-degree polynomial of degree $m$.
47+
The following image demonstrates the approximation of fifth power $X^5$ by
48+
$P(2,X,4) = 900X^2 - 6000X + 10624$
4849
\begin{figure}[H]
4950
\centering
5051
\includegraphics[width=1\textwidth]{sections/images/03_plots_polynomial_p2_n4_with_fifth}
5152
~\caption{Approximation of fifth power $X^5$ by $P(2, X, 4)$.
52-
Points of intersection $X=4$, $X=4.42472$, $X=4.99181$.
53-
Convergence interval is $4.0 \leq X \leq 5.1$ with percentage error $E < 1\%$.
53+
Convergence interval is $4.0 \leq X \leq 5.1$ with a percentage error $E < 1\%$.
5454
}\label{fig:03_plots_polynomial_p2_n4_with_fifth}
5555
\end{figure}
5656
As observed, the polynomial $P(2, X, 4)$ approximates $X^5$ in a certain neighborhood of $N=4$ with
@@ -99,7 +99,7 @@
9999
\centering
100100
\includegraphics[width=1\textwidth]{sections/images/07_plot_of_6th_power_with_p_2_4_times_x}
101101
~\caption{Approximation of sixth power $X^6$ by $P(2, X, 4) \cdot X$.
102-
Convergence interval is $3.9 \leq X \leq 5.1$ with percentage error $E < 3\%$.
102+
Convergence interval is $3.9 \leq X \leq 5.1$ with a percentage error $E < 3\%$.
103103
}\label{fig:07_plot_of_6th_power_with_p_2_4_times_x}
104104
\end{figure}
105105
Therefore, we have reached the statement that

src/sections/04_use_cases.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
P(m,X, X) &= X^{2m+1} \\
3030
P(m,X, X+1) &= (X+1)^{2m+1} - 1
3131
\end{align*}
32-
Therefore, for each two consequential points $N=X, N=X+1$ the absolute difference is 1, making that range
33-
at least $1\%$ percentage error for $X^j \leq 100$.
32+
Therefore, for each two consequential points $N=X, N=X+1$ the absolute difference $P(m,X, X) - P(m,X, X+1)$ equals to one,
33+
consequently, the range $[X, X+1]$ satisfies the $1\%$ error threshold for any pair $j, X$ such that $X^j \leq 100$.
3434
The approximation range $10 \leq X \leq 15$ and exponent $j=3$ are chosen intentionally to show the spline approximation with
3535
percentage error threshold less than $1\%$.
36-
Therefore, to approximate $X^3$ in the range $10 \leq X \leq 15$, we use the following spline function
36+
Therefore, to approximate the polynomial $X^3$ in the range $10 \leq X \leq 15$, we use the following spline function
3737
\begin{align}
3838
X^3 \approx
3939
\begin{cases}
@@ -51,7 +51,7 @@
5151
\includegraphics[width=1\textwidth]{sections/images/08_plots_of_cubes_power_with_p_2_10_15}
5252
~\caption{
5353
Approximation of cubes $X^3$ by splines~\eqref{eq:spline_approximation_of_cubes}.
54-
Convergence interval is $10 \leq X \leq 15$ with percentage error $E < 1\%$.
54+
Convergence interval is $10 \leq X \leq 15$ with a percentage error $E < 1\%$.
5555
}
5656
\label{fig:08_plots_of_cubes_power_with_p_2_10_15}
5757
\end{figure}
@@ -76,7 +76,7 @@
7676
\includegraphics[width=1\textwidth]{sections/images/09_plots_of_fourth_power_with_p_2_10_15_times_x}
7777
~\caption{
7878
Approximation of $X^4$ by splines~\eqref{eq:spline_approximation_fourth_power}.
79-
Convergence interval is $10 \leq X \leq 15$ with percentage error $E < 1\%$.
79+
Convergence interval is $10 \leq X \leq 15$ with a percentage error $E < 1\%$.
8080
}
8181
\label{fig:09_plots_of_fourth_power_with_p_2_10_15_times_x}
8282
\end{figure}

0 commit comments

Comments
 (0)