Completing the Square: Two Geometrical Proofs

On this website I previously showed you why the formulas used to complete the square work – and how they can be used to derive formulas such as the quadratic equation. Now, I’ll be doing something different, but related… On this post, I’ll be showing you how to come up with the formulas (2 in total) used to complete the square – geometrically.

Completing the Square Formula (Derivation 1):

In the diagram above, what we can see is that:

${ x }^{ 2 }+2\cdot \frac { b }{ 2 } x+{ \left( \frac { b }{ 2 } \right) }^{ 2 }={ \left( x+\frac { b }{ 2 } \right) }^{ 2 }$

This means that:

${ x }^{ 2 }+bx+{ \left( \frac { b }{ 2 } \right) }^{ 2 }={ \left( x+\frac { b }{ 2 } \right) }^{ 2 }\\ \\ \therefore \quad { x }^{ 2 }+bx={ \left( x+\frac { b }{ 2 } \right) }^{ 2 }-{ \left( \frac { b }{ 2 } \right) }^{ 2 }$

Completing the Square Formula (Derivation 2):

In the diagram above, what we can see is that:

${ \left( x-\frac { b }{ 2 } \right) }^{ 2 }+2\cdot \frac { b }{ 2 } \left( x-\frac { b }{ 2 } \right) +{ \left( \frac { b }{ 2 } \right) }^{ 2 }={ x }^{ 2 }$

This means that:

${ \left( x-\frac { b }{ 2 } \right) }^{ 2 }+b\left( x-\frac { b }{ 2 } \right) +{ \left( \frac { b }{ 2 } \right) }^{ 2 }={ x }^{ 2 }\\ \\ { \left( x-\frac { b }{ 2 } \right) }^{ 2 }+bx-\frac { { b }^{ 2 } }{ 2 } +\frac { { b }^{ 2 } }{ 4 } ={ x }^{ 2 }\\ \\ { \left( x-\frac { b }{ 2 } \right) }^{ 2 }+bx-\frac { 2{ b }^{ 2 } }{ 4 } +\frac { { b }^{ 2 } }{ 4 } ={ x }^{ 2 }\\ \\ { \left( x-\frac { b }{ 2 } \right) }^{ 2 }+bx-\frac { { b }^{ 2 } }{ 4 } ={ x }^{ 2 }\\ \\ { \left( x-\frac { b }{ 2 } \right) }^{ 2 }+bx-{ \left( \frac { b }{ 2 } \right) }^{ 2 }={ x }^{ 2 }\\ \\ \therefore \quad { x }^{ 2 }-bx={ \left( x-\frac { b }{ 2 } \right) }^{ 2 }-{ \left( \frac { b }{ 2 } \right) }^{ 2 }$

I hope these geometrical proofs have helped you better understand why the formulas we use to complete the square are in existence. Thanks for reading! 😀

More ways in which to express the golden ratio

In this blog post I’ll be revealing more ways (4 in fact) in which to express or come up with the value of the golden ratio

Number One:

$\varphi =\frac { a+b }{ a } \\ \\ =\frac { a }{ a } +\frac { b }{ a } \\ \\ =1+{ \left( \varphi \right) }^{ -1 }\\ \\ =1+\frac { 1 }{ \varphi }$

Number Two:

$\varphi =1+\frac { 1 }{ \varphi } \\ \\ \Rightarrow \quad { \varphi }^{ 2 }=\varphi +1\\ \\ \Rightarrow \quad { \varphi }^{ 2 }-\varphi =1\\ \\ \Rightarrow \quad { \left( \varphi -\frac { 1 }{ 2 } \right) }^{ 2 }-{ \left( \frac { 1 }{ 2 } \right) }^{ 2 }=1\\ \\ \Rightarrow \quad { \left( \varphi -\frac { 1 }{ 2 } \right) }^{ 2 }=\frac { 4 }{ 4 } +\frac { 1 }{ 4 } \\ \\ \Rightarrow \quad { \left( \varphi -\frac { 1 }{ 2 } \right) }^{ 2 }=\frac { 5 }{ 4 } \\ \\ \Rightarrow \quad \varphi -\frac { 1 }{ 2 } =\frac { \sqrt { 5 } }{ 2 } \\ \\ \Rightarrow \quad \varphi =\frac { 1 }{ 2 } +\frac { \sqrt { 5 } }{ 2 } \\ \\ \therefore \quad \varphi =\frac { 1+\sqrt { 5 } }{ 2 }$

