Expand sinx about pi/4 with McLaurin series | Simple Homework Solution

  • Thread starter Thread starter bmb2009
  • Start date Start date
  • Tags Tags
    Expansion
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
bmb2009
Messages
89
Reaction score
0

Homework Statement



Expand sinx about the point x= pi/4. Hint: Represent the function as sinx= sin(y+pi/4) and assume y to be small



Homework Equations





The Attempt at a Solution



I thought the problem was simply asking to expand sinx with the McLauran expansions about the point pi/4 and get something like... (x-pi/4) - ((x-pi/4)^3)/3! + ((x-pi/4)^5)/5!...so on and so forth.

But the hint throws me off? What does that mean? Any help?

Thanks
 
Physics news on Phys.org
[tex]\sin(x+h) \sim \sum^\infty_{k=0} \frac{h^k}{k!} \sin^{(k)}(x)=\sum^\infty_{k=0} \frac{h^k}{k!} \sin(x+k \, \pi/2)=\sum^\infty_{k=0} \frac{h^k}{k!} (\sin(x)\cos(k \, \pi/2)+\cos(x)\sin(k \, \pi/2))[/tex]

[tex]\sin^{(k)}(x)[/tex]
means the kth derivative of sine evaluated at x which we know to be
[tex]\sin(x+k \, \pi/2)[/tex]
 
Last edited:
lurflurf said:
[tex]\sin(x+h) \sim \sum^\infty_{k=0} \frac{h^k}{k!} \sin^{(k)}(x)=\sum^\infty_{k=0} \frac{h^k}{k!} \sin(x+k \, \pi/2)=\sum^\infty_{k=0} \frac{h^k}{k!} (\sin(x)\cos(k \, \pi/2)+\cos(x)\sin(k \, \pi/2))[/tex]
I'm not sure what good that does. This isn't a Taylor series in x. I guess it's a Taylor series in h, but centered at h=0, which isn't what is asked for.

I think the hint is intended to lead to the following:
[tex]\sin(x) = \sin(y + \pi/4) = \sin(y) \cos(\pi/4) + \cos(y) \sin(\pi/4)[/tex]
And we presumably know the Taylor series for [itex]\sin(y)[/itex] and [itex]\cos(y)[/itex].
 
^It does not matter what variables are used.
In general h is not zero that is an uninteresting case.

These all mean exactly the same thing.
[tex] \sin(x+h) \sim \sum^\infty_{k=0} <br /> \frac{h^k}{k!} \sin^{(k)}(x)=\sum^\infty_{k=0} <br /> \frac{h^k}{k!} \sin(x+k \, \pi/2)=\sum^\infty_{k=0} <br /> \frac{h^k}{k!} (\sin(x)\cos(k \, \pi/2)+\cos(x)\sin(k \, \pi/2)) \\<br /> \sin(a+b) \sim \sum^\infty_{n=0} <br /> \frac{b^n}{n!} \sin^{(n)}(a)=\sum^\infty_{n=0} <br /> \frac{b^n}{n!} \sin(a+n \, \pi/2)=\sum^\infty_{n=0} <br /> \frac{b^n}{n!} (\sin(a)\cos(n \, \pi/2)+\cos(a)\sin(n \, \pi/2)) \\<br /> \sin(\mathrm{rock}+\mathrm{paper}) \sim \sum^\infty_{\mathrm{scissors}=0} <br /> \frac{\mathrm{paper}^\mathrm{scissors}}{\mathrm{scissors}!} \sin^{(\mathrm{scissors})}(\mathrm{rock})=<br /> \sum^\infty_{\mathrm{scissors}=0} <br /> \frac{\mathrm{paper}^\mathrm{scissors}}{\mathrm{scissors}!} \sin(\mathrm{rock}+\mathrm{scissors} \, \pi/2)=\sum^\infty_{\mathrm{scissors}=0} <br /> \frac{\mathrm{paper}^\mathrm{scissors}}{\mathrm{scissors}!} (\sin(\mathrm{rock})\cos(\mathrm{scissors} \, \pi/2)+\cos(\mathrm{rock})\sin(\mathrm{scissors} \, \pi/2))[/tex]

In the given exercise we can take
x=rock+paper
y=paper
pi/4=rock
k=scissors

to give
[tex] \sin(x)=\sin(\pi/4+y) \sim \sum^\infty_{k=0} <br /> \frac{y^k}{k!} \sin^{(k)}(\pi/4)=\sum^\infty_{k=0} <br /> \frac{y^k}{y!} \sin(\pi/4+k \, \pi/2)=\sum^\infty_{k=0} <br /> \frac{y^k}{k!} (\sin(\pi/4)\cos(k \, \pi/2)+\cos(\pi/4)\sin(k \, \pi/2))[/tex]