Show by an example that the correlation-based distance
$d(X,X^\prime)=1-\rho(X,X^\prime)=1-\frac{\sum_{j=1}^p (X_j-\bar{X})((X_j^\prime-\bar{X}^\prime)}{\sqrt(\sum_{j=1}^p (X_j-\bar{X})^2\sum_{j=1}^p (X_j^\prime-\bar{X}^\prime)^2)}$ where $X, X^\prime ∈ R^p$,
is not strictly speaking a metric.
My understanding: We need to show that distance $d$ violates the triangle inequality, but how can I show this using example. I am kinda confused! Thank you so much for your suggestions!