Number Three:

$\varphi =1+\frac { 1 }{ \varphi } \\ \\ \Rightarrow \quad \varphi =1+\frac { 1 }{ 1+\frac { 1 }{ \varphi } } \\ \\ \Rightarrow \quad \varphi =1+\frac { 1 }{ 1+\frac { 1 }{ 1+\frac { 1 }{ \varphi } } } \\ \\ \therefore \quad \varphi =1+\frac { 1 }{ 1+\frac { 1 }{ 1+\frac { 1 }{ 1+... } } }$

Number Four:

$\varphi =1+\frac { 1 }{ \varphi } \\ \\ { \Rightarrow \quad \varphi }^{ 2 }=\varphi +1\\ \\ \Rightarrow \quad \varphi =\sqrt { \varphi +1 } \\ \\ \Rightarrow \quad \varphi =\sqrt { \sqrt { \varphi +1 } +1 } \\ \\ \Rightarrow \quad \varphi =\sqrt { \sqrt { \sqrt { \varphi +1 } +1 } +1 } \\ \\ \therefore \quad \varphi =\sqrt { \sqrt { \sqrt { \frac { 1+\sqrt { 5 } }{ 2 } +1 } +1 } +1 } \\ \\$

And check out this calculator trick…

If you’re not satisfied with what I’ve already produced, then you can have a go at proving that…

$\frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ 1+\frac { 1 }{ 1+\frac { 1 }{ 1+... } } } \\ \\$

Without using the phi (φ) symbol.

Enjoy!!! 😀

Another way to express the golden ratio mathematically

In this post I’m going to be proving that…

$\varphi =\frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ 1+\frac { 1 }{ 1+\frac { 1 }{ 1+... } } }$

So, here I go…

$x=\frac { 1+\sqrt { 5 } }{ 2 } \\ \\ \Rightarrow \quad { x }^{ 2 }=\frac { \left( 1+\sqrt { 5 } \right) }{ 2 } \cdot \frac { \left( 1+\sqrt { 5 } \right) }{ 2 } \\ \\ \Rightarrow \quad { x }^{ 2 }=\frac { 1+2\sqrt { 5 } +5 }{ 4 } \\ \\ \Rightarrow \quad { x }^{ 2 }=\frac { 6+2\sqrt { 5 } }{ 4 } \\ \\ \Rightarrow \quad { x }^{ 2 }-1=\frac { 6+2\sqrt { 5 } }{ 4 } -\frac { 4 }{ 4 } \\ \\ \Rightarrow \quad { x }^{ 2 }-1=\frac { 2+2\sqrt { 5 } }{ 4 } \\ \\ \Rightarrow \quad { x }^{ 2 }-1=\frac { 2 }{ 2 } \cdot \frac { \left( 1+\sqrt { 5 } \right) }{ 2 }$

Wait for it…

$\Rightarrow \quad { x }^{ 2 }-1=1\cdot x\\ \\ \Rightarrow \quad { x }^{ 2 }-1=x\\ \\ \Rightarrow \quad { x }^{ 2 }=x+1\\ \\ \Rightarrow \quad \frac { { x }^{ 2 } }{ x } =\frac { x }{ x } +\frac { 1 }{ x } \\ \\ \Rightarrow \quad x=1+\frac { 1 }{ x } \\ \\ \Rightarrow \quad \frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ x } \\ \\ \Rightarrow \quad \frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ \left( 1+\frac { 1 }{ x } \right) } \\ \\ \Rightarrow \quad \frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ 1+\frac { 1 }{ x } } \\ \\ \Rightarrow \quad \frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ 1+\frac { 1 }{ \left( 1+\frac { 1 }{ x } \right) } } \\ \\ \therefore \quad \frac { 1+\sqrt { 5 } }{ 2 } =1+\frac { 1 }{ 1+\frac { 1 }{ 1+\frac { 1 }{ 1+... } } }$

