Piecewise function - Find derivative at 3

In summary: Part A is something like this:ax+ba(3)+b = 0==>b=-3a-2f(x) = x^2-4x+1f(3) = (3)^2-4(3)+1f'(x) = 2x-4f'(3) = 2(3)-4-2*if x=3, thenf’(x) = a, which must be also = 0thus a=0, hence b=-3a-2 = 3(0)-2 = -2
  • #1
shiri
85
0
In this question, we shall take steps to find the values of a and b , given that the function

f(x)={

x^2−4x+1 if x<=3
ax+b if x>3

is differentiable at 3.

a) It is known that if a function is differentiable at a point c, then it is continuous at c. Using now the continuity of f at 3, we can establish a relationship between a and b. Find this relationship and express it in the form b=Aa+B, where A and B are constants.


b) Assuming that x>3, one can simplify the quotient

f(x) -f(3)
x-(3)

into the form Ca+D, where C and D are constants. Find these constants.

Hint. Don't forget that you can use the result from part (a) to eliminate b from your expression.


(c) Assuming that x<3, one can simplify the quotient

f(x) -f(3)
x-(3)

into the form Ex+F, where E and F are constants. Find these constants.


(d) Using the results of parts (a), (b) and (c), find the values of a and b.


Answers:
I got part:

a)
A=0
B=-2

b)
C=1
D=1

c)
E=1
F=-1

d)
a=-2/3
b=0


However, I couldn't get correct answers on "A" from part a) and "a" and "b" from part d). Can anybody tell me what I did wrong?
 
Last edited:
Physics news on Phys.org
  • #2


showing your working will help find where you went wrong
 
  • #3


lanedance said:
showing your working will help find where you went wrong

Part A is something like this:

ax+b
a(3)+b = 0

==>b = -3a - 2

f(x) = x^2-4x+1
f(3) = (3)^2-4(3)+1 = -2*

f'(x) = 2x-4
f'(3) = 2(3)-4-2* = 0

if x=3, then
f’(x) = a, which must be also = 0
thus a=0, hence b=-3a-2 = 3(0)-2 = -2

So, what did I do wrong here?
 
  • #4


shiri said:
Part A is something like this:

ax+b
a(3)+b = 0

==>b = -3a - 2

f(x) = x^2-4x+1
f(3) = (3)^2-4(3)+1 = -2*

f'(x) = 2x-4
The next line is wrong. Why are you subtracting 2? What is the significance of the asterisk?
shiri said:
f'(3) = 2(3)-4-2* = 0

if x=3, then
f’(x) = a, which must be also = 0
thus a=0, hence b=-3a-2 = 3(0)-2 = -2

So, what did I do wrong here?
 

Related to Piecewise function - Find derivative at 3

1. What is a piecewise function?

A piecewise function is a mathematical function that is defined by different expressions for different intervals of its domain. This means that the function may have different rules for different parts of its input.

2. How do you find the derivative of a piecewise function?

To find the derivative of a piecewise function, you need to first determine the rule for each interval of the function's domain. Then, you can take the derivative of each rule separately and combine them to get the derivative of the entire function.

3. What does it mean to find the derivative at a specific point?

Finding the derivative at a specific point means determining the slope of the tangent line to the function at that point. This can help us understand the rate of change of the function at that point.

4. What information does finding the derivative at 3 tell us about the function?

Finding the derivative at 3 tells us the slope of the tangent line to the function at the point x=3. This can give us insight into the behavior of the function at that point and help us make predictions about its behavior in the surrounding area.

5. Can a piecewise function have a continuous derivative?

Yes, a piecewise function can have a continuous derivative if the rules for each interval are differentiable and the derivatives match at the points where the intervals meet. In other words, the function is smooth and has no sharp turns or corners at the points of transition between intervals.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
160
  • Calculus and Beyond Homework Help
Replies
3
Views
219
  • Calculus and Beyond Homework Help
Replies
12
Views
329
  • Calculus and Beyond Homework Help
Replies
2
Views
269
  • Calculus and Beyond Homework Help
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
829
  • Calculus and Beyond Homework Help
Replies
1
Views
412
  • Calculus and Beyond Homework Help
Replies
2
Views
820
  • Calculus and Beyond Homework Help
Replies
19
Views
224
Back
Top