Zulip Chat Archive

Stream: new members

Topic: How do I take the derivative of a rational function?


Junqi Liu (May 19 2024 at 15:13):

For rational function like 1ax\frac{1}{ax}, how to take xx-derivative of it?

Luigi Massacci (May 22 2024 at 11:37):

Have you looked at docs#iteratedFDeriv ?

Luigi Massacci (May 22 2024 at 11:41):

Ah sorry I substituted "nth-derivative" in place of "x-derivative" in my brain, you probably want just docs#deriv then

Vincent Beffara (May 22 2024 at 11:50):

Look at docs#HasDerivAt.inv and docs#hasDerivAt_mul_const for instance

Junqi Liu (May 22 2024 at 13:50):

oh! I'll have a try! But I don't understand how to deal with the condition : HasDerivAt

Luigi Massacci (May 22 2024 at 16:37):

You are probably better off posting a #mwe

Vincent Beffara (May 22 2024 at 20:08):

What do you want to do exactly? If you want to prove that the derivative of 1/ax at x (not zero) exists and is is what it should be, then this will be the statement of your lemma (stated in terms of HasDerivAt) and the proof will involve lemmas like the ones I mentioned or very similar ones. If you want Lean to compute the derivative for you, AFAIK it won't and you will end up being very disappointed ...


Last updated: May 02 2025 at 03:31 UTC