This expression for the golden ratio is quite common, however, before I produced this post – I think it would’ve been very hard to figure out how to derive it from scratch. There aren’t many quirky proofs like this one on the internet – I am quite certain. I hope you liked reading this post! 😀

How to find a neat version of y when you have the equation of an ellipse

So, you have the equation of the ellipse but you need to completely isolate y. How would you go about doing this? Well, here is a fantastic example…

${ \left( \frac { x }{ a } \right) }^{ 2 }+{ \left( \frac { y }{ b } \right) }^{ 2 }=1\\ \\ \therefore \quad { \left( \frac { y }{ b } \right) }^{ 2 }=1-{ \left( \frac { x }{ a } \right) }^{ 2 }\\ \\ \therefore \quad \frac { { y }^{ 2 } }{ { b }^{ 2 } } =1-\frac { { x }^{ 2 } }{ { a }^{ 2 } } \\ \\ \therefore \quad { y }^{ 2 }={ b }^{ 2 }-\frac { { { b }^{ 2 }x }^{ 2 } }{ { a }^{ 2 } } \\ \\ \therefore \quad { y }^{ 2 }=\frac { { a }^{ 2 }{ b }^{ 2 } }{ { a }^{ 2 } } -\frac { { b }^{ 2 }{ x }^{ 2 } }{ { a }^{ 2 } } \\ \\ \therefore \quad { y }^{ 2 }=\frac { { a }^{ 2 }{ b }^{ 2 }-{ b }^{ 2 }{ x }^{ 2 } }{ { a }^{ 2 } } \\ \\ \therefore \quad { y }^{ 2 }=\frac { { b }^{ 2 }\left( { a }^{ 2 }-{ x }^{ 2 } \right) }{ { a }^{ 2 } } \\ \\ \therefore \quad { y }^{ 2 }=\frac { { b }^{ 2 } }{ { a }^{ 2 } } \cdot \left( { a }^{ 2 }-{ x }^{ 2 } \right) \\ \\ \therefore \quad y=\sqrt { \frac { { b }^{ 2 } }{ { a }^{ 2 } } } \cdot \sqrt { { a }^{ 2 }-{ x }^{ 2 } } \\ \\ \therefore \quad y=\frac { b }{ a } \cdot \sqrt { { a }^{ 2 }-{ x }^{ 2 } }$

This will come in handy if you’re trying to derive the area of an ellipse from absolute scratch.

Thanks for reading! 🙂

Useful trigonometric formulas for finding areas of circles

If you’re trying to find the area of a circle using integration methods, then these trigonometric formulas are going to be very useful:

First formulas:

$\sin ^{ 2 }{ \theta +\cos ^{ 2 }{ \theta =1 } } \\ \\ \therefore \quad { r }^{ 2 }\sin ^{ 2 }{ \theta +{ r }^{ 2 }\cos ^{ 2 }{ \theta ={ r }^{ 2 } } } \\ \\ \therefore \quad { r }^{ 2 }\sin ^{ 2 }{ \theta ={ r }^{ 2 }-{ r }^{ 2 }\cos ^{ 2 }{ \theta } } \\ \\ \therefore \quad { r }^{ 2 }\sin ^{ 2 }{ \theta ={ r }^{ 2 }\left( 1-\cos ^{ 2 }{ \theta } \right) }$

Second formulas:

$\sin ^{ 2 }{ \theta +\cos ^{ 2 }{ \theta =1 } } \\ \\ \therefore \quad { r }^{ 2 }\sin ^{ 2 }{ \theta +{ r }^{ 2 }\cos ^{ 2 }{ \theta ={ r }^{ 2 } } } \\ \\ \therefore \quad { r }^{ 2 }\cos ^{ 2 }{ \theta ={ r }^{ 2 }-{ r }^{ 2 }\sin ^{ 2 }{ \theta } } \\ \\ \therefore \quad { r }^{ 2 }\cos ^{ 2 }{ \theta ={ r }^{ 2 }\left( 1-\sin ^{ 2 }{ \theta } \right) }$

