introduction to fractals larry s. liebovitch florida atlantic university center for complex systems...

67
Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and Biotechnology Department of Psychology Department of Biomedical Sciences Lina A. Shehadeh Copyright 2003 by Larry S. Liebovitch

Upload: may-jacobs

Post on 16-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Introduction to Fractals

Larry S. Liebovitch

Florida Atlantic UniversityCenter for Complex Systems and Brain SciencesCenter for Molecular Biology and Biotechnology

Department of PsychologyDepartment of Biomedical Sciences

Lina A. Shehadeh

Copyright 2003 by Larry S. Liebovitch

Page 2: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

How fractals CHANGE the most

basic ways we analyze and

understand experimental data.

Page 3: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Non-Fractal

Page 4: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractal

Page 5: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Non - Fractal

Size of Features

1 cm

1 characteristic scale

Page 6: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractal

Size of Features

2 cm

1 cm

1/2 cm

1/4 cm

many different scales

Page 7: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractals

Self-Similarity

Page 8: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Water

Land

Water

Land

Water

Land

Self-SimilarityPieces resemble the

whole.

Page 9: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Sierpinski Triangle

Page 10: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Branching Patternsblood vessels

Family, Masters, and Platt 1989 Physica D38:98-103Mainster 1990 Eye 4:235-241

in the retinaair waysin the lungsWest and Goldberger 1987 Am. Sci. 75:354-365

Page 11: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Blood Vessels in the Retina

Page 12: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

PDF - Probability Density Function

HOW OFTEN there is THIS SIZE

Straight line on log-log plot= Power Law

Page 13: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Statistical Self-Similarity

The statistics of the big pieces is the sameas the statistics of the small pieces.

Page 14: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Currents Through Ion Channels

Page 15: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Currents Through Ion Channels

Page 16: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Currents Through Ion Channels

ATP sensitive potassium channel in cell from the pancreas

Gilles, Falke, and Misler (Liebovitch 1990 Ann. N.Y. Acad. Sci. 591:375-391)

5 sec

5 msec

5 pA

FC = 10 Hz

FC = 1k Hz

Page 17: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Closed Time Histogramspotassium channel in the

corneal endothelium

Number of closed Times per Time Bin in the Record

Liebovitch et al. 1987 Math. Biosci. 84:37-68

Closed Time in ms

Page 18: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Closed Time Histogramspotassium channel in the

corneal endothelium

Number of closed Times per Time Bin in the Record

Liebovitch et al. 1987 Math. Biosci. 84:37-68

Closed Time in ms

Page 19: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Closed Time in ms

Number of closed Times per Time Bin in the Record

Closed Time Histogramspotassium channel in the

corneal endotheliumLiebovitch et al. 1987 Math. Biosci. 84:37-68

Page 20: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Closed Time Histogramspotassium channel in the

corneal endothelium

Number of closed Times per Time Bin in the Record

Liebovitch et al. 1987 Math. Biosci. 84:37-68

Closed Time in ms

Page 21: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractals

Scaling

Page 22: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Scaling The value measured depends

on the resolution used to do the measurement.

Page 23: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

How Long is the Coastline of Britain?Richardson 1961 The problem of contiguity: An Appendix to Statistics

of Deadly Quarrels General Systems Yearbook 6:139-187L

og

10 (

To

tal L

eng

th in

Km

)

AUSTRIALIAN COAST

CIRCLE

SOUTH AFRICAN COAST

GERMAN LAND-FRONTIER, 1900WEST COAST OF BRITIAN

LAND-FRONTIER OF PORTUGAL

4.0

3.5

3.0

1.0 1.5 2.0 2.5 3.0 3.5

LOG10 (Length of Line Segments in Km)

Page 24: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Genetic Mosaics in the LiverP. M. Iannaccone. 1990. FASEB J. 4:1508-1512.

Y.-K. Ng and P. M. Iannaccone. 1992. Devel. Biol. 151:419-430.

Page 25: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

70 pS K+ ChannelCorneal Endothelium

Liebovitch et al. 1987 Math. Biosci. 84:37-68.

