Understanding Laws for O(x^n) Objects | Tailor Series Question

  • Thread starter transgalactic
  • Start date
  • Tags
    Series
In summary, you should learn the basics of calculus and algebra first, and then try to use Taylor series to solve problems.
Physics news on Phys.org
  • #2
I cannot open that web-page.
 
  • #4
Your very first statement is wrong. The Taylor's (not "tailor") series for ln(1+ x) is NOT alternating. You also write [itex]x^3/3= 2x^3/6= 2x^3/3![/itex] and [itex]x^4/4= 6x^2/(4*6)= 6x^4/4![/itex] and then, for some reason, drop the "2" and "6" in the numerator in the next line.
 
  • #5
What power do I need to open up the series to, because I have an [itex]x^5[/itex] term, which contradicts O(x^4)

Do you actually know what O(x^4) means? If you do, that problem is extremely easy.
 
  • #6
besides those mistakes with the numenator numbers
i tried to build the tailor series of both function from scrach
where did i go wronge in the process
 
  • #7
No offense but lately it seems you've been trying to use and do a lot of things with Taylor series, but you should really learn the fundamentals first. Taking Taylor series 'from scratch' involves taking derivatives, making bounds on the remainder etc etc. What you are doing is basically badly manipulating series. Tell us what mathematics you know and what you want to know, and we'll tell you what you need to learn to fill in the gaps.
 
  • #8
ok,
as i showed in the link

first i tried to build the series of each function

till x^4 power(thats what was given in the question )
i made 4 derivatives of each function
and built a series by making f(0)+f'(0)x +(f''(0)x^2)/2+(f'''(0)x^2)/6 +(f''''(0)x^2)/24 +o(x^4)

then the lan series needed to be multiplied by x
so i increased by 1 the power of each object in the lan series except the remainder

and now i substituted each object in the e^t series with the series on the lan
i have built

the problem is
i was tald to build till the 4th power
but by making the x multiplication previosly i got x^5 object

also i was told that the expresion i got after the substitution
doesnt need to be opened by the formula formula (a+b)^2
but we only wright the object which are defined bellow the power of the remainder
we right objects which are in the power of 4 or less

this is my knowledge about this question
where did i get it wronge?
 
  • #9
my problem is with x^5 object that i got

my dilema is

either to develop the series to the grade for which
even after making the multiplication by x it won't go over x^4
but in this case after the multiplication
the o(x^4) changes to o(x^5)

the other way is to delete the x^5
because our question asks us for series till the 4th power

but here again the o(x^4) changes to o(x^5) after multiplication by x

??
 

FAQ: Understanding Laws for O(x^n) Objects | Tailor Series Question

What are O(x^n) objects?

O(x^n) objects refer to the complexity or order of growth of a function or algorithm, where x represents the input size and n represents the degree of the function. In other words, it describes how the runtime of the algorithm increases as the input size increases.

What is the importance of understanding laws for O(x^n) objects?

Understanding laws for O(x^n) objects can help in analyzing the efficiency and performance of algorithms in terms of time and space complexity. It also helps in comparing different algorithms and choosing the most efficient one for a specific problem.

How are O(x^n) objects related to tailor series?

Taylor series is a mathematical representation of a function as an infinite sum of its derivatives. The coefficients in the Taylor series are related to the growth rate of the function, which can be expressed in terms of O(x^n) objects. Therefore, understanding laws for O(x^n) objects can aid in approximating functions using tailor series.

What are some examples of O(x^n) objects in real life?

One example of O(x^n) objects is the time complexity of sorting algorithms, such as bubble sort, merge sort, and quicksort, which have a worst-case time complexity of O(n^2), O(nlogn), and O(nlogn) respectively. Another example is the space complexity of data structures like arrays, linked lists, and hash tables, which have a worst-case space complexity of O(n), O(n), and O(n) respectively.

How can I determine the O(x^n) complexity of an algorithm?

The simplest way to determine the O(x^n) complexity of an algorithm is to analyze its code and count the number of operations performed based on the input size. The highest power of x in the equation will determine the complexity. Alternatively, you can use mathematical techniques like asymptotic analysis or recurrence relations to determine the complexity of an algorithm.

Back
Top