These formulas are to be used when you have to transform the expression:

${ y }=\sqrt { { r }^{ 2 }-{ x }^{ 2 } }$

You can either make:

$x=r\sin { \theta }$

Or…

$x=r\cos { \theta }$

The choice is yours. 🙂

If a/b=c/d, then a/b=(a+c)/(b+d) mathematical proof

In this post I’ll be proving to you that if:

a/b=c/d

Then:

a/b=(a+c)/(b+d)

To prove this, the first thing you need to know is that:

$\frac { a }{ b } =\frac { c }{ d } \\ \\ \therefore \quad ad=bc$

The rest is just mathematical / algebraic trickery… Let me show you…

Proof 1:

$LHS\\ \\ =\frac { a }{ b } \\ \\ =\frac { a }{ b } \cdot 1\\ \\ =\frac { a }{ b } \cdot \frac { \left( b+d \right) }{ \left( b+d \right) } \\ \\ =\frac { ab+ad }{ b\left( b+d \right) } \\ \\ =\frac { ab }{ b\left( b+d \right) } +\frac { ad }{ b\left( b+d \right) } \\ \\ =\frac { a }{ b+d } +\frac { bc }{ b\left( b+d \right) } \\ \\ =\frac { a }{ b+d } +\frac { c }{ b+d } \\ \\ =\frac { a+c }{ b+d } \\ \\ =RHS$

Proof 2:

$LHS\\ \\ =\frac { a }{ b } \\ \\ =\frac { a }{ b } \cdot 1\\ \\ =\frac { a }{ b } \cdot \frac { \left( b+d \right) }{ \left( b+d \right) } \\ \\ =\frac { ab+ad }{ b\left( b+d \right) } \\ \\ =\frac { ab+bc }{ b\left( b+d \right) } \\ \\ =\frac { b\left( a+c \right) }{ b\left( b+d \right) } \\ \\ =\frac { a+c }{ b+d } \\ \\ =RHS$

Proof 1 Video:

Proof 2 Video:

Deriving the formula for an ellipse

In this post, I’ll be demonstrating how one can derive the formula for an ellipse from absolute scratch.

To derive the formula for an ellipse, what we must first do is create a diagram like the one below.

** Click on the image above to see it in full size.

Now, the first thing we’ve got to acknowledge here is that:

${ D }_{ 1 }+{ D }_{ 2 }=2a$

What we’re basically saying is that D_1 + D_2 is equal to the length from -a to a in the diagram above.

This formula can be understood by watching the video below…

These photographs can also help the formula sink into your mind…

Ellipse Image 1:

Ellipse Image 2:

Now, look at the diagram at the top of this page once again…

What you will notice is that:

${ \left( c+x \right) }^{ 2 }+{ y }^{ 2 }={ D }_{ 1 }^{ 2 }\\ \\ \therefore \quad { D }_{ 1 }^{ 2 }={ c }^{ 2 }+2cx+{ x }^{ 2 }+{ y }^{ 2 }\\ \\ \therefore \quad { D }_{ 1 }=\sqrt { { c }^{ 2 }+2cx+{ x }^{ 2 }+{ y }^{ 2 } } \\ \\ { \left( c-x \right) }^{ 2 }+{ y }^{ 2 }={ D }_{ 2 }^{ 2 }\\ \\ \therefore \quad { D }_{ 2 }^{ 2 }={ c }^{ 2 }-2cx+{ x }^{ 2 }+{ y }^{ 2 }\\ \\ \therefore \quad { D }_{ 2 }=\sqrt { { c }^{ 2 }-2cx+{ x }^{ 2 }+{ y }^{ 2 } }$

If this is the case, we can say that:

** Click on the image of the workings to see it in full size.

Alright, so far so good… Now, it turns out – if you look at the diagram at the top of this page carefully, you will discover that:

${ b }^{ 2 }+{ c }^{ 2 }={ a }^{ 2 }\\ \\ \therefore \quad { c }^{ 2 }={ a }^{ 2 }-{ b }^{ 2 }$

And this ultimately means that:

${ a }^{ 4 }+\left( { a }^{ 2 }-{ b }^{ 2 } \right) { x }^{ 2 }={ a }^{ 2 }\left( { a }^{ 2 }-{ b }^{ 2 } \right) +{ a }^{ 2 }{ x }^{ 2 }+{ a }^{ 2 }{ y }^{ 2 }\\ \\ \therefore \quad { a }^{ 4 }+{ a }^{ 2 }{ x }^{ 2 }-{ b }^{ 2 }{ x }^{ 2 }={ a }^{ 4 }-{ a }^{ 2 }{ b }^{ 2 }+{ a }^{ 2 }{ x }^{ 2 }+{ a }^{ 2 }{ y }^{ 2 }\\ \\ -{ b }^{ 2 }{ x }^{ 2 }=-{ a }^{ 2 }{ b }^{ 2 }+{ a }^{ 2 }{ y }^{ 2 }\\ \\ { b }^{ 2 }{ x }^{ 2 }+{ a }^{ 2 }{ y }^{ 2 }={ a }^{ 2 }{ b }^{ 2 }\\ \\ \frac { { b }^{ 2 }{ x }^{ 2 } }{ { a }^{ 2 }{ b }^{ 2 } } +\frac { { a }^{ 2 }{ y }^{ 2 } }{ { a }^{ 2 }{ b }^{ 2 } } =\frac { { a }^{ 2 }{ b }^{ 2 } }{ { a }^{ 2 }{ b }^{ 2 } } \\ \\ \frac { { x }^{ 2 } }{ { a }^{ 2 } } +\frac { { y }^{ 2 } }{ { b }^{ 2 } } =1\\ \\ { \left( \frac { x }{ a } \right) }^{ 2 }+{ \left( \frac { y }{ b } \right) }^{ 2 }=1$

The formula you see just above is the formula for an ellipse. You’ve derived it from scratch!!

Finding the formulas for areas of triangles

In this post I’ll be demonstrating how one can derive the three formulas which can be used to find the areas of triangles.

These formulas are in fact:

$A=\frac { 1 }{ 2 } bc\cdot \sin { \left( A \right) } =\frac { 1 }{ 2 } ac\cdot \sin { \left( B \right) =\frac { 1 }{ 2 } } ab\cdot \sin { \left( C \right) }$

To begin with, let’s start by looking at the diagram below:

Now, if you look at the diagram carefully – you will notice that the area of the triangle is:

$A=\frac { x\cdot CN }{ 2 } +\frac { \left( c-x \right) \cdot CN }{ 2 }$

This can be simplified into:

$\frac { x\cdot CN }{ 2 } +\frac { \left( c-x \right) \cdot CN }{ 2 } \\ \\ =\frac { x\cdot CN+\left( c-x \right) \cdot CN }{ 2 } \\ \\ =\frac { CN\left\{ x+\left( c-x \right) \right\} }{ 2 } \\ \\ =\frac { CN\cdot c }{ 2 }$

Because of SOH CAH TOA, what we can also say is that:

$\sin { \left( A \right) } =\frac { O }{ H } =\frac { CN }{ b } \\ \\ \therefore \quad b\cdot \sin { \left( A \right) } =CN\\ \\ \sin { \left( B \right) =\frac { O }{ H } } =\frac { CN }{ a } \\ \\ \therefore \quad a\cdot \sin { \left( B \right) } =CN$

Now because:

$A=\frac { CN\cdot c }{ 2 }$

This ultimately means that:

$A=\frac { 1 }{ 2 } bc\cdot \sin { \left( A \right) } \\ \\ A=\frac { 1 }{ 2 } ac\cdot \sin { \left( B \right) } \\ \\ \therefore \quad A=\frac { 1 }{ 2 } bc\cdot \sin { \left( A \right) =\frac { 1 }{ 2 } ac } \cdot \sin { \left( B \right) }$

