3D Joint Density Surfaces, Conditional Slices, and Regression
A continuous bivariate joint pdf $z=f_{\sssig XY}(x,y)$ encodes marginal densities on the side walls, conditional slices across cutting planes, direct and reverse regression curves on the base plane, and dependence strength inside one surface. Each sub-page below presents the closed-form pdfs and parameter roles for one analytical distribution family, followed by a unified 3D/2D/1D workbench with spotlight layer dimming (Focus) and a pinned parameter dock.
I. Conditional slices, slice centroids, and regression curves (before covariance)
Plot the raw slice $f_{\sssig XY}(x_0,y)$, the renormalized conditional pdf $f_{\sssig Y\mid X}(y\mid x_0)$, and the side-wall marginals $f_{\sssig X}(x)$, $f_{\sssig Y}(y)$ on one common density scale. Contrast upward stretching ($f_{\sssig X}(x_0)<1$), downward scaling ($f_{\sssig X}(0)>1$), and independence ($\beta=0$) before introducing regression curves.
Introduce $\mathbb{E}(Y\mid X=x_0)$ with right-skewed shifted $\mathrm{Gamma}(2,\theta(x))$ slices whose peak lies at $y_{\sssig\mathrm{mode}}(x)=\beta x$ whereas the center of gravity is pulled into the right tail at $\beta x+\theta(x)$, including straight peak ridges paired with curved regression functions.
Combine a symmetric two-component Gaussian mixture with homoscedastic linear noise so one regression curve is an exact straight line whereas the reverse regression bends into a closed-form $\tanh$ S-curve via Bayes’ theorem.
Follow a curved ridge that splits smoothly into two symmetric crests for $x>0$. Both direct and reverse regressions are nonlinear, and the conditional expectation sits in the low-density trough between the two peaks.
II. Independence, mean independence, and zero correlation
Walk step by step down the one-way implication chain $X\indep Y \Longrightarrow \mathbb{E}(Y\mid X=x)=\mathbb{E}(Y) \Longrightarrow \operatorname{Cov}(X,Y)=0$ across three zero-covariance counterexamples:
Conditional slices change from bimodal at the crater center to unimodal in the tails (violating $X\indep Y$), yet radial symmetry keeps both $\mathbb{E}(Y\mid X=x)=0$ and $\mathbb{E}(X\mid Y=y)=0$ everywhere. Setting $\lambda=0$ recovers the independent normal benchmark.
Here $\mathbb{E}(Y\mid X=x)=a(x^{2}-\sigma_1^{2})$ is quadratic, horizontal slices across the upper arms keep $\mathbb{E}(X\mid Y=y)=0$, and odd lobes of $x\,\mathbb{E}(Y\mid X=x)\,f_{\sssig X}(x)$ cancel pairwise to $\operatorname{Cov}(X,Y)=0$.
Under $h(x)=a[\sin(\omega x)-cx]$ with $c=\omega e^{-\omega^{2}\sigma_1^{2}/2}$, neither regression curve is constant, yet positive and negative bands of the even integrand cancel over $\mathbb{R}$ to exact zero correlation.
Contrast the direct regression line $\mathbb{E}(Y\mid X=x)=\rho(\sigma_2/\sigma_1)x$, the reverse regression line, and the major axis (geometric ridge) of the equal-density ellipses to see why each slice peaks at the contour tangent point rather than on the ridge.