Ma · Mathematics

Is the Sum of Two Odd Functions Always Odd?

Published By the 9to5Science editorial team

At a glance

  1. 1. Check the domain

    The functions must be defined on a common domain that is symmetric about zero.

  2. 2. Use the oddness rule

    Replace each function value at negative x with the negative of its value at x.

  3. 3. Add the results

    The sum at negative x is the negative of the sum at x, so the sum is odd.

Yes, provided both functions are defined on the same domain that is symmetric about zero. The result follows immediately from the definition of an odd function. Below is the proof, a numerical example, and the domain and parity details that can otherwise cause confusion.

Definition of an odd function

A function ff is odd if, for every xx in its domain, −x-x is also in its domain and

f(−x)=−f(x).f(-x)=-f(x).

The domain therefore has to be symmetric about zero: whenever it contains xx, it must contain −x-x. Common examples of odd functions on the real numbers are f(x)=xf(x)=x, f(x)=x3f(x)=x^3, and f(x)=sin⁡xf(x)=\sin x.

Proof that the sum is odd

Let ff and gg be odd functions on a common domain DD symmetric about zero. Define their sum by

h(x)=f(x)+g(x).h(x)=f(x)+g(x).

For any x∈Dx\in D, oddness gives f(−x)=−f(x)f(-x)=-f(x) and g(−x)=−g(x)g(-x)=-g(x). Thus

h(−x)=f(−x)+g(−x)=−f(x)−g(x)=−(f(x)+g(x))=−h(x).\begin{aligned} h(-x)&=f(-x)+g(-x)\\ &=-f(x)-g(x)\\ &=-(f(x)+g(x))\\ &=-h(x). \end{aligned}

This is precisely the definition of an odd function, so h=f+gh=f+g is odd. The argument uses only the definition and the arithmetic of real numbers; it does not require the functions to be continuous, differentiable, or otherwise regular.

Worked example

Take

f(x)=x3−2x,g(x)=sin⁡x.f(x)=x^3-2x,\qquad g(x)=\sin x.

Both are odd on R\mathbb{R}: replacing xx with −x-x changes the sign of each function. Their sum is

h(x)=x3−2x+sin⁡x.h(x)=x^3-2x+\sin x.

Check its value at −2-2:

h(2)=8−4+sin⁡2=4+sin⁡2,h(−2)=−8+4+sin⁡(−2)=−4−sin⁡2=−(4+sin⁡2)=−h(2).\begin{aligned} h(2)&=8-4+\sin 2=4+\sin 2,\\ h(-2)&=-8+4+\sin(-2)=-4-\sin 2\\ &=-(4+\sin 2)=-h(2). \end{aligned}

The same relationship holds for every real xx, not just x=2x=2, because the proof applies to all points in the domain.

Domain details

The phrase “both functions are odd” already entails that each function’s domain is symmetric about zero. If they have different symmetric domains, their sum is defined on the intersection of those domains. That intersection is also symmetric about zero, so the sum is odd on it.

For example, a function might be defined only on [−1,1][-1,1] rather than all of R\mathbb{R}. It can still be odd, as long as its values satisfy f(−x)=−f(x)f(-x)=-f(x) for every xx in that domain. The sum of two such functions is odd wherever both are defined.

If a proposed domain is not symmetric about zero, the usual definition of oddness cannot be applied to every point in that domain: a needed value at −x-x may not exist. In that case, first identify a symmetric domain on which both functions are defined, or state clearly what restricted domain is being considered.

The same calculation works for any finite sum of odd functions. More generally, if aa and bb are constants, then af+bgaf+bg is odd whenever ff and gg are odd on a common symmetric domain:

(af+bg)(−x)=af(−x)+bg(−x)=−af(x)−bg(x)=−(af+bg)(x).(af+bg)(-x)=af(-x)+bg(-x)=-af(x)-bg(x)=-(af+bg)(x).

In particular, the difference of two odd functions is odd, since f−g=f+(−1)gf-g=f+(-1)g. The zero function is also odd, because 0=−00=-0 at every input. It is also even, so odd and even are not mutually exclusive for that function.

Common mistakes

  • Assuming extra regularity is needed. The sum rule does not depend on continuity, differentiability, or a formula such as a polynomial. It follows solely from the defining identity.
  • Forgetting the domain. The relation uses both xx and −x-x. A function’s domain must allow both inputs for the points being considered.
  • Mixing odd and even functions. A sum of one odd and one even function is not necessarily odd. For instance, x+1x+1 is neither odd nor even: its values at 11 and −1-1 are 22 and 00.
  • Confusing “odd function” with odd integer outputs. Here, “odd” describes symmetry around the origin through f(−x)=−f(x)f(-x)=-f(x); it does not mean that the function’s values are odd integers.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.