Alright, so far so good… Now we must put the icing on the cake and attach the final piece of the jigsaw puzzle to the formula above. In order to find the three equations which can be used to find the areas of triangles, we must now discover the expression for sin(C). We can discover its expression by first saying that:

$C=\left( 90-A \right) +\left( 90-B \right) \\ \\ =90-A+90-B\\ \\ =180-A-B\\ \\ =180-\left( A+B \right) \\ \\ \therefore \quad \sin { \left( C \right) } =\sin { \left( 180-\left( A+B \right) \right) }$

And if we use the trigonometric identity below:

$\sin { \left( \alpha -\beta \right) } =\sin { \left( \alpha \right) \cdot \cos { { \left( \beta \right) } } -\cos { \left( \alpha \right) \cdot \sin { \left( \beta \right) } } }$

We will reach the conclusion:

$\sin { \left( 180-\left( A+B \right) \right) } =\sin { \left( 180 \right) \cdot \cos { \left( A+B \right) -\cos { \left( 180 \right) \cdot \sin { \left( A+B \right) } } } }$

But because:

$\sin { \left( 180 \right) =0 } ,\quad \cos { \left( 180 \right) =-1 } \\ \\ \sin { \left( 180-\left( A+B \right) \right) =-\left( -1 \right) \cdot \sin { \left( A+B \right) } } \\ \\ \therefore \quad \sin { \left( C \right) =\sin { \left( A+B \right) } }$

Now, sin(A+B) as a trigonometric identity, is:

$\sin { \left( A+B \right) =\sin { \left( A \right) \cdot \cos { \left( B \right) +\cos { \left( A \right) \cdot \sin { \left( B \right) } } } } }$

And, thanks to SOH CAH TOA…

$\sin { \left( A+B \right) =\sin { \left( C \right) } } \\ \\ \sin { \left( A \right) =\frac { CN }{ b } } \\ \\ \cos { \left( B \right) =\frac { A }{ H } } =\frac { \left( c-x \right) }{ a } \\ \\ \cos { \left( A \right) =\frac { A }{ H } =\frac { x }{ b } } \\ \\ \sin { \left( B \right) =\frac { CN }{ a } }$

Which means that…

$\sin { \left( C \right) =\frac { CN }{ b } \cdot \frac { \left( c-x \right) }{ a } +\frac { x }{ b } \cdot \frac { CN }{ a } } \\ \\ =\frac { CN\left( c-x \right) }{ ab } +\frac { CN\cdot x }{ ab } \\ \\ =\frac { CN\left( c-x \right) +CN\cdot x }{ ab } \\ \\ =\frac { CN\left\{ \left( c-x \right) +x \right\} }{ ab } \\ \\ =\frac { CN\cdot c }{ ab } \\ \\ \therefore \quad ab\cdot \sin { \left( C \right) =CN\cdot c } \\ \\ \therefore \quad \frac { 1 }{ 2 } ab\cdot \sin { \left( C \right) =\frac { CN\cdot c }{ 2 } =A }$

As this is the case, we can conclude that:

$A=\frac { 1 }{ 2 } bc\cdot \sin { \left( A \right) } =\frac { 1 }{ 2 } ac\cdot \sin { \left( B \right) =\frac { 1 }{ 2 } } ab\cdot \sin { \left( C \right) }$

Coded Data Proofs: Mean & Standard Deviation, y=x/k + C

Coded Data Proofs (4):

Say that: y=x/k + C

And that: x={p, q} and y={p/k+C, q/k+C}

If this is the case:

$\frac { \Sigma y }{ n } =\frac { \frac { p }{ k } +C+\left\{ \frac { q }{ k } +C \right\} }{ n } \\ \\ =\frac { \frac { p }{ k } +\frac { q }{ k } +nC }{ n } \\ \\ =\frac { \frac { 1 }{ k } \left( p+q \right) +nC }{ n } \\ \\ =\frac { \frac { 1 }{ k } \left( p+q \right) }{ n } +\frac { nC }{ n } \\ \\ =\frac { 1 }{ k } \cdot \frac { \Sigma x }{ n } +C$

And also:

