Causing difficulties with the gcd algorithm

Assignment Help Basic Statistics
Reference no: EM131042189

Define P1 , P2 , and P3 to be the polynomials

79_kk.jpg

Now define Q1 to be the product of P1 and P2 and Q2 to be the product of P1 and P3 , and use greatest-common-divisor (exercise 2.94) to compute the GCD of Q1 and Q2 . Note that the answer is not the same as P1. This example introduces noninteger operations into the computation, causing difficulties with the GCD algorithm.61 To understand what is happening, try tracing gcdterms while computing the GCD or try performing the division by hand. We can solve the problem exhibited in exercise 2.95 if we use the following modification of the GCD algorithm (which really works only in the case of polynomials with integer coefficients). Before performing any polynomial division in the GCD computation, we multiply the dividend by an integer constant factor, chosen to guarantee that no fractions will arise during the division process. Our answer will thus differ from the actual GCD by an integer constant factor, but this does not matter in the case of reducing rational functions to lowest terms; the GCD will be used to divide both the numerator and denominator, so the integer constant factor will cancel out. More precisely, if P and Q are polynomials, let O1 be the order of P (i.e., the order of the largest term of P) and let O2 be the order of Q. Let c be the leading coefficient of Q. Then it can be shown that, if we multiply P by the integerizing factor c 1+O 1 -O 2 , the resulting polynomial can be divided by Q by using the div-terms algorithm without introducing any fractions. The operation of multiplying the dividend by this constant and then dividing is sometimes called the pseudodivision of P by Q. The remainder of the division is called the pseudoremainder.

Reference no: EM131042189

Questions Cloud

Calculate the upper and lower mean limits : Calculate the upper and lower mean limits for the 95% confidence interval.
Implement the procedure pseudoremainder-terms : Implement the procedure pseudoremainder-terms, which is just like remainder-terms except that it multiplies the dividend by the integerizing factor described above before calling div-terms. Modify gcd-terms to use pseudoremainder-terms, and verify..
What is the variance of one throw of the die : You're playing Dungeons and Dragons, an old-school pen-and-paper role playing game. The game uses an 8-sided die, with the numbers 1-8 on each face. The probability of rolling each number is 1/8. What is the variance of one throw of the die
Determine which arguments are the most plausible : Determine which arguments are the most plausible. Provide a rationale for your views. After creating a cumulative frequency distribution from the list, discuss new ideas generated by each stakeholder.
Causing difficulties with the gcd algorithm : Now define Q1 to be the product of P1 and P2 and Q2 to be the product of P1 and P3 , and use greatest-common-divisor (exercise 2.94) to compute the GCD of Q1 and Q2 . Note that the answer is not the same as P1.
Implement the procedure remainder-terms and use : Using div-terms, implement the procedure remainder-terms and use this to define gcd-terms as above. Now write a procedure gcd-poly that computes the polynomial GCD of two polys.
How many votes their candidate has achieved on democratic : Each student will document how many votes their candidate has achieved on the democratic or republican side; how many delegates has been awarded them throughout the two months of primaries and causes; and their prognosis on how likely their candid..
Find at least three articles from good contemporary sources : Find at least three articles from good contemporary sources. Narrow your topic to one aspect of the issue. Examine the concerns of the church/churches on the issue (scripture, documents).
Distinguish between real intellectual and personal property : The focus of Week 4 is on the law related to real, intellectual, and personal property, the form of business organizations, and ethical issues faced by corporations and small businesses. By the end of Week 4, students should be able to distinguish..

Reviews

Write a Review

Basic Statistics Questions & Answers

  Is estimate participant significantly higher-one-tailed test

Is the estimate from the participants significantly higher than the actual number (µ = 3.1)? Use a one-tailed test with = .05.

  Test-chi square for goodness of fit

Does the overall data support the mayor's claim?

  What is the probability that all three will be blue

A Container has 6 blue marbles, 3 red marbles, and 6 white marbles. If 3 marbles are drawn with replacement, what is the probability that all three will be blue?

  Descriptive statistics-inferential statistics

A research firm observes that men are twice as likely as women to watch the Super Bowl on television. Does this information represent descriptive statistics or inferential statistics? Why?

  The us energy information agency reported that the mean

the u.s. energy information agency reported that the mean monthly household electric bill in the united states in 2007

  A soft-drink machine is regulated so that it discharges an

a soft-drink machine is regulated so that it discharges an average of 200 milliliters per cup. if the amount of drink

  Strategies to increase validity of the findings

What additional strategies (up to 3) you would propose that may increase validity of the findings.

  What the markov property does not mean

Give an example of a stationary Markov chain with a small number of states such that P.XnC1  D xnC1 jXn    xn; Xn-1    xn-1;::: ; X0    x0/  D  P.XnC1  D  xnC1 jXn xn /is not true for arbitrary x0; x1;::: ; xnC1.

  Internal definitions look sequential

Because internal definitions look sequential but are actually simultaneous, some people prefer to avoid them entirely, and use the special form letrec instead. Letrec looks like let, so it is not surprising that the variables it binds are bound si..

  Identify the populations of interest to the county officials

a. Identify the populations of interest to the county officials. b. How might you select a sample of voters to gather this information?

  Explanation to multiple regression

Give an example of how you may use multiple regression to answer a question related to the impact of leadership change on employee attitudes scores, teambuilding training and performance outcomes.

  Ashland multicomm service case problem

Suppose that by the end of 2009, that percentage was 85%. If a sample of 10 U.S. adults is selected, what is the probability that:

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd