Why is this not a solution to the differential equation

fishingspree2
Messages
138
Reaction score
0

Homework Statement


Explain why the piecewise-defined function:
y=\begin{Bmatrix}<br /> \sqrt{25-x^{2}}, &amp; -5&lt; x&lt; 0 \\ <br /> -\sqrt{25-x^{2}},&amp;0\leq x&lt; 5 <br /> \end{Bmatrix}

is not a solution of the differential equation \frac{dy}{dx}=-\frac{x}{y} on the interval (-5,5)2. The attempt at a solution
I have no idea why...Differentiating y i get
y&#039;=\begin{Bmatrix}<br /> \frac{-x}{\sqrt{25-x^{2}}}, &amp; -5&lt; x&lt; 0 \\ <br /> \frac{x}{\sqrt{25-x^{2}}},&amp;0\leq x&lt; 5 <br /> \end{Bmatrix}

Substituting the denominators in y' by the corresponding expression defined by y, I get back exactly y&#039;=-\frac{x}{y} for the two pieces of interval.

To me it should be a solution...

Thank you very much.

EDIT:
The question comes from here (#26):
http://books.google.ca/books?id=qh1...ifferential equation on the interval"&f=false
 
Last edited:
Physics news on Phys.org
Well, a solution has to be differentiable at the segment... This function isn't even continuous...
 
Hmm I don't really understand... I went back to read the definition of a solution and it said:

Any function F defined on an interval I and possessing at least n derivatives that are continuous on I, which when substitued back into an n-th order ODE reduces the equation to an identity, is said to be a solution of the equation on the interval

So, from what I understand, if F is a solution then its n derivatives must be continuous on I.

y&#039;=\begin{Bmatrix}<br /> \frac{-x}{\sqrt{25-x^{2}}}, &amp; -5&lt; x&lt; 0 \\ <br /> \frac{x}{\sqrt{25-x^{2}}},&amp;0\leq x&lt; 5 <br /> \end{Bmatrix}

is continuous on I since lim as x goes to 0 of y' is 0 in both pieces.
 
Last edited:
What's the derivative at x=0? Hint: It's not 0.
 
vela said:
What's the derivative at x=0? Hint: It's not 0.

Why not? I would have said 0... x/sqrt(25-x^2) = 0/sqrt(25) = 0...
 
Try plotting the function. You'll see why.
 
vela said:
Try plotting the function. You'll see why.

Here is the plot: http://img856.imageshack.us/img856/5156/function2h.th.jpg

Intuitively I would have said that the derivative at x=0 is 0 since as x goes to 0 both pieces have a slope of 0 by looking at the graph.

However, now I remember that by definition a function must be continuous to be differentiable. I don't really understand why though.

Consider y=x^2 which we break in two at x=0 and move one part 5 units up:http://img40.imageshack.us/img40/2070/function1.th.jpg

Even though it has a discontinuity, it don't see how the derivative is affected by this modification... it is still 2x on all of the interval, even 0...
 
Last edited by a moderator:
For both functions, the slope approaches 0 near the origin, but it's undefined at the origin. Go back to the definition of the derivative:
f&#039;(x_0) = \lim_{h \to 0} \frac{f(x_0+h)-f(x_0)}{h}
For that limit to exist, the left-handed and right-handed limits have to agree, but one of them diverges.
 
fishingspree2 said:
However, now I remember that by definition a function must be continuous to be differentiable. I don't really understand why though.

Here's why. If f is differentiable at x0 then
\lim_{h\rightarrow 0}\frac{f(x_0+h)-f(x_0)}{h}=f&#039;(x_0)

Intuitively, since h → 0 the only way the fraction can have a limit is if the numerator → 0, which says f is continuous at x0. To prove it rigorously write
\frac{f(x_0+h)-f(x_0)}{h}=f&#039;(x_0)+\left(\frac{f(x_0+h)-f(x_0)}{h}-f&#039;(x_0)\right)<br /> =f&#039;(x_0) + o(h)
where o(h) represents the quantity in parentheses which → 0 as h → 0 since f is differentialbe at x0. Then
f(x_0+h)-f(x_0) = hf&#039;(x_0) + ho(h)

Now if you let h → 0 it tells you that f(x0+h)→ f(x0) as h → 0 so f is continuous at x0.
 
Last edited:
Back
Top