Skip to main content

Posts

Latest Post

Power Essence Coefficients and Bernoulli Numbers

Previously, we have explored methods to compute the essence of power functions $Ȣx^n$ which involves solving a large system of linear equations. This method is equivalent to solving for the inverse of a large $n\times n$ matrix where entries are values of pascal's triangle. Though the matrix method allow us to solve for large number of essences at once, it does not extend easily to solve for next iterations of essence coefficients. Rather than reusing the values we have already solved for, we will have to solve for inverse of a separate larger matrix again. Here we will introduce an iterative method for solving for these coefficients. Chapter 0: Recap Let us first remind ourselves of the definition of essence. For a function $f(x)$, we want to find the transformation $Ȣf(x)$ such that we are able to 'smooth out' its series: $$\sum_{i=a}^b f(i) = \int_{a-1}^b Ȣf(x) dx$$ For example, we can solve for the following functions: $$\begin{align*}Ȣ1 &= 1 \\ Ȣx &= x +...

Inverse Matrices: Inverse of Products and Non-Square Matrices UPDATED

Matrices are usually first introduced to students in pre-calculus and only the most basic operations and applications are taught to them. For example, we are taught how to add, multiply a scalar value, multiply matrices, and how to find their Inverses. We are taught that only the square matrices have inverses, but is this really true? Today, we will explore this concept of the Inverse of Non-Square Matrix. The Inverse of Matrix Product First, let us explore how the Inverse of a Product relates to Inverses of its Factors. Consider this matrix product: $$AB = C$$ where $A$, $B$, and $C$ are all matrices of legal orders. Now let us ask, how does $A^{-1}$ and $B^{-1}$ relate to $C^{-1}$? Let's define what we mean by Inverse of $C$. We want the inverse to have the property that $$CC^{-1} = C^{-1}C = \textbf{1}$$ where $\textbf{1}$ is a identity matrix. First, let's look at the first case: $$CC^{-1} = \textbf{1}$$ We can substitute the definition of $C$ and find that $$(AB...

Next Step from Simpson's Rule: Third Degree Approximation

Simpson's Rule, which is a extension of Trapezoidal Rule, which itself is a extension of Riemann Sum, is a approximation of true integral using second degree polynomial (rather than first degree polynomial of Trapezoidal and zeroth degree of Riemann Sum). Simpson uses the fact that $$p(x) = Ax^2 + Bx + C, \\ \int_{a}^b p(x) dx = \frac{b-a}{6}(p(a)+4p(\frac{a+b}{2})+p(b))$$ and extends to approximate that $$\int_{a}^bf(x) dx \approx \frac{b-a}{3n}[f(x_0)+4f(x_1)+2f(x_2)+4f(x_3)+\dots +4f(x_{n-1})+f(x_n)]$$ Now then, surely if second order polynomial yielded a closer approximation than first, then third order polynomial would be better approximation than second as well. What does it mean to use Third-degree Polynomial? For zeroth degree polynomial, we pick a single point in the interval to represent the curve. We cannot know about the slope or any concavity with a single point, and so a zeroth degree polynomial (a constant) is needed. This is what Riemann Sum uses to approx...

Sequence Curves: Essence of Sine and Cosine

Last time, we covered Geometric Series and before that we covered Arithmetic Series. Now we will try to find formulas for more unusual Series such as $\sum\sin$ and $\sum\cos$. $$\sum_{i=n}^m \sin(i) = \int_{n-1}^mȢ\{\sin(x)\}dx, \\ \sum_{i=n}^m \cos(i) = \int_{n-1}^mȢ\{\cos(x)\}dx $$ Essence Identity $$Ȣ\{f(x+1) - f(x)\} = \frac{d}{dx}f(x+1) $$ Last time we were able to calculate Essence of Exponentials with help of this Identity (also called Essence Formula). This will also help us calculate Essence for Sine and Cosine, though through a more complicated process. Unlike Exponentials, the difference cannot be grouped into a single term. To compute $Ȣ\{\sin(x)\}$ and $Ȣ\{\cos(x)\}$, we will have to solve them simultaneously side-by-side. $Ȣ\{\sin(x)\} \text{ and }Ȣ\{\cos(x)\}$ Firstly, let us use Essence Identity to find that $$\begin{align*} Ȣ\{\sin(x+1)-\sin(x)\}&=\frac{d}{dx}\sin(x+1)\\ Ȣ\{\sin(1)\cos(x)+\cos(1)\sin(x) - \sin(x)\}&=\cos(x+1)\\ Ȣ\{\sin(1)\cos(x) + ...

Sequence Curve: Essence of Exponential with Essence Formula

Last time, we explored Essence of Power Functions. This time, we will try to calculate for Essence of Exponentials in a similar way. $$\sum_{i=n}^m r^i = \int_{n-1}^mȢ\{r^x\}dx$$ Sequence Flatlining We were able to find Essence of Power functions using Sequence Flatlining. The basic idea behind Sequence Flatlining is to differentiate the equation for sequence until you reach 0 (Check out Sequence Curve: Essence of Power Function  for more). This method, however, will not work for Exponential Functions because they will never differentiate to 0. We will need to find another way to approach Essences. Essence Formula We start similarly to beginning of Sequence Flatlining: $$\sum_{i=n}^m f(i) = \int_{n-1}^mȢ\{f(x)\}dx \\ \sum_{i=n}^n f (i) = f(n) = \int_{n-1}^nȢ\{f(x)\}dx \\ \therefore \frac{d}{dn}f(n) = Ȣ\{f(n)\} - Ȣ\{f(n-1)\}$$ Rather than continuing to differentiate this like in Sequence Flatlining, we stop here. By Linearity of Essence (see Sequence Curve: Essentia...

The n-Angle Trigonometric with Pascal's Triangles

I'm back at it again with another fun math inquiry. We learn double angle formula for $\sin$ and $\cos$ but we usually do not go any further. Of course, we can build triple and quadruple angle formula with Angle Sum Identities, but why do we not discuss patterns of $\sin(n\theta)$ or $\cos(n\theta)$? Today, we will discuss intriguing patterns that arrises from n-Angle Trigs. Basics Let's first go over the basic identities: $$\begin{align*} \sin(\theta + \phi) &= \sin(\theta)\cos(\phi) + \cos(\theta)\sin(\phi) \\ \sin(\theta - \phi) &= \sin(\theta)\cos(\phi) - \cos(\theta)\sin(\phi) \\ \cos(\theta + \phi) &= \cos(\theta)\cos(\phi) - \sin(\theta)\sin(\phi) \\ \cos(\theta - \phi) &= \cos(\theta)\cos(\phi) + \sin(\theta)\sin(\phi) \\  \sin(2\theta) &= 2\sin(\theta)\cos(\theta) \\  \cos(2\theta) &= \cos^2 (\theta) - \sin^2(\theta) \end{align*}$$ From these simple identities we can build all n-angled trigs. But why aren't we taught them? Well,...

Sequence Curve: Essence of Power Function with Induction Formula and Sequence Flatlining

Last time, we introduced the concept of Sequence Curve. This time we will explore how the Essence Transformation will actually work.   To start this, we will consider the simplest function: linear function $f(x) = x$. $$\sum_{i=n}^m i = \int_{n-1}^m Ȣ\{x\} dx$$ How can we find $Ȣ\{x\}$? For this, we can utilize the well known Arithmetic Series formula to simplify this problem. $$\sum_{i=n}^m i = \frac{m+1 - n}{2}(m+n) $$ This lends to that $$\frac{m+1-n}{2}(m+n) = \int_{n-1}^m Ȣ\{x\} dx $$ From this relation we will be able to solve for $Ȣ\{x\}$. Let’s consider the case when $n$ is a constant $c$.   Then it must be case that $$ \int_{c-1}^m Ȣ\{x\} dx = \frac{m+1-c}{2}(m+c) $$ From First Fundamental Theorem of Calculus, we find that $$\begin{align*} \frac{d}{dm}\int_{c-1}^m Ȣ\{x\} dx & = \frac{d}{dm}\frac{m+1-c}{2}(m+c) \\ Ȣ\{m\} & = \frac{m+1-c}{2} + \frac{m+c}{2} \\ & = m + \frac{1}{2} \end{align*}$$ Let's see this in act...

Nested Summation Tricks

Summations are fun, but they can be really tricky. Most often, the fun properties come from the complexity of  terms defined within Sigma. What I became curious about is the properties of Sigma Summation itself: what interesting properties will Summation have when they are multiplied to each other, or even nested inside one other? That is the question we are going to explore with this article: tricks and properties of Summation Multiplication and Nested Summations! Before exploring our own properties, let us cover some of the more well known ones: $$\sum_{i=n}^m f(i) + \sum_{i=n}^mg(i) = \sum_{i=n}^m(f(i)+g(i))\\ \sum_{i=n}^mcf(i) = c\sum_{i=n}^mf(i)\\ \sum_{i=n}^m1 = m+1-n\\ \sum_{i=n}^mf(i) = \sum_{i=k}^mf(i) + \sum_{i=n}^{k-1}f(i)$$ With these simpler properties out of the way, let's begin with more exciting concepts: Multiplication $$\sum_{i=n}^mf(i) \times \sum_{j = a}^bg(j)$$ Let's start off simple: what comes after addition? Multiplication. The best way...

Sequence Curves: Essential Properties of Essence

In my last post I introduced my goals of $Ȣf(x)$, a transformation that produces a new function that fits the definition $\sum_{i=n}^mf(i) = \int_{n-1}^mȢf(x)dx$. In this article, we will explore few basic properties we can find of Ȣ Transformation without even needing to know how to transform works! Sum Rule of Essence  $$Ȣ(f(x)+g(x)) = Ȣf(x)+Ȣg(x)$$ This property becomes very obvious when we consider that Essence is related to Series. Let's consider $Ȣ(f(x)+g(x))$. By definition of Essence, we find that $$\sum_{i=n}^m(f(i)+g(i)) = \int_{n-1}^mȢ(f(x)+g(x))dx$$ We can modify the Summation on the left-hand side as such $$\sum_{i=n}^m(f(i)+g(i)) = \sum_{i=n}^mf(i) + \sum_{i=n}^mg(i)$$ Using Essence, we can represent each sub-summations as integrals $$\begin{align*}\sum_{i=n}^m(f(i)+g(i)) = & \sum_{i=n}^mf(i) + \sum_{i=n}^mg(i)\\ = & \int_{n-1}^mȢf(x)dx+\int_{n-1}^mȢg(x)dx\\ = & \int_{n-1}^mȢf(x)+Ȣg(x)dx \end{align*}$$ This leads to that $$\sum_{i=n}^m(f(i)+...

Introduction to Sequence Curve and Essence Transformation

The concept for Summations and Series is very simple: it’s just adding up terms in a sequence! However, calculating the actual Summation can be very runtime-costly especially if number of terms being summed is very large or if terms themselves are complex. In fact, when it comes to infinite Sums, determining rather it Converges or Diverges becomes a whole new problem in itself. A inspiration came to me as I was studying those Convergence Test off of my friends’ Calc BC worksheets: if it is possible to derive a formula for any Summations, similar to the Arithmetic Series equation or finite and infinite Geometric Series equation, calculating whether a Summation converges or diverges will become much easier, and we will be able to calculate the actual value it converges to. Wouldn’t it be nice if we can convert a Summation into a simpler formula or a equation? My mind immediately went to Integrals. To me, Integrals and Summation had a distinct similarity: both notation were essenti...

Summation of Harmonic Interval and Simplified Riemann Sum

When you first learn of Summation in Pre-Calc class, it is probably in build-up to Riemann Sum. You are taught the basics of Summation and simple manipulations, such a $\sum_nc*a_n = c*\sum_na_a$ for constant $c$, but you don't get to explore deeper into Summations and really play around with it. One thing that really intrigued me was why Summations only incremented by a unit. When we have a Sum like $\sum_{n=3}^{10}a_n$, it is equal to $a_3+a_4+a_5+\dots+a_9+a_{10}$, always incrementing by a unit( $1$ ). Why couldn't we Sum with interval that is not a unit? How could we have something like $a_3+a_{3.5}+a_4+a_{4.5}+a_5+a_{5.5}+\dots+a_{8.5}+a_9+a_{9.5}+a_{10}$, incrementing by a half instead of a full unit? Sets Of course you technically can use Sets and Set Builder Notation to create a specific Summation. $$\sum_{i \in S}i,S=\{\frac{x}{2}|x\in\mathbb{N_0}\} \, = \, 0+\frac{1}{2}+1+\frac{3}{2}+\dots$$ The above is Sum of all Rational Numbers incrementing by $\frac{1...