effk in Hz

effective time scaleteff in msec

effectivekineticrate

constant100

1000

10

11 10 100 1000

keff = A teff1-D

Page 26: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractal Approach

New viewpoint:

Analyze how a property, the effective kinetic

rate constant, keff, depends on the effective

time scale, teff, at which it is measured.

This Scaling Relationship:

We are using this to learn about the structure

and motions in the ion channel protein.

Page 27: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

one measurement: not so interesting

slope

Scaling

Lo

gar

ith

m o

f th

e m

easu

rem

nt

Lo

gar

ith

m o

f th

e m

easu

rem

nt

one value

Logarithm of the resolution used to make

the measurement

Logarithm of the resolution used to make

the measurement

scaling relationship: much more interesting

Page 28: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractals

Statistics

Page 29: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Not Fractal

Page 30: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Not Fractal

Page 31: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

GaussianBell Curve“Normal Distribution”

Page 32: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractal

Page 33: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractal

Page 34: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Mean

Non - Fractal

More Data

pop

Page 35: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

The Average Depends on the Amount of Data Analyzed

Page 36: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

The Average Depends on the Amount of Data Analyzed

each piece

Page 37: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Ordinary Coin Toss

Toss a coin. If it is tails win $0, If it is heads win $1.

The average winnings are:

2-1.1 = 0.5

1/2

Non-Fractal

Page 38: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Ordinary Coin Toss

Page 39: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Ordinary Coin Toss

Page 40: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

St. Petersburg Game (Niklaus Bernoulli)

Toss a coin. If it is heads win $2, if not, keep tossing it until it falls heads.

If this occurs on the N-th toss we win $2N.

With probability 2-N we win $2N.

H $2TH $4TTH $8TTTH $16

The average winnings are:

2-121 + 2-222 + 2-323 + . . . =1 + 1 + 1 + . . . = Fractal

Page 41: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

St. Petersburg Game (Niklaus Bernoulli)

Page 42: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

St. Petersburg Game (Niklaus Bernoulli)

Page 43: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Non-Fractal

Log avgdensity within

radius r

Log radius r

Page 44: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractal

Log avgdensity within radius r

Log radius r

.5

-1.0

-2.0

-1.5

.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.00-2.5

0

Meakin 1986 In On Growthand Form: Fractal and Non-Fractal Patterns in Physics Ed. Stanley & Ostrowsky, Martinus Nijoff Pub., pp. 111-135

Page 45: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Electrical Activity of Auditory Nerve Cells

Teich, Jonson, Kumar, and Turcott 1990 Hearing Res. 46:41-52

voltage

time

action potentials

Page 46: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Electrical Activity of Auditory Nerve Cells

Teich, Jonson, Kumar, and Turcott 1990 Hearing Res. 46:41-52

2

Count the number of action potentials in each window:

6 3 1 5 1

Firing Rate = 2, 6, 3, 1, 5,1

Divide the record into time windows:

Page 47: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Electrical Activity of Auditory Nerve Cells

Teich, Johnson, Kumar, and Turcott 1990 Hearing Res. 46:41-52

Repeat for different lengths of time windows:

8 4 6

Firing Rate = 8, 4, 6

Page 48: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Electrical Activity of Auditory Nerve CellsTeich, Jonson, Kumar, and Turcott 1990 Hearing

Res. 46:41-52

0

The variation in the firing rate does not decrease at longer time windows.

4 8 12 16 20 24 28

70

60

80

90

100

120

130

140

110

150

T = 50.0 sec T = 5.0 sec

T = 0.5 sec

FIR

ING

RA

TE

SAMPLE NUMBER (each of duration T sec)

Page 49: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractals

Power Law PDFs

Page 50: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Heart Rhythms

Page 51: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Inter-event Times

Episodes of Ventricular Tachycardia (v-tach)

t1 t2 t3 t4 t5

time ->

QuickTime™ and aTIFF (Uncompressed) decompressorare needed to see this picture.Cardioverter Defibrillator

Page 52: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Interval (in days)

RelativeFrequency

103

102

101

100

10-1

10-2

10-3

10-4

10-5

10-4

10-3

10-2

10-1

100

101

102

103

104

105

106

Relative Frequency =(9.8581) Interval-1.0988

Patient #33

Page 53: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Interval (in days)

RelativeFrequency

Relative Frequency =(3.2545) Interval-1.3664

103

102

101

100

10-1

10-2

10-3

10-4

10-5

10-4

10-3

10-2

10-1

100

101

102

103

104

105

106

Patient #53

Page 54: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

6 PatientsLiebovitch et al. 1999 Phys. Rev. E59:3312-3319.

Page 55: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Inter-arrival Times of E-mail Viruses

t1 t2 t3 t4 t5

time ->

Liebovitch and Schwartz 2003 Phys. Rev. E68:017101.

AnnaKournikova"Hi: Check This!” AnnaKournikova.jpg vbs.

MagistrSubject, body, attachment from other files: erase disk, cmos/bios.

KlezE-mail from its own phrases: infect by just viewing in Outlook Express.

Sircam“I send you this file in order to have your advice.”

Page 56: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

E-mail Viruses

10110010-110-210-310-510-410-310-210-1100101102IntervalPDFAnnaKournikova10110010-110-210-310-510-410-310-210-1100101102IntervalPDFMagistr.bd=1.51d=3.19

20,884 viruses 153,519 viruses

Page 57: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

E-mail Viruses

413,183 viruses 781,626 viruses

10110010-110-210-310-510-410-310-210-1100101102IntervalPDFKlez.e10110010-110-210-310-510-410-310-210-1100101102IntervalPDFSircam.ad=2.40d=2.96

Page 58: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Determining the PDFfrom a Histogram

Bins ∆t SmallGood at small t.BAD at large t.

tPDF

Bins ∆t LargeBAD at small t.Good at large t.

tPDF

Page 59: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Determining the PDFLiebovitch et al. 1999 Phys. Rev. E59:3312-3319.

Solution:Make ONE PDFFrom SEVERAL Histograms of DIFFERENT Bin Size

Choose ∆t = 1, 2, 4, 8, 16 … seconds

PDF(t) = N(t)Nt ∆t

N(t) = number in [t+∆t, t]

Nt = total number

∆t = bin size

Page 60: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Determiningthe PDF

10410310210110010-110-210-6

10-5

10-4

10-3

10-2

10-1

100

101

LSL algorithmConstant Bins

Data from "g7-5K"

Values

PDFy = 1.6293e-2 * x^-0.98111 R^2 = 0.984

New multi-histogram

Standard fixed ∆t

Page 61: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractals

Summary

Page 62: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Summary of Fractal PropertiesSummary of Fractal Properties

Self-SimialrityPieces resemble the

whole.

Page 63: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Summary of Fractal PropertiesSummary of Fractal Properties

Scaling The value measured

depends on the resolution.

Page 64: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Summary of Fractal PropertiesSummary of Fractal Properties

Statistical Properties Moments may be zero

or infinite.

Page 65: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

400 years ago:Gambling Problems Probability Theory

200 years ago:Statistics How we do experiments.

100 years ago:Student’s t-test, F-test, ANOVA

Now:Still changing

Statistics is NOT a dead science.

Page 66: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

Fractals CHANGE the most basic ways we analyze and understand experimental data.

Fractals

Measurements over many scales.

What is real is not one number, but how the measured

values change with the scale at which they are measured

(fractal dimension).

No Bell CurvesNo Moments

No mean ± s.e.m.

Page 67: Introduction to Fractals Larry S. Liebovitch Florida Atlantic University Center for Complex Systems and Brain Sciences Center for Molecular Biology and

References:References:

Fractals and Chaos and

Simplified for the Life

Sciences

Larry S. Liebovitch

Oxford Univ. Press, 1998

The Mathematics and

Science of Fractals

Larry S. Liebovitch and

Lina Shehadehwww.ccs.fau.edu/

~liebovitch/larry.html

CD ROM

NSFDUE-9752226DUE-9980715