Continous and differentiable function

In summary: So what do you think about the step function?In summary, the conversation discusses the continuity and differentiability of a function composed of two polynomial functions. The participants consider the points where the two functions are joined and discuss how to check for continuity and differentiability at those points. They also discuss the importance of showing that the two functions are equal at these points. The conversation ends with the participants discussing the concept of smoothness and how it relates to the function in question.
  • #1
jaus tail
615
48

Homework Statement


upload_2018-1-5_14-12-6.png


Homework Equations


All polynomial functions are continuous so the function is continuous everywhere.
For differnetiable we differentiate the polynomial. But how to do this?

The Attempt at a Solution


I only removed option A as polynomial functions are always continuous. How to check for differentiable here? In solved examples the function is 1 function and not max or min.
 

Attachments

  • upload_2018-1-5_14-12-6.png
    upload_2018-1-5_14-12-6.png
    3.6 KB · Views: 794
Physics news on Phys.org
  • #2
Polynomials are also differentiable. The point is, this isn't a polynomial function, it is composed of polynomial functions. So you have to consider the points at which one function is clued to the other function: Is there a step (gap)? Is it continuous at those points? Is it differentiable there, and why or why not?
 
  • Like
Likes jaus tail
  • #3
Consider the equation ##1-x=x^2-1## , the roots are the points where the function changes from one polynomial to the other. In between the roots which polynomial is bigger? So after you answer that, just check for continuity and differentiability at those points by computing the left and right limits and the left and right derivatives.
 
  • Like
Likes jaus tail
  • #4
Sketch it! Sketch f = (x - 1) and f = (x2 - 1) and on top make the actual given function bold. You might have some trouble formalising a proof argument, but at least you won’t have any doubt what the answer is.
 
  • Like
Likes jaus tail
  • #5
If I take 1-x = x2 - 1 Roots of this equation are -2 and 1
For x = -2
1 - x = 1 + 2 = 3
x2 - 1 = 4 - 1 = 3

For x = 1
1-x = 0
x2 - 1 = 0

Between roots. So I take point x = -1
Now:
1 - x = 1 + 1 = 2
x2 - 1 = 1 - 1 = 0
So 1 - x is bigger.

Plotting graph i get this:
upload_2018-1-5_15-16-24.png

Now what to do? I don't even understand the options.
 

Attachments

  • upload_2018-1-5_15-15-18.png
    upload_2018-1-5_15-15-18.png
    3.9 KB · Views: 462
  • upload_2018-1-5_15-16-24.png
    upload_2018-1-5_15-16-24.png
    4.5 KB · Views: 432
  • Like
Likes Delta2
  • #6
It looks continuous everywhere. and even differnetiating is easy. 1 - x derivative is -1, and x^2 - 1 derivative is 2x.
I get option B but answer option is C.
 
  • #7
By ‘on top’ I meant overlaying. Just the first two curves, and then the parts of them that corresponds to your function you make more bold, thicker.
 
  • Like
Likes jaus tail
  • #8
Let ##f(x)=1-x\, , \,g(x)=x^2-1\; , \;m(x)=max\{f(x),g(x)\}##. It's better to have different names, not just ##f##.
jaus tail said:
It looks continuous everywhere...
Yes. No gaps or anything. Formally you have to show that ##f(-2)=g(-2)## and ##f(1)=g(1)##. The other areas are polynomials, so they are both, continuous and differentiable there, as you mentioned:
... and even differnetiating is easy. 1 - x derivative is -1, and x^2 - 1 derivative is 2x.
Before you draw conclusions, what happens at ##x=-2## and at ##x=1\,?## Gaps? Vertices? And what does this mean?
I get option B but answer option is C.
 
  • Like
Likes jaus tail
  • #9
It is continuous everywhere. But at x=-2 the right derivative is -1 but the left derivative is 2x=-4. At x=1 the left derivative is -1 but the right derivative is 2x=2.
 
  • Like
Likes jaus tail
  • #10
Delta² said:
It is continuous everywhere. But at x=-2 the right derivative is -1 but the left derivative is 2x=-4. At x=1 the left derivative is -1 but the right derivative is 2x=2.
Yeah makes sense.
 
  • #11
fresh_42 said:
Let ##f(x)=1-x\, , \,g(x)=x^2-1\; , \;m(x)=max\{f(x),g(x)\}##. It's better to have different names, not just ##f##.
Yes. No gaps or anything. Formally you have to show that ##f(-2)=g(-2)## and ##f(1)=g(1)##. The other areas are polynomials, so they are both, continuous and differentiable there, as you mentioned:
Before you draw conclusions, what happens at ##x=-2## and at ##x=1\,?## Gaps? Vertices? And what does this mean?

To be honest I said it's continuous everywhere cause it looks so in graph. I didn't really understand what it means. I mean i know that if a function has sharp turns then it's discontiuous. But what do gaps mean here?
upload_2018-1-5_15-39-34.png

Of the three functions above, only blue one is continuous right?
What about yellow one? It's y = mod x
 

Attachments

  • upload_2018-1-5_15-38-25.png
    upload_2018-1-5_15-38-25.png
    3 KB · Views: 491
  • upload_2018-1-5_15-39-34.png
    upload_2018-1-5_15-39-34.png
    3.6 KB · Views: 420
  • #12
No you are confusing differentiability and continuity. If the graph looks connected (i.e. we can draw it without lifting up our pencil), it is continuous. If in a point, there is a sharp turn, it is not differentiable in that point.
 
  • Like
Likes Delta2 and jaus tail
  • #13
The thumb rule is: if you can draw it without lifting the pencil, then it's continuous. (Of course there are pathological functions where this is not true, but here it is.) I recommend to look up the formal definition of what continuity means, e.g. on Wikipedia. Then you should try to formally prove continuity of ##m(x)## at e.g. ##x=-2##.

The thumb rule for differentiability is to call it smooth. (This is not really correct, as smooth normally means infinitely often differentiable, and differentiable means only once.) Vertices and sharp turns are NOT smooth, because direction changes from one moment to the other with no in-between. Again, you should look up differentiability and try to prove, that ##m(x)## is NOT differentiable at, e.g. ##x=-2##. @Delta² basically already gave you the answer, but I think you should look it up, e.g. on Wikipedia.
 
  • Like
Likes jaus tail
  • #14
Thanks. till now I thought step function is not continuous as at t = 0 there is abrupt rise. thanks for clarifying it. will look up in google for examples.
 
  • #15
jaus tail said:
Thanks. till now I thought step function is not continuous as at t = 0 there is abrupt rise. thanks for clarifying it. will look up in google for examples.

You are right that the step function is NOT continuous. You have to be careful about 'drawing without lifting the pencil'. The graph of the step function does not have vertical lines in it. Functions in general don't. Do you see why?
 
  • Like
Likes jaus tail
  • #16
Dick said:
You are right that the step function is NOT continuous. You have to be careful about 'drawing without lifting the pencil'. The graph of the step function does not have vertical lines in it. Functions in general don't. Do you see why?
Cause functions have slope. step function has zero slope but at t = 0, it has infinite slope.
 
  • #17
jaus tail said:
Cause functions have slope. step function has zero slope but at t = 0, it has infinite slope.

Sort of. But it's not so much about slope. Functions can only have one y-value corresponding to any value of x. So vertical lines are out.
 
  • Like
Likes jaus tail
  • #18
Okay so this clears up continuous that the line must be smooth and have unique y values. And for differentiability the left and right side values must be same, right?
But then a sine wave, at 90 degrees has different slopes on both sides. It has positive slope on left side and negative slope on right side?
So shouldn't sin (theta) be non differentiable at theta = 90 degrees?
 
  • #19
jaus tail said:
But then a sine wave, at 90 degrees has different slopes on both sides.
Why that? It has different slopes on each side, positive and negative and zero in the middle. So it is a continuous move from decreasing positive values, to zero, to increasing negative values. The limits from the left and from the right are the same, namely ##0##. Both continuity and differentiability are limit processes.
It has positive slope on left side and negative slope on right side?
So shouldn't sin (theta) be non differentiable at theta = 90 degrees?

Edit: To be more exact: they are local properties, i.e. they have to hold in small neighborhoods of a point.
 
  • Like
Likes jaus tail
  • #20
But then in post#9 the derivatives also are different. Even for sine wave the derivatives are different. ??
 
  • #21
jaus tail said:
But then in post#9 the derivatives also are different. Even for sine wave the derivatives are different. ??
There is a difference: We have ##\lim_{x \to -2 -0} m'(x) = \lim_{x \to -2 -0} g'(x)= -4 \neq -1 = \lim_{x \to -2 +0} f'(x) = \lim_{x \to -2 + 0} m'(x)## whereas ##\lim_{x \to 90° -0 } (\sin)' x = \lim_{x \to 90° -0 } \cos x= 0 = 0=\lim_{x \to 90° +0 } \cos x= \lim_{x \to 90° +0 } (\sin)' x## so there is no difference in the approach from the left or from the right on the sine function. However, it makes a difference whether you come from the left or from the right on the given maximum function ##m(x)##.
 
  • Like
Likes jaus tail and Delta2
  • #22
The orange and blue parts of your #5 you just needed to bold the parts of them that correspond to the definition of f(x) in the first line of your question. Plus maybe some labels on coordinate axes for some significant points.

Congratulations on using some app or or or other that gives clear pictures instead of the usual dark yellow-grey upsidedown homework submissions!
 
  • Like
Likes jaus tail and member 587159
  • #23
Okay got it. the derivative must be unique and must exist for function to be differentiable. And for continuous we just limits to be same on left side and right side.
 
  • #24
I didn't use app. I used paint software. Actually i have an exam in 10 feb on electrical engineering. I'm giving practice tests for that.
 

FAQ: Continous and differentiable function

1. What is a continuous function?

A continuous function is one where there are no sudden jumps or breaks in the graph. This means that the function is defined at every point on its domain and there are no holes or gaps in the graph.

2. How is continuity defined in terms of limits?

A function is continuous at a point if the limit of the function at that point exists and is equal to the value of the function at that point. In other words, the left and right hand limits of the function must be equal to each other and to the value of the function at that point.

3. What is differentiability?

A function is differentiable if the derivative of the function exists at every point on its domain. This means that the function is smooth and has a well-defined slope at every point on its graph.

4. How is differentiability related to continuity?

A differentiable function must also be continuous, but a continuous function is not necessarily differentiable. This means that if a function is differentiable, it is also continuous, but a continuous function may or may not be differentiable.

5. What is the difference between continuity and differentiability?

Continuity is a property of a function that ensures there are no sudden jumps or breaks in the graph. Differentiability, on the other hand, refers to the smoothness of a function and the existence of its derivative at every point on its domain. In simpler terms, a continuous function can have sharp turns, but a differentiable function cannot have sharp turns.

Back
Top