Is the proof of Pythagorean theorem using dot (inner) product circular?












16












$begingroup$


$x,y$ are perpendicular if and only if $xcdot y=0$. Now, $||x+y||^2=(x+y)cdot (x+y)=(xcdot x)+(xcdot y)+(ycdot x)+(ycdot y)$. The middle two terms are zero if and only if $x,y$ are perpendicular. So, $||x+y||^2=(xcdot x)+(ycdot y)=||x||^2+||y||^2$ if and only if $x,y$ are perpendicular. ( I copied this)



I think this argument is circular because the property




$xcdot y=0 $ implies $x$ and $y$ are perpendicular




comes from the Pythagorean theorem.



Oh, it just came to mind that the property could be derived from the law of cosines. The law of cosines can be proved without the Pythagorean theorem, right, so the proof isn't circular?



Another question: If the property comes from the Pythagorean theorem or cosine law, then how does the dot product give a condition for orthogonality for higher dimensions?










share|cite|improve this question











$endgroup$








  • 6




    $begingroup$
    Usually, the standard way to define angles in vector spaces is via inner product. So, no. The argument is not circular. $x dot y = 0$ iff $x perp y$ is pretty much the definition of $x$ and $y$ being perpendicular.
    $endgroup$
    – stressed out
    13 hours ago






  • 5




    $begingroup$
    @MilanStojanovic Can you define what is real world orthogonality?
    $endgroup$
    – mathcounterexamples.net
    13 hours ago






  • 3




    $begingroup$
    the Euclidean norm $|(x,y)|^2 = (x,y)cdot(x,y) = x^2 + y^2$ was defined in light of the knowledge of the Pythagorean theorem. So, yes, I would say it is circular to prove the Pythagorean theorem using the inner product.
    $endgroup$
    – Doug M
    12 hours ago






  • 2




    $begingroup$
    @DougM But isn't that like cheating? I mean in almost every axiomatic system, our axioms come from some well-known facts that somebody has purified them among many other facts. Does this mean if we try to prove these basic facts using our axioms, our reasoning is circular? I disagree. We should take our axioms as something like God given facts, regardless of why they make sense.
    $endgroup$
    – stressed out
    12 hours ago








  • 2




    $begingroup$
    The Euclidean Norm is not an axiom, it is a definition. A definition that was chosen because it logically follows from the Pythagorean theorem, which is a direct consequence of the axioms of Euclidean geometry. We could define a non-Euclidean norm, and then we should not expect the Pythagorean theorem to hold as used above.
    $endgroup$
    – Doug M
    11 hours ago


















16












$begingroup$


$x,y$ are perpendicular if and only if $xcdot y=0$. Now, $||x+y||^2=(x+y)cdot (x+y)=(xcdot x)+(xcdot y)+(ycdot x)+(ycdot y)$. The middle two terms are zero if and only if $x,y$ are perpendicular. So, $||x+y||^2=(xcdot x)+(ycdot y)=||x||^2+||y||^2$ if and only if $x,y$ are perpendicular. ( I copied this)



I think this argument is circular because the property




$xcdot y=0 $ implies $x$ and $y$ are perpendicular




comes from the Pythagorean theorem.



Oh, it just came to mind that the property could be derived from the law of cosines. The law of cosines can be proved without the Pythagorean theorem, right, so the proof isn't circular?



Another question: If the property comes from the Pythagorean theorem or cosine law, then how does the dot product give a condition for orthogonality for higher dimensions?










share|cite|improve this question











$endgroup$








  • 6




    $begingroup$
    Usually, the standard way to define angles in vector spaces is via inner product. So, no. The argument is not circular. $x dot y = 0$ iff $x perp y$ is pretty much the definition of $x$ and $y$ being perpendicular.
    $endgroup$
    – stressed out
    13 hours ago






  • 5




    $begingroup$
    @MilanStojanovic Can you define what is real world orthogonality?
    $endgroup$
    – mathcounterexamples.net
    13 hours ago






  • 3




    $begingroup$
    the Euclidean norm $|(x,y)|^2 = (x,y)cdot(x,y) = x^2 + y^2$ was defined in light of the knowledge of the Pythagorean theorem. So, yes, I would say it is circular to prove the Pythagorean theorem using the inner product.
    $endgroup$
    – Doug M
    12 hours ago






  • 2




    $begingroup$
    @DougM But isn't that like cheating? I mean in almost every axiomatic system, our axioms come from some well-known facts that somebody has purified them among many other facts. Does this mean if we try to prove these basic facts using our axioms, our reasoning is circular? I disagree. We should take our axioms as something like God given facts, regardless of why they make sense.
    $endgroup$
    – stressed out
    12 hours ago








  • 2




    $begingroup$
    The Euclidean Norm is not an axiom, it is a definition. A definition that was chosen because it logically follows from the Pythagorean theorem, which is a direct consequence of the axioms of Euclidean geometry. We could define a non-Euclidean norm, and then we should not expect the Pythagorean theorem to hold as used above.
    $endgroup$
    – Doug M
    11 hours ago
















16












16








16


1



$begingroup$


$x,y$ are perpendicular if and only if $xcdot y=0$. Now, $||x+y||^2=(x+y)cdot (x+y)=(xcdot x)+(xcdot y)+(ycdot x)+(ycdot y)$. The middle two terms are zero if and only if $x,y$ are perpendicular. So, $||x+y||^2=(xcdot x)+(ycdot y)=||x||^2+||y||^2$ if and only if $x,y$ are perpendicular. ( I copied this)



I think this argument is circular because the property




$xcdot y=0 $ implies $x$ and $y$ are perpendicular




comes from the Pythagorean theorem.



Oh, it just came to mind that the property could be derived from the law of cosines. The law of cosines can be proved without the Pythagorean theorem, right, so the proof isn't circular?



Another question: If the property comes from the Pythagorean theorem or cosine law, then how does the dot product give a condition for orthogonality for higher dimensions?










share|cite|improve this question











$endgroup$




$x,y$ are perpendicular if and only if $xcdot y=0$. Now, $||x+y||^2=(x+y)cdot (x+y)=(xcdot x)+(xcdot y)+(ycdot x)+(ycdot y)$. The middle two terms are zero if and only if $x,y$ are perpendicular. So, $||x+y||^2=(xcdot x)+(ycdot y)=||x||^2+||y||^2$ if and only if $x,y$ are perpendicular. ( I copied this)



I think this argument is circular because the property




$xcdot y=0 $ implies $x$ and $y$ are perpendicular




comes from the Pythagorean theorem.



Oh, it just came to mind that the property could be derived from the law of cosines. The law of cosines can be proved without the Pythagorean theorem, right, so the proof isn't circular?



Another question: If the property comes from the Pythagorean theorem or cosine law, then how does the dot product give a condition for orthogonality for higher dimensions?







linear-algebra geometry proof-verification logic vectors






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 3 hours ago









CJ Dennis

479211




479211










asked 13 hours ago









Milan StojanovicMilan Stojanovic

354312




