style({ strokeWidth: 2 }, function() {
path([ [ PT, 0 ], [ PT, valAt( WIDES, PT ) ] ]);
path([ [ -PT, 0 ], [ -PT, valAt( WIDES, -PT ) ] ]);
});
label( [ PT, 0 ], "a", "below right");
label( [ -PT, 0 ], "-a", "below left");
style({ strokeDasharray: "." }, function() {
path([ [ 0, valAt( WIDES, PT ) ], [ PT, valAt( WIDES, PT ) ] ]);
path([ [ 0, valAt( WIDES, -PT ) ], [ -PT, valAt( WIDES, -PT ) ] ]);
});
label( [ 0, valAt( WIDES, PT ) ], "f(a)", "left");
label( [ 0, valAt( WIDES, -PT ) ], "f(-a)", "right");
f(-a)\neq f(a)
, so f(x)
is not even.
f(-a)\neq -f(a)
, so f(x)
is not odd.
style({ stroke: "#7edb00" }, function() {
path([ [ x, 0 ], [ x, valAt( WIDES, x ) ] ]);
path([ [ -x, 0 ], [ -x, valAt( WIDES, -x ) ] ]);
});
style({ strokeDasharray: "." }, function() {
path([ [ 0, valAt( WIDES, x ) ], [ x, valAt( WIDES, x ) ] ]);
path([ [ 0, valAt( WIDES, -x ) ], [ -x, valAt( WIDES, -x ) ] ]);
});
f(-a)=-f(a)
for all of these points, so f(x)
is... ?
f(-a)=-f(a)
for all of these points, so f(x)
is odd.
f(-a)=f(a)
for all of these points, so f(x)
is... ?
f(-a)=f(a)
for all of these points, so f(x)
is even.