$\frac { \Sigma { y }^{ 2 } }{ n } =\frac { { \left( \frac { p }{ k } +C \right) }^{ 2 }+{ \left( \frac { q }{ k } +C \right) }^{ 2 } }{ n } \\ \\ =\frac { \left( \frac { p }{ k } +C \right) \left( \frac { p }{ k } +C \right) +\left( \frac { q }{ k } +C \right) \left( \frac { q }{ k } +C \right) }{ n } \\ \\ =\frac { \frac { { p }^{ 2 } }{ { k }^{ 2 } } +n\cdot \frac { p }{ k } \cdot C+{ C }^{ 2 }+\left\{ \frac { { q }^{ 2 } }{ { k }^{ 2 } } +n\cdot \frac { q }{ k } \cdot C+{ C }^{ 2 } \right\} }{ n } \\ \\ =\frac { \frac { { p }^{ 2 } }{ { k }^{ 2 } } +\frac { { q }^{ 2 } }{ { k }^{ 2 } } +n\cdot \frac { 1 }{ k } \cdot C\left( p+q \right) +n{ C }^{ 2 } }{ n } \\ \\ =\frac { \frac { 1 }{ { k }^{ 2 } } \left( { p }^{ 2 }+{ q }^{ 2 } \right) +n\cdot \frac { 1 }{ k } \cdot C\left( p+q \right) +n{ C }^{ 2 } }{ n } \\ \\ =\frac { \frac { 1 }{ { k }^{ 2 } } \left( { p }^{ 2 }+{ q }^{ 2 } \right) }{ n } +\frac { n\cdot \frac { 1 }{ k } \cdot C\left( p+q \right) }{ n } +\frac { n{ C }^{ 2 } }{ n } \\ \\ =\frac { 1 }{ { k }^{ 2 } } \cdot \frac { \Sigma { x }^{ 2 } }{ n } +\frac { 1 }{ k } \cdot C\cdot \Sigma x+{ C }^{ 2 }$

Therefore, you’d have to say that:

${ \sigma }_{ y }=\sqrt { \frac { \Sigma { y }^{ 2 } }{ n } -{ \left( \frac { \Sigma y }{ n } \right) }^{ 2 } } \\ \\ =\sqrt { \frac { 1 }{ { k }^{ 2 } } \cdot \frac { \Sigma { x }^{ 2 } }{ n } +\frac { 1 }{ k } \cdot C\cdot \Sigma x+{ C }^{ 2 }-{ \left( \frac { 1 }{ k } \cdot \frac { \Sigma x }{ n } +C \right) }^{ 2 } } \\ \\ =\sqrt { \frac { 1 }{ { k }^{ 2 } } \cdot \frac { \Sigma { x }^{ 2 } }{ n } +\frac { 1 }{ k } \cdot C\cdot \Sigma x+{ C }^{ 2 }-\left\{ \frac { 1 }{ { k }^{ 2 } } \cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 }+n\cdot \frac { 1 }{ k } \cdot \frac { \Sigma x }{ n } \cdot C+{ C }^{ 2 } \right\} } \\ \\ =\sqrt { \frac { 1 }{ { k }^{ 2 } } \cdot \frac { \Sigma { x }^{ 2 } }{ n } +\frac { 1 }{ k } \cdot C\cdot \Sigma x+{ C }^{ 2 }-\frac { 1 }{ { k }^{ 2 } } \cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 }-\frac { 1 }{ k } \cdot C\cdot \Sigma x-{ C }^{ 2 } } \\ \\ =\sqrt { \frac { 1 }{ { k }^{ 2 } } \cdot \frac { \Sigma { x }^{ 2 } }{ n } -\frac { 1 }{ { k }^{ 2 } } \cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 } } \\ \\ =\sqrt { \frac { 1 }{ { k }^{ 2 } } \left\{ \frac { \Sigma { x }^{ 2 } }{ n } -{ \left( \frac { \Sigma x }{ n } \right) }^{ 2 } \right\} } \\ \\ =\sqrt { \frac { 1 }{ { k }^{ 2 } } } \cdot \sqrt { \frac { \Sigma { x }^{ 2 } }{ n } -{ \left( \frac { \Sigma x }{ n } \right) }^{ 2 } } \\ \\ =\frac { 1 }{ k } \cdot { \sigma }_{ x }$

