how to make a wavy line in desmos

Desmos Wavy Line Tutorial: Step-by-Step Guide

By Jessica Thomas
AD

Ever dreamt of adding a touch of creativity to your graphs on Desmos? One way to do this is by creating a wavy line. Although Desmos is a powerful mathematical graphing tool, it might not seem intuitive at first glance. However, with a little exploration and the right technique, you can create those dynamic waves that make your graphs stand out.

In this guide, we'll delve into how to make a wavy line in Desmos. We'll break down the process into simple steps, making it easy for you to follow along. Whether you're a student, educator, or just a curious enthusiast, you'll find this guide helpful in unlocking Desmos' potential for creating visually engaging graphs.

Understanding Desmos' Graph Function Basics

Before we dive into creating wavy lines, let's revisit some basic concepts in Desmos. Desmos graphs functions in the form y = f(x). This means you provide an expression that defines how y changes as x varies. For creating wavy lines, we'll be manipulating these expressions to control the shape and frequency of the waves.

AD
Çizgi takibi
Çizgi takibi
an image of a line drawing with the measurements for each wave
an image of a line drawing with the measurements for each wave
a black and white photo of a wave on a white background with the words,'what do you think? '
a black and white photo of a wave on a white background with the words,'what do you think? '

In Desmos, you can create a new function by clicking on 'New Function' in the toolbar. Here, you can write your function in the input bar or use the graph of an existing function as a starting point. The key to creating wavy lines lies in understanding and manipulating these functions.

Creating Your First Sine Wave

A sine wave is perhaps the simplest form of a wavy line. In Desmos, you can create a sine wave using the sine function, y = sin(x). Here's how you can do this:

a line drawing of wavy lines in the shape of a rectangle, with black and white background
a line drawing of wavy lines in the shape of a rectangle, with black and white background
three different types of waveforms are shown in the diagram below, each one has an equal
three different types of waveforms are shown in the diagram below, each one has an equal
How to make a wavy line seamless pattern in procreate
How to make a wavy line seamless pattern in procreate
  1. Click on 'New Function' in the toolbar.
  2. In the input bar, type 'y = sin(x)' and press Enter.
  3. Your graph should now display a sine wave.

Adjusting the Amplitude and Frequency of Sine Waves

While the sine function produces a standard sine wave, you may want to adjust the wave's amplitude (height) and frequency (width). You can do this using the sine function's properties.

For amplitude, prepend your function with a number (or expression) that multiplies the output. For instance, 'y = 2*sin(x)' creates a sine wave with twice the amplitude (height) of the standard sine wave.

AD

For frequency, use the sine function's property that adding or removing '2' multiples the frequency. For example, 'y = sin(2x)' creates a sine wave with double the frequency (and half the wavelength) of the standard sine wave.

three different lines are shown in black and white, with the same line at each end
three different lines are shown in black and white, with the same line at each end
Learn How To Make Wavy Lines Pattern In Procreate
Learn How To Make Wavy Lines Pattern In Procreate
the wave cycle sequence worksheet is shown in black and white, as well as diagrams
the wave cycle sequence worksheet is shown in black and white, as well as diagrams
Desmos Linkage#7
Desmos Linkage#7
there is a cat mask on the table next to some markers and pencils,
there is a cat mask on the table next to some markers and pencils,
an image of the letter s in black and white with wavy lines coming out of it
an image of the letter s in black and white with wavy lines coming out of it

Creating More Complex Wavy Lines

Now that you've mastered the basics of sine waves, let's explore how to create more complex wavy lines. Desmos allows you to combine multiple functions and create compound waves by adding, subtracting, or multiplying function expressions.

For instance, you can create a wave that oscillates between two sine waves by subtracting one from the other. To do this, replace 'x' in your function with '2sin(x)', which shifts the wave up, and '2sin(x + pi/2)', which shifts the wave to the right. Here's the complete function:

AD

'y = 2*sin(x) - (2sin(x + pi/2))'

the waves are pink, blue and green on white background with space for text or image
the waves are pink, blue and green on white background with space for text or image
Comment faire du dessin animé - page 1
Comment faire du dessin animé - page 1
Imagem vetorial de papel de parede de fundo de onda vermelha Ilustração de design gráfico de onda para fundo ou pres | Vetor Premium
Imagem vetorial de papel de parede de fundo de onda vermelha Ilustração de design gráfico de onda para fundo ou pres | Vetor Premium

Creating Figures of Eight (Lissajous Curves)

Desmos also lets you create Lissajous curves, which are essentially figures of eight. These are generated by combining two sine waves with different frequencies and phases. Here's one example:

'y = sin(x) + sin(2x)'

AD

In this function, 'sin(x)' represents a standard sine wave while 'sin(2x)' represents a sine wave with double the frequency. The addition of two waves creates the figure-of-eight pattern.

Adding Color and Style to Your Wavy Lines

Desmos also offers a variety of customization options to make your graphs more engaging. You can change the line thickness, style, and color using the options on the right-side panel. To change the color, click the color box next to 'linecolor'. To change the style, click the pencil icon next to 'linetype'.

Another way to add a touch of style is by renaming your function. To do this, click on the function name in the input bar and type in your desired name. This will also update the name in the graph legend.

With these tips, you're now equipped to create stunning wavy lines in Desmos. The possibilities are endless - from simple sine waves to complex Lissajous curves. So, go ahead, experiment, and make your graphs uniquely yours!

AD