If f(x)=(x3+x2, for 0≤x≤2x+2, for 2≤x≤4
then the odd extension of f(x) would be -
f(x)=(x3−x2, for −2≤x≤0x−2, for −4≤x≤−2
Given,
x3+x2 for 0≤x≤2
f(x)=x+2 for 2<x≤4
The function is defined only on positive side of X- axis. Now in order to extend the function we'll have to extend the domain on negative side as well.
To make it an odd function we'll replace x by –x and multiply the whole expression by (−1). So we'll have
(−1)(−x3+x2) for −2≤x≤0
f(x)=(−1)(−x+2) for −4≤x<−2
Or the complete function defined would be
x3+x2 for 0≤x≤2
f(x)=x+2 for 2<x≤4
x3−x2 for −2≤x≤0
f(x)=x−2 for −4≤x<−2