Creating and Analyzing Chaotic Attractors Using Mathematica Presented at the 2013 MAA MathFest

Similar documents
Oscillatory Motion. Simple pendulum: linear Hooke s Law restoring force for small angular deviations. Oscillatory solution

Oscillatory Motion. Simple pendulum: linear Hooke s Law restoring force for small angular deviations. small angle approximation. Oscillatory solution

I. THE PENDULUM. y 1 (t) = θ(t) (2) y 2 (t) = dθ(t) dt

Chaotic motion. Phys 420/580 Lecture 10

Mechanical Resonance and Chaos

Experiment 9: Compound Pendulum

Nonlinear Oscillators: Free Response

The Pendulum. The purpose of this tab is to predict the motion of various pendulums and compare these predictions with experimental observations.

After successfully answering these questions, the students will be able to

Transitioning to Chaos in a Simple Mechanical Oscillator

Chapter 4. Oscillatory Motion. 4.1 The Important Stuff Simple Harmonic Motion

Oscillations. Simple Harmonic Motion of a Mass on a Spring The equation of motion for a mass m is attached to a spring of constant k is

Nonlinear Dynamic Systems Homework 1

AP Physics C 2015 Summer Assignment

Chaotic motion. Phys 750 Lecture 9

PH 120 Project # 2: Pendulum and chaos

Chaotic Motion of the Double Pendulum

2.4 Models of Oscillation

NONLINEAR DYNAMICS AND CHAOS. Numerical integration. Stability analysis

PHYSICS. Chapter 15 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT Pearson Education, Inc.

A Level. A Level Physics. Circular Motion (Answers) Edexcel. Name: Total Marks: /30

Circular Motion Dynamics

Energy in a Simple Harmonic Oscillator. Class 30. Simple Harmonic Motion

Lecture XXVI. Morris Swartz Dept. of Physics and Astronomy Johns Hopkins University November 5, 2003

Oscillations. PHYS 101 Previous Exam Problems CHAPTER. Simple harmonic motion Mass-spring system Energy in SHM Pendulums

The Damped Pendulum. Physics 211 Lab 3 3/18/2016

Massachusetts Institute of Technology Department of Physics. Final Examination December 17, 2004

Simple Harmonic Motion Practice Problems PSI AP Physics B

Chaotic Motion (One or two weights)

Chapter 14 Oscillations

Linear and Nonlinear Oscillators (Lecture 2)

Engineering Science OUTCOME 2 - TUTORIAL 3 FREE VIBRATIONS

SIMPLE PENDULUM AND PROPERTIES OF SIMPLE HARMONIC MOTION

Oscillations. Oscillations and Simple Harmonic Motion

Daba Meshesha Gusu and O.Chandra Sekhara Reddy 1

Physics 8, Fall 2011, equation sheet work in progress

LAST TIME: Simple Pendulum:

Solutions. 8th Annual Boston Area Undergraduate Physics Competition April 27, 2002

Modeling the Duffing Equation with an Analog Computer

2.4 Harmonic Oscillator Models

Physics 235 Chapter 4. Chapter 4 Non-Linear Oscillations and Chaos

Computational Physics (6810): Session 8

Good Vibes: Introduction to Oscillations

Driven, damped, pendulum

Oscillatory Motion SHM

Physics 8, Fall 2013, equation sheet work in progress

J10M.1 - Rod on a Rail (M93M.2)

Math 1302, Week 8: Oscillations

Symmetries 2 - Rotations in Space

From Last Time. Gravitational forces are apparent at a wide range of scales. Obeys

ME 680- Spring Representation and Stability Concepts

NONLINEAR MECHANICAL SYSTEMS (MECHANISMS)

M2A2 Problem Sheet 3 - Hamiltonian Mechanics

Examining the Effect of Additional Driving Forces on a Mechanical Oscillator

Lecture 18. In other words, if you double the stress, you double the resulting strain.

Chapter 15 - Oscillations

Oscillations Simple Harmonic Motion

Periodic Motion. Periodic motion is motion of an object that. regularly repeats

Exam Question 6/8 (HL/OL): Circular and Simple Harmonic Motion. February 1, Applied Mathematics: Lecture 7. Brendan Williamson.

Vibrations Qualifying Exam Study Material

CHAPTER 12 OSCILLATORY MOTION

Chapter 14. Oscillations. Oscillations Introductory Terminology Simple Harmonic Motion:

PHYSICS 107 FINAL EXAMINATION

The Magnetic Pendulum

Chapter 13. Hooke s Law: F = - kx Periodic & Simple Harmonic Motion Springs & Pendula Waves Superposition. Next Week!

Assignments VIII and IX, PHYS 301 (Classical Mechanics) Spring 2014 Due 3/21/14 at start of class

The Pendulum Plain and Puzzling

AP Physics. Harmonic Motion. Multiple Choice. Test E

PHYSICS 1 Simple Harmonic Motion

Dynamics of multiple pendula without gravity

Interactions Between Two Non-Stationary Pendulums

VTU-NPTEL-NMEICT Project

The Cavendish Experiment

Chaotic Motion (One or two weights)

Oscillations. Simple Harmonic Motion (SHM) Position, Velocity, Acceleration SHM Forces SHM Energy Period of oscillation Damping and Resonance

Chapter 14. PowerPoint Lectures for University Physics, Thirteenth Edition Hugh D. Young and Roger A. Freedman. Lectures by Wayne Anderson

4 A mass-spring oscillating system undergoes SHM with a period T. What is the period of the system if the amplitude is doubled?

Second-Order Linear Differential Equations C 2

7 Pendulum. Part II: More complicated situations

Department of Physics

Basic Theory of Dynamical Systems

Homework 1. Due Thursday, January 21

Non-Linear Response of Test Mass to External Forces and Arbitrary Motion of Suspension Point

Periodic windows within windows within windows

For a rigid body that is constrained to rotate about a fixed axis, the gravitational torque about the axis is

ENGINEERING COUNCIL DYNAMICS OF MECHANICAL SYSTEMS D225 TUTORIAL 10 NATURAL VIBRATIONS ONE DEGREE OF FREEDOM

Chapter 15 Periodic Motion

Name: Lab Partner: Section: Simple harmonic motion will be examined in this experiment.

spring magnet Fig. 7.1 One end of the magnet hangs inside a coil of wire. The coil is connected in series with a resistor R.

Physics 106b: Lecture 7 25 January, 2018

4.9 Free Mechanical Vibrations

Vibrations and Waves MP205, Assignment 4 Solutions

Updated 2013 (Mathematica Version) M1.1. Lab M1: The Simple Pendulum

4. Complex Oscillations

11/17/10. Chapter 14. Oscillations. Chapter 14. Oscillations Topics: Simple Harmonic Motion. Simple Harmonic Motion

Chapter 23. Predicting Chaos The Shift Map and Symbolic Dynamics

Do not turn over until you are told to do so by the Invigilator.

The Nonlinear Pendulum

α f k θ y N m mg Figure 1 Solution 1: (a) From Newton s 2 nd law: From (1), (2), and (3) Free-body diagram (b) 0 tan 0 then

Section 3.7: Mechanical and Electrical Vibrations

Transcription:

Creating and Analyzing Chaotic Attractors Using Mathematica Presented at the 2013 MAA MathFest Ulrich Hoensch 1 Rocky Mountain College Billings, Montana hoenschu@rocky.edu Saturday, August 3, 2013 1 Travel funded by the Montana Space Grant Consortium and Montana NASA EPSCoR.

The Undamped Pendulum Consider a pendulum with an object of mass m attached to a rigid swing arm of length l. Θ Θ mg

The Undamped Pendulum Let θ be the angle (in radians) that the arm of the pendulum makes with the downward vertical. Then Newton s Second Law gives θ + g l sin θ = 0. (1) Letting ψ = θ, we obtain the nonlinear first order system θ = ψ (2) ψ = g l sin θ. This model excludes any frictional forces. Thus, we have conservation of mechanical energy, and can think of (2) as a Hamiltonian system. The Hamiltonian (total energy function) can be chosen to be H(θ, ψ) = ψ2 2 g cos θ. (3) l

The Damped Pendulum If we add in frictional forces that are proportional to the angular velocity dθ/dt, we get the equation d 2 θ dt 2 + r dθ dt + g sin θ = 0, (4) l Adding external sinusoidal forcing with amplitude A and circuluar frequency ω yields the differential equation d 2 θ dt 2 + r dθ dt + g sin θ = A sin(ωt), (5) l

The Damped Pendulum If g/l = 1, r = 0.2, A = 0.5 and ω = 2π, then a typical orbit looks like this: 0 5 10 Τ 15 1 01 Θ 1 0 Ψ 1 2

The Forced Damped Pendulum The figure below shows the same orbit when t = 0, 2π, 4π,..., 20π in the (θ, ψ)-plane only. It appears that the orbit approaches the fixed point S ( 1, 1.2). 1 Ψ 0 1 2 3 2 1 0 1 2 3

The Poincaré map Evaluating the orbit (θ(t), ψ(t)) at times t = 0, 2π, 4π,... defines a Poincaré map S(θ(t), ψ(t)) = (θ(t + 2π), ψ(t + 2π)). (6) The Poincaré map can be computed numerically by integrating (5). The following code defines the Poincaré map and orbit in Mathematica. g 1; l 1; r 0.2; Ω 1; Poincare Θ_, Ψ_, A_ : Flatten Evaluate Mod x t, 2 Pi, Pi, y t. NDSolve x' t y t, y' t g l Sin x t r y t A Sin Ω t, x 0 Θ, y 0 Ψ, x t, y t, t, 0, 2 Pi Ω. t 2 Pi Ω ; PList Θ_, Ψ_, A_, nmin_, nmax_ : Module M, n, M 0 : Θ, Ψ ; M n_ : M n Poincare M n 1, A ; Table M n, n, nmin, nmax ;

The Forced Damped Pendulum Now, suppose g/l = 1, r = 0.2, A = 2.2 and ω = 2π in (5). If we plot the positions at t = 2πn for 100 n 500, we obtain the following picture. 1 0 1 Ψ 2 3 4 5 3 2 1 0 1 2 3

The Forced Damped Pendulum Here is a picture using 250,000 points. The set produced is a chaotic attractor.

The Experiment of Moon and Holmes A steel beam (light blue) which is suspended equidistantly between two magnets of equal strength (red).

The Experiment of Moon and Holmes If this apparatus is shaken horizontally with fixed amplitude γ and period 2π, the horizontal strain on the beam can be modeled using the forced Duffing equation d 2 y dt 2 + ν dy dt + y 3 y = γ sin t, (7) where ν > 0 and γ 0 are parameters. If ν = 0.05 and γ = 2.8, we again obtain a chaotic attractor (shown on the next slide, using 250,000 points).

The Experiment of Moon and Holmes

Building Your Own Attractor Note that if ν = γ = 0 in (7), we obtain the Hamiltonian system with H(y, ẏ) = (ẏ)2 2 + y 4 4 y 2 2. (8) The potential energy function y y 4 /2 y 2 /2 confirms the bi-stable attractor when ν > 0 and γ = 0: 0.3 0.2 0.1 1.5 1.0 0.5 0.5 1.0 1.5 y 0.1 0.2

Building Your Own Attractor We can create a tri-stable attractor by e.g. integrating the function y y(y 2 1)(y 2 4) to obtain the potential energy function y 2y 2 5y 4 /4 + y 6 /6. 1.5 1.0 0.5 2 1 1 2 y 0.5 1.0

Building Your Own Attractor The corresponding differential equation that includes friction and external forcing is d 2 y dt 2 + ν dy dt + y(y 2 1)(y 2 4) = γ sin t. (9) If ν = 0.07 and γ = 9.9, we obtain the following chaotic attractor.

Dimension of the Chaotic Attractor of the Pendulum Let Ω be the chaotic attractor of the forced damped pendulum as above. To numerically approximate its box-counting dimension, we need to find the number of boxes needed to cover Ω at a given scale ɛ. If ɛ = 1, N(ɛ) = 22:

Dimension of the Chaotic Attractor of the Pendulum If ɛ = 1/2, N(ɛ) = 59:

Dimension of the Chaotic Attractor of the Pendulum If ɛ = 1/4, N(ɛ) = 164:

Dimension of the Chaotic Attractor of the Pendulum If ɛ = 1/8, N(ɛ) = 470:

Dimension of the Chaotic Attractor of the Pendulum Using the finer scales of ɛ = 1/10, 1/20, 1/30, 1/40, 1/50, we obtain the following data (using 250,000 points for the attractor): ɛ N(ɛ) log(1/ɛ) log(n(ɛ)) 1/10 662 2.3026 6.4953 1/20 1796 2.9957 7.4933 1/30 3269 3.4012 8.0922 1/40 4795 3.6889 8.4753 1/50 6624 3.9120 8.7985

Dimension of the Chaotic Attractor of the Pendulum The log(1/ɛ)-log(n(ɛ)) graph shows a slope of d 1.43 for the regression line (r 2 = 0.999). Thus, dim(ω) 1.43. Log N Ε 8.5 8.0 7.5 7.0 6.5 2.5 3.0 3.5 4.0 Log 1 Ε

Dimension of the Chaotic Attractor of the Pendulum The following Mathematica code allows the computation of the box-counting dimension of a list of points at the given scales. In[5]:= Count@Flatten @BinCounts @points, 8-Pi, Pi, scale <, NBoxes@points_, scale_d := 8-5, 1, scale <DD, _? Hð > 0 &LD; scales = 81 10, 1 20, 1 30, 1 40, 1 50<; Map@NBoxes@list, ð D &, scalesd; data = Map@8Log @1 ð D, Log @NBoxes@list, ð DD< &, scalesd; model = LinearModelFit @data, x, xd Out[8]= FittedModel B 3.20506+ 1.43121x F

References [1] Blanchard, P., Devaney, R., Hall, G. Differential Equations, Fourth Edition (2012), Brooks/Cole Cengage Learning. [2] Hoensch, U. Differential Equations and Applications Using Mathematica (2012), available as PDF download at www.rocky.edu/~hoenschu. [3] Lynch, S. Dynamical Systems with Applications Using Mathematica (2007), Birkhäuser Boston. [4] Ott, E. Chaos in Dynamical Systems, Second Edition (2002), Cambridge University Press.