Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

how to test if 2 expressions are the same? Mathematica 5.0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg46069] how to test if 2 expressions are the same? Mathematica 5.0
  • From: nma124 at hotmail.com (steve_H)
  • Date: Thu, 5 Feb 2004 04:02:50 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

hello;

I am confused.

many times, I want to find if there is a way to obtain one expression
from another by tranformation.

for example, we know that 1-sin^2(x) = cos^2(x), and  a*log(x)=log(x^a),
etc.., but sometimes this does not seem to work using SameQ:

SameQ[a Log[x], Log[x^a] ]
False

I tried MatchQ and that also gives False.

what is the right way to do these things in Mathematica? I checked the on-line help,
and can't seem to see the right command for this.

many thanks,
STeve


  • Prev by Date: Re: FactorTerms
  • Next by Date: New Mathematica package and Math Arts
  • Previous by thread: Re: simplifying first-order diff eq solution
  • Next by thread: Re: how to test if 2 expressions are the same? Mathematica 5.0