Taking the derivative of a function

Click For Summary
SUMMARY

The discussion focuses on determining the values of a and b in the piecewise function f(x) = { ax^2 + b if x >= 1, 4 - x if x < 1, that ensure the function has a derivative at x = 1. The key findings are that for the function to be continuous at x = 1, the equation a + b = 3 must hold. Additionally, to ensure the derivatives from both sides match, the condition 2a = -1 leads to a = -1/2. Substituting a into the continuity equation yields b = 3.5.

PREREQUISITES
  • Understanding of piecewise functions
  • Knowledge of limits and continuity
  • Familiarity with derivatives and their properties
  • Basic algebra for solving equations
NEXT STEPS
  • Study the concept of continuity in piecewise functions
  • Learn about derivatives of piecewise functions
  • Explore the implications of cusp points on differentiability
  • Practice solving similar problems involving piecewise functions
USEFUL FOR

Students studying calculus, particularly those focusing on derivatives and piecewise functions, as well as educators looking for examples to illustrate these concepts.

ammsa
Messages
4
Reaction score
0

Homework Statement



Consider the function f(x) = { ax^2 + b if x >= 1
4 - x if x<1

for which values of a and b does this function have a derivative at 1?

Homework Equations




The Attempt at a Solution



Can someone explain to me what the question wants? does it ask for the values of a and b that will make the derivative of ax^2 + b equal the derivative of 4 - x ?
I'm so lost
 
Physics news on Phys.org
ammsa said:

Homework Statement



Consider the function f(x) = { ax^2 + b if x >= 1
4 - x if x<1

for which values of a and b does this function have a derivative at 1?

Homework Equations

The Attempt at a Solution



Can someone explain to me what the question wants? does it ask for the values of a and b that will make the derivative of ax^2 + b equal the derivative of 4 - x ?
I'm so lost

you're on the right track.

This is a piecewise function, and in order for there to be a derivative at 1, the values for the derivatives AT 1 have to match from both sides...

imagine a graph of the function. you have probably learned that there will not be a derivative if there is a cusp in the graph. This is because the slope of the graph at an x value (1 for example) isn't the same from the left and the right. You want to "even out" this cusp by making the derivatives the same from both sides.

So you are definitely on the right track. You need to find the values of a and b that will make the derivative of ax^2 + b equal the derivative of 4-x. Just remember to plug in your x value. you also need to ensure the actual values connect on the graph, which is where the selection of the B value comes in (since it will disappear when you take the derivative)
 
Thank you!, I just answered it, i just want to make it sure its correct.

I got the limit as x ---> 1+ of ( ax^2 + b ) = a + b
and then the limit as x ---> 1- of ( 4 - x ) = 3

to make the function continuous, a+b must = 3
------
we get the derivative of ax^2 + b, which is 2ax
and then we get the derivative of 4 -x, which is -1

at x = 1, 2ax must = -1 for the derivative to exist,
therefore 2ax = -1
a = -1/2

we plug in a in ( a + b = 3 )
-1/2 + b = 3
b = 3.5

a = -1/2
b = 3.5
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
1K
Replies
26
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
9
Views
2K
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
22
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K