Why is this not a solution to the differential equation

Click For Summary

Homework Help Overview

The discussion revolves around the piecewise-defined function and its relationship to the differential equation \(\frac{dy}{dx}=-\frac{x}{y}\) on the interval (-5,5). Participants are exploring why the function is not considered a solution despite initial calculations suggesting it satisfies the equation.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the continuity and differentiability of the piecewise function, questioning whether it meets the criteria for being a solution to the differential equation. There are attempts to clarify the definitions of solutions and derivatives, with some participants suggesting that the function's lack of continuity at a certain point affects its differentiability.

Discussion Status

The discussion is active, with participants providing insights and questioning the assumptions about continuity and differentiability. Some guidance has been offered regarding the definitions of derivatives and the implications of discontinuity on differentiability, but no consensus has been reached.

Contextual Notes

Participants are grappling with the definitions of continuity and differentiability in the context of piecewise functions, particularly at the point where the function changes definition. The original poster references a source that raises the question of the function's validity as a solution.

fishingspree2
Messages
138
Reaction score
0

Homework Statement


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

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

Substituting the denominators in y' by the corresponding expression defined by y, I get back exactly [itex]y'=-\frac{x}{y}[/itex] 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.

[itex]y'=\begin{Bmatrix}<br /> \frac{-x}{\sqrt{25-x^{2}}}, & -5< x< 0 \\ <br /> \frac{x}{\sqrt{25-x^{2}}},&0\leq x< 5 <br /> \end{Bmatrix}[/itex]

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:
[tex]f'(x_0) = \lim_{h \to 0} \frac{f(x_0+h)-f(x_0)}{h}[/tex]
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
[tex]\lim_{h\rightarrow 0}\frac{f(x_0+h)-f(x_0)}{h}=f'(x_0)[/tex]

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
[tex]\frac{f(x_0+h)-f(x_0)}{h}=f'(x_0)+\left(\frac{f(x_0+h)-f(x_0)}{h}-f'(x_0)\right)<br /> =f'(x_0) + o(h)[/tex]
where o(h) represents the quantity in parentheses which → 0 as h → 0 since f is differentialbe at x0. Then
[tex]f(x_0+h)-f(x_0) = hf'(x_0) + ho(h)[/tex]

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:

Similar threads

Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K