Maclaurin series of $\sin(5x^2)$

calculussequences-and-seriestaylor expansiontrigonometric series

I was requested to find the Maclaurin series of $\sin(5x^2)$. I attempted to find the derivatives of this function in hopes of finding a pattern. However, the derivatives become more and more complicated, without any pattern emerging —not to my eyes, at least. For example, the first derivatives are

  • $f^{1}(x)=10x\cos(5x^2)$
  • $f^{2}(x)=10(-10x^2\sin(5x^2) + \cos(5x^2))$
  • $f^{(3)}(x)= 10(-100x^3\cos(5x^2)-30x\sin(5x^2))$

The third derivative is already ugly, let alone the fourth. When evaluated at $0$, they give $f^{1}(0)=0, f^{2}(0)=10, f^{3}(0)=0, f^{4}(0)=0,…$ and I didn't go beyond that because derivatives got too nasty already.

Just to clarify, it is not laziness what stops me when facing an "ugly" expression. If it must be computed, fair enough. But I have a strong feeling I'm making this harder than it should be. Maybe there is a method to find the Maclaurin expansion for this series that I'm unaware of. My hunch tells me I should simply use the Maclaurin expansion of $\sin x$:

$$\sin x = x-\frac{x^3}{3!} + \frac{x^5}{5!}+…$$

However, I does not seem justifiable to simply let $u=\sin 5x^2$ and $\sin u=u-\frac{u^3}{3!}+\frac{u^5}{5!}+…$ because the coefficients of this expansion are the $n$th derivatives of $\sin$ with respect to $x$, not $u$.

In short, I am quite lost and I've runned out of ideas regarding this expansion. Any help is much appreciated.

Best Answer

Good observation that the coefficients in the expansion of $\sin x$ depends on the derivatives of $\sin x$, whereas the coefficients of the series for $\sin 5x^2$ should in general depends on the derivatives of $\sin 5x^2$. In short, the reason why it works is the following.

$$\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \cdots$$

This series is valid for any fixed real $x$ (the radius of convergence is infinite). So if I choose a fixed $x$, I should expect that the value of $\sin x$ will be correctly given by the series on the right. Moreover, suppose I decide I want to compute $\sin 5x^2$. Since $5x^2$ is also some real number, and the above formula is true for all real numbers, then it should be true that

$$\sin (5x^2) = (5x^2) - \frac{(5x^2)^3}{3!} + \frac{(5x^2)^5}{5!} - \frac{(5x^2)^7}{7!} + \cdots$$

and indeed, it is true. Why this is not a cheat: if you expand and simplify, you will find that the correct series for $\sin 5x^2$ is given by

$$5x^2 - \frac{125x^6}{3!} + \frac{3125x^{10}}{5!} - \frac{78125x^{14}}{7!} + \cdots$$

This implies something about the derivatives of $f(x) = \sin 5x^2$. In particular, $f(0) = 0$ and $f'(0) = 0$, but $f''(0) = 10$ (as $10/2! = 5$). Then the derivatives of order 3 through 5 all evaluate to zero at $x = 0$, while $f^{(6)}(0) = -125 \cdot 6!/3!$, and so on. This isn't a cheat because we don't know the value of these derivatives at any other point, just at zero. It's not like we've been given a formula for $f'(x)$, $f''(x)$, and so on, but the series above implies these particular values for those unknown functions, at one particular point.

Related Question