Coder Social home page Coder Social logo

visual_proof_of_chain_rule's Introduction

visual_proof_of_chain_rule

A Visual Proof of Calculus Chain Rule Using Python with matplotlib

The Proof:

The tangent of composite function is the composite of the tanget function of each function.

The projection of the tangent of the 3D curve is the tangent of the projection of the 3D curve.

Adding of one more variable corresponds to adding of one more dimension.

Example:

Find the derivative of y with respect to x:

Alt text

Alt text

Alt text

Projection on x-u plane

Alt text

Projection on u-y plane

Alt text

Projection on x-y plane

Alt text

Some discuessions on the meaning of Differentials:

Differential and Derivative Operators are different:

differential of x:

dx

differential of y:

dy

differential of dy i.e. d(dy):

Alt text

differential of y divided by differential of x:

Alt text

1st derivative of y with respect to x:

Alt text

2nd derivative of y with respect to x:

Alt text but a lot of literature will write it like this Alt text. Which shouldn't be treated as fraction of Alt text over Alt text

What they are not:

Alt text

Alt text

Alt text

Alt text

Alt text

Some existing explanations:

  1. dx is infinitesimal of Δx or very tiny tiny Δx or a number who's absolute value is smaller then all positive real number but not equal to 0. (Somebody make this rigious by inventing standard analysis.) Refer to this youtube video on how the word "small" is defined in mathematics. Differential of a function and its geometrical meaning.
  2. Some define dy as linear approximation of Δy. It can be proved that dy = f'(x) Δx. Following this definition, dx = Δx. That means you have to define x as independent variable and y as dependent variable. That means linear approximation is the tangent line. The tangent line at a point on a curve is the same no matter you treat x or y as dependent variable. But people using this definition usually don't explicity indicate which variable is independent and just imply it by context. And furthermore they will define Alt text = 0 as they define dx (=Δx) as constant. So that dy is dependent both on independent variable x and constant dx.
  3. Some say they are symbolic(?).

My explanation:

dx and dy can be defined as the 'Δx' and 'Δy' of the tangent line. dx is not necessarily equal to Δx, they are independent. dx and dy can take large value (but usually we are interested in the case when they take small value). This can be extended to multi variable function as dx, dy, dz... are the 'Δx', 'Δy', 'Δz'... of the linear approximation function. (e.g. for single variable function, the linear approximation function is the tangent line equation. For two variable function, it is the tangent plane equation.) In 1) dx and dy is treated as fundamental concept and slope as derived concept. Here slope is treated as fundamental concept and dx and dy as derived concept.

Futher Readings:

Putting Differentials Back into Calculus

Extending the Algebraic Manipulability of Differentials

微积分核心概念的无矛盾表述

Infinitesimals, Imaginaries, Ideals, and Fictions

What does dx mean by itself? - Week 9 - Lecture 5 - Mooculus

What are dx and dy of dy/dx? IS dx very small?

Nonstandard analysis

Criticism of nonstandard analysis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.