354312








  • 6




    $begingroup$
    Usually, the standard way to define angles in vector spaces is via inner product. So, no. The argument is not circular. $x dot y = 0$ iff $x perp y$ is pretty much the definition of $x$ and $y$ being perpendicular.
    $endgroup$
    – stressed out
    13 hours ago






  • 5




    $begingroup$
    @MilanStojanovic Can you define what is real world orthogonality?
    $endgroup$
    – mathcounterexamples.net
    13 hours ago






  • 3




    $begingroup$
    the Euclidean norm $|(x,y)|^2 = (x,y)cdot(x,y) = x^2 + y^2$ was defined in light of the knowledge of the Pythagorean theorem. So, yes, I would say it is circular to prove the Pythagorean theorem using the inner product.
    $endgroup$
    – Doug M
    12 hours ago






  • 2




    $begingroup$
    @DougM But isn't that like cheating? I mean in almost every axiomatic system, our axioms come from some well-known facts that somebody has purified them among many other facts. Does this mean if we try to prove these basic facts using our axioms, our reasoning is circular? I disagree. We should take our axioms as something like God given facts, regardless of why they make sense.
    $endgroup$
    – stressed out
    12 hours ago








  • 2




    $begingroup$
    The Euclidean Norm is not an axiom, it is a definition. A definition that was chosen because it logically follows from the Pythagorean theorem, which is a direct consequence of the axioms of Euclidean geometry. We could define a non-Euclidean norm, and then we should not expect the Pythagorean theorem to hold as used above.
    $endgroup$
    – Doug M
    11 hours ago
















  • 6




    $begingroup$
    Usually, the standard way to define angles in vector spaces is via inner product. So, no. The argument is not circular. $x dot y = 0$ iff $x perp y$ is pretty much the definition of $x$ and $y$ being perpendicular.
    $endgroup$
    – stressed out
    13 hours ago






  • 5




    $begingroup$
    @MilanStojanovic Can you define what is real world orthogonality?
    $endgroup$
    – mathcounterexamples.net
    13 hours ago






  • 3




    $begingroup$
    the Euclidean norm $|(x,y)|^2 = (x,y)cdot(x,y) = x^2 + y^2$ was defined in light of the knowledge of the Pythagorean theorem. So, yes, I would say it is circular to prove the Pythagorean theorem using the inner product.
    $endgroup$
    – Doug M
    12 hours ago






  • 2




    $begingroup$
    @DougM But isn't that like cheating? I mean in almost every axiomatic system, our axioms come from some well-known facts that somebody has purified them among many other facts. Does this mean if we try to prove these basic facts using our axioms, our reasoning is circular? I disagree. We should take our axioms as something like God given facts, regardless of why they make sense.
    $endgroup$
    – stressed out
    12 hours ago








  • 2




    $begingroup$
    The Euclidean Norm is not an axiom, it is a definition. A definition that was chosen because it logically follows from the Pythagorean theorem, which is a direct consequence of the axioms of Euclidean geometry. We could define a non-Euclidean norm, and then we should not expect the Pythagorean theorem to hold as used above.
    $endgroup$
    – Doug M
    11 hours ago










6




6




$begingroup$
Usually, the standard way to define angles in vector spaces is via inner product. So, no. The argument is not circular. $x dot y = 0$ iff $x perp y$ is pretty much the definition of $x$ and $y$ being perpendicular.
$endgroup$
– stressed out
13 hours ago




$begingroup$
Usually, the standard way to define angles in vector spaces is via inner product. So, no. The argument is not circular. $x dot y = 0$ iff $x perp y$ is pretty much the definition of $x$ and $y$ being perpendicular.
$endgroup$
– stressed out
13 hours ago




5




5




$begingroup$
@MilanStojanovic Can you define what is real world orthogonality?
$endgroup$
– mathcounterexamples.net
13 hours ago




$begingroup$
@MilanStojanovic Can you define what is real world orthogonality?
$endgroup$
– mathcounterexamples.net
13 hours ago




3




3




$begingroup$
the Euclidean norm $|(x,y)|^2 = (x,y)cdot(x,y) = x^2 + y^2$ was defined in light of the knowledge of the Pythagorean theorem. So, yes, I would say it is circular to prove the Pythagorean theorem using the inner product.
$endgroup$
– Doug M
12 hours ago




$begingroup$
the Euclidean norm $|(x,y)|^2 = (x,y)cdot(x,y) = x^2 + y^2$ was defined in light of the knowledge of the Pythagorean theorem. So, yes, I would say it is circular to prove the Pythagorean theorem using the inner product.
$endgroup$
– Doug M
12 hours ago




2




2




$begingroup$
@DougM But isn't that like cheating? I mean in almost every axiomatic system, our axioms come from some well-known facts that somebody has purified them among many other facts. Does this mean if we try to prove these basic facts using our axioms, our reasoning is circular? I disagree. We should take our axioms as something like God given facts, regardless of why they make sense.
$endgroup$
– stressed out
12 hours ago






$begingroup$
@DougM But isn't that like cheating? I mean in almost every axiomatic system, our axioms come from some well-known facts that somebody has purified them among many other facts. Does this mean if we try to prove these basic facts using our axioms, our reasoning is circular? I disagree. We should take our axioms as something like God given facts, regardless of why they make sense.
$endgroup$
– stressed out
12 hours ago






2




2




$begingroup$
The Euclidean Norm is not an axiom, it is a definition. A definition that was chosen because it logically follows from the Pythagorean theorem, which is a direct consequence of the axioms of Euclidean geometry. We could define a non-Euclidean norm, and then we should not expect the Pythagorean theorem to hold as used above.
$endgroup$
– Doug M
11 hours ago






$begingroup$
The Euclidean Norm is not an axiom, it is a definition. A definition that was chosen because it logically follows from the Pythagorean theorem, which is a direct consequence of the axioms of Euclidean geometry. We could define a non-Euclidean norm, and then we should not expect the Pythagorean theorem to hold as used above.
$endgroup$
– Doug M
11 hours ago












4 Answers
4






active

oldest

votes


















16












$begingroup$

I think the question mixes two quite different concepts together: proof and motivation.



The motivation for defining the inner product, orthogonality, and length of vectors in $mathbb R^n$ in the "usual" way (that is,
$langle x,yrangle = x_1y_1 + x_2y_2 + cdots + x_ny_n$)
is presumably at least in part that by doing this we will be able to establish a property of $mathbb R_n$
corresponding to the familiar Pythagorean Theorem from synthetic plane geometry.
The motivation is, indeed, circular in that we get the Pythagorean Theorem as one of the results of something we set up because we wanted the Pythagorean Theorem.



But that's how many axiomatic systems are born. Someone wants to be able to work with mathematical objects in a certain way, so they come up with axioms and definitions that provide mathematical objects they can work with the way they wanted to. I would be surprised to learn that the classical axioms of Euclidean geometry (from which the original Pythagorean Theorem derives) were not created for the reason that they produced the kind of geometry that Euclid's contemporaries wanted to work with.



Proof, on the other hand, consists of starting with a given set of axioms and definitions (with emphasis on the word "given," that is, they have no prior basis other than that we want to believe them), and showing that a certain result necessarily follows from those axioms and definitions without relying on any other facts that did not derive from those axioms and definitions.
In the proof of the "Pythagorean Theorem" in $mathbb R^n,$ after the point at which the axioms were given, did any step of the proof rely on anything other than the stated axioms and definitions?



The answer to that question would depend on how the axioms were stated.
If there is an axiom that says $x$ and $y$ are orthogonal if
$langle x,yrangle = 0,$ then this fact does not logically "come from" the Pythagorean Theorem; it comes from the axioms.






share|cite|improve this answer









$endgroup$









  • 4




    $begingroup$
    Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
    $endgroup$
    – stressed out
    8 hours ago












  • $begingroup$
    I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
    $endgroup$
    – Paul Sinclair
    3 hours ago










  • $begingroup$
    @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
    $endgroup$
    – David K
    1 hour ago





















10












$begingroup$

Remember that $mathbb{R}^n$ as a vector space over $mathbb{R}$ with standard addition and scalar multiplication isn't rich enough to do geometry. When we talk about geometry, particularly the Euclidean geometry, we want to study the transformations that keep some properties like length and angles preserved, namely isometries. Most of our theorems will be about how two angles, lengths or circles are congruent and two shapes are defined to be congruent if and only if they can be transformed into each other by one of these 'transformations' (isometries). Viewing geometry from this point of view, i.e. through its group of transformations, is related to what is called the Erlangen program.



