prove that coefficient of correlation always lies between -1 to +1

coefficient of correlation = r = cov(x,y)σxσy
σx2= (x-x¯)2n

σy2= (y-y¯)2n

cov(x,y) = (x-x¯)(y-y¯)n

we have to prove -1r1
let us consider two terms x-x¯σx and y-y¯σy

take sum of the square of these two variables
since it is a square term then it is surely a positive number
that is x-x¯σx±y-y¯σy20
opening its square we get
x-x¯σx2+y-y¯σy2+ 2x-x¯σxy-y¯σy0
on further simplifying it, we get
divide the entire expression by n
using the formula of variance of x, variance of y and covariance of x and y, we get


2+2r02-2r1-rr-1or2-2r022r1rtherefore we conclude that-1r1always.

  • 10
What are you looking for?