Inspired by Arkajyoti Banerjee

Calculus Level 5

How many differentiable functions f : R R f: \mathbb{R} \rightarrow \mathbb{R} are there such that f ( 0 ) = 0 f(0) = 0 and

y d y d x = 2 x y ? y \frac{dy}{dx} = 2xy ?

Note: It is intentional that y y appears on both sides of the equation. Cancel at your own risk.


Inspiration .

1 2 3 4

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Calvin Lin Staff
Nov 14, 2016

[This part explains why the answer isn't 1 or 2]

Many people would factorize the equation to obtain y ( d y d x 2 x ) = 0 y \left( \frac{dy}{dx} - 2x \right) = 0 and conclude that either y = 0 y = 0 or y = x 2 y = x^2 (using the condition that f ( 0 ) = 0 f(0) = 0 .

However, remember that the value only needs to hold pointwise , meaning that at each point, we either have y = 0 y = 0 or that y = x 2 + C y = x^2 + C . In fact, there exists other solutions like:

y = { 0 x 0 x 2 x 0 , y = { x 2 x 0 0 x 0 y = \begin{cases} 0 & x \leq 0 \\ x^2 & x \geq 0 \end{cases}, y = \begin{cases} x^2 & x \leq 0 \\ 0 & x \geq 0 \end{cases}

It is clear that these 2 functions also satisfy the conditions. In particular, at y = 0 y = 0 , we have d y d x = 0 \frac{ dy}{dx} = 0 whether we consider the limit from the LHS or RHS.


So why can't we mix and match 0 0 with x 2 + C x^2 + C many times? IE Why is the following solution impossible

y = { 0 x 1 x 2 1 1 x 1 0 1 x y = \begin{cases} 0 & x \leq -1 \\ x^2 -1 & -1 \leq x \leq 1 \\ 0 & 1 \leq x \end{cases}

Looking at this specific scenario, we get that d y d x \frac{dy}{dx} doesn't exist at x = 1 , 1 x = -1, 1 , which is why this solution isn't valid.


[We now show that there are only 4 functions, as stated at the start.]

Let's rigourize the above observation to the general case.

First, since the function is continuous, we know that for any point a a , there exists a small enough open set ( a , b ) (a, b) such that ( a , b ) (a,b) is identically f ( x ) = 0 f(x) = 0 or f ( x ) = x 2 + C f(x) = x^2 + C for some C C .

Second, we define a transition point t t as a point such that there exists a neighbourhood ( a , b ) (a,b) containing t t with f ( x ) = 0 f(x) = 0 on ( a , t ) (a,t) and f ( x ) = x 2 + C f(x) = x^2 + C on ( t , b ) (t,b) (or vice versa) ).

Third, at this transition point, since f f is continuous at t t , we must have 0 = f ( t ) = t 2 + C 0 = f(t) = t^2 + C , or that C = t 2 C = - t^2 .

Fourth, at this transition point, since f f is differentiable at t t , calculating the left and right derivatives we get that 0 = f ( t ) = 2 t 0 = f'(t) = 2t .

Hence, we must have t = 0 t = 0 as the only possible transition point.

As such, we have (at most) the 4 functions defined above. It is clear that these 4 functions satisfy the conditions, hence we are done.

Delicious Hairsplitting!

Andreas Wendler - 4 years, 7 months ago

Log in to reply

Thanks! I see that it stumped you too :)

Calvin Lin Staff - 4 years, 7 months ago

Can we change the limit x=0 to x=c where c is a constant

Kushal Bose - 4 years, 7 months ago

Log in to reply

I do not understand what you are referring to.

If you are asking "Does there exist other functions which satisfy f ( x ) = 0 f(x) = 0 for x c 0 x \leq c \neq 0 and f ( x ) = x 2 c 2 f(x) = x^2 - c^2 otherwise, then the answer is no. The reason being that f ( x ) f(x) is not differentiable at c c . (This has not been explicitly stated in the solution, which is why it is incomplete)

Calvin Lin Staff - 4 years, 7 months ago

Log in to reply

Yes my doubt is cleared

Kushal Bose - 4 years, 7 months ago

How about f ( x ) = 0 i f x c a n d x 2 o t h e r w i s e f(x) = 0 \, if\, x \leq c \, and \, x^2 \, otherwise where c > 0 c > 0 ?

Parthiv Chakrabarty - 4 years, 6 months ago

Log in to reply

@Parthiv Chakrabarty Read the solution. Note that we do not require a < b a < b at all.

Calvin Lin Staff - 4 years, 6 months ago

Superb: both problem and solution!

Muhammad Rasel Parvej - 4 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...