Loading [MathJax]/jax/output/HTML-CSS/jax.js

Convex Optimization - Inner Product



Inner product is a function which gives a scalar to a pair of vectors.

Inner Product − f:Rn×Rnκ where κ is a scalar.

The basic characteristics of inner product are as follows −

Let XRn

  • x,x0,xX

  • x,x=0x=0,xX

  • αx,y=αx,y,ακandx,yX

  • x+y,z=x,z+y,z,x,y,zX

  • ¯y,x=(x,y),x,yX

Note

  • Relationship between norm and inner product: x=(x,x)

  • x,yRn,x,y=x1y1+x2y2+...+xnyn

Examples

1. find the inner product of x=(1,2,1)andy=(3,1,3)

Solution

x,y=x1y1+x2y2+x3y3

x,y=(1×3)+(2×1)+(1×3)

x,y=3+(2)+3

x,y=4

2. If x=(4,9,1),y=(3,5,1) and z=(2,4,1), find (x+y,z)

Solution

As we know, x+y,z=x,z+y,z

x+y,z=(x1z1+x2z2+x3z3)+(y1z1+y2z2+y3z3)

x+y,z={(4×2)+(9×4)+(1×1)}+

{(3×2)+(5×4)+(1×1)}

x+y,z=(8+36+1)+(6+20+1)

x+y,z=45+15

x+y,z=60

Advertisements