SMT 2013 Calculus #8:
The function $f(x)$ is defined for all $x\ge 0$ and is always nonnegative. It has the additional property that if any line is drawn from the origin with any positive slope $m$, it intersects the graph $y=f(x)$ at precisely one point, which is $\frac{1}{\sqrt{m}}$ units from the origin. Let a be the unique real number for which f takes on its maximum value at $x=a$ (you may assume that such an a exists). Find $\int_{0}^{a}f(x) \, dx$.
My work so far:
I tried interpreting the question in the following way:
"if any line is drawn from the origin with any slope $m$, it intersects the graph $y = f(x)$ at precisely one point, which is $\frac{1}{\sqrt{m}}$ units from the origin"
This can be parameterized as $$\begin{cases} y = mx \\ x^2 + y^2 = \frac{1}{m}\end{cases}$$
Then to find the maximum value $x = a$, you simply maximize the function $y = \sqrt{\frac{m}{1+m^2}}$ (which is the same as maximizing the function $\frac{m}{1+m^2}$).
$\left(\frac{m}{1+m^2}\right)' = 0 \implies m = 1 \implies$ the maximum point is $\left(\frac{1}{\sqrt{2}},\frac{1}{\sqrt{2}}\right)$, so $ a=\frac{1}{\sqrt{2}}$.
After this point, I don't know how to compute the integral $$\int_0^\frac{1}{\sqrt{2}}{f(x)}\, dx.$$ (I tried using polar coordinates, but then I got confused.)
Edit 2: I have found an algebraic solution! It involved solving $x$ in terms $y$ (too tired to type out the entire solution). But if anyone can explain step-by-step a solution using polar coordinates, that would be greatly appreciated :)