TeXMe Demo

Binomial Theorem

(x+y)n=k=0n(nk)xnkyk.

Exponential Function

ex=limn(1+xn)n.

Cauchy-Schwarz Inequality

(k=1nakbk)2(k=1nak2)(k=1nbk2).

Bayes' Theorem

P(AB)=P(BA)P(A)P(B).

Euler's Summation Formula

Theorem (Euler's summation formula). If f has a continuous derivative f on the interval [y,x], where 0<y<x, then y<nxf(n)=yxf(t)dt+yx(t[t])f(t)dt(1)+f(x)([x]x)f(y)([y]y).

Proof. Let m=[y], k=[x]. For integers n and n1 in [y,x] we have n1n[t]f(t)dt=n1n(n1)f(t)dt=(n1){f(n)f(n1)}={nf(n)(n1)f(n1)}f(n). Summing from n=m+2 to n=k we find the first sum telescopes, hence m+1k[t]f(t)dt=kf(k)(m+1)f(m+1)n=m+2kf(n)=kf(k)mf(m+1)y<nxf(n). Therefore y<nxf(n)=m+1k[t]f(t)dt+kf(k)mf(m+1)(2)=yx[t]f(t)dt+kf(x)mf(y). Integration by parts gives us yxf(t)dt=xf(x)yf(y)yxtf(t)dt, and when this is combined with (2) we obtain (1).

Hello World Program

Here is an example of "hello, world" program written in the C programming language:

#include <stdio.h>

int main()
{
    printf("hello, world\n");
    return 0;
}

Issac Newton Quotes

Issac Newton was relatively modest about his achievements, writing in a letter to Robert Hooke in February 1676:

If I have seen further it is by standing on the shoulders of giants.

In a later memoir, Newton wrote:

I do not know what I may appear to the world, but to myself I seem to have been only like a boy playing on the sea-shore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me.

To read more about Newton, see the Wikipedia entry on Issac Newton.

Table of Number Theory Functions

The following table shows information about a few important functions in number theory.

Name Notation First few values Multiplicative property
Möbius function μ(n) 1,1,1,0,1 Multiplicative
Euler's totient function φ(n) 1,1,2,2,4 Multiplicative
Mangoldt function Λ(n) 0,log2,log3,log2,log5 Not multiplicative
Liouville's function λ(n) 1,1,1,1,1 Completely multiplicative

About This Demo

This is a demo of a self-rendering Markdown + LaTeX document rendered with TeXMe. To learn more about what TeXMe is and how to use it, visit github.com/susam/texme.