Home / Lessons / Trigonometry in Physics

Trigonometry in Physics

Discover how sine, cosine, and tangent power the fundamental equations of physics -- from force vectors to electromagnetic waves.

Intermediate Free 20 min read

Why Trigonometry Is Everywhere in Physics

Physics deals with quantities that have both magnitude and direction -- forces, velocities, accelerations, electric fields, and more. These directed quantities are called vectors, and decomposing vectors into perpendicular components is one of the most fundamental operations in all of physics. That decomposition relies entirely on sine and cosine. Beyond vectors, the language of oscillations, waves, and periodic phenomena is built on sinusoidal functions. In short, you cannot do physics without trigonometry.

This lesson covers the five most important areas where trigonometry appears in physics: vector decomposition, projectile motion, forces on inclined planes, simple harmonic motion, and wave equations. Each section includes the core formulas and a worked example.

1. Vector Decomposition

A vector in two dimensions can be completely described by its magnitude (length) and direction (angle from a reference axis). However, physics problems are much easier to solve when vectors are broken into their horizontal (x) and vertical (y) components. This process is called vector decomposition or resolving a vector.

If a vector F has magnitude F and makes an angle theta with the positive x-axis, its components are:

F_x = F cos(theta)     (horizontal component)

F_y = F sin(theta)     (vertical component)

The cosine function gives the component along the axis from which the angle is measured (adjacent side), and the sine function gives the component perpendicular to that axis (opposite side). This works because the vector, its x-component, and its y-component form a right triangle.

x y F F_x = F cos(theta) F_y = F sin(theta) theta

To reconstruct the original vector from its components, use the Pythagorean theorem for the magnitude and arctangent for the angle:

|F| = sqrt(F_x^2 + F_y^2)     theta = arctan(F_y / F_x)

Example: Resolving a Force Vector

Problem

A rope pulls a sled with a force of 120 N at an angle of 35 degrees above the horizontal. Find the horizontal and vertical components of the force.

Solution

Step 1: Identify the given values: F = 120 N, theta = 35 degrees.

Step 2: Horizontal component: F_x = 120 cos(35) = 120 x 0.8192 = 98.3 N

Step 3: Vertical component: F_y = 120 sin(35) = 120 x 0.5736 = 68.8 N

The horizontal pull is 98.3 N (this is what moves the sled forward) and the vertical component is 68.8 N (this partially lifts the sled, reducing friction).

Key Takeaway

Vector decomposition is the single most frequently used application of trigonometry in physics. Virtually every force, velocity, or field problem begins by resolving vectors into perpendicular components using F_x = F cos(theta) and F_y = F sin(theta).

2. Projectile Motion

When an object is launched at an angle theta above the horizontal with initial speed v_0, its motion can be analyzed by splitting the initial velocity into horizontal and vertical components. Air resistance is typically ignored in introductory physics, and the only acceleration is gravity acting downward.

v_x = v_0 cos(theta)     (constant horizontal velocity)

v_y = v_0 sin(theta) - g t     (vertical velocity decreasing due to gravity)

Range = (v_0^2 sin(2 theta)) / g     Max Height = (v_0^2 sin^2(theta)) / (2g)

Notice that the range formula uses sin(2 theta). This means the maximum range occurs when 2 theta = 90 degrees, or theta = 45 degrees. Launching at 45 degrees gives the greatest horizontal distance for a given initial speed (assuming launch and landing at the same height).

Example: Calculating Projectile Range

Problem

A soccer ball is kicked at 25 m/s at an angle of 40 degrees above the ground. How far does it travel horizontally before landing? (Use g = 9.8 m/s^2)

Solution

Step 1: Use the range formula: R = (v_0^2 sin(2 theta)) / g

Step 2: R = (25^2 x sin(80)) / 9.8

Step 3: R = (625 x 0.9848) / 9.8

Step 4: R = 615.5 / 9.8 = 62.8 meters

The ball travels approximately 62.8 meters horizontally.

3. Forces on Inclined Planes

When an object sits on a tilted surface (an inclined plane), gravity pulls it straight down, but the surface prevents it from falling through. To analyze this situation, we decompose the gravitational force mg into two components: one parallel to the incline (causing the object to slide) and one perpendicular to the incline (pressing the object into the surface).

F_parallel = mg sin(theta)     (component along the slope, causing sliding)

F_perpendicular = mg cos(theta)     (component into the surface, creating normal force)
mg mg sin(theta) mg cos(theta) theta

