Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 09 / 10Sets, Relations and Functions

Even, Odd and Periodic Functions

Symmetry of even and odd functions and their algebra, the unique even-odd decomposition, the fundamental period and rules for f(ax + b), sums and products, cases where the LCM rule over-estimates the period, and periods forced by functional equations.

Figure 1
Symmetry and repetition are the two structural features that most often shorten JEE calculations, especially in definite integrals and in counting the roots of equations. Even and odd functions. Let the domain be symmetric about 00 (if xx is in it, so is −x-x). The function ff is even if f(−x)=f(x)f(-x) = f(x) for all xx, and odd if f(−x)=−f(x)f(-x) = -f(x) for all xx. The graph of an even function is symmetric about the yy-axis; the graph of an odd function is symmetric about the origin (rotating it by 180∘180^{\circ} leaves it unchanged). Examples of even functions: x2x^{2}, cos⁡x\cos x, ∣x∣|x|, xsin⁡xx\sin x. Odd: x3x^{3}, sin⁡x\sin x, tan⁡x\tan x, sgn(x)\text{sgn}(x), ln⁡1−x1+x\ln\frac{1 - x}{1 + x}, and ln⁡(x+x2+1)\ln(x + \sqrt{x^{2} + 1}). If an odd function is defined at 00, then f(0)=−f(0)f(0) = -f(0), so f(0)=0f(0) = 0. The function f(x)=0f(x) = 0 is the only function that is both even and odd. Most functions, for example exe^{x}, are neither. Algebra of parity, which works like the signs +1+1 and −1-1 under multiplication: even ×\times even == even, odd ×\times odd == even, and even ×\times odd == odd. Sums of two even functions are even and sums of two odd functions are odd, but even ++ odd is generally neither. For composition, if the inner function is even the composite is even; if both are odd the composite is odd. Differentiation switches parity (the derivative of an even function is odd, and of an odd function is even), and the integral ∫0xf(t) dt\int_{0}^{x} f(t)\,dt of an odd function is even. Every function on a symmetric domain splits uniquely into an even part and an odd part: f(x)=f(x)+f(−x)2+f(x)−f(−x)2f(x) = \frac{f(x) + f(-x)}{2} + \frac{f(x) - f(-x)}{2}. Replacing xx by −x-x confirms that the first term is even and the second is odd. For uniqueness, if f=E1+O1=E2+O2f = E_{1} + O_{1} = E_{2} + O_{2}, then E1−E2=O2−O1E_{1} - E_{2} = O_{2} - O_{1} is both even and odd, hence zero. For exe^{x} this decomposition gives cosh⁡x=ex+e−x2\cosh x = \frac{e^{x} + e^{-x}}{2} and sinh⁡x=ex−e−x2\sinh x = \frac{e^{x} - e^{-x}}{2}. Periodic functions. ff is periodic if there is some T>0T > 0 with f(x+T)=f(x)f(x + T) = f(x) for all xx in the domain (and x+Tx + T in the domain whenever xx is). The smallest such TT is the fundamental period, usually just called the period. Standard periods: sin⁡x\sin x, cos⁡x\cos x, sec⁡x\sec x, csc⁡x\csc x have period 2π2\pi; tan⁡x\tan x, cot⁡x\cot x, ∣sin⁡x∣|\sin x|, ∣cos⁡x∣|\cos x|, sin⁡2x\sin^{2}x have period π\pi; {x}\{x\} has period 11; ∣sin⁡x∣+∣cos⁡x∣|\sin x| + |\cos x| and sin⁡4x+cos⁡4x\sin^{4}x + \cos^{4}x have period π2\frac{\pi}{2}. A constant function is periodic but has no fundamental period, because every positive TT works. The Dirichlet function (equal to 11 on rationals and 00 on irrationals) also has every positive rational as a period and so has no smallest one. Rules. If ff has period TT, then f(ax+b)f(ax + b) has period T∣a∣\frac{T}{|a|}: compressing the graph horizontally by a factor aa compresses the period by the same factor, while the shift bb has no effect. If ff and gg have periods T1T_{1} and T2T_{2} with a rational ratio, then f+gf + g and fgfg are periodic, and the LCM of T1T_{1} and T2T_{2} is a period, but not necessarily the smallest one. For fractions, LCM(ab,cd)=LCM(a,c)HCF(b,d)\text{LCM}(\frac{a}{b}, \frac{c}{d}) = \frac{\text{LCM}(a, c)}{\text{HCF}(b, d)}. The LCM over-estimates when the combination has extra symmetry. In the diagram, ∣sin⁡x∣|\sin x| and ∣cos⁡x∣|\cos x| each have period π\pi, yet their sum repeats every π2\frac{\pi}{2}, because ∣sin⁡(x+π2)∣=∣cos⁡x∣|\sin(x + \frac{\pi}{2})| = |\cos x| and ∣cos⁡(x+π2)∣=∣sin⁡x∣|\cos(x + \frac{\pi}{2})| = |\sin x|, so shifting by π2\frac{\pi}{2} just swaps the two terms. Always test whether a smaller shift already works. If the ratio of the periods is irrational, as for sin⁡x+sin⁡πx\sin x + \sin \pi x or sin⁡x+{x}\sin x + \{x\}, the sum is not periodic. Also non-periodic: sin⁡(x2)\sin(x^{2}), sin⁡x\sin\sqrt{x} and xsin⁡xx\sin x, since the input to sin⁡\sin is not advancing at a steady rate. Key Takeaways: - Even: f(−x)=f(x)f(-x) = f(x), symmetric about the yy-axis. Odd: f(−x)=−f(x)f(-x) = -f(x), symmetric about the origin, and f(0)=0f(0) = 0 if defined. - Even ×\times odd == odd; odd ×\times odd == even; the derivative switches parity. - f(x)=f(x)+f(−x)2+f(x)−f(−x)2f(x) = \frac{f(x) + f(-x)}{2} + \frac{f(x) - f(-x)}{2}, uniquely. - Period of f(ax+b)f(ax + b) is T∣a∣\frac{T}{|a|}. - The LCM of the periods is a period of the sum, but check smaller candidates such as half the LCM. - ∣sin⁡x∣+∣cos⁡x∣|\sin x| + |\cos x| and sin⁡4x+cos⁡4x\sin^{4}x + \cos^{4}x have period π2\frac{\pi}{2}; ∣sin⁡x∣|\sin x| has period π\pi. - An irrational ratio of periods means no period at all. - Pitfall: calling sin⁡x+cos⁡x\sin x + \cos x 'even plus odd, so neither, so not periodic'. Parity and periodicity are unrelated; it has period 2π2\pi. Brain-Teaser 1: Find the period of f(x)=sin⁡4x+cos⁡4xf(x) = \sin^{4}x + \cos^{4}x. Solution: The LCM rule suggests π\pi, since sin⁡4x\sin^{4}x and cos⁡4x\cos^{4}x each have period π\pi. But simplify first: sin⁡4x+cos⁡4x=(sin⁡2x+cos⁡2x)2−2sin⁡2xcos⁡2x=1−12sin⁡22x=1−14(1−cos⁡4x)=34+14cos⁡4x\sin^{4}x + \cos^{4}x = (\sin^{2}x + \cos^{2}x)^{2} - 2\sin^{2}x\cos^{2}x = 1 - \frac{1}{2}\sin^{2}2x = 1 - \frac{1}{4}(1 - \cos 4x) = \frac{3}{4} + \frac{1}{4}\cos 4x. The period of cos⁡4x\cos 4x is 2π4=π2\frac{2\pi}{4} = \frac{\pi}{2}, so the period of ff is π2\frac{\pi}{2}. Rewriting the expression as a single trigonometric function exposes the true period, which the LCM rule over-estimated by a factor of 22. Brain-Teaser 2: A function satisfies f(x+1)+f(x−1)=f(x)f(x + 1) + f(x - 1) = f(x) for all real xx. Show that ff is periodic and find a period. Solution: Replace xx by x+1x + 1: f(x+2)+f(x)=f(x+1)f(x + 2) + f(x) = f(x + 1). Adding this to the original equation, f(x+2)+f(x−1)=0f(x + 2) + f(x - 1) = 0, so f(x+2)=−f(x−1)f(x + 2) = -f(x - 1). Shifting, f(y+3)=−f(y)f(y + 3) = -f(y) for all yy. Applying this twice, f(y+6)=−f(y+3)=f(y)f(y + 6) = -f(y + 3) = f(y). So 66 is a period. A concrete example is f(x)=sin⁡πx3f(x) = \sin\frac{\pi x}{3}, using sin⁡(A+B)+sin⁡(A−B)=2sin⁡Acos⁡B\sin(A + B) + \sin(A - B) = 2\sin A\cos B with cos⁡π3=12\cos\frac{\pi}{3} = \frac{1}{2}. The move is to generate a second copy of the equation by shifting, combine the two to eliminate a term, and iterate until ff returns to itself. Brain-Teaser 3: ff is odd and periodic with period TT, and defined everywhere. Prove that f(T2)=0f(\frac{T}{2}) = 0, and deduce ∫0Tf(x) dx=0\int_{0}^{T} f(x)\,dx = 0 (assuming ff is integrable). Solution: By periodicity, f(T2)=f(T2−T)=f(−T2)f(\frac{T}{2}) = f(\frac{T}{2} - T) = f(-\frac{T}{2}), and by oddness, f(−T2)=−f(T2)f(-\frac{T}{2}) = -f(\frac{T}{2}). So f(T2)=−f(T2)f(\frac{T}{2}) = -f(\frac{T}{2}), and f(T2)=0f(\frac{T}{2}) = 0. For the integral, periodicity means integrating over any interval of length TT gives the same value, so ∫0Tf=∫−T/2T/2f\int_{0}^{T} f = \int_{-T/2}^{T/2} f, which is 00 because ff is odd. For example, sin⁡x\sin x vanishes at π\pi and has zero integral over [0,2π][0, 2\pi], and tan⁡x\tan x is undefined at π2\frac{\pi}{2}, which is consistent because the result requires ff to be defined there. Combining the two symmetries produces facts that neither symmetry gives on its own.

Practice this concept

Free · no account required · instant solutions