Finding Values of a & b for Differentiability of f(x)

  • Thread starter Thread starter souldoutt
  • Start date Start date
  • Tags Tags
    Differentiability
souldoutt
Messages
4
Reaction score
0

Homework Statement


Find the values of the constants a and b such that the function f(x) is differentiable on R


Homework Equations


f(x) = ax2 if x < 2

f(x) = -4(x-3) + b if x >= 2


The Attempt at a Solution


ax2 = -4(x-3) + b
2xa = -4x
a = -2


I believe that I need to equate the equations but with a value of a how do I find b and then prove that it's differentiable?
 
Physics news on Phys.org
Welcome to PF!

Hi souldoutt! Welcome to PF! :smile:

(however did you get 2xa = -4x? :confused:)

Hint: the only problem is at x = 2.

So just bung x = 2 in, and check for continuity and differentiability. :smile:
 


I got the 2xa = -4x by differentiating both sides.
But with 2 separate unknown constants, how would i solve for them? I can plug the value x = 2 into the equations but i won't get an answer to confirm whether the second part of the function is actually starting from x = 2.

Then wouldn't I still need to have the constants in order to check whether the slopes of the tangents are the same? (therefore differentiable)?



thanks for the welcome too.
 
souldoutt said:
I got the 2xa = -4x by differentiating both sides.
But with 2 separate unknown constants, how would i solve for them? I can plug the value x = 2 into the equations but i won't get an answer to confirm whether the second part of the function is actually starting from x = 2.

Then wouldn't I still need to have the constants in order to check whether the slopes of the tangents are the same? (therefore differentiable)?

Hi souldoutt! :smile:

For continuity, if you put x = 2, you get f(2) = 4a and = 4 + b,

so your continuity equation is 4a = 4 + b.

And similarly for differentiability you get f'(2) = 4a = -8.

So … ? :smile:
 


souldoutt said:

Homework Statement


Find the values of the constants a and b such that the function f(x) is differentiable on R


Homework Equations


f(x) = ax2 if x < 2

f(x) = -4(x-3) + b if x >= 2


The Attempt at a Solution


ax2 = -4(x-3) + b
2xa = -4x
a = -2
Yes, a must be -2. Now, you put a= -2 and x= 2 in the first equation you have -4= 4+ b. Solve for b.


I believe that I need to equate the equations but with a value of a how do I find b and then prove that it's differentiable?
To prove it is differentiable, with the correct values for a and b, Look at the difference quotient limit.
 


in the first equation you have -4= 4+ b.

It should be -8 instead of -4 right? Because it is ax2 which = -8 when the numbers are plugged in.

Then, once I have the values of a and b the difference quotient limit to check for differentiability is the difference quotient limit of the derivatives correct?
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top