Suppose for two random variables, when one is above average, the other tends to be above average as well. That means the two random variables have positive *covariance*. When one higher means the other is lower, they have negative covariance. In this video, you will learn how to calculate covariance. In addition, we'll explore how the covariance is an example of an inner product, and the consequence of that fact.
https://s3.us-west-1.amazonaws.com/markhuber-datascience-resources.org/Books/Probability_Adventures_webpage/2021_version/chapters/ch18_random_variables_as_vectors/ch18_book_version.html