0% found this document useful (0 votes)
36 views

Symbolics

The document discusses even and odd functions. It defines even and odd functions and provides examples of each. Some key properties of even and odd functions are: - The sum of two even (odd) functions is even (odd). - The product of two functions with the same parity (evenness/oddness) is even, and the product of functions with opposite parity is odd. - The derivative of an even function is odd, and the derivative of an odd function is even. - The integral of an odd function over a symmetric interval is zero, and the integral of an even function over a symmetric interval is twice the integral over half the interval.

Uploaded by

Ali Duraz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Symbolics

The document discusses even and odd functions. It defines even and odd functions and provides examples of each. Some key properties of even and odd functions are: - The sum of two even (odd) functions is even (odd). - The product of two functions with the same parity (evenness/oddness) is even, and the product of functions with opposite parity is odd. - The derivative of an even function is odd, and the derivative of an odd function is even. - The integral of an odd function over a symmetric interval is zero, and the integral of an even function over a symmetric interval is twice the integral over half the interval.

Uploaded by

Ali Duraz
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Evenfunctions Letf(x)bearealvaluedfunctionofarealvariable.Thenfisevenifthefollowingequationholdsforallxinthe domainoff: Geometrically,thegraphofanevenfunctionissymmetricwithrespecttotheyaxis,meaningthatitsgraph remainsunchangedafterreflectionabouttheyaxis.Examplesofevenfunctionsare|x|,x2,x4,cos(x),andcosh(x).

Oddfunctions (x)=x3isanexampleofanoddfunction.Again,letf(x)bearealvaluedfunctionofarealvariable.Thenfisoddif thefollowingequationholdsforallxinthedomainoff:

Geometrically,thegraphofanoddfunctionhasrotationalsymmetrywithrespecttotheorigin,meaningthatits graphremainsunchangedafterrotationof180degreesabouttheorigin.Examplesofoddfunctionsarex,x3, sin(x),sinh(x),anderf(x).

Basicproperties Thesumoftwoevenfunctionsiseven,andanyconstantmultipleofanevenfunctioniseven. Thesumoftwooddfunctionsisodd,andanyconstantmultipleofanoddfunctionisodd. Theproductoftwoevenfunctionsisanevenfunction. Theproductoftwooddfunctionsisanevenfunction. Theproductofanevenfunctionandanoddfunctionisanoddfunction. Thequotientoftwoevenfunctionsisanevenfunction. Thequotientoftwooddfunctionsisanevenfunction. Thequotientofanevenfunctionandanoddfunctionisanoddfunction. Thederivativeofanevenfunctionisodd. Thederivativeofanoddfunctioniseven. Thecompositionoftwoevenfunctionsiseven,andthecompositionoftwooddfunctionsisodd. Thecompositionofanevenfunctionandanoddfunctioniseven. Thecompositionofanyfunctionwithanevenfunctioniseven(butnotviceversa). TheintegralofanoddfunctionfromAto+Aiszero(whereAisfinite,andthefunctionhasnovertical asymptotesbetweenAandA). TheintegralofanevenfunctionfromAto+Aistwicetheintegralfrom0to+A(whereAisfinite,and thefunctionhasnoverticalasymptotesbetweenAandA).

PerformingIntegralandPlottingusingsymbolictoolboxinMATLAB syms x y y=cos(x)+5*cos(2*x)

% how to make integral in matlab % note that integral will be for y with respect to x int(y,-pi,pi)

%if you want to plot a symbolic equation ezplot(x/pi,y,[-3*pi 3*pi]); hold on; ezplot(x/pi,cos(x),[-3*pi 3*pi]); hold on; ezplot(x/pi,5*cos(2*x),[-3*pi 3*pi]); grid

You might also like