A critical subtlety here: the angle theta of the incline appears inside the sine for the sliding component and the cosine for the normal component. This is the opposite of what students sometimes expect. The reason is that the angle between the weight vector (pointing straight down) and the perpendicular-to-surface direction is the same as the incline angle theta.

Example: Block on a Ramp

Problem

A 15 kg box sits on a frictionless ramp inclined at 30 degrees. What is the acceleration of the box down the ramp? (g = 9.8 m/s^2)

Solution

Step 1: The force pulling the box down the ramp is F_parallel = mg sin(theta) = 15 x 9.8 x sin(30) = 15 x 9.8 x 0.5 = 73.5 N

Step 2: By Newton's second law, F = ma, so a = F/m = 73.5 / 15 = 4.9 m/s^2

The box accelerates down the ramp at 4.9 m/s^2, which is exactly g sin(30) = 9.8 x 0.5 = 4.9 m/s^2. On a frictionless incline, the acceleration is always g sin(theta), independent of mass.

4. Simple Harmonic Motion

Simple harmonic motion (SHM) describes the back-and-forth oscillation of systems like pendulums, springs, and vibrating strings. The position of an object in SHM as a function of time is a sinusoidal function:

x(t) = A sin(omega t + phi)

A = amplitude    omega = angular frequency (rad/s)    phi = phase angle

The angular frequency omega is related to the period T and frequency f by:

omega = 2 pi f = 2 pi / T

Velocity and acceleration in SHM are also sinusoidal, obtained by taking derivatives of the position function:

v(t) = A omega cos(omega t + phi)    (velocity)

a(t) = -A omega^2 sin(omega t + phi)    (acceleration)

Notice that the acceleration is proportional to the negative of the position: a(t) = -omega^2 x(t). This is the defining characteristic of simple harmonic motion -- the restoring force is always proportional to displacement and directed toward the equilibrium position.

Example: Mass on a Spring

Problem

A 0.5 kg mass on a spring oscillates with amplitude 0.1 m and frequency 2 Hz. Write the equation of motion (assuming it starts at maximum displacement). Find the velocity at t = 0.25 seconds.

Solution

Step 1: Angular frequency: omega = 2 pi f = 2 pi x 2 = 4 pi rad/s (approximately 12.566 rad/s)

Step 2: Since the mass starts at maximum displacement, we use cosine (or sine with phi = pi/2): x(t) = 0.1 cos(4 pi t)

Step 3: Velocity: v(t) = -0.1 x 4 pi x sin(4 pi t) = -0.4 pi sin(4 pi t)

Step 4: At t = 0.25 s: v(0.25) = -0.4 pi sin(4 pi x 0.25) = -0.4 pi sin(pi) = -0.4 pi x 0 = 0 m/s

At t = 0.25 seconds, the mass has completed half an oscillation and is at the opposite extreme, where velocity is momentarily zero.

5. Wave Equations

Waves -- whether sound, light, water, or electromagnetic -- are described by sinusoidal functions. The displacement y of a point on a traveling wave at position x and time t is:

y(x, t) = A sin(kx - omega t + phi)

k = 2 pi / lambda (wave number)    omega = 2 pi f (angular frequency)    v = lambda f = omega / k

Here lambda is the wavelength (distance between consecutive peaks), f is the frequency (oscillations per second), and v is the wave speed. The argument (kx - omega t + phi) is called the phase of the wave, and points of equal phase move together at the wave speed v.

Superposition and Interference

When two waves meet, their displacements add (the principle of superposition). Using trigonometric identities, you can show that two waves with the same amplitude and slightly different frequencies produce beats:

sin(A) + sin(B) = 2 cos((A - B)/2) sin((A + B)/2)

This identity explains why you hear a pulsating sound when two tuning forks of nearly equal pitch are struck together. The beat frequency equals the difference between the two frequencies.

AC Circuits and Phasors

In electrical engineering, alternating current (AC) is described by sinusoidal voltage and current functions. Engineers use phasors -- rotating vectors in the complex plane -- to represent these sinusoidal quantities. The voltage across a circuit element is V(t) = V_max sin(omega t + phi), and the relationships between voltage and current in resistors, capacitors, and inductors all involve trigonometric phase shifts. Capacitors cause current to lead voltage by pi/2 radians (90 degrees), and inductors cause current to lag voltage by pi/2 radians.

Key Takeaway

Trigonometric functions appear in physics whenever there are rotations, oscillations, waves, or components at angles. The five core applications are: (1) vector decomposition using cos and sin, (2) projectile motion with sin(2 theta) for range, (3) inclined planes with mg sin(theta) and mg cos(theta), (4) simple harmonic motion with sinusoidal position functions, and (5) wave equations using sin(kx - omega t).

Practice Problems

Practice 1: Vector Decomposition

A velocity vector has magnitude 50 m/s at 60 degrees above the horizontal. Find its horizontal and vertical components.

Solution: v_x = 50 cos(60) = 50 x 0.5 = 25 m/s. v_y = 50 sin(60) = 50 x 0.8660 = 43.3 m/s.

Practice 2: Projectile Motion

A ball is thrown at 20 m/s at 55 degrees. What is the maximum height reached? (g = 9.8 m/s^2)

Solution: H = (v_0^2 sin^2(theta)) / (2g) = (400 x sin^2(55)) / (2 x 9.8) = (400 x 0.6710) / 19.6 = 268.4 / 19.6 = 13.7 meters.

Practice 3: Inclined Plane

A 20 kg crate is on a ramp tilted at 25 degrees. What is the component of gravity pulling it down the ramp? What is the normal force?

Solution: F_parallel = mg sin(25) = 20 x 9.8 x 0.4226 = 82.8 N down the ramp. F_normal = mg cos(25) = 20 x 9.8 x 0.9063 = 177.6 N perpendicular to ramp.

Practice 4: Simple Harmonic Motion

A pendulum has a period of 1.5 seconds and swings with an amplitude of 0.08 m. What is its angular frequency? Write the position equation assuming it starts from equilibrium moving in the positive direction.

Solution: omega = 2 pi / T = 2 pi / 1.5 = 4 pi / 3 rad/s (approximately 4.189 rad/s). Starting from equilibrium and moving positively: x(t) = 0.08 sin(4 pi t / 3).

Practice 5: Wave Equation

A wave has wavelength 3 m and frequency 5 Hz. Write the wave equation assuming amplitude 0.2 m and no phase shift. What is the wave speed?

Solution: k = 2 pi / 3 rad/m. omega = 2 pi x 5 = 10 pi rad/s. Wave equation: y(x, t) = 0.2 sin((2 pi / 3) x - 10 pi t). Wave speed: v = lambda f = 3 x 5 = 15 m/s.

Frequently Asked Questions

Why is trigonometry used so much in physics?
Physics deals with vector quantities that have both magnitude and direction. Decomposing these vectors into perpendicular components requires cosine and sine. Additionally, most periodic phenomena in nature -- oscillations, waves, rotations, and alternating currents -- are inherently sinusoidal. Trigonometric functions are the mathematical language that describes these phenomena precisely.
What is vector decomposition and why does it matter?
Vector decomposition is the process of breaking a vector into perpendicular components, typically horizontal (x) and vertical (y). It matters because Newton's laws are applied independently along each axis. By decomposing forces into components, you can solve complex multi-force problems by working with simple one-dimensional equations along each axis.
How does trigonometry relate to waves?
Waves are described by sinusoidal functions because they represent periodic oscillations propagating through space. The displacement of any point on a wave varies as a sine or cosine function of both position and time. Sound waves, light waves, water waves, and electromagnetic signals are all modeled using trig functions. The wave equation y = A sin(kx - omega t) captures amplitude, wavelength, frequency, and wave speed in a single elegant expression.
Why is the range of a projectile maximized at 45 degrees?
The range formula includes sin(2 theta), and the sine function reaches its maximum value of 1 when its argument is 90 degrees. So sin(2 theta) = 1 when 2 theta = 90 degrees, meaning theta = 45 degrees. At this angle, the projectile achieves the optimal balance between horizontal velocity (which determines how long it travels forward) and vertical velocity (which determines how long it stays in the air).
On an inclined plane, why is the sliding force mg sin(theta) and not mg cos(theta)?
This is a common point of confusion. The angle theta of the incline is also the angle between the weight vector (pointing straight down) and the line perpendicular to the slope. The component along the slope (parallel) is opposite to this angle, so it uses sine. The component perpendicular to the slope (into the surface) is adjacent to this angle, so it uses cosine. Drawing a clear free-body diagram makes this much easier to see.
Do I need to know radians for physics trig?
Yes. While some introductory problems use degrees, physics formulas involving angular frequency (omega), wave number (k), and phase are all expressed in radians. The equations omega = 2 pi f and k = 2 pi / lambda only work when angles are in radians. Most physics courses transition to radians early and use them exclusively for angular and wave-related calculations.