## WordPress Blogging Tutorial 3 – Publishing Your First Blog

In the previous article, we have discussed the basics of blogging. We have typed our draft, inserted pictures and saved it. In this post, we are going to discuss the finishing touches of our first post and then publish it.

Before we publish our first blog, we must do two more things: We will add categories and then add tags.  We want search engines (Google, Yahoo, MSN) to see our post.  The best way of doing this is placing  categories and tags in each of our post.  Of course, at first, search engines will not place our blog at the top list during a search, but as more visitors visit our blog, and as more articles are being posted, it will increase its search engine rankings, and will increase the probability of being listed when a search is performed.

A category is a content specification of a post. For instance, since our blog is about high school mathematics, we might want include categories such as Algebra, Geometry, Trigonometry, Probability, Statistics and Calculus. Of course, we can add more categories such as Math Games, Famous Mathematicians, or anything related to high school mathematics. Our first post, the Pythagorean Theorem falls under Geometry and Trigonometry categories.

Tags are the keywords that are related to our article.  The possible tags for our post The Pythagorean Theorem are Pythagorean theorem, proof without words, Pythagoras, and right triangles. Notice that tags are more content-specific than categories. » Read more

## The Algebraic and Geometric Proofs of Pythagorean Theorem

The Pythagorean Theorem states that if a right triangle has side lengths $a, b$ and $c$, where $c$ is the hypotenuse, then the sum of the squares of the two shorter lengths is equal to the square of the length of the hypotenuse.

Figure 1 – A right triangle with side lengths a, b and c.

Putting it in equation form, we have

$a^2 + b^2 = c^2$.

For example, if a right triangle has side lengths $5$ and $12$, then the length of its hypotenuse is $13$, since $c^2 = 5^2 + 12^2 \Rightarrow c = 13$.

Exercise 1: What is the hypotenuse of the triangle with sides $1$ and $\sqrt{3}$?

The converse of the theorem is also true. If the side lengths of the triangle satisfy the equation $a^2 + b^2 = c^2$, then the triangle is right. For instance, a triangle with side lengths $(3, 4, 5)$ satisfies the equation $3^2 + 4^2 = 5^2$, therefore, it is a right triangle.

Geometrically, the Pythagorean theorem states that in a right triangle with sides $a, b$ and $c$ where $c$ is the hypotenuse, if three squares are constructed whose one of the sides are the sides of the triangle as shown in Figure 2, then the area of the two smaller squares when added equals the area of the largest square.

Figure 2 – The geometric interpretation of the Pythagorean theorem states that the area of the green square plus the area of the red square is equal to the area of the blue square.

One specific case is shown in Figure 3: the areas of the two smaller squares are $9$ and $16$ square units, and the area of the largest square is $25$ square units.

Exercise 2: Verify that the area of the largest square in Figure 3 is 25 square units by using the unit squares.

Figure 3 – A right triangle with side lengths 3, 4 and 5.

Similarly, triangles with side lengths $(7, 24, 25)$ and  $(8, 15, 17)$ are right triangles. If the side lengths of a right triangle are all integers, we call them Pythagorean triples. Hence, $(7, 24, 25)$ and  $(8, 15, 17)$ are Pythagorean triples.

Exercise 3: Give other examples of Pythagorean triples.

Exercise 4: Prove that there are infinitely many Pythagorean triples.

Proofs of the Pythagorean Theorem

There are more than 300 proofs of the Pythagorean theorem. More than 70 proofs are shown in tje Cut-The-Knot website. Shown below are two of the proofs.  Note that in proving the Pythagorean theorem, we want to show that for any right triangle with hypotenuse $c$, and sides $a$, and $b$, the following relationship holds: $a^2 + b^2 = c^2$.

Geometric Proof

First, we draw a triangle with side lengths $a, b$ and $c$ as shown in Figure 1. Next, we create 4 triangles identical to it and using the triangles form a square with side lengths $a + b$ as shown in Figure 4-A. Notice that the area of the white square in Figure 4-A is $c^2$.

Figure 4 – The Geometric proof of the Pythagorean theorem.

Rearranging the triangles, we can also form another square with the same side length as shown in Figure 4-B.This means that the area of the white square in the Figure 4-A is equal to the sum of the areas of the white squares in Figure 4-B (Why?). That is, $c^2 = a^2 + b^2$ which is exactly what we want to show. *And since we can always form a (big) square using four right triangles with any dimension (in higher mathematics, we say that we can choose arbitrary $a$ and $b$ as side lengths of a right triangle), this implies that the equation $a^2 + b^2 = c^2$ stated above is always true regardless of the size of the triangle.

Exercise 5: Prove that the quadrilateral with side length C in Figure 4-A is a square.

Algebraic Proof

In the second proof, we will now look at the yellow triangles instead of the squares.  Consider Figure 4-A. We can compute the area of a square with side lengths $a + b$ using two methods: (1) we can square the side lengths and (2) we can add the area of the 4 congruent triangles and then add them to the area of the white square which is $c^2$.  If we let $A$ be the area of the square with side $b + a$, then calculating we have

Method 1: $A = (b + a)^2 = b^2 + 2ab +a^2$

Method 2:  $A = 4(1/2ab) + c^2 = 2ab + c^2$

Methods 1 and 2 calculated the area of the same square, therefore they must be equal. This means that we can equate both expressions.  Equating we have,

$b^2 + 2ab + a^2 = 2ab + c^2 \Rightarrow a^2 + b^2 = c^2$

which is exactly what we want to show.