Step 1: Definition of a homogeneous differential equation.
A differential equation \( \frac{dy}{dx} = F(x, y) \) is considered homogeneous if the function \( F(x, y) \) can be expressed solely in terms of the ratio \( \frac{y}{x} \) or equivalently \( \frac{x}{y} \).
Step 2: Analyze the given options.
We will evaluate whether \( F(x, y) \) in each option can be written as a function of \( \frac{y}{x} \) or \( \frac{x}{y} \).
- (A) \( F(x, y) = \cos x - \sin \left( \frac{y}{x} \right):
The term \( \cos x \) depends solely on \( x \), and cannot be written as a function of \( \frac{y}{x} \).
Thus, \( F(x, y) \) is not homogeneous.
- (B) \( F(x, y) = \frac{y}{x}:
This is already in the form
\( \frac{y}{x} \), which is homogeneous by definition.
- (C) \( F(x, y) = \frac{x^2 + y^2}{xy}:
Simplifying:
\[
F(x, y) = \frac{x^2}{xy} + \frac{y^2}{xy} = \frac{x}{y} + \frac{y}{x}.
\]
Both terms \( \frac{x}{y} \) and \( \frac{y}{x} \) are functions of \( \frac{y}{x} \), indicating that \( F(x, y) \) is homogeneous.
- (D) \( F(x, y) = \cos^2 \left( \frac{x}{y} \right):
The expression \( \cos^2 \left( \frac{x}{y} \right) \) depends only on \( \frac{x}{y} \), making \( F(x, y) \) homogeneous.
Step 3: Conclusion.
The only function that is not homogeneous is:
\[
\boxed{\cos x - \sin \left( \frac{y}{x} \right)}.
\]