File:Log.gif

From Vigyanwiki

Log.gif(632 × 472 pixels, file size: 454 KB, MIME type: image/gif, looped, 38 frames, 7.6 s)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: An elementary proof that the area under 1/x satisfies the logarithm rule.
Date
Source Own work
Author Niles Johnson

Animation created with the following SageMath code:

f(x)=1/x
C = plot(f,.4,7,color='black', xmin=0, figsize=6.5)
A2 = plot(f,1,3,fill=True,color='black',fillcolor=hue(.3),figsize=6.5)
o = point((0,0), size=.00001)
B = C+A2+o

def A(s,t,a,b,fillcolor=hue(.6),fillalpha=.5):
    f(x) = s/(t*x)
    Cst = plot(f,.4/t,7/t,color='blue', xmin=0,ymax=2.5)
    Ast = plot(f,a/t,b/t,fill=True,color='blue',fillcolor=fillcolor,fillalpha=fillalpha,xmin=0,ymax=2.5)
    T = text("f(x) = {:.3f}/({:.3f} x)".format(float(s),float(t)),(2,2), fontsize='large')
    T += text("A(1,6) = A(1,3) + A(3,6)", (4,1.2), fontsize='x-large')
    if t == 3 and s == 3:
        T += text("A(1,3) + A(1,2)", (4.665,.9), fontsize='x-large')
    return Cst + Ast + T

areas1 = [B+A(1,t,3,6)+line([(3,1/3),(3/t,1/3)],alpha=.4,color='black')+line([(6,1/6),(6/t,1/6)],alpha=.4,color='black') for t in list(sxrange(1,3,.162841))+[3]]
areas2 = [B+A(s,3,3,6) for s in list(sxrange(1,3,.162841))+[3]]
M = animate(areas1+areas2+10*[areas2[-1]])
M.save('log.gif')

Licensing

I, the copyright holder of this work, hereby publish it under the following licence:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighbouring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

9 October 2015

464,581 byte

472 pixel

632 pixel

image/gif

94ea6142616b38eeb8243b346e7adc34ec2878dc

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:21, 9 October 2015Thumbnail for version as of 21:21, 9 October 2015632 × 472 (454 KB)wikimediacommons>NilesjUser created page with UploadWizard

The following page uses this file: