# Differential equations problem

## Homework Statement

A curve with Cartesian equation y=f(x) passes through the origin. Lines drawn parallel to the coordiante axes through and arbitrary poing of the curve form a rectangle with two sides on the axes. The curve divides every such rectangle into two regions A and B, one of which has and area equal to n times the other. Find all such functions f.

## The Attempt at a Solution

Obviously f(x)=cx where c is a real number works, but there must be others. Any ideas?

Related Calculus and Beyond Homework Help News on Phys.org
$$\int$$ydx (from 0 to x) = kxy ( for k = +- 1/n+1 or n/n+1).
This gives y = k(x y' + y) ; hence y =const. x^(1-k)

HallsofIvy
The area below the curve is, of course, $\int_0^{x} f(t)dt$ while the area above the curve is $\int_0^{x} f(x)- f(t) dt= xf(x)- \int_0^{x} f(t) dt$ Saying one is n times the other means that $n\int_0^{x}f(t)dt= xf(x)- \int_0^x f(t)dt$ so $xf(x)= (n+1)\int_0^x f(t) dt$.