Skip to content

Math Tricks

Integrals are one of the most common things in physics, and usually come in a few standard forms.

∫xn dx=xn+1n+1 (n≠−1),∫dxx=ln⁡∣x∣,\int x^n\,dx=\frac{x^{n+1}}{n+1}\ (n\neq-1),\qquad \int \frac{dx}{x}=\ln\lvert x \rvert, ∫eax dx=1aeax.\int e^{ax}\,dx=\frac{1}{a}e^{ax}.

Many integrals show up commonly when deriving certain values:

∫x dx(x2+a2)3/2=−1x2+a2+C,\int\frac{x\,dx}{(x^2+a^2)^{3/2}}=-\frac{1}{\sqrt{x^2+a^2}}+C, ∫dx(x2+a2)3/2=xa2x2+a2+C,\int\frac{dx}{(x^2+a^2)^{3/2}}=\frac{x}{a^2\sqrt{x^2+a^2}}+C,

and

∫dxx2+a2=ln⁡∣x+x2+a2∣+C.\int\frac{dx}{\sqrt{x^2+a^2}}=\ln\left\lvert x+\sqrt{x^2+a^2}\right\rvert+C.

For rotational inertia and center-of-mass calculations, remember that the integral is usually just continuous addition:

M=∫dm,r⃗cm=1M∫r⃗ dm,I=∫r⊥2 dm.M=\int dm,\qquad \vec r_{\mathrm{cm}}=\frac{1}{M}\int \vec r\,dm, \qquad I=\int r_\perp^2\,dm.

An arbitrary constant CC should be added to every indefinite integral.

∫sin⁡x dx=−cos⁡x,∫cos⁡x dx=sin⁡x,∫dxa2+x2=1aarctan⁡xa.\int \sin x\,dx=-\cos x,\qquad \int\cos x\,dx=\sin x,\qquad \int \frac{dx}{a^2+x^2}=\frac{1}{a}\arctan\frac{x}{a}.

The identities

sin⁡2x=1−cos⁡2x2,cos⁡2x=1+cos⁡2x2,sin⁡xcos⁡x=sin⁡2x2\sin^2x=\frac{1-\cos 2x}{2},\qquad \cos^2x=\frac{1+\cos 2x}{2},\qquad \sin x\cos x=\frac{\sin 2x}{2}

turn products and squares into easy integrals. Over a full period, the average of sin⁡2x\sin^2x or cos⁡2x\cos^2x is 12\tfrac12, which is why RMS values carry a factor 1/21/\sqrt2:

∫02πsin⁡2x dx=∫02πcos⁡2x dx=π.\int_0^{2\pi}\sin^2x\,dx=\int_0^{2\pi}\cos^2x\,dx=\pi.

A few less common integrals show up in thermodynamics, statistical mechanics, diffraction, and gravitation problems:

∫0∞e−ax2 dx=12πa(a>0; Gaussian),∫0∞xne−x dx=n!(n=0,1,2,…; Gamma).\int_0^\infty e^{-ax^2}\,dx=\frac12\sqrt{\frac{\pi}{a}}\quad(a>0;\ \text{Gaussian}),\qquad \int_0^\infty x^n e^{-x}\,dx=n!\quad(n=0,1,2,\ldots;\ \text{Gamma}).

The full Gaussian integral is

∫−∞∞e−ax2 dx=πa,\int_{-\infty}^{\infty}e^{-ax^2}\,dx=\sqrt{\frac{\pi}{a}},

and its value is usually used directly rather than rederived during a problem.

The form of the integrand usually suggests a first move. Here is how to use each technique.

Before integrating, check what happens when xx changes to −x-x. An odd function has f(−x)=−f(x)f(-x)=-f(x), so its positive and negative contributions cancel over symmetric limits. An even function has f(−x)=f(x)f(-x)=f(x), so you can integrate one half and double it.

For example, if a>0a>0,

∫−aa(x(x2+a2)3/2+x2) dx=0+2∫0ax2 dx=2a33.\int_{-a}^{a}\left(\frac{x}{(x^2+a^2)^{3/2}}+x^2\right)\,dx =0+2\int_0^a x^2\,dx=\frac{2a^3}{3}.

The first term disappears without an antiderivative. This is the same cancellation used when opposite charge elements produce equal and opposite field components.

Choose a new variable that absorbs a repeated expression. For a>0a>0, consider

I=∫0Lx dx(x2+a2)3/2.I=\int_0^L\frac{x\,dx}{(x^2+a^2)^{3/2}}.

Set u=x2+a2u=x^2+a^2, so du=2x dxdu=2x\,dx. Change the limits as well: x=0x=0 gives u=a2u=a^2, and x=Lx=L gives u=L2+a2u=L^2+a^2. Then

I=12∫a2L2+a2u−3/2 du=[−u−1/2]a2L2+a2=1a−1L2+a2.I=\frac12\int_{a^2}^{L^2+a^2}u^{-3/2}\,du =\left[-u^{-1/2}\right]_{a^2}^{L^2+a^2} =\frac1a-\frac{1}{\sqrt{L^2+a^2}}.

If the numerator lacks the needed factor of xx, a trig substitution may work better. For ∫dx/x2+a2\int dx/\sqrt{x^2+a^2}, set x=atan⁡θx=a\tan\theta so the square root becomes asec⁡θa\sec\theta on −π/2<θ<π/2-\pi/2<\theta<\pi/2. The integral reduces to ∫sec⁡θ dθ\int\sec\theta\,d\theta and gives the logarithmic form listed above.

The product rule, d(uv)=u dv+v dud(uv)=u\,dv+v\,du, rearranges to

∫u dv=uv−∫v du.\int u\,dv=uv-\int v\,du.

Use it when differentiating one factor makes the remaining integral simpler. For an exponentially decaying signal with decay rate γ>0\gamma>0,

∫0∞te−γt dt,\int_0^\infty t e^{-\gamma t}\,dt,

choose u=tu=t and dv=e−γtdtdv=e^{-\gamma t}dt. Then du=dtdu=dt and v=−e−γt/γv=-e^{-\gamma t}/\gamma, giving

∫0∞te−γt dt=[−te−γtγ]0∞+1γ∫0∞e−γt dt=1γ2.\int_0^\infty t e^{-\gamma t}\,dt =\left[-\frac{t e^{-\gamma t}}{\gamma}\right]_0^\infty +\frac1\gamma\int_0^\infty e^{-\gamma t}\,dt =\frac{1}{\gamma^2}.

The boundary term vanishes because the exponential decays faster than tt grows. LIATE—logarithmic, inverse trig, algebraic, trig, exponential—is a useful order to try when choosing uu, but the goal is always to simplify the new integral.

Differentiating with respect to a parameter

Section titled “Differentiating with respect to a parameter”

Sometimes you already know a related integral. Differentiating it can bring down the extra factor you need. Start with the Gaussian integral

I(a)=∫0∞e−ax2 dx=π2a−1/2,a>0.I(a)=\int_0^\infty e^{-ax^2}\,dx=\frac{\sqrt\pi}{2}a^{-1/2},\qquad a>0.

Differentiating with respect to aa gives

I′(a)=−∫0∞x2e−ax2 dx=−π4a−3/2.I'(a)=-\int_0^\infty x^2e^{-ax^2}\,dx =-\frac{\sqrt\pi}{4}a^{-3/2}.

Therefore,

∫0∞x2e−ax2 dx=π4a3/2.\int_0^\infty x^2e^{-ax^2}\,dx=\frac{\sqrt\pi}{4a^{3/2}}.

The differentiation and integration can be exchanged here because the integrand and its derivative decay sufficiently fast for positive aa. For variable integration limits, include their boundary terms using Leibniz’s rule.

These checks help assess an integral’s answer. In the substitution example, the integrand times dxdx has units of inverse length, matching 1/a−1/L2+a21/a-1/\sqrt{L^2+a^2}.

When L≪aL\ll a, the denominator is nearly a3a^3, so the integral should approach L2/(2a3)L^2/(2a^3). Expanding the exact result gives

1a−1L2+a2≈1a−1a(1−L22a2)=L22a3.\frac1a-\frac{1}{\sqrt{L^2+a^2}} \approx\frac1a-\frac1a\left(1-\frac{L^2}{2a^2}\right) =\frac{L^2}{2a^3}.

When L→0L\to0 it vanishes, and when L→∞L\to\infty it approaches 1/a1/a. These checks catch missing powers, signs, and constants.


When doing physics problems, we use the small angle approximation for simplification. For ∣x∣≪1\lvert x \rvert \ll 1:

FunctionApproximation
(1+x)n(1+x)^n1+nx1+nx
exe^x1+x1+x
ln⁡(1+x)\ln(1+x)xx
sin⁡x\sin xxx
cos⁡x\cos x1−12x21-\tfrac12 x^2
tan⁡x\tan xxx
11−x\dfrac{1}{1-x}1+x1+x

The binomial one, (1+x)n≈1+nx(1+x)^n\approx 1+nx, is useful throughout physics: it linearizes square roots (1+x≈1+x2\sqrt{1+x}\approx 1+\tfrac{x}{2}), reciprocals, and many other complicated polynomial expressions. In practice, factor out the large quantity first so that the expansion parameter is small. As an example,

1R2+x2=1R11+(x/R)2≈1R(1−x22R2)(x≪R).\frac{1}{\sqrt{R^2+x^2}}=\frac{1}{R}\frac{1}{\sqrt{1+(x/R)^2}}\approx\frac{1}{R}\left(1-\frac{x^2}{2R^2}\right)\quad (x\ll R).

Example. Two equal masses MM are fixed a distance 2a2a apart. A much smaller mass mm lies on their perpendicular bisector, a distance yy from the midpoint, where ∣y∣≪a\lvert y\rvert\ll a. Find the small mass’s approximate acceleration and its oscillation frequency.

The horizontal gravitational forces cancel. The vertical acceleration is

ay=−2GMy(a2+y2)3/2.a_y=-\frac{2GMy}{(a^2+y^2)^{3/2}}.

The useful small quantity is not yy itself but y2/a2y^2/a^2. Factor out a2a^2 before expanding:

(a2+y2)−3/2=a−3(1+y2a2)−3/2≈a−3(1−3y22a2).(a^2+y^2)^{-3/2}=a^{-3}\left(1+\frac{y^2}{a^2}\right)^{-3/2} \approx a^{-3}\left(1-\frac{3y^2}{2a^2}\right).

Because the numerator already contains yy, the correction is third order. To first order,

ay≈−2GMa3y.a_y\approx-\frac{2GM}{a^3}y.

This has the SHM form y¨=−ω2y\ddot y=-\omega^2y, so

ω=2GMa3.\omega=\sqrt{\frac{2GM}{a^3}}.

The creative step is recognizing that an inverse-power gravitational expression becomes a spring law after expanding about the midpoint.


Sometimes, when you have a≪ba \ll b, you can perform a Taylor expansion at x=0x = 0 (this is how we derive all of the small value approximations above!). The general expansion of a function about x=0x=0 (a Maclaurin series) is

f(x)=f(0)+f′(0) x+f′′(0)2!x2+f′′′(0)3!x3+⋯f(x)=f(0)+f'(0)\,x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3+\cdots

If you are doing oscillations/SHM calculations, you need to take up to the second derivative (quadratic) term, and if you are doing any other calculations you usually only need to take up to the first derivative (linear) term.

Example. Why does a stable equilibrium cause SHM?

Take any potential U(x)U(x) with a stable equilibrium at x0x_0. Expand about x0x_0:

U(x)≈U(x0)+U′(x0)⏟= 0(x−x0)+12U′′(x0)(x−x0)2.U(x)\approx U(x_0)+\underbrace{U'(x_0)}_{=\,0}(x-x_0)+\frac12 U''(x_0)(x-x_0)^2.

The constant doesn’t affect forces, and the linear term is zero at equilibrium, so near x0x_0

U(x)≈const+12keff(x−x0)2,keff=U′′(x0).U(x)\approx \text{const}+\tfrac12 k_{\text{eff}}(x-x_0)^2,\qquad k_{\text{eff}}=U''(x_0).

This is a spring potential with effective spring constant U′′(x0)U''(x_0), so the system oscillates with ω=U′′(x0)/m\omega=\sqrt{U''(x_0)/m}. Any smooth potential looks like a harmonic oscillator near its minimum — this is why SHM is everywhere, and why USAPhO loves asking for “the frequency of small oscillations.”

As an example, a pendulum has U(θ)=mgL(1−cos⁡θ)≈12mgL θ2U(\theta)=mgL(1-\cos\theta)\approx \tfrac12 mgL\,\theta^2 for small θ\theta (keeping the quadratic term), giving ω=g/L\omega=\sqrt{g/L}.


Choose coordinates that follow the symmetry of the problem. A good coordinate system makes boundaries constant-coordinate surfaces and points one basis vector along the direction in which the system changes.

Use polar coordinates for motion confined to a plane around a fixed point: circular tracks, central-force orbits, rotating rods, or circular area integrals. A circle becomes the simple condition r=Rr=R. If the path and forces instead follow straight perpendicular directions, Cartesian coordinates may be easier.

Polar coordinates describe a point in a plane using its distance rr from the origin and angle θ\theta from the positive xx-axis:

x=rcos⁡θ,y=rsin⁡θ,dA=r dr dθ.x=r\cos\theta,\qquad y=r\sin\theta,\qquad dA=r\,dr\,d\theta.

The basis vectors r^\hat r and θ^\hat\theta rotate as the particle moves. Their derivatives are

dr^dt=θ˙θ^,dθ^dt=−θ˙r^.\frac{d\hat r}{dt}=\dot\theta\hat\theta, \qquad \frac{d\hat\theta}{dt}=-\dot\theta\hat r.

Therefore,

v⃗=r˙r^+rθ˙θ^,\vec v=\dot r\hat r+r\dot\theta\hat\theta, a⃗=(r¨−rθ˙2)r^+(rθ¨+2r˙θ˙)θ^.\vec a=(\ddot r-r\dot\theta^2)\hat r+(r\ddot\theta+2\dot r\dot\theta)\hat\theta.

Example. A bead slides freely on a straight radial rod rotating at constant angular speed ω\omega in a horizontal plane. Find the equation governing its distance rr from the pivot.

In Cartesian coordinates, both the rod and its constraint force constantly change direction. In polar coordinates the constraint is simply θ=ωt\theta=\omega t, so θ˙=ω\dot\theta=\omega and θ¨=0\ddot\theta=0. The rod’s force is perpendicular to the rod, so there is no radial force. The radial component of Newton’s second law is

0=m(r¨−rω2),0=m(\ddot r-r\omega^2),

or

r¨=ω2r.\ddot r=\omega^2r.

The coordinate choice eliminates the unknown constraint force from the equation we need.

Use spherical coordinates when distances and boundaries are measured from one center: spheres, shells, radial density distributions, and point-charge or gravitational fields. For full spherical symmetry the angular integrals give 4π4\pi, leaving a single radial integral. A hemisphere uses a restricted polar-angle range.

Spherical coordinates use distance rr from the origin, polar angle θ\theta measured down from the positive zz-axis, and azimuthal angle ϕ\phi around the zz-axis:

x=rsin⁡θcos⁡ϕ,y=rsin⁡θsin⁡ϕ,z=rcos⁡θ.x=r\sin\theta\cos\phi,\qquad y=r\sin\theta\sin\phi,\qquad z=r\cos\theta.

The volume element and area element on a sphere are

dV=r2sin⁡θ dr dθ dϕ,dAr=r2sin⁡θ dθ dϕ.dV=r^2\sin\theta\,dr\,d\theta\,d\phi, \qquad dA_{r}=r^2\sin\theta\,d\theta\,d\phi.

For a spherically symmetric scalar field f(r)f(r),

∇f=dfdrr^,∇2f=1r2ddr(r2dfdr).\nabla f=\frac{df}{dr}\hat r, \qquad \nabla^2f=\frac{1}{r^2}\frac{d}{dr}\left(r^2\frac{df}{dr}\right).

Example. A sphere of radius RR has density ρ(r)=ρ0r/R\rho(r)=\rho_0r/R. Find its total mass.

Because the density depends only on distance from the center, spherical shells are constant-density surfaces. Using dV=4πr2drdV=4\pi r^2dr after integrating over the angles,

M=∫ρ dV=4π∫0Rρ0rRr2 dr=4πρ0R[r44]0R=πρ0R3.M=\int\rho\,dV =4\pi\int_0^R\frac{\rho_0r}{R}r^2\,dr =\frac{4\pi\rho_0}{R}\left[\frac{r^4}{4}\right]_0^R =\pi\rho_0R^3.

In Cartesian coordinates, the same integral would require a spherical boundary and a density containing x2+y2+z2\sqrt{x^2+y^2+z^2}.

Use cylindrical coordinates for symmetry about an axis: long wires, pipes, coaxial capacitors, rotating cylinders, and disks or stacks of disks. A cylindrical wall is s=Rs=R, while flat end caps are constant zz. This separates distance from the axis from height along it.

Cylindrical coordinates combine polar coordinates in the xyxy-plane with an ordinary vertical coordinate:

x=scos⁡ϕ,y=ssin⁡ϕ,z=z,x=s\cos\phi,\qquad y=s\sin\phi,\qquad z=z,

where ss is the perpendicular distance from the zz-axis. The volume element and common surface elements are

dV=s ds dϕ dz,dV=s\,ds\,d\phi\,dz, dAs=s dϕ dz,dAz=s ds dϕ.dA_{s}=s\,d\phi\,dz,\qquad dA_z=s\,ds\,d\phi.

Using ss rather than rr avoids confusing cylindrical distance from the axis with spherical distance from the origin.

Example. A solid cylinder of radius RR, length LL, and uniform density ρ\rho rotates about its symmetry axis. Find its moment of inertia.

Every mass element’s perpendicular distance from the axis is simply ss. Therefore,

I=∫s2 dm=ρ∫0L∫02π∫0Rs2(s ds dϕ dz).I=\int s^2\,dm =\rho\int_0^L\int_0^{2\pi}\int_0^R s^2(s\,ds\,d\phi\,dz).

The limits are all constant, so

I=ρL(2π)R44=12(ρπR2L)R2=12MR2.I=\rho L(2\pi)\frac{R^4}{4} =\frac12(\rho\pi R^2L)R^2 =\frac12MR^2.

Vectors show up a lot on USAPhO, so it is especially handy to know how to do vector algebra.

A vector a⃗\vec a has components a⃗=(ax,ay,az)=axi^+ayj^+azk^\vec a=(a_x,a_y,a_z)=a_x\hat i+a_y\hat j+a_z\hat k, where i^,j^,k^\hat i,\hat j,\hat k are unit vectors along the axes. Its magnitude (or norm) is ∣a⃗∣=ax2+ay2+az2\lvert \vec a \rvert =\sqrt{a_x^2+a_y^2+a_z^2}, and the unit vector in its direction is a^=a⃗/∣a⃗∣\hat a=\vec a/ \lvert \vec a \rvert. Throughout, θ\theta denotes the angle between the two vectors being combined.

Definition (Dot product). The dot product is one way to multiply two vectors, and result in a scalar quantity. The formula is given by: a⃗⋅b⃗=axbx+ayby+azbz\vec a \cdot \vec b = a_x b_x + a_y b_y + a_z b_z

Properties:

  1. a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ\vec a \cdot \vec b = \lvert \vec a\rvert \lvert \vec b \rvert\cos\theta
  2. b⃗⋅a⃗=a⃗⋅b⃗\vec b \cdot \vec a = \vec a \cdot \vec b
  3. a⃗⋅a⃗=∣a⃗∣2\vec a \cdot \vec a = \lvert \vec a \rvert^2
  4. If a⃗⊥b⃗\vec a \perp \vec b, then a⃗⋅b⃗=0\vec a \cdot \vec b = 0

The dot product acts like a projection: a⃗⋅b^\vec a\cdot\hat b is the component of a⃗\vec a along the direction of b⃗\vec b. This is why work is W=F⃗⋅d⃗W=\vec F\cdot\vec d and flux is E⃗⋅A⃗\vec E\cdot\vec A, since both measure components along a specific direction.

Definition (Cross product). The cross product is one way to multiply two vectors, and result in another vector, whose direction is perpendicular to the first two. You find the direction based on the right-hand rule (as described in AP Physics C). The formula is given by the determinant

a⃗×b⃗=∣i^j^k^axayazbxbybz∣=(aybz−azby) i^+(azbx−axbz) j^+(axby−aybx) k^.\vec a\times\vec b= \begin{vmatrix}\hat i&\hat j&\hat k\\ a_x&a_y&a_z\\ b_x&b_y&b_z\end{vmatrix} =(a_yb_z-a_zb_y)\,\hat i+(a_zb_x-a_xb_z)\,\hat j+(a_xb_y-a_yb_x)\,\hat k.

Properties:

  1. ∣a⃗×b⃗∣=∣a⃗∣∣b⃗∣sin⁡θ\lvert \vec a\times\vec b \rvert =\lvert \vec a\rvert \lvert \vec b \rvert\sin\theta — the magnitude equals the area of the parallelogram spanned by the two vectors.
  2. b⃗×a⃗=− a⃗×b⃗\vec b\times\vec a=-\,\vec a\times\vec b (anticommutative — order matters!)
  3. a⃗×a⃗=0⃗\vec a\times\vec a=\vec 0, and more generally a⃗×b⃗=0⃗\vec a\times\vec b=\vec 0 if a⃗∥b⃗\vec a\parallel\vec b.
  4. The result is perpendicular to both inputs, with direction set by the right-hand rule.

To apply the right-hand rule, point the fingers of your right hand along the first vector, curl them through the smaller angle toward the second vector, and point your thumb perpendicular to the plane. Your thumb gives the direction of a⃗×b⃗\vec a\times\vec b. Reversing the order reverses the direction. For vectors in the page, counterclockwise rotation from the first vector to the second gives a result out of the page, while clockwise rotation gives a result into the page.

Right-hand rule showing fingers curling from vector a toward vector b and the thumb pointing in the direction of a cross b

The cross product denotes a “rotational” or perpendicular quantity: torque τ⃗=r⃗×F⃗\vec\tau=\vec r\times\vec F, angular momentum L⃗=r⃗×p⃗\vec L=\vec r\times\vec p, and magnetic force F⃗=qv⃗×B⃗\vec F=q\vec v\times\vec B are all cross products.

Often times, problems require a combination of the dot and cross products.

The scalar triple product gives a signed volume:

a⃗⋅(b⃗×c⃗)=b⃗⋅(c⃗×a⃗)=c⃗⋅(a⃗×b⃗).\vec a\cdot(\vec b\times\vec c) =\vec b\cdot(\vec c\times\vec a) =\vec c\cdot(\vec a\times\vec b).

Its magnitude is the volume of the parallelepiped spanned by the three vectors. Swapping any two vectors changes the sign. If the triple product is zero, the vectors are coplanar.

The vector triple product follows the BAC–CAB rule:

a⃗×(b⃗×c⃗)=b⃗(a⃗⋅c⃗)−c⃗(a⃗⋅b⃗).\vec a\times(\vec b\times\vec c) =\vec b(\vec a\cdot\vec c)-\vec c(\vec a\cdot\vec b).

Cross products are not associative, so parentheses matter. Two other useful identities are

(a⃗×b⃗)⋅(c⃗×d⃗)=(a⃗⋅c⃗)(b⃗⋅d⃗)−(a⃗⋅d⃗)(b⃗⋅c⃗),(\vec a\times\vec b)\cdot(\vec c\times\vec d) =(\vec a\cdot\vec c)(\vec b\cdot\vec d) -(\vec a\cdot\vec d)(\vec b\cdot\vec c), ∣a⃗×b⃗∣2=∣a⃗∣2∣b⃗∣2−(a⃗⋅b⃗)2.\lvert\vec a\times\vec b\rvert^2 =\lvert\vec a\rvert^2\lvert\vec b\rvert^2-(\vec a\cdot\vec b)^2.

Example. A particle of charge qq moves with velocity v⃗\vec v in a uniform magnetic field B⃗\vec B. Using F⃗=qv⃗×B⃗\vec F=q\vec v\times\vec B, find dF⃗/dtd\vec F/dt when no other forces act, and show that the acceleration rotates about B⃗\vec B.

Since B⃗\vec B is constant,

dF⃗dt=qdv⃗dt×B⃗=qmF⃗×B⃗=q2m(v⃗×B⃗)×B⃗.\frac{d\vec F}{dt}=q\frac{d\vec v}{dt}\times\vec B =\frac{q}{m}\vec F\times\vec B =\frac{q^2}{m}(\vec v\times\vec B)\times\vec B.

Apply the vector triple product with the parentheses in this order:

(v⃗×B⃗)×B⃗=B⃗(v⃗⋅B⃗)−v⃗B2=−B2v⃗⊥.(\vec v\times\vec B)\times\vec B =\vec B(\vec v\cdot\vec B)-\vec vB^2 =-B^2\vec v_\perp.

Therefore,

dF⃗dt=−q2B2mv⃗⊥.\frac{d\vec F}{dt}=-\frac{q^2B^2}{m}\vec v_\perp.

The force changes toward the center of the circular perpendicular motion while the component of velocity parallel to B⃗\vec B stays constant. This is the vector form of helical motion.


Sometimes, you have to think outside of the real numbers. As you may remember from precalculus, any sinusoid can be written as the real part of a complex exponential, using Euler’s formula

eiθ=cos⁡θ+isin⁡θ.e^{i\theta}=\cos\theta+i\sin\theta.

So Acos⁡(ωt+ϕ)=Re(Aeiϕ eiωt)A\cos(\omega t+\phi)=\mathrm{Re}\big(A e^{i\phi}\,e^{i\omega t}\big). Differentiation then becomes multiplication by iωi\omega, which turns the differential equations of oscillations and AC circuits into ordinary algebra. Adding two waves of the same frequency becomes adding two complex numbers (“phasors”) tip-to-tail, which can avoid hefty trig identities.

Example. Two perpendicular simple harmonic motions have the same angular frequency:

x(t)=Acos⁡ωt,y(t)=Acos⁡(ωt+2π3).x(t)=A\cos\omega t, \qquad y(t)=A\cos\left(\omega t+\frac{2\pi}{3}\right).

Find the amplitude and phase of the motion along the line u=(x+y)/2u=(x+y)/\sqrt2.

Represent each cosine by its complex amplitude. The complex amplitude of uu is

U~=A2(1+ei2π/3).\tilde U=\frac{A}{\sqrt2}\left(1+e^{i2\pi/3}\right).

Using 1+eiα=2cos⁡(α/2)eiα/21+e^{i\alpha}=2\cos(\alpha/2)e^{i\alpha/2},

U~=A2eiπ/3.\tilde U=\frac{A}{\sqrt2}e^{i\pi/3}.

Taking the real part at the end gives

u(t)=A2cos⁡(ωt+π3).u(t)=\frac{A}{\sqrt2}\cos\left(\omega t+\frac{\pi}{3}\right).

Thus the projected motion has amplitude A/2A/\sqrt2 and phase π/3\pi/3. The phasor sum avoids expanding and recombining several sine and cosine terms.


Once the physics is set up, the question becomes which mathematical tool to reach for. A quick decision tree: