If $X$ is a random variable and I have another r.v. $Y = f(X)$, is $Y$ always dependent on $X$?
I don't think so, becausein this Q: How to show that $Y_1, Y_2$ are independent
$Y_2 = N - Y_1$ (which looks like the value of $Y_2$ must change depending on $Y_1$, but it's provable that $Y_1,Y_2$ are independent.)
If we have a random variable $X$, then is something like $Y = 5X$ always not independent?
Well, if X is constant, then X is independent of Y for all Y, including Y=f(X), which will simply be some other constant.
If f and X are such that there is a number z such that f(X)=z with probability one, then Y=z with probability one and is thus independent of X.
Otherwise there is a w such that $P(Y>w)>0$ and $P(Y<w)>0$. But then there are disjoint sets A, B with $X\in A$ when $Y<w$ and $X\in B$ when $Y>w$. Thus X and Y are not independent.
To sum up, X and Y are independent in this case if and only if Y is equal to a constant with probability one (or "almost surely" as they say in probability theory).
By the way, in your example with $Y_{2}=N-Y_{1}$, assuming N to be a constant, the assertion is false unless $Y_{1}$ is almost surely constant.