Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: [email protected]
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Unlock the full potential of AI with Building LLMs for Production—our 470+ page guide to mastering LLMs with practical projects and expert insights!

Publication

Derivative of a Function — What Is It?
Latest   Machine Learning

Derivative of a Function — What Is It?

Last Updated on July 25, 2023 by Editorial Team

Author(s): Sujeeth Kumaravel

Originally published on Towards AI.

What is a tangent to a function f(x) at point x? It is the line that touches the function only at point x. It doesn’t intersect the function at any other point x2, which is different from x.

What is the derivative of a function f(x) at point x? It is the slope of the tangent to the function at that point.

Consider the function:

The graph of this function is:

For any x < 0, the tangent to the function at x would look like:

This tangent has a negative slope. So, the derivative of f(x) at x < 0 is negative.

For any x > 0, the tangent to the function at x would look like:

This tangent has a positive slope. So, the derivative of f(x) at x > 0 is positive.

At x = 0, the tangent to the function coincides with the x-axis as shown below:

This tangent has a slope of 0. So, the derivative of f(x) at x = 0 is zero.

Note that at x = 0, the tangent will not be like the following because, the line intersects the function at 2 points:

The derivative of a function f(x) is mathematically defined as the following limit:

Here h is an infinitesimally small number.

As h approaches 0 from the negative direction (for negative values of h) the following is the value of the limit:

As h approaches 0 from the positive direction (for positive values of h) the following is the value of the limit:

The derivative is denoted as:

These two limits must be equal. That limit value is the derivative.

Here df(x) at x = a is:

Here dx is:

Note that the example taken above is a function that is continuous and smooth at all x. Derivatives of a function exist only at points where it is continuous and smooth and where vertical tangents don’t occur (at points where vertical tangents occur, slope of the tangent is infinity). A derivative is also called differential.

There are points where a function will not have a derivative. The function is not differentiable at such points. We will see such points in a future post.

Signing off now!

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI

Feedback ↓