Ask your own question, for FREE!
Mathematics 10 Online
OpenStudy (anonymous):

Help with a differentiable function problem? Will medal!

OpenStudy (anonymous):

\[f(x)=asin(x)+b\] where x<=2pi \[f(x)=x²-pix+2\] where x>2pi What are values a and b that f(x) is differentiable?

OpenStudy (anonymous):

That is supposed to be x^2 - pi(x) +2 in the second equation

OpenStudy (anonymous):

@jim_thompson5910 any chance you could help?

jimthompson5910 (jim_thompson5910):

what do you get when you differentiate each function?

OpenStudy (anonymous):

acosx and 2x-pi

jimthompson5910 (jim_thompson5910):

plug x = 2pi into each derivative function and then set the two equal to one another, and solve for a

jimthompson5910 (jim_thompson5910):

I'm going to do a bit of notation change

jimthompson5910 (jim_thompson5910):

Let g(x) = a*sin(x) + b h(x) = x^2 - pi*x + 2

OpenStudy (anonymous):

That makes so much sense! And that isn't a problem that only one really touches 2pi?

jimthompson5910 (jim_thompson5910):

Now let f(x) be the piecewise function composed of g(x) and h(x) (based on the restrictions above)

jimthompson5910 (jim_thompson5910):

if f(x) is differentiable, then it has to be continuous so that means g(2pi) = h(2pi) has to be true since this is the only possible discontinuity (the junction where they join)

jimthompson5910 (jim_thompson5910):

also if f(x) is differentiable, then g ' (2pi) = h ' (2pi) also has to be true

OpenStudy (anonymous):

Oh, of course! so because f(x) is differentiable, the derivatives will have the same slope at the point which allows me just to substitute and solve?

OpenStudy (anonymous):

Would I then get b based off of the y-value of h(x) at x=2pi?

jimthompson5910 (jim_thompson5910):

what do you get for the value of 'a'?

OpenStudy (anonymous):

about 9.4?

jimthompson5910 (jim_thompson5910):

you should have a = 3pi

jimthompson5910 (jim_thompson5910):

so you have it roughly

jimthompson5910 (jim_thompson5910):

g(x) = a*sin(x) + b turns into g(x) = 3pi*sin(x) + b

jimthompson5910 (jim_thompson5910):

we have this now g(x) = 3pi*sin(x) + b h(x) = x^2 - pi*x + 2

OpenStudy (anonymous):

that makes sense

jimthompson5910 (jim_thompson5910):

to find b, you need to plug in x = 2pi into the original g and h, set the two equal to one another, and solve for b

jimthompson5910 (jim_thompson5910):

g(x) = h(x) g(2pi) = h(2pi) 3pi*sin(2pi) + b = (2pi)^2 - pi*2pi + 2 solve for b

OpenStudy (anonymous):

And they will equal each other because they will be the same y value for x=2pi?

jimthompson5910 (jim_thompson5910):

yeah we want to force the two functions to line up and not have a jump discontinuity there

OpenStudy (anonymous):

Wow jim, good understanding of functions, differentiation and trig obvious!

jimthompson5910 (jim_thompson5910):

thanks

OpenStudy (anonymous):

So b= approx. 21.74?

jimthompson5910 (jim_thompson5910):

that looks about right, I'm getting (2pi)^2 - pi*2pi + 2 = 21.7392 which rounds to 21.74

jimthompson5910 (jim_thompson5910):

if you need the exact value of b, then (2pi)^2 - pi*2pi + 2 = 4pi^2 - 2pi^2 + 2 = 2pi^2 + 2

OpenStudy (anonymous):

just curious: is a.sinx = a. dy(sinx)/dx?

OpenStudy (anonymous):

@jim_thompson5910

jimthompson5910 (jim_thompson5910):

what do you mean? you mean differentiating a*sin(x) ?

OpenStudy (anonymous):

yes, just multiplying by constant a jim?

jimthompson5910 (jim_thompson5910):

oh, yeah 'a' is a constant

jimthompson5910 (jim_thompson5910):

so \[\Large \frac{d}{dx}[a*\sin(x)] = a*\frac{d}{dx}[\sin(x)]\]

OpenStudy (anonymous):

and there you go @TSV , that is the rule

OpenStudy (anonymous):

Thank you so much! This all made a lot more sense after walking through some steps. I really appreciate it!

OpenStudy (anonymous):

oh well, @jim_thompson5910 is really good!

jimthompson5910 (jim_thompson5910):

you're welcome

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!