For some $3$D shapes if the formula for Volume is known then the S.A formula can be found by differentiating $\frac{dV}{dR}$ : e.g in case of sphere $V = \frac{4}{3} \pi R^3$ and S.A is $4 \pi R^2$ (differential). However for a cube with $V = R^3$ the S.A is $ 6 R^2$ (NOT $3 R^2$)
Is there a general rule when $\frac{dV}{dR}$ applies and when it does not ?