Problem with this function continuity and differentiation

Click For Summary

Homework Help Overview

The discussion revolves around the continuity and differentiability of piecewise functions defined by linear and trigonometric or exponential components. Participants are tasked with finding values for parameters a and b that ensure these functions are continuous and differentiable at x=0.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants explore the limits of the functions as x approaches 0 from both sides to determine continuity and differentiability.
  • Some participants question the validity of their approaches, particularly regarding the limit of sin(h)/h and its implications for differentiability.
  • There is discussion about matching slopes of the linear function to the derivative of sin(x) at x=0.
  • Confusion arises regarding the correct values of a and b for both functions, especially in part b, leading to differing interpretations of the problem.

Discussion Status

The conversation reflects ongoing attempts to clarify the conditions for continuity and differentiability. Some participants have suggested values for a and b based on their reasoning, while others express uncertainty and seek further clarification on the limits and derivatives involved.

Contextual Notes

Participants note discrepancies between their findings and an answer key, indicating potential misunderstandings or errors in their calculations. There is also mention of the need to use difference quotients and the implications of undefined terms in their approaches.

charmedbeauty
Messages
266
Reaction score
0

Homework Statement



Suppose that a and b are real numbers. Find all values of a and b (if any) such that the functions f and g, given by

a) f(x)={ax+b if x<0 and sin(x) if x≥0}

b) g(x)={ax+b if x<0 and e2x if x≥0}

are (i) continuous at 0 and (ii) differentiable at 0



Homework Equations






The Attempt at a Solution



So for a) f(x)={ax+b if x<0 and sin(x) if x≥0}

as the lim→0+

then sin(0) =0

as the lim →0-

then a(0)+b=b

so hence only when b=0 is the function continuous at 0.

for a) (ii)

do I just use the limit definition

ie,

lim h→0+ = limh→0-

so lim h→0+ (f sin(x+h)-f(sinx)) / h = lim h→0- (f(a(x+h)+b)-f(ax+b))/ h

lim h→0+ sin h / h= sin 0/0 =0 and lim h→0- = a.

so it is only differentiable at 0 when a=0

But the answer says when a=1 and b=0 for a) (ii)

Please help!
 
Physics news on Phys.org
charmedbeauty said:

Homework Statement



Suppose that a and b are real numbers. Find all values of a and b (if any) such that the functions f and g, given by

a) f(x)={ax+b if x<0 and sin(x) if x≥0}

b) g(x)={ax+b if x<0 and e2x if x≥0}

are (i) continuous at 0 and (ii) differentiable at 0



Homework Equations






The Attempt at a Solution



So for a) f(x)={ax+b if x<0 and sin(x) if x≥0}

as the lim→0+

then sin(0) =0

as the lim →0-

then a(0)+b=b

so hence only when b=0 is the function continuous at 0.

for a) (ii)

do I just use the limit definition

ie,

lim h→0+ = limh→0-

so lim h→0+ (f sin(x+h)-f(sinx)) / h = lim h→0- (f(a(x+h)+b)-f(ax+b))/ h

lim h→0+ sin h / h= sin 0/0 =0 and lim h→0- = a.

so it is only differentiable at 0 when a=0

But the answer says when a=1 and b=0 for a) (ii)

Please help!

The derivative of sin(x) at x=0 isn't 0. limit h->0 sin(h)/h isn't 0. sin(0)/0 isn't 0 either. It's undefined.
 
Dick said:
The derivative of sin(x) at x=0 isn't 0. limit h->0 sin(h)/h isn't 0. sin(0)/0 isn't 0 either. It's undefined.

Am I using the wrong approach then?

What happens if these terms are undefined, does the formula not work?
 
charmedbeauty said:
Am I using the wrong approach then?

What happens if these terms are undefined, does the formula not work?

limit h->0 sin(h)/h is defined. It's just not 0. You don't have any idea what it might be? Try experimenting with a calculator. You really should know what it is. Hopefully the experiment will remind you.
 
To make f(x) differentiable at x=0 (or in other words, so that the graph doesn't have a corner), ax+b must have the same slope as the derivative of sinx has at x=0, which would be...?
 
Dick said:
limit h->0 sin(h)/h is defined. It's just not 0. You don't have any idea what it might be? Try experimenting with a calculator. You really should know what it is. Hopefully the experiment will remind you.

ohh right its 1, silly me.
 
Bohrok said:
To make f(x) differentiable at x=0 (or in other words, so that the graph doesn't have a corner), ax+b must have the same slope as the derivative of sinx has at x=0, which would be...?

Ok so a=1 and b=0.

But for part b) (ii)

I have the limit from 0- =a from part a)
and the lim h-->0+

= f(e2(x+h))-f(e2x) / h

= e2x +e2h-e2x / h

= 1/0 ??

but the answer says a=2 and b=-1??

what am I doing wrong now?
 
charmedbeauty said:
Ok so a=1 and b=0.

But for part b) (ii)

I have the limit from 0- =a from part a)
and the lim h-->0+

= f(e2(x+h))-f(e2x) / h

= e2x +e2h-e2x / h

= 1/0 ??

but the answer says a=2 and b=-1??

what am I doing wrong now?

Do you have to everything with difference quotients? You aren't very good at it. If f(x)=e^(2x), f(0)=1 and f'(0)=2. Can't you do it by just differentiating using the chain rule?
 
Last edited:
Dick said:
Do you have to everything with difference quotients? You aren't very good at it. If f(x)=e^(2x), f(0)=1 and f'(0)=2. Can't you do it by just differentiating using the chain rule?

yeah I guess so
But what am I differentiating exactly??

because I am confused with b=-1

f(0) for the other function =+b
f'(0) = a

DO you have to match these up, because I would say that a=2 and b=1, not -1?
Im confused?
 
  • #10
charmedbeauty said:
yeah I guess so
But what am I differentiating exactly??

because I am confused with b=-1

f(0) for the other function =+b
f'(0) = a

DO you have to match these up, because I would say that a=2 and b=1, not -1?
Im confused?

I would say a=2 and b=1 as well. There may be an error in your answer key.
 
  • #11
Dick said:
I would say a=2 and b=1 as well. There may be an error in your answer key.

ok thanks dick!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
26
Views
3K
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K