Skip to main content

How to Write Simple Harmonic Motion Equations

Credit: Public Domain

By Andrew Bennett

Making models to describe the world around us is a huge part of science. One way to model something is to write an equation that describes it. For example, we can write equations that describe the position of objects in simple harmonic motion.

Since a simple harmonic oscillator (such as a pendulum or a mass on a spring) goes back and forth again and again, we need to model this using a function that does the same thing. As long as the requirements for simple harmonic motion are met, the motion can be modeled with a sine or cosine function. (SHM is periodic motion caused by a restoring force that is proportional the object's distance from equilibrium. See this post for more information.)

Simple Harmonic Motion Equation

If we were to graph Y = sin(x) and Y = cos(x), we would see that both functions have a maximum value of 1, a minimum value of -1 (so the amplitude of each function is 1), and a period of 2ℼ radians (360 degrees). Since there is no requirement that a simple harmonic oscillator have those same values for amplitude and period, we need to modify the equations to match our object's motion. By convention, we typically use "t" instead of "x" in an equation like this, because we are modeling the position as a function of time. If you need to put one of these into a calculator and graph it, use x rather than t.

How to Modify the Amplitude

Modifying amplitude is straightforward. If we put a coefficient in front of the sine or cosine function, the amplitude of the function will be equal to the coefficient we put in. For example, the function Y = 3sin(t) has an amplitude of 3 instead of 1. If we noticed that our oscillator has an amplitude of 12 cm, we would simply make the coefficient in front of sine or cosine be 12 cm.

How to Modify the Period

Modifying the period of the function can be done by adding a coefficient inside the sine or cosine function, right next to the t. It is most common to use radians for these functions, so we'll do that here. Using the equation Y = sin(t), we could see that the graph begins to repeat once t gets to 2ℼ.  Except it doesn't have to be t that gets to 2ℼ, it just has to be the value inside the parentheses that reaches 2ℼ.  So, if we instead used the equation Y = sin(2t), the function will repeat when 2t gets to 2ℼ, meaning t only has to get up to a value of ℼ before it repeats. Since the other function repeated after getting to twice the value of t, we have cut the period of the function in half by adding the coefficient of 2.

How to Determine the Coefficient

Starting with a known value of the period of the oscillator, we can set up an equation to determine what the coefficient in the sine or cosine function should be. Namely, we know that when t is equal to the measured period, the whole inside of the parentheses must be equal to 2ℼ.

Simple Harmonic Motion Video

This video takes you through the process of writing an equation to model the position of a simple harmonic oscillator as a function of time. With an equation like this written, you could then make predictions of where the object will be at a certain moment in the future by plugging in for time.

If viewing via email, click here to see the video.

Come Back for More Physics Blog and Video Tutorials

If you found this information helpful, please subscribe to this blog and my YouTube channel


Comments

Popular posts from this blog

3 Easy Science Experiments to Do with Your Kids

By Amber Bennett Strong STEM (science, technology, engineering, and math) skills set kids up to succeed both in school and later in life. Encouraging them to be interested in these subjects is easier than you might think, especially if you start when they're young.  Activities that encourage children to be curious and creative will spark a love of learning. Plus, science experiments and other hands-on STEM projects are a fun way to bond with your kids. Here are three easy science experiments that preschoolers and early elementary students will enjoy. 1. Leakproof Plastic Bag A (age 5) doing the leakproof plastic bag experiment. Our preschooler loves to do any experiment that involves water. I can give her a couple of beakers, and she'll happily pour water back and forth between them, especially if I put a few drops of food coloring in each beaker so she can mix the colors.  Another great activity that involves water is the leakproof plastic bag.  All you need are: Large plastic

How Virtual Currency Mining Is Hurting the Environment - Science in the News

Datacenters used for cryptocurrency mining use a lot of energy. By Amber Bennett Although cryptocurrencies are virtual, they are having a tangible impact on our environment. Research shows that cryptocurrencies actually are worse for the earth than other types of money. So, why is that? Simply put, it's because of the resources needed to run the supercomputers that mine Bitcoin and other virtual currencies.  Energy Use The datacenters used for mining use large amounts of electricity. For example, the global Bitcoin network uses  more energy than entire countries . In fact, according to the University of Cambridge Bitcoin Electricity Consumption Index , the network's power demand is the same as more than 14 million typical American homes. Most of the energy used in the datacenters comes from fossil fuels instead of renewable resources. Plus, datacenters' high energy use can destabilize the electric grid. Materials Mining Another way that cryptocurrency impacts the environme

10 Science Channels That Are Worth a Sub on YouTube

If you're going to spend time watching videos on YouTube, why not learn something while you're at it? Whether you like slow-motion videos of explosions, crazy chemistry and physics demos, or simple explanations of complex science concepts, the following 10 YouTube channels are worth your subscription. By Amber Bennett   1. Physics Girl Source: YouTube/Physics Girl Dianna Cowern's  Physics Girl  channel features demos, experiments, and other cool stuff (be sure to check out her 1,800-mile test drive of a hydrogen fuel cell car ). If you have just started studying physics or would like to brush up on the basics, we recommend starting with this playlist . 2. Vsauce Source: YouTube/Vsauce Michael Stevens' Vsauce channel covers a wide variety of subjects, including space, art, physics, and human behavior. His physics videos answer such questions as " Which way is down ?" and " How much does a shadow weigh ?" You can check out his physics videos on this p