FourierCosCoefficient[expr,t,n]
gives the n
coefficient in the Fourier cosine series expansion of expr.
FourierCosCoefficient[expr,{t1,t2,…},{n1,n2,…}]
gives a multidimensional Fourier cosine coefficient.
FourierCosCoefficient
FourierCosCoefficient[expr,t,n]
gives the n
coefficient in the Fourier cosine series expansion of expr.
FourierCosCoefficient[expr,{t1,t2,…},{n1,n2,…}]
gives a multidimensional Fourier cosine coefficient.
Details and Options
- The

coefficient in the Fourier cosine series expansion of
is by default given by
. - The
–dimensional Fourier cosine coefficient is given by
. - In the form FourierCosCoefficient[expr,t,n], n can be symbolic or a non–negative integer.
- The following options can be given:
-
Assumptions $Assumptions assumptions on parameters FourierParameters {1,1} parameters to define Fourier series GenerateConditions False whether to generate results that involve conditions on parameters - The function expr is assumed to be periodic in t with period
, except when otherwise specified by FourierParameters. - Common settings for FourierParameters include:
-
{1,1} 
default settings {1,2Pi} 
period 1 {a,b} 
general setting
Examples
open all close allBasic Examples (2)
Find the 5
Fourier cosine coefficient:
FourierCosCoefficient[t ^ 2, t, 5]Find the general term coefficient:
FourierCosCoefficient[t ^ 2, t, n]DiscretePlot[%, {n, -7, 7}, PlotRange -> All]//QuietFind the {3,5} Fourier cosine coefficient:
FourierCosCoefficient[x ^ 2 y, {x, y}, {3, 5}]Find the coefficient of the general term:
FourierCosCoefficient[x ^ 2 y, {x, y}, {m, n}]Plot the multivariate sequence:
ListPointPlot3D[Table[%, {m, -5, 5}, {n, -5, 5}], Filling -> Bottom, DataRange -> {{-5, 5}, {-5, 5}}, PlotRange -> All]//QuietScope (4)
Find the 6
Fourier cosine coefficient for a quadratic polynomial:
FourierCosCoefficient[t ^ 2 + 7t + 2, t, 6]General Fourier cosine coefficient for a piecewise function:
FourierCosCoefficient[UnitStep[t(Pi / 2 - t)], t, n]Fourier cosine coefficient for a Gaussian function:
FourierCosCoefficient[E ^ (-t ^ 2), t, n]Fourier cosine coefficient for a basis function:
FourierCosCoefficient[Cos[3t], t, n]Table[%, {n, 0, 10}]Options (1)
FourierParameters (1)
Use a nondefault setting for FourierParameters:
Table[FourierCosCoefficient[t, t, n, FourierParameters -> fp], {fp, {{1, 1}, {1, 2π}}}]See Also
FourierCosSeries FourierDCT FourierSinCoefficient FourierCoefficient Fourier FourierCosTransform Integrate
Function Repository: NFourierCosCoefficient NFourierCosTransform
Related Guides
History
Text
Wolfram Research (2008), FourierCosCoefficient, Wolfram Language function, https://reference.wolfram.com/language/ref/FourierCosCoefficient.html.
CMS
Wolfram Language. 2008. "FourierCosCoefficient." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FourierCosCoefficient.html.
APA
Wolfram Language. (2008). FourierCosCoefficient. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FourierCosCoefficient.html
BibTeX
@misc{reference.wolfram_2026_fouriercoscoefficient, author="Wolfram Research", title="{FourierCosCoefficient}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/FourierCosCoefficient.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_fouriercoscoefficient, organization={Wolfram Research}, title={FourierCosCoefficient}, year={2008}, url={https://reference.wolfram.com/language/ref/FourierCosCoefficient.html}, note=[Accessed: 13-June-2026]}