Dot Product vs Inner Product












0












$begingroup$


eStoY confUSo



enter image description here



Why didn't he use the dot product?



I'm hoping that $mathbb P_2$ is a polynomial space (I don't even know what that means), probably representable as a vector in $mathbb R^3$.



So now that I'm already so confused I want to make a LITTLE bit of sense here. Two vectors are orthogonal in this vector space if their inner product is zero? Because what he did accomplishes that.










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    The dot product is a particular example of an inner product, but there are many other inner products, such as the integral one defined above. And yes, orthogonality is defined in the same way, using whichever inner product you happen to be using.
    $endgroup$
    – angryavian
    Jul 13 '17 at 20:18










  • $begingroup$
    @Saketh: What would you consider to be the "dot product" of $p(x) = ax^{2} + bx + c$ and $q(x) = a'x^{2} + b'x + c'$?
    $endgroup$
    – Andrew D. Hwang
    Jul 13 '17 at 20:20










  • $begingroup$
    Well, you can represent them as vectors, but you have to use something other than the basic dot product. You’ll need to use an inner product of the form $xcdot Ay$, where $A$ is some positive-definite matrix.
    $endgroup$
    – amd
    Jul 13 '17 at 20:25


















0












$begingroup$


eStoY confUSo



enter image description here



Why didn't he use the dot product?



I'm hoping that $mathbb P_2$ is a polynomial space (I don't even know what that means), probably representable as a vector in $mathbb R^3$.



So now that I'm already so confused I want to make a LITTLE bit of sense here. Two vectors are orthogonal in this vector space if their inner product is zero? Because what he did accomplishes that.










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    The dot product is a particular example of an inner product, but there are many other inner products, such as the integral one defined above. And yes, orthogonality is defined in the same way, using whichever inner product you happen to be using.
    $endgroup$
    – angryavian
    Jul 13 '17 at 20:18










  • $begingroup$
    @Saketh: What would you consider to be the "dot product" of $p(x) = ax^{2} + bx + c$ and $q(x) = a'x^{2} + b'x + c'$?
    $endgroup$
    – Andrew D. Hwang
    Jul 13 '17 at 20:20










  • $begingroup$
    Well, you can represent them as vectors, but you have to use something other than the basic dot product. You’ll need to use an inner product of the form $xcdot Ay$, where $A$ is some positive-definite matrix.
    $endgroup$
    – amd
    Jul 13 '17 at 20:25
















0












0








0





$begingroup$


eStoY confUSo



enter image description here



Why didn't he use the dot product?



I'm hoping that $mathbb P_2$ is a polynomial space (I don't even know what that means), probably representable as a vector in $mathbb R^3$.



So now that I'm already so confused I want to make a LITTLE bit of sense here. Two vectors are orthogonal in this vector space if their inner product is zero? Because what he did accomplishes that.










share|cite|improve this question









$endgroup$




eStoY confUSo



enter image description here



Why didn't he use the dot product?



I'm hoping that $mathbb P_2$ is a polynomial space (I don't even know what that means), probably representable as a vector in $mathbb R^3$.



So now that I'm already so confused I want to make a LITTLE bit of sense here. Two vectors are orthogonal in this vector space if their inner product is zero? Because what he did accomplishes that.







linear-algebra polynomials inner-product-space






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jul 13 '17 at 20:07









Saketh MalyalaSaketh Malyala

7,3981534




7,3981534








  • 1




    $begingroup$
    The dot product is a particular example of an inner product, but there are many other inner products, such as the integral one defined above. And yes, orthogonality is defined in the same way, using whichever inner product you happen to be using.
    $endgroup$
    – angryavian
    Jul 13 '17 at 20:18










  • $begingroup$
    @Saketh: What would you consider to be the "dot product" of $p(x) = ax^{2} + bx + c$ and $q(x) = a'x^{2} + b'x + c'$?
    $endgroup$
    – Andrew D. Hwang
    Jul 13 '17 at 20:20










  • $begingroup$
    Well, you can represent them as vectors, but you have to use something other than the basic dot product. You’ll need to use an inner product of the form $xcdot Ay$, where $A$ is some positive-definite matrix.
    $endgroup$
    – amd
    Jul 13 '17 at 20:25
















  • 1




    $begingroup$
    The dot product is a particular example of an inner product, but there are many other inner products, such as the integral one defined above. And yes, orthogonality is defined in the same way, using whichever inner product you happen to be using.
    $endgroup$
    – angryavian
    Jul 13 '17 at 20:18










  • $begingroup$
    @Saketh: What would you consider to be the "dot product" of $p(x) = ax^{2} + bx + c$ and $q(x) = a'x^{2} + b'x + c'$?
    $endgroup$
    – Andrew D. Hwang
    Jul 13 '17 at 20:20










  • $begingroup$
    Well, you can represent them as vectors, but you have to use something other than the basic dot product. You’ll need to use an inner product of the form $xcdot Ay$, where $A$ is some positive-definite matrix.
    $endgroup$
    – amd
    Jul 13 '17 at 20:25










1




1




$begingroup$
The dot product is a particular example of an inner product, but there are many other inner products, such as the integral one defined above. And yes, orthogonality is defined in the same way, using whichever inner product you happen to be using.
$endgroup$
– angryavian
Jul 13 '17 at 20:18




$begingroup$
The dot product is a particular example of an inner product, but there are many other inner products, such as the integral one defined above. And yes, orthogonality is defined in the same way, using whichever inner product you happen to be using.
$endgroup$
– angryavian
Jul 13 '17 at 20:18












$begingroup$
@Saketh: What would you consider to be the "dot product" of $p(x) = ax^{2} + bx + c$ and $q(x) = a'x^{2} + b'x + c'$?
$endgroup$
– Andrew D. Hwang
Jul 13 '17 at 20:20




$begingroup$
@Saketh: What would you consider to be the "dot product" of $p(x) = ax^{2} + bx + c$ and $q(x) = a'x^{2} + b'x + c'$?
$endgroup$
– Andrew D. Hwang
Jul 13 '17 at 20:20












$begingroup$
Well, you can represent them as vectors, but you have to use something other than the basic dot product. You’ll need to use an inner product of the form $xcdot Ay$, where $A$ is some positive-definite matrix.
$endgroup$
– amd
Jul 13 '17 at 20:25






$begingroup$
Well, you can represent them as vectors, but you have to use something other than the basic dot product. You’ll need to use an inner product of the form $xcdot Ay$, where $A$ is some positive-definite matrix.
$endgroup$
– amd
Jul 13 '17 at 20:25












3 Answers
3






active

oldest

votes


















2












$begingroup$

You're right, the inner product of two polynomials is defined as
$$langle, p,q, rangle=int_0^1p(t)q(t),mathrm dt, $$
and two polynomials are orthogonal if and only if $;langle, p,q,rangle=0$.



These definitions, b.t.w. are valid in the (infinite-dimensional) vector space $mathbf R[t]$ of all polynomials, and not only in the vector space of degree at most $2$.



He didn't use the dot product of the polynomial coefficients (if I understand well what you mean) simply because the ordinary dot product isn't interesting here, and he chooses another, more useful, inner product.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
    $endgroup$
    – Saketh Malyala
    Jul 13 '17 at 23:54






  • 3




    $begingroup$
    There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
    $endgroup$
    – Bernard
    Jul 14 '17 at 0:01





















2












$begingroup$

Polynomials as vectors.



The set of polynomials of degree 2 are 3 dimensional vectors.
You have and addition property, and a scalar multiplication property. That is what makes a vector space.



You can even represent them with with the same notation. $(a,b,c) equiv ax^2+bx+c$



The set of function defined at $x_1,x_2,cdots x_n$ is also a vector space. And and we could represent $f(x)$ as $(f(x_1), f(x_2),cdots, f(x_n))$



The inner product might be: $langle f(x),g(x)rangle = frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n)) = frac 1n sum_limits{i=1}^n f(x)g(x)$



This is just multiplying the traditional dot product by $frac 1n.$
It is also the definition of co-variance in statistics.



And we extend concept this to continuous functions over the interval $[0,1]$



As $n$ goes to infinity $frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n))$ approaches $int_0^1 f(x)g(x) dx$



It is a well defined inner product, and it is not too far removed from the Euclidean definition you are more comfortable with.



Next you define "orthogonal" as meaning having inner product equal to 0.



Unfortunately this definition of orthogonal no longer ties out with perpendicular in the geometric sense. It does tie out with "independent" as used in prob / statistics.






share|cite|improve this answer











