Diffrentiating Piecewise Function

In summary: Both are continuous functions. In summary, the hint given by the professor is relevant because proving by contradiction with epsilon = 1/2 shows that there is a discontinuity at x = 0, despite the function being continuous at all other points in its domain. The piecewise function allows for the function to be continuous at x = 0, but not differentiable, which is necessary for a function to be continuous. The simple proof given does not take into account the possibility of a function being continuous but not differentiable at a specific point.
  • #1
RPierre
10
0

Homework Statement


Let [tex] L\in R [/tex] and define

[tex]
h(x) = \begin{cases} sin(1/x) & \text{ if } x \neq 0 \\ L & \text{ if } x = 0 \end{cases}
[/tex]

Prove that h is not continuous at 0

Homework Equations



My Professor gave us the hint "Prove by contradiction, taking [tex] \epsilon = 1/2 [/tex]"


The Attempt at a Solution



I didn't see how this hint was relevant, but it seems too easy. All I did was say since a function is continuous at a point if it is differentiable at that point, then take 0. then h(x) = L and by first principles

lim h->0 f(x +h) - f(x) / h = L/0 which does not exist, and therefore the function is not continuous.

Why would he give that hint, and the piecewise function, when it could be proven so simply? Thanks in advance.
 
Physics news on Phys.org
  • #2
You are correct that differentiability implies continuity, but the converse is false. Lack of differentiability does not imply lack of continuity, consider |x| which is continuous when x=0 dispite failing to be differentiable. For continuity consider the family of punctured disks (-n pi,n pi)\0 where n is a positive integer.
 
Last edited:
  • #3
Note that sin(1/x)= 1 for [itex]x= 1/(2n\pi)[/itex] for any integer n and that sin(1/x)= -1 for [itex]x= 1/((2n+1)\pi)[/itex] for any integer n.
 

FAQ: Diffrentiating Piecewise Function

What is a piecewise function?

A piecewise function is a type of mathematical function that is defined by multiple sub-functions, each of which applies to a different interval of the function's domain. This allows for a more complex function to be broken down into simpler components.

How is a piecewise function different from a regular function?

A regular function is defined by a single equation that applies to the entire domain. In contrast, a piecewise function has different equations for different intervals of the domain, allowing for more flexibility and complexity in the function's behavior.

How do you graph a piecewise function?

To graph a piecewise function, you need to plot the points of each sub-function on their respective intervals and then connect them with lines. It is important to pay attention to the domain and range of each sub-function to ensure the graph is accurate.

What is the purpose of using a piecewise function?

Piecewise functions are often used in real-world applications where the behavior of a function changes depending on different factors. For example, a piecewise function could be used to model the cost of a product that has different prices for different quantities.

How do you find the domain and range of a piecewise function?

To find the domain of a piecewise function, you need to determine the values of x that are included in each interval of the function. The range can be found by evaluating the function for each interval and determining the corresponding y-values.

Back
Top