Anyway, it turns out that both of these properties, i.e. length and angle, can be packaged into one algebraic concept called the inner product (which I'm going to define below). More precisely, if $vec{x} in mathbb{R}^n$, then



$$| vec{x} | = sqrt{langle vec{x}, vec{x} rangle}$$
$$angle (vec{x}, vec{y}) = arccosbigg(frac{langle vec{x},vec{y}rangle}{sqrt{langle vec{x},vec{x}rangle} sqrt{langlevec{y},vec{y}rangle}}bigg)$$



The last definition makes sense because of the Cauchy-Schwartz inequality which is true for inner products: $$|langle vec{x},vec{y} rangle|^2 leq langlevec{x},vec{y} rangle langle vec{y}, vec{y}rangle$$



And hence, there exists a unique angle between any two vectors.



Now, by definition, an inner product is a bilinear form $langle cdot, cdot rangle: mathbb{R}^n times mathbb{R}^n to mathbb{R}$ such that





  1. $langle vec{x}, vec{x} rangle geq 0$ and $langle vec{x}, vec{x} rangle = 0$ if and only if $vec{x}=vec{0}$

  2. $langle vec{x}, vec{y} rangle = langle vec{y}, vec{x} rangle$

  3. $langle overrightarrow{alpha x+beta z}, vec{y} rangle = alphalangle vec{x}, vec{y} rangle + betalangle vec{z}, vec{y} rangle$


Again, by definition two vectors are perpendicular if and only if their inner product is zero. Accepting these definitions, the Pythagorean theorem can now be proven without any circular reasoning.



Now I understand that you feel kind of uncomfortable because you say that the standard inner product on $mathbb{R}^n$ comes from the Pythagorean theorem for $n=2,3$. And I understand that some people here interpret this as circular reasoning. However, I have two issues with this interpretation:




  1. our definition for the standard inner product on $mathbb{R}^n$ for $n>3$ doesn't come from any previously known fact. Does this mean that our definition for $n>3$ is less valid than for $n=2,3$ or we should give up on higher dimensions?


  2. It happens times and times in physics, as well as mathematics, that a new theory is based on some known facts in earlier theories as observations for a general pattern. Then to show that our new theory is better, they try to show that the results predicted by the previous theory can be obtained in the new framework as well. Should we say that it's circular reasoning? So, if someone applies a stronger theory to prove something that has motivated it in the earlier theory, is it circular reasoning? It seems that many people here think so. Even though I don't challenge it, I don't like this interpretation. I believe that once we have a new theory with its own definitions, which can be taught to a person without any prior knowledge of the earlier facts, it is not unreasonable to focus our attention only on our current framework and forget about its past like it never existed. Meanwhile, we can use our new theory to prove the results proven in our earlier theory.







share|cite|improve this answer











$endgroup$









  • 4




    $begingroup$
    @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
    $endgroup$
    – stressed out
    12 hours ago








  • 2




    $begingroup$
    @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
    $endgroup$
    – stressed out
    12 hours ago






  • 2




    $begingroup$
    You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
    $endgroup$
    – Jbag1212
    11 hours ago






  • 2




    $begingroup$
    @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
    $endgroup$
    – stressed out
    11 hours ago






  • 2




    $begingroup$
    "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
    $endgroup$
    – Jbag1212
    11 hours ago





















10












$begingroup$

If we start from Euclidean geometry in two dimensions, then it is circular. In this settings, we define perpendicular lines as lines that, at their intersection form four equal angles. Coordinate systems are defines using a basis consisting of two perpendicular vectors of the same length.



It is that actually easy to prove that two vectors are perpendicular iff their dot product is 0 using rotational properties. We would hit a snag, however, at the claim that the two-norm equals the length, which is a direct consequence of Pythagorean theorem.



Of course, that is not the context this proof of the Pythaogrean theorem normally shows up in. It shows up when we start from a different set of definitions: We define orthogonality using dot products. We define length using 2-norm. Then we prove a Vector space Pythagorean theorem as you have shown above, without circular reasoning.



Of course, now we have two different definitions for length and perpendicularity, and two different Pythagorean theorems. It is a separate step to prove that in $mathbb{R}^2$ and $mathbb{R}^3$, both sets of definitions actually mean the same things, and so both Pythagorean theorems are in fact the same theorem.






share|cite|improve this answer









$endgroup$





















    5












    $begingroup$

    Let's try this on a different vector space. Here's a nice one: Let $mathscr L = C([0,1])$ be the set of all real continuous functions defined on the interval $I = [0,1]$. If $f, g in mathscr L$ and $a,b in Bbb R$, then $h(x) := af(x) + bg(x)$ defines another continuous function on $I$, so $scr L$ is indeed a vector space over $Bbb R$.



    Now I arbitrarly define $f cdot g := int_I f(x)g(x)dx$, and quickly note that this operation is commutative and $(af + bg)cdot h = a(fcdot h) + b(g cdot h)$, and that $f cdot f ge 0$ and $fcdot f = 0$ if and only if $f$ is the constant function $0$.



    Thus we see that $fcdot g$ acts as a dot product on $scr L$, and so we can define $$|f| := sqrt{fcdot f}$$ and call $|f - g|$ the "distance from $f$ to $g$".



    By the Cauchy-Schwarz inequality $$left(int fgright)^2 le int f^2int g^2$$ and therefore $$|fcdot g| le |f||g|$$



    Therefore, we can arbitrarily define for non-zero $f, g$ that $$theta = cos^{-1}left(frac{fcdot g}{|f||g|}right)$$
    and call $theta$ the "angle between $f$ and $g$", and define that $f$ and $g$ are "perpendicular" when $theta = pi/2$. Equivalently, $f$ is perpendicular to $g$ exactly when $f cdot g = 0$.



    And now we see that a Pythagorean-like theorem holds for $scr L$: $f$ and $g$ are perpendicular exactly when $|f - g|^2 = |f|^2 + |g|^2$





    The point of this exercise? That the vector Pythagorean theorem is something different from the familiar Pythagorean theorem of geometry. The vector space $scr L$ is not a plane, or space, or even $n$ dimensional space for any $n$. It is in fact an infinite dimensional vector space. I did not rely on geometric intuition to develop this. At no point did the geometric Pythagorean theorem come into play.



    I did choose the definitions to follow a familiar pattern, but the point here is that I (or actually far more gifted mathematicians whose footsteps I'm aping) made those definitions by choice. They were not forced on me by the Pythagorean theorem, but rather were chosen by me exactly so that this vector Pythagorean theorem would be true.



    By making these definitions, I can now start applying those old geometric intuitions to this weird set of functions that beforehand was something too esoteric to handle.



    The vector Pythagorean theorem isn't a way to prove that old geometric result. It is a way to show that the old geometric result also has application in this entirely new and different arena of vector spaces.






    share|cite|improve this answer









    $endgroup$













      Your Answer





      StackExchange.ifUsing("editor", function () {
      return StackExchange.using("mathjaxEditing", function () {
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      });
      });
      }, "mathjax-editing");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "69"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3112970%2fis-the-proof-of-pythagorean-theorem-using-dot-inner-product-circular%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      4 Answers
      4






      active

      oldest

      votes








      4 Answers
      4






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      16












      $begingroup$

      I think the question mixes two quite different concepts together: proof and motivation.



      The motivation for defining the inner product, orthogonality, and length of vectors in $mathbb R^n$ in the "usual" way (that is,
      $langle x,yrangle = x_1y_1 + x_2y_2 + cdots + x_ny_n$)
      is presumably at least in part that by doing this we will be able to establish a property of $mathbb R_n$
      corresponding to the familiar Pythagorean Theorem from synthetic plane geometry.
      The motivation is, indeed, circular in that we get the Pythagorean Theorem as one of the results of something we set up because we wanted the Pythagorean Theorem.



      But that's how many axiomatic systems are born. Someone wants to be able to work with mathematical objects in a certain way, so they come up with axioms and definitions that provide mathematical objects they can work with the way they wanted to. I would be surprised to learn that the classical axioms of Euclidean geometry (from which the original Pythagorean Theorem derives) were not created for the reason that they produced the kind of geometry that Euclid's contemporaries wanted to work with.



      Proof, on the other hand, consists of starting with a given set of axioms and definitions (with emphasis on the word "given," that is, they have no prior basis other than that we want to believe them), and showing that a certain result necessarily follows from those axioms and definitions without relying on any other facts that did not derive from those axioms and definitions.
      In the proof of the "Pythagorean Theorem" in $mathbb R^n,$ after the point at which the axioms were given, did any step of the proof rely on anything other than the stated axioms and definitions?



      The answer to that question would depend on how the axioms were stated.
      If there is an axiom that says $x$ and $y$ are orthogonal if
      $langle x,yrangle = 0,$ then this fact does not logically "come from" the Pythagorean Theorem; it comes from the axioms.






      share|cite|improve this answer









      $endgroup$









      • 4




        $begingroup$
        Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
        $endgroup$
        – stressed out
        8 hours ago












      • $begingroup$
        I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
        $endgroup$
        – Paul Sinclair
        3 hours ago










      • $begingroup$
        @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
        $endgroup$
        – David K
        1 hour ago


















      16












      $begingroup$

      I think the question mixes two quite different concepts together: proof and motivation.



      The motivation for defining the inner product, orthogonality, and length of vectors in $mathbb R^n$ in the "usual" way (that is,
      $langle x,yrangle = x_1y_1 + x_2y_2 + cdots + x_ny_n$)
      is presumably at least in part that by doing this we will be able to establish a property of $mathbb R_n$
      corresponding to the familiar Pythagorean Theorem from synthetic plane geometry.
      The motivation is, indeed, circular in that we get the Pythagorean Theorem as one of the results of something we set up because we wanted the Pythagorean Theorem.



      But that's how many axiomatic systems are born. Someone wants to be able to work with mathematical objects in a certain way, so they come up with axioms and definitions that provide mathematical objects they can work with the way they wanted to. I would be surprised to learn that the classical axioms of Euclidean geometry (from which the original Pythagorean Theorem derives) were not created for the reason that they produced the kind of geometry that Euclid's contemporaries wanted to work with.



      Proof, on the other hand, consists of starting with a given set of axioms and definitions (with emphasis on the word "given," that is, they have no prior basis other than that we want to believe them), and showing that a certain result necessarily follows from those axioms and definitions without relying on any other facts that did not derive from those axioms and definitions.
      In the proof of the "Pythagorean Theorem" in $mathbb R^n,$ after the point at which the axioms were given, did any step of the proof rely on anything other than the stated axioms and definitions?



      The answer to that question would depend on how the axioms were stated.
      If there is an axiom that says $x$ and $y$ are orthogonal if
      $langle x,yrangle = 0,$ then this fact does not logically "come from" the Pythagorean Theorem; it comes from the axioms.






      share|cite|improve this answer









      $endgroup$









      • 4




        $begingroup$
        Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
        $endgroup$
        – stressed out
        8 hours ago












      • $begingroup$
        I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
        $endgroup$
        – Paul Sinclair
        3 hours ago










      • $begingroup$
        @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
        $endgroup$
        – David K
        1 hour ago
















      16












      16








      16





      $begingroup$

      I think the question mixes two quite different concepts together: proof and motivation.



      The motivation for defining the inner product, orthogonality, and length of vectors in $mathbb R^n$ in the "usual" way (that is,
      $langle x,yrangle = x_1y_1 + x_2y_2 + cdots + x_ny_n$)
      is presumably at least in part that by doing this we will be able to establish a property of $mathbb R_n$
      corresponding to the familiar Pythagorean Theorem from synthetic plane geometry.
      The motivation is, indeed, circular in that we get the Pythagorean Theorem as one of the results of something we set up because we wanted the Pythagorean Theorem.



      But that's how many axiomatic systems are born. Someone wants to be able to work with mathematical objects in a certain way, so they come up with axioms and definitions that provide mathematical objects they can work with the way they wanted to. I would be surprised to learn that the classical axioms of Euclidean geometry (from which the original Pythagorean Theorem derives) were not created for the reason that they produced the kind of geometry that Euclid's contemporaries wanted to work with.



      Proof, on the other hand, consists of starting with a given set of axioms and definitions (with emphasis on the word "given," that is, they have no prior basis other than that we want to believe them), and showing that a certain result necessarily follows from those axioms and definitions without relying on any other facts that did not derive from those axioms and definitions.
      In the proof of the "Pythagorean Theorem" in $mathbb R^n,$ after the point at which the axioms were given, did any step of the proof rely on anything other than the stated axioms and definitions?



      The answer to that question would depend on how the axioms were stated.
      If there is an axiom that says $x$ and $y$ are orthogonal if
      $langle x,yrangle = 0,$ then this fact does not logically "come from" the Pythagorean Theorem; it comes from the axioms.






      share|cite|improve this answer









      $endgroup$



      I think the question mixes two quite different concepts together: proof and motivation.



      The motivation for defining the inner product, orthogonality, and length of vectors in $mathbb R^n$ in the "usual" way (that is,
      $langle x,yrangle = x_1y_1 + x_2y_2 + cdots + x_ny_n$)
      is presumably at least in part that by doing this we will be able to establish a property of $mathbb R_n$
      corresponding to the familiar Pythagorean Theorem from synthetic plane geometry.
      The motivation is, indeed, circular in that we get the Pythagorean Theorem as one of the results of something we set up because we wanted the Pythagorean Theorem.



      But that's how many axiomatic systems are born. Someone wants to be able to work with mathematical objects in a certain way, so they come up with axioms and definitions that provide mathematical objects they can work with the way they wanted to. I would be surprised to learn that the classical axioms of Euclidean geometry (from which the original Pythagorean Theorem derives) were not created for the reason that they produced the kind of geometry that Euclid's contemporaries wanted to work with.



      Proof, on the other hand, consists of starting with a given set of axioms and definitions (with emphasis on the word "given," that is, they have no prior basis other than that we want to believe them), and showing that a certain result necessarily follows from those axioms and definitions without relying on any other facts that did not derive from those axioms and definitions.
      In the proof of the "Pythagorean Theorem" in $mathbb R^n,$ after the point at which the axioms were given, did any step of the proof rely on anything other than the stated axioms and definitions?



      The answer to that question would depend on how the axioms were stated.
      If there is an axiom that says $x$ and $y$ are orthogonal if
      $langle x,yrangle = 0,$ then this fact does not logically "come from" the Pythagorean Theorem; it comes from the axioms.







      share|cite|improve this answer












      share|cite|improve this answer



      share|cite|improve this answer










      answered 8 hours ago









      David KDavid K

      54.3k342118




      54.3k342118








      • 4




        $begingroup$
        Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
        $endgroup$
        – stressed out
        8 hours ago












      • $begingroup$
        I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
        $endgroup$
        – Paul Sinclair
        3 hours ago










      • $begingroup$
        @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
        $endgroup$
        – David K
        1 hour ago
















      • 4




        $begingroup$
        Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
        $endgroup$
        – stressed out
        8 hours ago












      • $begingroup$
        I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
        $endgroup$
        – Paul Sinclair
        3 hours ago










      • $begingroup$
        @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
        $endgroup$
        – David K
        1 hour ago










      4




      4




      $begingroup$
      Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
      $endgroup$
      – stressed out
      8 hours ago






      $begingroup$
      Thank God finally someone said what I had on my mind! I was trying to say this but I didn't know how to put it in words in a good way. You said exactly what I wanted to say but I didn't know how to say it. Thanks. +1
      $endgroup$
      – stressed out
      8 hours ago














      $begingroup$
      I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
      $endgroup$
      – Paul Sinclair
      3 hours ago




      $begingroup$
      I suppose it is a matter of interpretation, but Euclid's axioms were chosen because the Greeks thought them "obviously true", not as something that they could pick and choose to get the geometry they wanted. For them, math and physics were the same thing, and the axioms were the basis of their understanding of nature.
      $endgroup$
      – Paul Sinclair
      3 hours ago












      $begingroup$
      @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
      $endgroup$
      – David K
      1 hour ago






      $begingroup$
      @PaulSinclair The question is whether the Greeks already "knew" that Euclidean geometry was correct before those axioms were chosen. It is precisely because it was so "obviously true" and so inextricable from their view of the shape of space that I doubt the abstraction was the first form of their geometry. Reducing the axioms to just a handful may have been (for them) much like reducing matter to a handful of elementary particles was to us (except that their reduction was understood to be perfect, and ours is not).
      $endgroup$
      – David K
      1 hour ago













      10












      $begingroup$

      Remember that $mathbb{R}^n$ as a vector space over $mathbb{R}$ with standard addition and scalar multiplication isn't rich enough to do geometry. When we talk about geometry, particularly the Euclidean geometry, we want to study the transformations that keep some properties like length and angles preserved, namely isometries. Most of our theorems will be about how two angles, lengths or circles are congruent and two shapes are defined to be congruent if and only if they can be transformed into each other by one of these 'transformations' (isometries). Viewing geometry from this point of view, i.e. through its group of transformations, is related to what is called the Erlangen program.



      Anyway, it turns out that both of these properties, i.e. length and angle, can be packaged into one algebraic concept called the inner product (which I'm going to define below). More precisely, if $vec{x} in mathbb{R}^n$, then



      $$| vec{x} | = sqrt{langle vec{x}, vec{x} rangle}$$
      $$angle (vec{x}, vec{y}) = arccosbigg(frac{langle vec{x},vec{y}rangle}{sqrt{langle vec{x},vec{x}rangle} sqrt{langlevec{y},vec{y}rangle}}bigg)$$



      The last definition makes sense because of the Cauchy-Schwartz inequality which is true for inner products: $$|langle vec{x},vec{y} rangle|^2 leq langlevec{x},vec{y} rangle langle vec{y}, vec{y}rangle$$



      And hence, there exists a unique angle between any two vectors.



      Now, by definition, an inner product is a bilinear form $langle cdot, cdot rangle: mathbb{R}^n times mathbb{R}^n to mathbb{R}$ such that





      1. $langle vec{x}, vec{x} rangle geq 0$ and $langle vec{x}, vec{x} rangle = 0$ if and only if $vec{x}=vec{0}$

      2. $langle vec{x}, vec{y} rangle = langle vec{y}, vec{x} rangle$

      3. $langle overrightarrow{alpha x+beta z}, vec{y} rangle = alphalangle vec{x}, vec{y} rangle + betalangle vec{z}, vec{y} rangle$


      Again, by definition two vectors are perpendicular if and only if their inner product is zero. Accepting these definitions, the Pythagorean theorem can now be proven without any circular reasoning.



      Now I understand that you feel kind of uncomfortable because you say that the standard inner product on $mathbb{R}^n$ comes from the Pythagorean theorem for $n=2,3$. And I understand that some people here interpret this as circular reasoning. However, I have two issues with this interpretation:




      1. our definition for the standard inner product on $mathbb{R}^n$ for $n>3$ doesn't come from any previously known fact. Does this mean that our definition for $n>3$ is less valid than for $n=2,3$ or we should give up on higher dimensions?


      2. It happens times and times in physics, as well as mathematics, that a new theory is based on some known facts in earlier theories as observations for a general pattern. Then to show that our new theory is better, they try to show that the results predicted by the previous theory can be obtained in the new framework as well. Should we say that it's circular reasoning? So, if someone applies a stronger theory to prove something that has motivated it in the earlier theory, is it circular reasoning? It seems that many people here think so. Even though I don't challenge it, I don't like this interpretation. I believe that once we have a new theory with its own definitions, which can be taught to a person without any prior knowledge of the earlier facts, it is not unreasonable to focus our attention only on our current framework and forget about its past like it never existed. Meanwhile, we can use our new theory to prove the results proven in our earlier theory.







      share|cite|improve this answer











      $endgroup$









      • 4




        $begingroup$
        @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
        $endgroup$
        – stressed out
        12 hours ago








      • 2




        $begingroup$
        @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
        $endgroup$
        – stressed out
        12 hours ago






      • 2




        $begingroup$
        You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
        $endgroup$
        – Jbag1212
        11 hours ago






      • 2




        $begingroup$
        @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
        $endgroup$
        – stressed out
        11 hours ago






      • 2




        $begingroup$
        "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
        $endgroup$
        – Jbag1212
        11 hours ago


















      10












      $begingroup$

      Remember that $mathbb{R}^n$ as a vector space over $mathbb{R}$ with standard addition and scalar multiplication isn't rich enough to do geometry. When we talk about geometry, particularly the Euclidean geometry, we want to study the transformations that keep some properties like length and angles preserved, namely isometries. Most of our theorems will be about how two angles, lengths or circles are congruent and two shapes are defined to be congruent if and only if they can be transformed into each other by one of these 'transformations' (isometries). Viewing geometry from this point of view, i.e. through its group of transformations, is related to what is called the Erlangen program.



      Anyway, it turns out that both of these properties, i.e. length and angle, can be packaged into one algebraic concept called the inner product (which I'm going to define below). More precisely, if $vec{x} in mathbb{R}^n$, then



      $$| vec{x} | = sqrt{langle vec{x}, vec{x} rangle}$$
      $$angle (vec{x}, vec{y}) = arccosbigg(frac{langle vec{x},vec{y}rangle}{sqrt{langle vec{x},vec{x}rangle} sqrt{langlevec{y},vec{y}rangle}}bigg)$$



      The last definition makes sense because of the Cauchy-Schwartz inequality which is true for inner products: $$|langle vec{x},vec{y} rangle|^2 leq langlevec{x},vec{y} rangle langle vec{y}, vec{y}rangle$$



      And hence, there exists a unique angle between any two vectors.



      Now, by definition, an inner product is a bilinear form $langle cdot, cdot rangle: mathbb{R}^n times mathbb{R}^n to mathbb{R}$ such that





      1. $langle vec{x}, vec{x} rangle geq 0$ and $langle vec{x}, vec{x} rangle = 0$ if and only if $vec{x}=vec{0}$

      2. $langle vec{x}, vec{y} rangle = langle vec{y}, vec{x} rangle$

      3. $langle overrightarrow{alpha x+beta z}, vec{y} rangle = alphalangle vec{x}, vec{y} rangle + betalangle vec{z}, vec{y} rangle$


      Again, by definition two vectors are perpendicular if and only if their inner product is zero. Accepting these definitions, the Pythagorean theorem can now be proven without any circular reasoning.



      Now I understand that you feel kind of uncomfortable because you say that the standard inner product on $mathbb{R}^n$ comes from the Pythagorean theorem for $n=2,3$. And I understand that some people here interpret this as circular reasoning. However, I have two issues with this interpretation:




      1. our definition for the standard inner product on $mathbb{R}^n$ for $n>3$ doesn't come from any previously known fact. Does this mean that our definition for $n>3$ is less valid than for $n=2,3$ or we should give up on higher dimensions?


      2. It happens times and times in physics, as well as mathematics, that a new theory is based on some known facts in earlier theories as observations for a general pattern. Then to show that our new theory is better, they try to show that the results predicted by the previous theory can be obtained in the new framework as well. Should we say that it's circular reasoning? So, if someone applies a stronger theory to prove something that has motivated it in the earlier theory, is it circular reasoning? It seems that many people here think so. Even though I don't challenge it, I don't like this interpretation. I believe that once we have a new theory with its own definitions, which can be taught to a person without any prior knowledge of the earlier facts, it is not unreasonable to focus our attention only on our current framework and forget about its past like it never existed. Meanwhile, we can use our new theory to prove the results proven in our earlier theory.







      share|cite|improve this answer











      $endgroup$









      • 4




        $begingroup$
        @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
        $endgroup$
        – stressed out
        12 hours ago








      • 2




        $begingroup$
        @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
        $endgroup$
        – stressed out
        12 hours ago






      • 2




        $begingroup$
        You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
        $endgroup$
        – Jbag1212
        11 hours ago






      • 2




        $begingroup$
        @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
        $endgroup$
        – stressed out
        11 hours ago






      • 2




        $begingroup$
        "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
        $endgroup$
        – Jbag1212
        11 hours ago
















      10












      10








      10





      $begingroup$

      Remember that $mathbb{R}^n$ as a vector space over $mathbb{R}$ with standard addition and scalar multiplication isn't rich enough to do geometry. When we talk about geometry, particularly the Euclidean geometry, we want to study the transformations that keep some properties like length and angles preserved, namely isometries. Most of our theorems will be about how two angles, lengths or circles are congruent and two shapes are defined to be congruent if and only if they can be transformed into each other by one of these 'transformations' (isometries). Viewing geometry from this point of view, i.e. through its group of transformations, is related to what is called the Erlangen program.



      Anyway, it turns out that both of these properties, i.e. length and angle, can be packaged into one algebraic concept called the inner product (which I'm going to define below). More precisely, if $vec{x} in mathbb{R}^n$, then



      $$| vec{x} | = sqrt{langle vec{x}, vec{x} rangle}$$
      $$angle (vec{x}, vec{y}) = arccosbigg(frac{langle vec{x},vec{y}rangle}{sqrt{langle vec{x},vec{x}rangle} sqrt{langlevec{y},vec{y}rangle}}bigg)$$



      The last definition makes sense because of the Cauchy-Schwartz inequality which is true for inner products: $$|langle vec{x},vec{y} rangle|^2 leq langlevec{x},vec{y} rangle langle vec{y}, vec{y}rangle$$



      And hence, there exists a unique angle between any two vectors.



      Now, by definition, an inner product is a bilinear form $langle cdot, cdot rangle: mathbb{R}^n times mathbb{R}^n to mathbb{R}$ such that





      1. $langle vec{x}, vec{x} rangle geq 0$ and $langle vec{x}, vec{x} rangle = 0$ if and only if $vec{x}=vec{0}$

      2. $langle vec{x}, vec{y} rangle = langle vec{y}, vec{x} rangle$

      3. $langle overrightarrow{alpha x+beta z}, vec{y} rangle = alphalangle vec{x}, vec{y} rangle + betalangle vec{z}, vec{y} rangle$


      Again, by definition two vectors are perpendicular if and only if their inner product is zero. Accepting these definitions, the Pythagorean theorem can now be proven without any circular reasoning.



      Now I understand that you feel kind of uncomfortable because you say that the standard inner product on $mathbb{R}^n$ comes from the Pythagorean theorem for $n=2,3$. And I understand that some people here interpret this as circular reasoning. However, I have two issues with this interpretation:




      1. our definition for the standard inner product on $mathbb{R}^n$ for $n>3$ doesn't come from any previously known fact. Does this mean that our definition for $n>3$ is less valid than for $n=2,3$ or we should give up on higher dimensions?


      2. It happens times and times in physics, as well as mathematics, that a new theory is based on some known facts in earlier theories as observations for a general pattern. Then to show that our new theory is better, they try to show that the results predicted by the previous theory can be obtained in the new framework as well. Should we say that it's circular reasoning? So, if someone applies a stronger theory to prove something that has motivated it in the earlier theory, is it circular reasoning? It seems that many people here think so. Even though I don't challenge it, I don't like this interpretation. I believe that once we have a new theory with its own definitions, which can be taught to a person without any prior knowledge of the earlier facts, it is not unreasonable to focus our attention only on our current framework and forget about its past like it never existed. Meanwhile, we can use our new theory to prove the results proven in our earlier theory.







      share|cite|improve this answer











      $endgroup$



      Remember that $mathbb{R}^n$ as a vector space over $mathbb{R}$ with standard addition and scalar multiplication isn't rich enough to do geometry. When we talk about geometry, particularly the Euclidean geometry, we want to study the transformations that keep some properties like length and angles preserved, namely isometries. Most of our theorems will be about how two angles, lengths or circles are congruent and two shapes are defined to be congruent if and only if they can be transformed into each other by one of these 'transformations' (isometries). Viewing geometry from this point of view, i.e. through its group of transformations, is related to what is called the Erlangen program.



      Anyway, it turns out that both of these properties, i.e. length and angle, can be packaged into one algebraic concept called the inner product (which I'm going to define below). More precisely, if $vec{x} in mathbb{R}^n$, then



      $$| vec{x} | = sqrt{langle vec{x}, vec{x} rangle}$$
      $$angle (vec{x}, vec{y}) = arccosbigg(frac{langle vec{x},vec{y}rangle}{sqrt{langle vec{x},vec{x}rangle} sqrt{langlevec{y},vec{y}rangle}}bigg)$$



      The last definition makes sense because of the Cauchy-Schwartz inequality which is true for inner products: $$|langle vec{x},vec{y} rangle|^2 leq langlevec{x},vec{y} rangle langle vec{y}, vec{y}rangle$$



      And hence, there exists a unique angle between any two vectors.



      Now, by definition, an inner product is a bilinear form $langle cdot, cdot rangle: mathbb{R}^n times mathbb{R}^n to mathbb{R}$ such that





      1. $langle vec{x}, vec{x} rangle geq 0$ and $langle vec{x}, vec{x} rangle = 0$ if and only if $vec{x}=vec{0}$

      2. $langle vec{x}, vec{y} rangle = langle vec{y}, vec{x} rangle$

      3. $langle overrightarrow{alpha x+beta z}, vec{y} rangle = alphalangle vec{x}, vec{y} rangle + betalangle vec{z}, vec{y} rangle$


      Again, by definition two vectors are perpendicular if and only if their inner product is zero. Accepting these definitions, the Pythagorean theorem can now be proven without any circular reasoning.



      Now I understand that you feel kind of uncomfortable because you say that the standard inner product on $mathbb{R}^n$ comes from the Pythagorean theorem for $n=2,3$. And I understand that some people here interpret this as circular reasoning. However, I have two issues with this interpretation:




      1. our definition for the standard inner product on $mathbb{R}^n$ for $n>3$ doesn't come from any previously known fact. Does this mean that our definition for $n>3$ is less valid than for $n=2,3$ or we should give up on higher dimensions?


      2. It happens times and times in physics, as well as mathematics, that a new theory is based on some known facts in earlier theories as observations for a general pattern. Then to show that our new theory is better, they try to show that the results predicted by the previous theory can be obtained in the new framework as well. Should we say that it's circular reasoning? So, if someone applies a stronger theory to prove something that has motivated it in the earlier theory, is it circular reasoning? It seems that many people here think so. Even though I don't challenge it, I don't like this interpretation. I believe that once we have a new theory with its own definitions, which can be taught to a person without any prior knowledge of the earlier facts, it is not unreasonable to focus our attention only on our current framework and forget about its past like it never existed. Meanwhile, we can use our new theory to prove the results proven in our earlier theory.








      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited 10 hours ago

























      answered 13 hours ago









      stressed outstressed out

      5,3041636




      5,3041636








      • 4




        $begingroup$
        @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
        $endgroup$
        – stressed out
        12 hours ago








      • 2




        $begingroup$
        @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
        $endgroup$
        – stressed out
        12 hours ago






      • 2




        $begingroup$
        You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
        $endgroup$
        – Jbag1212
        11 hours ago






      • 2




        $begingroup$
        @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
        $endgroup$
        – stressed out
        11 hours ago






      • 2




        $begingroup$
        "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
        $endgroup$
        – Jbag1212
        11 hours ago
















      • 4




        $begingroup$
        @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
        $endgroup$
        – stressed out
        12 hours ago








      • 2




        $begingroup$
        @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
        $endgroup$
        – stressed out
        12 hours ago






      • 2




        $begingroup$
        You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
        $endgroup$
        – Jbag1212
        11 hours ago






      • 2




        $begingroup$
        @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
        $endgroup$
        – stressed out
        11 hours ago






      • 2




        $begingroup$
        "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
        $endgroup$
        – Jbag1212
        11 hours ago










      4




      4




      $begingroup$
      @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
      $endgroup$
      – stressed out
      12 hours ago






      $begingroup$
      @MilanStojanovic I have an objection to that kind of thinking but I don't know how to put it in words properly. This is where we need a logician like Asaf Karagila. I think you are talking about two different systems. The law of cosines is a theorem in the Euclidean geometry with a different set of axioms. Here, we are working in another system. The law of cosines is no longer a theorem. It's nothing here. All we have here is a vector space equipped with an inner product. Nothing more, nothing less.
      $endgroup$
      – stressed out
      12 hours ago






      2




      2




      $begingroup$
      @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
      $endgroup$
      – stressed out
      12 hours ago




      $begingroup$
      @downvoter You're welcome to leave a comment and explain why you think this answer is not helpful.
      $endgroup$
      – stressed out
      12 hours ago




      2




      2




      $begingroup$
      You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
      $endgroup$
      – Jbag1212
      11 hours ago




      $begingroup$
      You say "we do not need to think in terms of Euclidean geometry anymore." But the OP is asking about the Pythagorean Theoreom which is a theorem of Euclidean geometry. In other words you have not really engaged with the question raised by OP, you have just said that it is not an interesting question. I think a lot of people would disagree.
      $endgroup$
      – Jbag1212
      11 hours ago




      2




      2




      $begingroup$
      @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
      $endgroup$
      – stressed out
      11 hours ago




      $begingroup$
      @Jbag1212 No. All I'm saying is that the statement $|x+y|^2 = |x|^2+|y|^2$ can be proven using the tools we have developed. Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry when $n=2,3$. But that's it. Our tools are stronger than the Euclidean geometry in the sense that they're generalized to $n>3$ very naturally while the Euclidean geometry fails to do so. So, even though the Euclidean geometry was developed earlier, it seems reasonable to stick to our new, more powerful system.
      $endgroup$
      – stressed out
      11 hours ago




      2




      2




      $begingroup$
      "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
      $endgroup$
      – Jbag1212
      11 hours ago






      $begingroup$
      "Now, obviously, the tools we have developed come from some well-known facts in the Euclidean geometry" - that's the point though. These tools were developed using well-known facts in Euclidean geometry. So to prove the Pythagorean Theorem from these tools is "circular" if these tools were motivated by the Pythagorean Theorem in the first place. As far as I am aware, the dot product is not the only reasonable definition of inner product available for $mathbb{R}^n.$
      $endgroup$
      – Jbag1212
      11 hours ago













      10












      $begingroup$

      If we start from Euclidean geometry in two dimensions, then it is circular. In this settings, we define perpendicular lines as lines that, at their intersection form four equal angles. Coordinate systems are defines using a basis consisting of two perpendicular vectors of the same length.



      It is that actually easy to prove that two vectors are perpendicular iff their dot product is 0 using rotational properties. We would hit a snag, however, at the claim that the two-norm equals the length, which is a direct consequence of Pythagorean theorem.



      Of course, that is not the context this proof of the Pythaogrean theorem normally shows up in. It shows up when we start from a different set of definitions: We define orthogonality using dot products. We define length using 2-norm. Then we prove a Vector space Pythagorean theorem as you have shown above, without circular reasoning.



      Of course, now we have two different definitions for length and perpendicularity, and two different Pythagorean theorems. It is a separate step to prove that in $mathbb{R}^2$ and $mathbb{R}^3$, both sets of definitions actually mean the same things, and so both Pythagorean theorems are in fact the same theorem.






      share|cite|improve this answer









      $endgroup$


















        10












        $begingroup$

        If we start from Euclidean geometry in two dimensions, then it is circular. In this settings, we define perpendicular lines as lines that, at their intersection form four equal angles. Coordinate systems are defines using a basis consisting of two perpendicular vectors of the same length.



        It is that actually easy to prove that two vectors are perpendicular iff their dot product is 0 using rotational properties. We would hit a snag, however, at the claim that the two-norm equals the length, which is a direct consequence of Pythagorean theorem.



        Of course, that is not the context this proof of the Pythaogrean theorem normally shows up in. It shows up when we start from a different set of definitions: We define orthogonality using dot products. We define length using 2-norm. Then we prove a Vector space Pythagorean theorem as you have shown above, without circular reasoning.



        Of course, now we have two different definitions for length and perpendicularity, and two different Pythagorean theorems. It is a separate step to prove that in $mathbb{R}^2$ and $mathbb{R}^3$, both sets of definitions actually mean the same things, and so both Pythagorean theorems are in fact the same theorem.






        share|cite|improve this answer









        $endgroup$
















          10












          10








          10





          $begingroup$

          If we start from Euclidean geometry in two dimensions, then it is circular. In this settings, we define perpendicular lines as lines that, at their intersection form four equal angles. Coordinate systems are defines using a basis consisting of two perpendicular vectors of the same length.



          It is that actually easy to prove that two vectors are perpendicular iff their dot product is 0 using rotational properties. We would hit a snag, however, at the claim that the two-norm equals the length, which is a direct consequence of Pythagorean theorem.



          Of course, that is not the context this proof of the Pythaogrean theorem normally shows up in. It shows up when we start from a different set of definitions: We define orthogonality using dot products. We define length using 2-norm. Then we prove a Vector space Pythagorean theorem as you have shown above, without circular reasoning.



          Of course, now we have two different definitions for length and perpendicularity, and two different Pythagorean theorems. It is a separate step to prove that in $mathbb{R}^2$ and $mathbb{R}^3$, both sets of definitions actually mean the same things, and so both Pythagorean theorems are in fact the same theorem.






          share|cite|improve this answer









          $endgroup$



          If we start from Euclidean geometry in two dimensions, then it is circular. In this settings, we define perpendicular lines as lines that, at their intersection form four equal angles. Coordinate systems are defines using a basis consisting of two perpendicular vectors of the same length.



          It is that actually easy to prove that two vectors are perpendicular iff their dot product is 0 using rotational properties. We would hit a snag, however, at the claim that the two-norm equals the length, which is a direct consequence of Pythagorean theorem.



          Of course, that is not the context this proof of the Pythaogrean theorem normally shows up in. It shows up when we start from a different set of definitions: We define orthogonality using dot products. We define length using 2-norm. Then we prove a Vector space Pythagorean theorem as you have shown above, without circular reasoning.



          Of course, now we have two different definitions for length and perpendicularity, and two different Pythagorean theorems. It is a separate step to prove that in $mathbb{R}^2$ and $mathbb{R}^3$, both sets of definitions actually mean the same things, and so both Pythagorean theorems are in fact the same theorem.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 9 hours ago









          Todor MarkovTodor Markov

          2,310412




          2,310412























              5












              $begingroup$

              Let's try this on a different vector space. Here's a nice one: Let $mathscr L = C([0,1])$ be the set of all real continuous functions defined on the interval $I = [0,1]$. If $f, g in mathscr L$ and $a,b in Bbb R$, then $h(x) := af(x) + bg(x)$ defines another continuous function on $I$, so $scr L$ is indeed a vector space over $Bbb R$.



              Now I arbitrarly define $f cdot g := int_I f(x)g(x)dx$, and quickly note that this operation is commutative and $(af + bg)cdot h = a(fcdot h) + b(g cdot h)$, and that $f cdot f ge 0$ and $fcdot f = 0$ if and only if $f$ is the constant function $0$.



              Thus we see that $fcdot g$ acts as a dot product on $scr L$, and so we can define $$|f| := sqrt{fcdot f}$$ and call $|f - g|$ the "distance from $f$ to $g$".



              By the Cauchy-Schwarz inequality $$left(int fgright)^2 le int f^2int g^2$$ and therefore $$|fcdot g| le |f||g|$$



              Therefore, we can arbitrarily define for non-zero $f, g$ that $$theta = cos^{-1}left(frac{fcdot g}{|f||g|}right)$$
              and call $theta$ the "angle between $f$ and $g$", and define that $f$ and $g$ are "perpendicular" when $theta = pi/2$. Equivalently, $f$ is perpendicular to $g$ exactly when $f cdot g = 0$.



              And now we see that a Pythagorean-like theorem holds for $scr L$: $f$ and $g$ are perpendicular exactly when $|f - g|^2 = |f|^2 + |g|^2$





              The point of this exercise? That the vector Pythagorean theorem is something different from the familiar Pythagorean theorem of geometry. The vector space $scr L$ is not a plane, or space, or even $n$ dimensional space for any $n$. It is in fact an infinite dimensional vector space. I did not rely on geometric intuition to develop this. At no point did the geometric Pythagorean theorem come into play.



              I did choose the definitions to follow a familiar pattern, but the point here is that I (or actually far more gifted mathematicians whose footsteps I'm aping) made those definitions by choice. They were not forced on me by the Pythagorean theorem, but rather were chosen by me exactly so that this vector Pythagorean theorem would be true.



              By making these definitions, I can now start applying those old geometric intuitions to this weird set of functions that beforehand was something too esoteric to handle.



              The vector Pythagorean theorem isn't a way to prove that old geometric result. It is a way to show that the old geometric result also has application in this entirely new and different arena of vector spaces.






              share|cite|improve this answer









              $endgroup$


















                5












                $begingroup$

                Let's try this on a different vector space. Here's a nice one: Let $mathscr L = C([0,1])$ be the set of all real continuous functions defined on the interval $I = [0,1]$. If $f, g in mathscr L$ and $a,b in Bbb R$, then $h(x) := af(x) + bg(x)$ defines another continuous function on $I$, so $scr L$ is indeed a vector space over $Bbb R$.



                Now I arbitrarly define $f cdot g := int_I f(x)g(x)dx$, and quickly note that this operation is commutative and $(af + bg)cdot h = a(fcdot h) + b(g cdot h)$, and that $f cdot f ge 0$ and $fcdot f = 0$ if and only if $f$ is the constant function $0$.



                Thus we see that $fcdot g$ acts as a dot product on $scr L$, and so we can define $$|f| := sqrt{fcdot f}$$ and call $|f - g|$ the "distance from $f$ to $g$".



                By the Cauchy-Schwarz inequality $$left(int fgright)^2 le int f^2int g^2$$ and therefore $$|fcdot g| le |f||g|$$



                Therefore, we can arbitrarily define for non-zero $f, g$ that $$theta = cos^{-1}left(frac{fcdot g}{|f||g|}right)$$
                and call $theta$ the "angle between $f$ and $g$", and define that $f$ and $g$ are "perpendicular" when $theta = pi/2$. Equivalently, $f$ is perpendicular to $g$ exactly when $f cdot g = 0$.



                And now we see that a Pythagorean-like theorem holds for $scr L$: $f$ and $g$ are perpendicular exactly when $|f - g|^2 = |f|^2 + |g|^2$





                The point of this exercise? That the vector Pythagorean theorem is something different from the familiar Pythagorean theorem of geometry. The vector space $scr L$ is not a plane, or space, or even $n$ dimensional space for any $n$. It is in fact an infinite dimensional vector space. I did not rely on geometric intuition to develop this. At no point did the geometric Pythagorean theorem come into play.



                I did choose the definitions to follow a familiar pattern, but the point here is that I (or actually far more gifted mathematicians whose footsteps I'm aping) made those definitions by choice. They were not forced on me by the Pythagorean theorem, but rather were chosen by me exactly so that this vector Pythagorean theorem would be true.



                By making these definitions, I can now start applying those old geometric intuitions to this weird set of functions that beforehand was something too esoteric to handle.



                The vector Pythagorean theorem isn't a way to prove that old geometric result. It is a way to show that the old geometric result also has application in this entirely new and different arena of vector spaces.






                share|cite|improve this answer









                $endgroup$
















                  5












                  5








                  5





                  $begingroup$

                  Let's try this on a different vector space. Here's a nice one: Let $mathscr L = C([0,1])$ be the set of all real continuous functions defined on the interval $I = [0,1]$. If $f, g in mathscr L$ and $a,b in Bbb R$, then $h(x) := af(x) + bg(x)$ defines another continuous function on $I$, so $scr L$ is indeed a vector space over $Bbb R$.



                  Now I arbitrarly define $f cdot g := int_I f(x)g(x)dx$, and quickly note that this operation is commutative and $(af + bg)cdot h = a(fcdot h) + b(g cdot h)$, and that $f cdot f ge 0$ and $fcdot f = 0$ if and only if $f$ is the constant function $0$.



                  Thus we see that $fcdot g$ acts as a dot product on $scr L$, and so we can define $$|f| := sqrt{fcdot f}$$ and call $|f - g|$ the "distance from $f$ to $g$".



                  By the Cauchy-Schwarz inequality $$left(int fgright)^2 le int f^2int g^2$$ and therefore $$|fcdot g| le |f||g|$$



                  Therefore, we can arbitrarily define for non-zero $f, g$ that $$theta = cos^{-1}left(frac{fcdot g}{|f||g|}right)$$
                  and call $theta$ the "angle between $f$ and $g$", and define that $f$ and $g$ are "perpendicular" when $theta = pi/2$. Equivalently, $f$ is perpendicular to $g$ exactly when $f cdot g = 0$.



                  And now we see that a Pythagorean-like theorem holds for $scr L$: $f$ and $g$ are perpendicular exactly when $|f - g|^2 = |f|^2 + |g|^2$





                  The point of this exercise? That the vector Pythagorean theorem is something different from the familiar Pythagorean theorem of geometry. The vector space $scr L$ is not a plane, or space, or even $n$ dimensional space for any $n$. It is in fact an infinite dimensional vector space. I did not rely on geometric intuition to develop this. At no point did the geometric Pythagorean theorem come into play.



                  I did choose the definitions to follow a familiar pattern, but the point here is that I (or actually far more gifted mathematicians whose footsteps I'm aping) made those definitions by choice. They were not forced on me by the Pythagorean theorem, but rather were chosen by me exactly so that this vector Pythagorean theorem would be true.



                  By making these definitions, I can now start applying those old geometric intuitions to this weird set of functions that beforehand was something too esoteric to handle.



                  The vector Pythagorean theorem isn't a way to prove that old geometric result. It is a way to show that the old geometric result also has application in this entirely new and different arena of vector spaces.






                  share|cite|improve this answer









                  $endgroup$



                  Let's try this on a different vector space. Here's a nice one: Let $mathscr L = C([0,1])$ be the set of all real continuous functions defined on the interval $I = [0,1]$. If $f, g in mathscr L$ and $a,b in Bbb R$, then $h(x) := af(x) + bg(x)$ defines another continuous function on $I$, so $scr L$ is indeed a vector space over $Bbb R$.



                  Now I arbitrarly define $f cdot g := int_I f(x)g(x)dx$, and quickly note that this operation is commutative and $(af + bg)cdot h = a(fcdot h) + b(g cdot h)$, and that $f cdot f ge 0$ and $fcdot f = 0$ if and only if $f$ is the constant function $0$.



                  Thus we see that $fcdot g$ acts as a dot product on $scr L$, and so we can define $$|f| := sqrt{fcdot f}$$ and call $|f - g|$ the "distance from $f$ to $g$".



                  By the Cauchy-Schwarz inequality $$left(int fgright)^2 le int f^2int g^2$$ and therefore $$|fcdot g| le |f||g|$$



                  Therefore, we can arbitrarily define for non-zero $f, g$ that $$theta = cos^{-1}left(frac{fcdot g}{|f||g|}right)$$
                  and call $theta$ the "angle between $f$ and $g$", and define that $f$ and $g$ are "perpendicular" when $theta = pi/2$. Equivalently, $f$ is perpendicular to $g$ exactly when $f cdot g = 0$.



                  And now we see that a Pythagorean-like theorem holds for $scr L$: $f$ and $g$ are perpendicular exactly when $|f - g|^2 = |f|^2 + |g|^2$





                  The point of this exercise? That the vector Pythagorean theorem is something different from the familiar Pythagorean theorem of geometry. The vector space $scr L$ is not a plane, or space, or even $n$ dimensional space for any $n$. It is in fact an infinite dimensional vector space. I did not rely on geometric intuition to develop this. At no point did the geometric Pythagorean theorem come into play.



                  I did choose the definitions to follow a familiar pattern, but the point here is that I (or actually far more gifted mathematicians whose footsteps I'm aping) made those definitions by choice. They were not forced on me by the Pythagorean theorem, but rather were chosen by me exactly so that this vector Pythagorean theorem would be true.



                  By making these definitions, I can now start applying those old geometric intuitions to this weird set of functions that beforehand was something too esoteric to handle.



                  The vector Pythagorean theorem isn't a way to prove that old geometric result. It is a way to show that the old geometric result also has application in this entirely new and different arena of vector spaces.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered 4 hours ago









                  Paul SinclairPaul Sinclair

                  19.8k21442




                  19.8k21442






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3112970%2fis-the-proof-of-pythagorean-theorem-using-dot-inner-product-circular%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                      Alcedinidae

                      Can an atomic nucleus contain both particles and antiparticles? [duplicate]