Skip to content

Instantly share code, notes, and snippets.

@shgysk8zer0
Last active April 21, 2017 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shgysk8zer0/845c3c966c38360b5d5b0a689c04bdc7 to your computer and use it in GitHub Desktop.
Save shgysk8zer0/845c3c966c38360b5d5b0a689c04bdc7 to your computer and use it in GitHub Desktop.
Squares as sum proof
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<semantics>
<mtable>
<mtr>
<mtd>
<mrow>
<mi>x</mi>
<mo stretchy="false">∈</mo>
<mi mathvariant="normal">ℕ</mi>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo stretchy="false">=</mo>
<mrow>
<mi>x</mi>
<mo stretchy="false">+</mo>
<mn>2</mn>
</mrow>
</mrow>
<mrow>
<munderover>
<mo stretchy="false">∑</mo>
<mrow>
<mi>n</mi>
<mo stretchy="false">=</mo>
<mn>1</mn>
</mrow>
<mrow>
<mi>x</mi>
<mo stretchy="false">−</mo>
<mn>1</mn>
</mrow>
</munderover>
<mi>n</mi>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo stretchy="false">=</mo>
<mrow>
<mi>x</mi>
<mo stretchy="false">+</mo>
<mn>2</mn>
</mrow>
</mrow>
<mrow>
<mo fence="true" stretchy="false">(</mo>
<mrow>
<mfrac>
<mrow>
<mi>x</mi>
<mo stretchy="false">−</mo>
<mn>1</mn>
</mrow>
<mn>2</mn>
</mfrac>
</mrow>
<mo fence="true" stretchy="false">)</mo>
</mrow>
<mrow>
<mo fence="true" stretchy="false">(</mo>
<mrow>
<mrow>
<mi>x</mi>
<mo stretchy="false">−</mo>
<mn>1</mn>
<mo stretchy="false">+</mo>
<mn>1</mn>
</mrow>
</mrow>
<mo fence="true" stretchy="false">)</mo>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo stretchy="false">=</mo>
<mrow>
<mi>x</mi>
<mo stretchy="false">+</mo>
<mi>x</mi>
</mrow>
</mrow>
<mrow>
<mo fence="true" stretchy="false">(</mo>
<mrow>
<mrow>
<mi>x</mi>
<mo stretchy="false">−</mo>
<mn>1</mn>
</mrow>
</mrow>
<mo fence="true" stretchy="false">)</mo>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo stretchy="false">=</mo>
<mrow>
<mi>x</mi>
<mo stretchy="false">+</mo>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo stretchy="false">−</mo>
<mi>x</mi>
</mrow>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo stretchy="false">=</mo>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mrow>
</mtd>
</mtr>
</mtable>
<annotation encoding="StarMath 5.0">x in setN newline
x^2 = x + 2 sum from {n=1} to {x-1} n newline
x^2 = x + 2( {x-1} over {2} )(x - 1 + 1) newline
x^2 = x + x(x-1) newline
x^2 = x + x^2 - x newline
x^2 = x^2</annotation>
</semantics>
</math>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment