Jump to content

Calculus Challenge


joigus

Recommended Posts

Differentiate:

\[ f\left(x\right)=\log_{x}\left(\sin x\right) \]

Solution:

Spoiler

\[ y=\log_{x}\left(\sin x\right) \]

\[ x^{y}=\sin x \]

\[ e^{y\ln x}=\sin x \]

\[ e^{y\ln x}\left(y'\ln x+\frac{y}{x}\right)=\cos x \]

\[ y'\ln x+\frac{y}{x}=e^{-y\ln x}\cos x \]

\[ y'\ln x=e^{-y\ln x}\cos x-\frac{y}{x} \]

\[ y'=\frac{1}{\ln x}\left(e^{-y\ln x}\cos x-\frac{y}{x}\right) \]

\[ y'=\frac{1}{\ln x}\left(e^{-\ln x\log_{x}\left(\sin x\right)}\cos x-\frac{\log_{x}\left(\sin x\right)}{x}\right) \]

Simplifications:

\[ e^{-\ln x\log_{x}\left(\sin x\right)}=\left(e^{\ln x}\right)^{-\log_{x}\left(\sin x\right)}=x^{-\log_{x}\left(\sin x\right)}=\frac{1}{x^{\log_{x}\left(\sin x\right)}}=\frac{1}{\sin x} \]

With all this,

\[ y'=\frac{1}{\ln x}\left(\cot x-\frac{\log_{x}\left(\sin x\right)}{x}\right) \]

I hope I didn't make any silly mistake. If you find any other fun way to solve it, please let me know.

Link to comment
Share on other sites

A final embelishment:

Spoiler

Change of base for logs:

\[ \log_{x}b=\frac{\log_{a'}b}{\log_{a'}x} \]

Final (simplified) answer in terms of elementary functions:

\[ y'=\frac{1}{\ln x}\left(\cot x-\frac{\ln\left(\sin x\right)}{x\ln x}\right) \]

 

Link to comment
Share on other sites

  • 2 weeks later...
On 8/30/2022 at 3:18 AM, joigus said:

I hope I didn't make any silly mistake.

Same goes for me here:

Spoiler

svg.image?x^{y}=sin(x)

svg.image?e^{ylnx}=sin(x)

svg.image?b^{y}=x : svg.image?e^{ylnx}=sin(x)

svg.image?y=log_{b}x  :  svg.image?log_{x}sin(x)ln(x)=lnsin(x)

also from change of base: svg.image?log_{x}sin(x)=\frac{lnsin(x)}{ln(x)} so logxsin(x)*ln(x)=ln(sinx)
f(x)=ax=(elna)x=exlna
f'(x)=exlna(lna)=axlna

d/dx(elnsin(x))=elnsin(x)(ln(sinx))

whereas you go towards eyln(x)(y'lnx + y/x)
I think the y/x term then contributes to a wrong result?...

[edit] but, looking at what I've got now
lnsin(x)lnsin(x)=cosx  divide both sides by lnx to recover

elnsin(x)y=cos(x)/ln(x)

y=cos(x)/ln(x)*elnsin(x) = cos(x)/ln(x)*sin(x) = cot(x)/ln(x) and I'm not sure that's going in the right direction...

Trying to solve:

Spoiler

apply quotient rule to find y'= svg.image?\frac{-csc^{2}(x)ln(x)-cot(x)(\frac{1}{x})}{ln^{2}(x)}

 

Edited by NTuft
Link to comment
Share on other sites

lnsin(x)lnsin(x)=cosx  divide both sides by lnx to recover y

elnsin(x)y=cos(x)/ln(x)

(since elnsin(x)=sin(x))

(sin(x)/ln(x))y=cos(x)/ln(x), times both sides by ln(x)/sin(x) and

y=cot(x) which is wrong.

back to prior try, I think chain rule gets towards it but I don't quite have it and I'll spare any spoilers.

 

Link to comment
Share on other sites

11 minutes ago, NTuft said:

back to prior try, I think chain rule gets towards it but I don't quite have it and I'll spare any spoilers.

You're on the right track. You may be just a sign/and a power off? I don't have the time to check it now, but you got the main 2 ideas for solving it.

Yes, please don't spoil the fun in case people want to give it a try. :) 

It's not a standard derivation technique because the function is so weird, but I'm sure someone's solved it somewhere else.

Link to comment
Share on other sites

If the c.o.b. I made is valid Wolfram Alpha does not agree with answer. Please demonstrate in maths or words you are boss over Wolfram Alpha, I believe it. Still potential problem with y/x term's appearance but I do not conclude you are wrong. I want to boss Wolfram Alpha around, but I need @Sensei or grasshopper to write computer code for it.

Thanks

Link to comment
Share on other sites

7 hours ago, NTuft said:

If the c.o.b. I made is valid Wolfram Alpha does not agree with answer. Please demonstrate in maths or words you are boss over Wolfram Alpha, I believe it. Still potential problem with y/x term's appearance but I do not conclude you are wrong. I want to boss Wolfram Alpha around, but I need @Sensei or grasshopper to write computer code for it.

Thanks

I just asked WA, and totally agrees with my calculation. I can PM you solution from "Fram" if you want.

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.