Group Abstract Group Abstract

Message Boards Message Boards

0
|
94 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:

What methods can be used to correctly determine the parity of each type of function?

Posted 5 days ago

The following code is the method I have tried to use myself: however, the results are incorrect when judging the parity of some functions. What methods can be used to accurately determine the parity of each type of function?

f[x_] := x^3
dn = FunctionDomain[f[x], x]
Reduce[ForAll[x, dn, #], x, Reals] & /@ {f[-x] == -f[x], f[-x] == f[x]}

There were no errors in judging the parity of the following functions.

f[x_] := x^3
dn = FunctionDomain[f[x], x]
Reduce[ForAll[x, dn, #], x, Reals] & /@ {f[-x] == -f[x], f[-x] == f[x]}

f[x_] := x - Sin@x
dn = FunctionDomain[f[x], x]
Reduce[ForAll[x, dn, #], x, Reals] & /@ {f[-x] == -f[x], f[-x] == f[x]}

However, errors occur in the following cases:

The judgment is incorrect when the domain of the function is not symmetric about the origin.

f[x_] := x^2 - Abs@x + 1
dn = -1 <= x <= 4
Reduce[ForAll[x, dn, #], x, Reals] & /@ {f[-x] == -f[x], f[-x] == f[x]}

enter image description here

Errors occur when judging the parity of functions containing parameters.

f[x_] := 1/(a^x - 1) + 1/2
dn = FunctionDomain[f[x], x]
Reduce[ForAll[x, dn, #], x, Reals] & /@ {f[-x] == -f[x], f[-x] == f[x]}

enter image description here

What methods can correctly determine the parity of each type of function?

POSTED BY: Bill Blair

If you insist on domain symmetry, it should be part of the test:

With[{dn = -1 <= x <= 4},
 ForAll[x, Equivalent[dn, dn /. x -> -x]] // Reduce]

Pitfall: written this way it gives True:

dn = -1 <= x <= 4;
ForAll[x, Equivalent[dn, dn /. x -> -x]]

I myself would investigate parity this way first:

f[x_] := 1/(a^x - 1) + 1/2;
Reduce[f[-x] == -f[x], x]
Reduce[f[-x] == f[x], x]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard