Find all values of the constants a and b for which the following function is differentiable:
\[f(x)= \begin{cases} x^2+4x+1, & x\geq 1 \\ ax+b, & x < 1 \\ \end{cases}\] I understand (I hope not to have misunderstood) that when a function is differentiable at one point, it means that it is continuous at that point as well. And for a function to be a differentiable one at a certain point, its derivative coming from the left must be the same to that coming from the right. So in this case: \[\large{\lim_{x\to 0^-}f’(x) = \lim_{x\rightarrow 0^+} f’(x)}\] \[a= 2x + 4\] \[a= 2(1) + 4\] \[a= 6\] Since the derivative of a constant is zero, does it mean that \(b\) can be any number? Can a function be differentiable but not continuous? Sorry for the silly questions.
You are correct a = 6 and but b must be equal to zero since the value of the function f(x) must be continous
why do you have as x approaches 0?
it should be as x approaches 1
you should have two equations \[\lim_{x \rightarrow 1^-}f(x)=\lim_{x \rightarrow 1^+}f(x) \\ \lim_{x \rightarrow 1^-}f'(x)=\lim_{x \rightarrow 1^+}f'(x) \]
Yep. I made a mistake there |:
the function has to be continuous and smooth to be differentiable
the first equation i wrote was continuity assuming f(1) exists and is equal that limit the second equation i wrote is for smooth
Ah okey, then in order to find the values for which the function is differentiable at that point I must find: 1) Its slope at that point. 2) Go back to find the value of \(b\). In other words, make the slopes equal to each other, right?
@freckles
yep slopes must be equal and both functions must meet
you got "a" correct from insisting the slopes be equal at 1 independent of which side you approach it from. b = 0 comes from making sure the value of f(x) must be the same also as I approach form the left or right
Aaah okey. \(b=0\). That makes sense. That answers my 2nd question too. Thank you both.
np
you are welcome...have a great day!
cool video
:) you may create it using geogebra if you're interested
The gif makes it super clear why it must be 0 (: Thanks @ganeshie8 !!!
np :)
let me give u another gif by fixing b=0 and varying a
Great
note that the value of \(\large a\) affects both continuity and differentiability
I can see it. That's pretty cool.
Was it hard to program geoboard to do that?
or whatever it is called
I mean do you think geo'whatever' is programmer friendly
not at all, its pretty easy freckles... its not even code.. just add a slider and set the range, thats all.. .
let me see if the online version allows exporting gif
looks fun i might have to look more into that and check out the pricing also i have no programming skills
its 100% free
1) click this link http://web.geogebra.org/app/# 2) click "Algebra" 3) enter below command in input bar : `y=If[x<1,6x+b,x^2+4x+1]` 4) click somewhere on the grid on right side
yea
that's neatness thanks
but the online version doesn't seem to have Export->gif option, you will have to download it to create gifs i think... do u use windows ?
Yes
here is the path to direct exe file http://download.geogebra.org/installers/?os=win
i got it
installing the virus now
i mean geo'whatever' thing
lol i have been using it like forever its very user friendly and you will love it once u get use to it
Seems like you can do a lot with it
indeed, there is a 3D version also where u can plot surfaces/planes etc...
the CAS allows to work integrals numerically and many other things, but i use it mostly for graphing equations
for example, you can enter below two commands in input bar : f(x) = x^2 + x g(x) = f'(x)
g(x) shows the graph of derivative of f(x)
Enjoy... !
I will definitely have to play with it to get the hang of it
and thanks ganeshie
Join our real-time social learning platform and learn together with your friends!