Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Homework 6

Total points: 100

Introduction to Homework 6

This homework’s exercises focus on oscillators and how to approximate the solution to the equations of motion using the SHO. The relevant reading background is:

  1. chapter 5 of Taylor

  2. chapter 6.6-6.8 of Boas

  3. chapters 2.0-2.3 and 5.0-5.2 of Strogatz

In both textbooks there are many nice worked out examples.

Practicalities about homeworks and projects

  1. You can work in groups (optimal groups are often 2-3 people) or by yourself. If you work as a group you can hand in one answer only if you wish. Remember to write your name(s)!

  2. Homeworks are available ten days before the deadline.

  3. Submission instructions: Submit the paper-and-pencil exercises as a single scanned PDF document. For this homework, this applies to exercises 1–5. Convert the Jupyter notebook to a PDF and attach it to the same PDF document.

Exercise 1 (10pt) Morse Potential as an SHO

If the potential has a local minimum, we can often find an SHO approximation for that potential near the local minimum.

The Morse potential is a convenient model for the potential energy of a diatomic molecule. The potential is a radial one and thus one-dimensional. It is given by,

U(r)=A[(e(R−r)/S−1)2−1]U(r) = A\left[ \left(e^{(R-r)/S}-1\right)^2-1\right]

where the distance between the centers of the two atoms is rr, and the constants AA, RR, and SS are all positive. Here S≪RS\ll R. Assume the moving coordinate has mass mm.

Exercise 2 (10pt), Time Averaging and the SHO

Time averaging is a common tool for periodic systems. It allows us to discuss what happens to different properties of the system over one period.

An SHO has a period τ\tau. We can find the time average of a variable f(t)f(t) over one period, ⟨f⟩\langle f \rangle, by averaging over the period,

⟨f⟩=1τ∫0τf(t)dt\langle f \rangle = \frac{1}{\tau}\int_0^\tau f(t)dt
⟨sin⁡2(ωt−δ)⟩=⟨cos⁡2(ωt−δ)⟩=12\langle \sin^2(\omega t-\delta)\rangle = \langle \cos^2(\omega t-\delta)\rangle = \frac{1}{2}

Exercise 3 (10pt), Toy Potential

Consider a toy potential of the form,

U(r)=U0(rR+λ2Rr)U(r) = U_0\left(\dfrac{r}{R}+\lambda^2\frac{R}{r}\right)

where U0U_0, RR, and λ\lambda are all positive constants and the domain of the potential is 0<r<∞0<r<\infty.

Exercise 4 (10pt), Defining Periodicity

A common issue with oscillators is determining their periodicity. For the SHO, we can show that the period is 2π/ω02\pi/\omega_0 where ω0\omega_0 is the natural frequency of the SHO. How might we define a periodicity more generally? Let’s start with the damped harmonic oscillator. Consider a weakly damped oscillator (β<ω0\beta < \omega_0). The motion of the oscillator is given by,

x(t)=Ae−βtcos⁡(ω1t−δ)x(t) = A e^{-\beta t}\cos(\omega_1 t - \delta)

where AA is the amplitude, β\beta is the damping constant, ω1=ω02−β2\omega_1 = \sqrt{\omega_0^2 - \beta^2} and δ\delta is the phase.

The motion decays with time, but we can still define a periodicity, τ1\tau_1, which is the time between peaks in the motion.

Exercise 5 (10pt), Planning your Final Project

The point of this exercise is to get you thinking about what you want to do for a final project and how you will accomplish it. Research and project planning are important skills to develop and it takes time to do so. We are trying to scaffold that development and give you the opportunity to practice these skills. So, you will be responsible for developing a plan for your final project, and the timeline under which you will accomplish it. Our job is to provide feedback and guidance on your plan, and to offer support in the development and construction of your final project.

Remember there is no right or wrong way to do this, it is about developing a plan that works for you.

Your final project is your chance to bring all the tools we have developed to bear on a question that interests you. You have reviewed the information on computational essays before, but here it is again in case it’s useful for this exercise:

  1. Wolfram’s What is a Computational Essay?

  2. The short paper Computational Essays: An Avenue for Scientific Creativity in Physics

  3. Wolfram’s Steps to Writing a Computational Essay

  4. University of Oslo’s Computational Essay Showroom

For your final project, you may work alone, in pairs, or in groups of up to three people. The expectation for your work will be higher if you have more people in your group; your explorations will need to be more comprehensive and detailed, and your essay will be expected to be longer and more polished if you have more people in your group. You can also develop more interesting ways of presenting your work that demonstrate the creativity and depth of your explorations if you have more people in your group. If you have any questions, just ask.