Coded Data Proofs: Mean & Standard Deviation, y=kx+C

Coded Data Proofs (3):

Say y=kx+C and also that:

x={p, q} and y={kp+C, kq+C}

This would mean that:

$\frac { \Sigma y }{ n } =\frac { kp+C+\left\{ kq+C \right\} }{ n } \\ \\ =\frac { kp+kq+nC }{ n } \\ \\ =\frac { k\left( p+q \right) +nC }{ n } \\ \\ =\frac { k\left( p+q \right) }{ n } +\frac { nC }{ n } \\ \\ =k\cdot \frac { \Sigma x }{ n } +C$

And if the above is true:

$\frac { \Sigma { y }^{ 2 } }{ n } =\frac { { \left( kp+C \right) }^{ 2 }+{ \left( kq+C \right) }^{ 2 } }{ n } \\ \\ =\frac { \left( kp+C \right) \left( kp+C \right) +\left( kq+C \right) \left( kq+C \right) }{ n } \\ \\ =\frac { { k }^{ 2 }{ p }^{ 2 }+nkpC+{ C }^{ 2 }+\left\{ { k }^{ 2 }{ q }^{ 2 }+nkqC+{ C }^{ 2 } \right\} }{ n } \\ \\ =\frac { { k }^{ 2 }{ p }^{ 2 }+{ k }^{ 2 }{ q }^{ 2 }+nkC\left( p+q \right) +n{ C }^{ 2 } }{ n } \\ \\ =\frac { { k }^{ 2 }\left( { p }^{ 2 }+{ q }^{ 2 } \right) +nkC\left( p+q \right) +n{ C }^{ 2 } }{ n } \\ \\ =\frac { { k }^{ 2 }\left( { p }^{ 2 }+{ q }^{ 2 } \right) }{ n } +\frac { nkC\left( p+q \right) }{ n } +\frac { n{ C }^{ 2 } }{ n } \\ \\ ={ k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +kC\cdot \Sigma x+{ C }^{ 2 }\\ \\ ={ k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right)$

Therefore:

${ \sigma }_{ y }=\sqrt { \frac { \Sigma { y }^{ 2 } }{ n } -{ \left( \frac { \Sigma y }{ n } \right) }^{ 2 } } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right) -{ \left( k\cdot \frac { \Sigma x }{ n } +C \right) }^{ 2 } } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right) -\left( k\cdot \frac { \Sigma x }{ n } +C \right) \left( k\cdot \frac { \Sigma x }{ n } +C \right) } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right) -\left\{ { k }^{ 2 }\cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 }+nkC\cdot \frac { \Sigma x }{ n } +{ C }^{ 2 } \right\} } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right) -{ k }^{ 2 }\cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 }-nkC\cdot \frac { \Sigma x }{ n } -{ C }^{ 2 } } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right) -{ k }^{ 2 }\cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 }-kC\cdot \Sigma x-{ C }^{ 2 } } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } +C\left( k\cdot \Sigma x+C \right) -{ k }^{ 2 }\cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 }-C\left( k\cdot \Sigma x+C \right) } \\ \\ =\sqrt { { k }^{ 2 }\cdot \frac { \Sigma { x }^{ 2 } }{ n } -{ k }^{ 2 }\cdot { \left( \frac { \Sigma x }{ n } \right) }^{ 2 } } \\ \\ =\sqrt { { k }^{ 2 }\left\{ \frac { \Sigma { x }^{ 2 } }{ n } -{ \left( \frac { \Sigma x }{ n } \right) }^{ 2 } \right\} } \\ \\ =\sqrt { { k }^{ 2 } } \cdot \sqrt { \frac { \Sigma { x }^{ 2 } }{ n } -{ \left( \frac { \Sigma x }{ n } \right) }^{ 2 } } \\ \\ =k\cdot { \sigma }_{ x }$