$endgroup$





















    1












    $begingroup$

    The dot product is defined on $Bbb R^n$, or more generally $Bbb F^n$ by the formula
    $$
    ucdot v = sum u_iv_i,
    $$

    but for vector spaces like $Bbb P_2$, which is, concretely, ${a_0 +a_1x+a_2x^2:a_iinBbb R}$, the vector space of polynomials of degree no more than $2$ with coefficients from $Bbb R$, you can define different inner products which generalize the dot product for Euclidean spaces.



    Formally, an inner product is a map $Vtimes Vto Bbb R$ that satisfies some extra properties. (You can also have complex inner products.) For instance,
    the inner product is linear in the first component, and it should be positive-definite, meaning that $langle v,vrangle ge 0$ and $langle v,vrangle=0$ if and only if $v=0$. Inner products should also be symmetric, meaning $langle v,wrangle = langle w,vrangle$. (If the inner product takes values in $Bbb C$, then symmetry is replaced with conjugate symmetry $langle v,wrangle = overline{langle w,vrangle}$.)



    You should check that the dot product is an example of an inner product.



    Vector spaces equipped with an inner product are called inner product spaces and if $V$ is an inner product space, then two vectors are declared to be orthogonal if $langle v,wrangle = 0$.



    Finally, check that $langle p,qrangle = displaystyle int_0^1 p(t)q(t),dt$ is an inner product on $Bbb P_2$.






    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%2f2357921%2fdot-product-vs-inner-product%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      You're right, the inner product of two polynomials is defined as
      $$langle, p,q, rangle=int_0^1p(t)q(t),mathrm dt, $$
      and two polynomials are orthogonal if and only if $;langle, p,q,rangle=0$.



      These definitions, b.t.w. are valid in the (infinite-dimensional) vector space $mathbf R[t]$ of all polynomials, and not only in the vector space of degree at most $2$.



      He didn't use the dot product of the polynomial coefficients (if I understand well what you mean) simply because the ordinary dot product isn't interesting here, and he chooses another, more useful, inner product.






      share|cite|improve this answer











      $endgroup$













      • $begingroup$
        but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
        $endgroup$
        – Saketh Malyala
        Jul 13 '17 at 23:54






      • 3




        $begingroup$
        There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
        $endgroup$
        – Bernard
        Jul 14 '17 at 0:01


















      2












      $begingroup$

      You're right, the inner product of two polynomials is defined as
      $$langle, p,q, rangle=int_0^1p(t)q(t),mathrm dt, $$
      and two polynomials are orthogonal if and only if $;langle, p,q,rangle=0$.



      These definitions, b.t.w. are valid in the (infinite-dimensional) vector space $mathbf R[t]$ of all polynomials, and not only in the vector space of degree at most $2$.



      He didn't use the dot product of the polynomial coefficients (if I understand well what you mean) simply because the ordinary dot product isn't interesting here, and he chooses another, more useful, inner product.






      share|cite|improve this answer











      $endgroup$













      • $begingroup$
        but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
        $endgroup$
        – Saketh Malyala
        Jul 13 '17 at 23:54






      • 3




        $begingroup$
        There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
        $endgroup$
        – Bernard
        Jul 14 '17 at 0:01
















      2












      2








      2





      $begingroup$

      You're right, the inner product of two polynomials is defined as
      $$langle, p,q, rangle=int_0^1p(t)q(t),mathrm dt, $$
      and two polynomials are orthogonal if and only if $;langle, p,q,rangle=0$.



      These definitions, b.t.w. are valid in the (infinite-dimensional) vector space $mathbf R[t]$ of all polynomials, and not only in the vector space of degree at most $2$.



      He didn't use the dot product of the polynomial coefficients (if I understand well what you mean) simply because the ordinary dot product isn't interesting here, and he chooses another, more useful, inner product.






      share|cite|improve this answer











      $endgroup$



      You're right, the inner product of two polynomials is defined as
      $$langle, p,q, rangle=int_0^1p(t)q(t),mathrm dt, $$
      and two polynomials are orthogonal if and only if $;langle, p,q,rangle=0$.



      These definitions, b.t.w. are valid in the (infinite-dimensional) vector space $mathbf R[t]$ of all polynomials, and not only in the vector space of degree at most $2$.



      He didn't use the dot product of the polynomial coefficients (if I understand well what you mean) simply because the ordinary dot product isn't interesting here, and he chooses another, more useful, inner product.







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Jul 13 '17 at 20:27

























      answered Jul 13 '17 at 20:21









      BernardBernard

      121k740116




      121k740116












      • $begingroup$
        but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
        $endgroup$
        – Saketh Malyala
        Jul 13 '17 at 23:54






      • 3




        $begingroup$
        There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
        $endgroup$
        – Bernard
        Jul 14 '17 at 0:01




















      • $begingroup$
        but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
        $endgroup$
        – Saketh Malyala
        Jul 13 '17 at 23:54






      • 3




        $begingroup$
        There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
        $endgroup$
        – Bernard
        Jul 14 '17 at 0:01


















      $begingroup$
      but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
      $endgroup$
      – Saketh Malyala
      Jul 13 '17 at 23:54




      $begingroup$
      but why? that's so random.. i thought we just make our own inner product and play with it.. thank you for telling me that the inner product is predetermined.
      $endgroup$
      – Saketh Malyala
      Jul 13 '17 at 23:54




      3




      3




      $begingroup$
      There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
      $endgroup$
      – Bernard
      Jul 14 '17 at 0:01






      $begingroup$
      There are many inner products on a given space, each is adapted for specific problems. Orthogonal polynomials are very important in Functional Analysis, and they can correspond to different inner products, mostly defined by a specific integral. Fourier series is another example for spaces of periodic functions.
      $endgroup$
      – Bernard
      Jul 14 '17 at 0:01













      2












      $begingroup$

      Polynomials as vectors.



      The set of polynomials of degree 2 are 3 dimensional vectors.
      You have and addition property, and a scalar multiplication property. That is what makes a vector space.



      You can even represent them with with the same notation. $(a,b,c) equiv ax^2+bx+c$



      The set of function defined at $x_1,x_2,cdots x_n$ is also a vector space. And and we could represent $f(x)$ as $(f(x_1), f(x_2),cdots, f(x_n))$



      The inner product might be: $langle f(x),g(x)rangle = frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n)) = frac 1n sum_limits{i=1}^n f(x)g(x)$



      This is just multiplying the traditional dot product by $frac 1n.$
      It is also the definition of co-variance in statistics.



      And we extend concept this to continuous functions over the interval $[0,1]$



      As $n$ goes to infinity $frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n))$ approaches $int_0^1 f(x)g(x) dx$



      It is a well defined inner product, and it is not too far removed from the Euclidean definition you are more comfortable with.



      Next you define "orthogonal" as meaning having inner product equal to 0.



      Unfortunately this definition of orthogonal no longer ties out with perpendicular in the geometric sense. It does tie out with "independent" as used in prob / statistics.






      share|cite|improve this answer











      $endgroup$


















        2












        $begingroup$

        Polynomials as vectors.



        The set of polynomials of degree 2 are 3 dimensional vectors.
        You have and addition property, and a scalar multiplication property. That is what makes a vector space.



        You can even represent them with with the same notation. $(a,b,c) equiv ax^2+bx+c$



        The set of function defined at $x_1,x_2,cdots x_n$ is also a vector space. And and we could represent $f(x)$ as $(f(x_1), f(x_2),cdots, f(x_n))$



        The inner product might be: $langle f(x),g(x)rangle = frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n)) = frac 1n sum_limits{i=1}^n f(x)g(x)$



        This is just multiplying the traditional dot product by $frac 1n.$
        It is also the definition of co-variance in statistics.



        And we extend concept this to continuous functions over the interval $[0,1]$



        As $n$ goes to infinity $frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n))$ approaches $int_0^1 f(x)g(x) dx$



        It is a well defined inner product, and it is not too far removed from the Euclidean definition you are more comfortable with.



        Next you define "orthogonal" as meaning having inner product equal to 0.



        Unfortunately this definition of orthogonal no longer ties out with perpendicular in the geometric sense. It does tie out with "independent" as used in prob / statistics.






        share|cite|improve this answer











        $endgroup$
















          2












          2








          2





          $begingroup$

          Polynomials as vectors.



          The set of polynomials of degree 2 are 3 dimensional vectors.
          You have and addition property, and a scalar multiplication property. That is what makes a vector space.



          You can even represent them with with the same notation. $(a,b,c) equiv ax^2+bx+c$



          The set of function defined at $x_1,x_2,cdots x_n$ is also a vector space. And and we could represent $f(x)$ as $(f(x_1), f(x_2),cdots, f(x_n))$



          The inner product might be: $langle f(x),g(x)rangle = frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n)) = frac 1n sum_limits{i=1}^n f(x)g(x)$



          This is just multiplying the traditional dot product by $frac 1n.$
          It is also the definition of co-variance in statistics.



          And we extend concept this to continuous functions over the interval $[0,1]$



          As $n$ goes to infinity $frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n))$ approaches $int_0^1 f(x)g(x) dx$



          It is a well defined inner product, and it is not too far removed from the Euclidean definition you are more comfortable with.



          Next you define "orthogonal" as meaning having inner product equal to 0.



          Unfortunately this definition of orthogonal no longer ties out with perpendicular in the geometric sense. It does tie out with "independent" as used in prob / statistics.






          share|cite|improve this answer











          $endgroup$



          Polynomials as vectors.



          The set of polynomials of degree 2 are 3 dimensional vectors.
          You have and addition property, and a scalar multiplication property. That is what makes a vector space.



          You can even represent them with with the same notation. $(a,b,c) equiv ax^2+bx+c$



          The set of function defined at $x_1,x_2,cdots x_n$ is also a vector space. And and we could represent $f(x)$ as $(f(x_1), f(x_2),cdots, f(x_n))$



          The inner product might be: $langle f(x),g(x)rangle = frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n)) = frac 1n sum_limits{i=1}^n f(x)g(x)$



          This is just multiplying the traditional dot product by $frac 1n.$
          It is also the definition of co-variance in statistics.



          And we extend concept this to continuous functions over the interval $[0,1]$



          As $n$ goes to infinity $frac 1n (f(x_1), f(x_2),cdots, f(x_n))cdot (g(x_1), g(x_2),cdots, g(x_n))$ approaches $int_0^1 f(x)g(x) dx$



          It is a well defined inner product, and it is not too far removed from the Euclidean definition you are more comfortable with.



          Next you define "orthogonal" as meaning having inner product equal to 0.



          Unfortunately this definition of orthogonal no longer ties out with perpendicular in the geometric sense. It does tie out with "independent" as used in prob / statistics.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jul 13 '17 at 20:28

























          answered Jul 13 '17 at 20:23









          Doug MDoug M

          45.2k31854




          45.2k31854























              1












              $begingroup$

              The dot product is defined on $Bbb R^n$, or more generally $Bbb F^n$ by the formula
              $$
              ucdot v = sum u_iv_i,
              $$

              but for vector spaces like $Bbb P_2$, which is, concretely, ${a_0 +a_1x+a_2x^2:a_iinBbb R}$, the vector space of polynomials of degree no more than $2$ with coefficients from $Bbb R$, you can define different inner products which generalize the dot product for Euclidean spaces.



              Formally, an inner product is a map $Vtimes Vto Bbb R$ that satisfies some extra properties. (You can also have complex inner products.) For instance,
              the inner product is linear in the first component, and it should be positive-definite, meaning that $langle v,vrangle ge 0$ and $langle v,vrangle=0$ if and only if $v=0$. Inner products should also be symmetric, meaning $langle v,wrangle = langle w,vrangle$. (If the inner product takes values in $Bbb C$, then symmetry is replaced with conjugate symmetry $langle v,wrangle = overline{langle w,vrangle}$.)



              You should check that the dot product is an example of an inner product.



              Vector spaces equipped with an inner product are called inner product spaces and if $V$ is an inner product space, then two vectors are declared to be orthogonal if $langle v,wrangle = 0$.



              Finally, check that $langle p,qrangle = displaystyle int_0^1 p(t)q(t),dt$ is an inner product on $Bbb P_2$.






              share|cite|improve this answer











              $endgroup$


















                1












                $begingroup$

                The dot product is defined on $Bbb R^n$, or more generally $Bbb F^n$ by the formula
                $$
                ucdot v = sum u_iv_i,
                $$

                but for vector spaces like $Bbb P_2$, which is, concretely, ${a_0 +a_1x+a_2x^2:a_iinBbb R}$, the vector space of polynomials of degree no more than $2$ with coefficients from $Bbb R$, you can define different inner products which generalize the dot product for Euclidean spaces.



                Formally, an inner product is a map $Vtimes Vto Bbb R$ that satisfies some extra properties. (You can also have complex inner products.) For instance,
                the inner product is linear in the first component, and it should be positive-definite, meaning that $langle v,vrangle ge 0$ and $langle v,vrangle=0$ if and only if $v=0$. Inner products should also be symmetric, meaning $langle v,wrangle = langle w,vrangle$. (If the inner product takes values in $Bbb C$, then symmetry is replaced with conjugate symmetry $langle v,wrangle = overline{langle w,vrangle}$.)



                You should check that the dot product is an example of an inner product.



                Vector spaces equipped with an inner product are called inner product spaces and if $V$ is an inner product space, then two vectors are declared to be orthogonal if $langle v,wrangle = 0$.



                Finally, check that $langle p,qrangle = displaystyle int_0^1 p(t)q(t),dt$ is an inner product on $Bbb P_2$.






                share|cite|improve this answer











                $endgroup$
















                  1












                  1








                  1





                  $begingroup$

                  The dot product is defined on $Bbb R^n$, or more generally $Bbb F^n$ by the formula
                  $$
                  ucdot v = sum u_iv_i,
                  $$

                  but for vector spaces like $Bbb P_2$, which is, concretely, ${a_0 +a_1x+a_2x^2:a_iinBbb R}$, the vector space of polynomials of degree no more than $2$ with coefficients from $Bbb R$, you can define different inner products which generalize the dot product for Euclidean spaces.



                  Formally, an inner product is a map $Vtimes Vto Bbb R$ that satisfies some extra properties. (You can also have complex inner products.) For instance,
                  the inner product is linear in the first component, and it should be positive-definite, meaning that $langle v,vrangle ge 0$ and $langle v,vrangle=0$ if and only if $v=0$. Inner products should also be symmetric, meaning $langle v,wrangle = langle w,vrangle$. (If the inner product takes values in $Bbb C$, then symmetry is replaced with conjugate symmetry $langle v,wrangle = overline{langle w,vrangle}$.)



                  You should check that the dot product is an example of an inner product.



                  Vector spaces equipped with an inner product are called inner product spaces and if $V$ is an inner product space, then two vectors are declared to be orthogonal if $langle v,wrangle = 0$.



                  Finally, check that $langle p,qrangle = displaystyle int_0^1 p(t)q(t),dt$ is an inner product on $Bbb P_2$.






                  share|cite|improve this answer











                  $endgroup$



                  The dot product is defined on $Bbb R^n$, or more generally $Bbb F^n$ by the formula
                  $$
                  ucdot v = sum u_iv_i,
                  $$

                  but for vector spaces like $Bbb P_2$, which is, concretely, ${a_0 +a_1x+a_2x^2:a_iinBbb R}$, the vector space of polynomials of degree no more than $2$ with coefficients from $Bbb R$, you can define different inner products which generalize the dot product for Euclidean spaces.



                  Formally, an inner product is a map $Vtimes Vto Bbb R$ that satisfies some extra properties. (You can also have complex inner products.) For instance,
                  the inner product is linear in the first component, and it should be positive-definite, meaning that $langle v,vrangle ge 0$ and $langle v,vrangle=0$ if and only if $v=0$. Inner products should also be symmetric, meaning $langle v,wrangle = langle w,vrangle$. (If the inner product takes values in $Bbb C$, then symmetry is replaced with conjugate symmetry $langle v,wrangle = overline{langle w,vrangle}$.)



                  You should check that the dot product is an example of an inner product.



                  Vector spaces equipped with an inner product are called inner product spaces and if $V$ is an inner product space, then two vectors are declared to be orthogonal if $langle v,wrangle = 0$.



                  Finally, check that $langle p,qrangle = displaystyle int_0^1 p(t)q(t),dt$ is an inner product on $Bbb P_2$.







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Dec 18 '18 at 4:44









                  mr_e_man

                  1,1351424




                  1,1351424










                  answered Jul 13 '17 at 20:25









                  Alex OrtizAlex Ortiz

                  10.7k21441




                  10.7k21441






























                      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%2f2357921%2fdot-product-vs-inner-product%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

                      To store a contact into the json file from server.js file using a class in NodeJS

                      Redirect URL with Chrome Remote Debugging Android Devices

                      Dieringhausen