MathGroup Archive 2009

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

Search the Archive

Re: Wrong Simplify[] Answer for Simplify[Cos[x]^4-Sin[x]^4]?


Hi, Please remember the basic identity Cos[x]^2+Sin[x]^2=1 (* We multiply
both sides of the equation with (Cos[x]^2-Sin[x]^2) *)
=>(Cos[x]^2+Sin[x]^2)*(Cos[x]^2-Sin[x]^2)=1*(Cos[x]^2-Sin[x]^2) (* remember
(a+b)(a-b)=a^2-b^2 *) =>(Cos[x]^4-Sin[x]^4)=Cos[2x] Also for this type of
doubt one can take help of the Plot function in Mathematica.
Plot[Evaluate[{Cos[x]^4 - Sin[x]^4, Cos[2 x], Cos[x]^2 - Sin[x]^2}], {x, -2
Pi, 2 Pi}, PlotStyle -> {{Red}, {Blue, Dashed}, {Cyan}}] You will see all
the three functions that we are plotting will coincide. Hope this helps you.
Regards, Pratip

On Fri, Oct 30, 2009 at 8:19 AM, Lawrence Teo <lawrenceteo at yahoo.com> wrote:

> We know that Simplify[Cos[x]^2-Sin[x]^2] -> Cos[2 x]
> But why Simplify[Cos[x]^4-Sin[x]^4] -> Cos[2 x] too?
>
> Doing subtraction between the two expressions will give small delta.
> This is enough to prove that the two expression shouldn't be the same.
>
> Can anyone give me any insight? Thanks.
>
>


  • Prev by Date: Re: Plot using DSolve HELP
  • Next by Date: Re: plotting with dotted lines, not dashed
  • Previous by thread: Re: Wrong Simplify[] Answer for Simplify[Cos[x]^4-Sin[x]^4]?
  • Next by thread: Re: Wrong Simplify[] Answer for Simplify[Cos[x]^4-Sin[x]^4]?