For this exercise, we want you to get started on planning your final project by sending us a brief proposal with a timeline. To help you, we have provided a schedule where you can see the checkpoints for your project, and when we will have a comprehensive work period. You should take advantage of that work period to make significant progress on your project; especially if there are technical aspects you are unsure about.

Project checkpoints

Plan regular project updates, a focused work period, and a final submission. The exact schedule can be set by the instructor or adapted for independent study.

Your Proposal

Your proposal should be a one to two page, single spaced, document that outlines the following:

  1. The question you are interested in exploring. The motivation and interest to you and your group mates should be made clear. That is, motivate the question, why is it interesting?

  2. References that provide background for this work. This should include the sites, resources, and references you have consulted to get started.

  3. The approach you think you need to take to answer this question. Include the concepts and tools you plan to use to explore the question. That is, what have we developed in class that you will use to explore the question?

  4. The timeline for your project. This should include the checkpoints in the schedule above, and any additional milestones you think are important. Consider making a Gantt chart to help you plan your project. This is a useful tool for planning and tracking your progress. It’s almost expected for proposals in science and engineering. Here, We suggest you take advantage of that work period to make significant progress on or to polish your project.

Your writing

You should consider this a formal proposal. It should be well written, clear, and concise. You should also consider the audience for this proposal. You should write this proposal for someone who is not in this class, but does know physics. Think about writing this to another student, a graduate student, or a professor. Someone that has a good understanding of physics, but not necessarily the details of your physics. You need to explain the motivation, the physics background, the approach, and the timeline in a way that is compelling and clear.

Your proposal need not be long, but it should be complete. Here are some additional resources for you to develop a good proposal:

Reference pages do not count towards the length, so if you have a lot of references, that’s fine. But the main text should be one to two pages. This is how it works with most proposals in science and engineering.

Exercise 6 (50 pt), Find your own 1D Oscillator

We have built all the tools to study 1D unforced oscillators. Now you get to pick your own potential and study it. You can pick any 1D potential you like, but it should have a local minimum. Make sure it is not a driven oscillator (i.e., no explicit time dependence in the equations of motion). To earn full credit for this exercise, you must:

Note: this might seem similar to your midterm, but notice we expect you to do some research on the potential in 6a, and we are going into more depth with questions 6e and 6f. This is also a scaffold for your final project in terms of practicing aspects that should appear.

Examples of 1D potentials

Simple Pendulum (Nonlinear Small Angle Approximation)
V(θ)=mgh(1−cos⁡(θ))V(\theta) = mgh(1 - \cos(\theta))

where mm is the mass, gg is the acceleration due to gravity, hh is the length of the pendulum, and θ\theta is the angular displacement.

Nonlinear Spring (Hardening or Softening)
V(x)=k2x2+β3x3V(x) = \frac{k}{2} x^2 + \frac{\beta}{3} x^3

where kk and β\beta are constants. Depending on the sign of β\beta, the spring can exhibit hardening (β>0\beta > 0) or softening (β<0\beta < 0) nonlinearity.

Lennard-Jones Potential Oscillator (for a diatomic molecule model):
V(r)=4ϵ[(σr)12−(σr)6]V(r) = 4\epsilon \left[ \left(\frac{\sigma}{r}\right)^{12} - \left(\frac{\sigma}{r}\right)^6 \right]

where ϵ\epsilon is the depth of the potential well, σ\sigma is the finite distance at which the inter-particle potential is zero, and rr is the distance between particles.

Morse Potential (for molecular vibrations)
V(x)=De(1−e−a(x−x0))2V(x) = D_e \left(1 - e^{-a(x - x_0)}\right)^2

where DeD_e is the depth of the potential well, aa is a constant related to the width of the well, xx is the displacement from equilibrium, and x0x_0 is the equilibrium bond length. This potential models the energy of a diatomic molecule as a function of the distance between atoms, showing oscillatory behavior that represents molecular vibrations.

Double Well Potential
V(x)=−μ2x2+λ4x4V(x) = -\frac{\mu}{2} x^2 + \frac{\lambda}{4} x^4

where μ\mu and λ\lambda are positive constants. This system exhibits bistability with two stable equilibria, leading to interesting nonlinear dynamics and potential oscillations between the wells under certain conditions.

Each of the potentials above has a local minimum where the small-oscillation (SHO) approximation applies; the plots below use arbitrary illustrative parameter values, not a solution to any part of this problem.

<Figure size 1300x800 with 6 Axes>