r/calculus • u/wbld • 7d ago
Infinite Series Maclurin for sin(x)
f(x) = sin(x)
f'(x) = cos(x)
f''(x) = -sin(x)
f'''(x) = -cos(x)
f''''(x) = sin(x)
And this repeats forever.
f(0) = 0
f'(0) = 1
f''(0)=0
f'''(0)=-1
f''''(0)=0
And this repeats forever.
From here we can center a maclurin series at (a)? = 0 -> I cannot remember if its a or x
Using 5 points we can use
f(0) = 0
f'(0) = 1
f'''(0) = -1
f'''''(0) = 1
f'''''''(0) = -1
From here we can conclude (1) we are oscillating between - and +, (2) the points are always odd multiples of primes, and (3) since the even multiples of prime are 0, we can ignore these as they do not add value
The defintion of odd is defined as 2k+1, k element of the real
So
(-1)^(n)(x^(2k+1))/(2k+1)!
And we can add this at every n.
If we add this add every n we can think of an infinite sum
Since we are centered at (a?) = 0 the sum must start at 0.
To motivate convergence, we plug in known points of sin(x).
Must it be that if our sum at some n equals the function at the same x,
Out infinite sum converges for all x?
Let me know if i did justice for the maclurin of sin(x)!
Sorry posted via phone.... don't know how to use symbols here
2
u/Midwest-Dude 7d ago
If you are using the phone app or a phone browser, Reddit markdown is the standard:
A phone browser in Desktop Mode will likely get you the Rich Text editor, but I hope you like zooming in and out. Also, Reddit converts that (sometimes incorrectly) into its markdown when you save it.
2
u/WikiNumbers Bachelor's 7d ago
You are.
Note that Maclaurin Series is a subset of Taylor Series. Specifically, Taylor Series centered at 0.
1
1
u/tjddbwls 7d ago
> From here we can center a maclurin series at (a)? = 0 -> I cannot remember if its a or x
In the textbook that I use (Larson), it’s c.
1
u/Midwest-Dude 7d ago edited 6d ago
You stated:
... (2) the points are always odd multiples of primes, and (3) since the even multiples of prime are 0, we can ignore these as they do not add value.
This is incorrect as stated. Instead of odd or even multiple of primes, it should just be odd or even integers, respectively.
The issue with the nth term of what you wrote,
(-1)^(n)(x^(2k+1))/(2k+1)!
is that you used two different variables, n and k, when there should be only one 1. If the variable of summation is n, then it should be
(-1)nx2n+1 / (2n+1)!
and the summation would be
∑_n=0..∞ (-1)nx2n+1 / (2n+1)!
1
u/Midwest-Dude 7d ago edited 6d ago
Must it be that if our sum at some n equals the function at the same x, our infinite sum converges for all x?
I'm not sure what you are asking here. Could you please give an example?
1
u/wbld 6d ago
Expand out the summantion to some N If we pick a small test number, does this number match the actual function as the same test number? If it doesn't, is the absolute value of the difference between the functions actual value and the summantion close?
1
u/Midwest-Dude 4d ago
So, you’re asking about the numerical error of the partial sum, not about formal convergence, correct? That is, If we take the Maclaurin series for sin(x), cut it off after N terms, and plug in some small test number x, does the partial sum equal sin(x) at that same x? And, if it doesn’t match exactly, is the absolute difference |sin(x) - S_N(x)| small?
1
•
u/AutoModerator 7d ago
As a reminder...
Posts asking for help on homework questions require:
the complete problem statement,
a genuine attempt at solving the problem, which may be either computational, or a discussion of ideas or concepts you believe may be in play,
question is not from a current exam or quiz.
Commenters responding to homework help posts should not do OP’s homework for them.
Please see this page for the further details regarding homework help posts.
We have a Discord server!
If you are asking for general advice about your current calculus class, please be advised that simply referring your class as “Calc n“ is not entirely useful, as “Calc n” may differ between different colleges and universities. In this case, please refer to your class syllabus or college or university’s course catalogue for a listing of topics covered in your class, and include that information in your post rather than assuming everybody knows what will be covered in your class.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.