dCode is free and its tools are a valuable help in games, puzzles and problems to solve every day! You have a problem, an idea for a project, a specific need and dCode can not (yet) help you? You need custom development? Contact-me!

This page is using the new English version of dCode, please make comments !

Tool to compute the period of a function. The period of a function is the lowest value t such as f(x+t)=f(x-t)=f(x).

Answers to Questions

How to find the period of a function?

To find the period \( t \) of a function \( f(x) \), demonstrate that $$ f(x+t)=f(x) $$

Example: \( \sin(x + 2\pi) = \sin(x) \) so \( \sin(x) \) is periodic of period \( 2\pi \)

The most common periodic functions are trigonometric functions based on sine and cosine functions (that have a 2 pi period), so try multiples of pi for value \( t \).

The value of the period found is also called the periodicity of the function.

If the period is equal to 0, then the function is not periodic.

How to prove that a function is not periodic?

If \( f \) is periodic, then it exists a real not null such as $$ f(x+t)=f(x) $$ Demonstrate that it is impossible. For example with a reductio ad absurdum or performing a calculation that leads to a contradiction.

Ask a new question

Source code

dCode retains ownership of the source code of the script Period of a Function. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, etc.) which dCode owns rights can be transferred after sales quote. So if you need to download the Period of a Function script for offline use, for you, your company or association, see you on contact page !

dCode uses cookies to customize the site content, analyze user behavior and adapt dCode to your use. Some data is stored and collected for advertising purposes and may be shared with our partners. OK