Polynomial long division

In algebra, polynomial long division is an algorithm for dividing a polynomial by another polynomial of the same or lower degree, a generalized version of the familiar arithmetic technique called long division. It can be done easily by hand, because it separates an otherwise complex division problem into smaller ones. Sometimes using a shorthand version called synthetic division is faster, with less writing and fewer calculations. Another abbreviated method is polynomial short division (Blomqvist's method).

Polynomial long division is an algorithm that implements the Euclidean division of polynomials, which starting from two polynomials A (the dividend) and B (the divisor) produces, if B is not zero, a quotient Q and a remainder R such that

A = BQ + R,

and either R = 0 or the degree of R is lower than the degree of B. These conditions uniquely define Q and R, which means that Q and R do not depend on the method used to compute them.

The result R = 0 occurs if and only if the polynomial A has B as a factor. Thus long division is a means for testing whether one polynomial has another as a factor, and, if it does, for factoring it out. For example, if a root r of A is known, it can be factored out by dividing A by (x – r).

Example

Polynomial long division

Find the quotient and the remainder of the division of the dividend, by the divisor.

The dividend is first rewritten like this:

The quotient and remainder can then be determined as follows:

  1. Divide the first term of the dividend by the highest term of the divisor (meaning the one with the highest power of x, which in this case is x). Place the result above the bar (x3 ÷ x = x2).
  2. Multiply the divisor by the result just obtained (the first term of the eventual quotient). Write the result under the first two terms of the dividend (x2 · (x − 3) = x3 − 3x2).
  3. Subtract the product just obtained from the appropriate terms of the original dividend (being careful that subtracting something having a minus sign is equivalent to adding something having a plus sign), and write the result underneath ((x3 − 2x2) − (x3 − 3x2) = −2x2 + 3x2 = x2). Then, "bring down" the next term from the dividend.
  4. Repeat the previous three steps, except this time use the two terms that have just been written as the dividend.
  5. Repeat step 4. This time, there is nothing to "bring down".

The polynomial above the bar is the quotient q(x), and the number left over (5) is the remainder r(x).

The long division algorithm for arithmetic is very similar to the above algorithm, in which the variable x is replaced (in base 10) by the specific number 10.

Polynomial short division

Blomqvist's method[1] is an abbreviated version of the long division above. This pen-and-paper method uses the same algorithm as polynomial long division, but mental calculation is used to determine remainders. This requires less writing, and can therefore be a faster method once mastered.

The division is at first written in a similar way as long multiplication with the dividend at the top, and the divisor below it. The quotient is to be written below the bar from left to right.

Divide the first term of the dividend by the highest term of the divisor (x3 ÷ x = x2). Place the result below the bar. x3 has been divided leaving no remainder, and can therefore be marked as used with a backslash. The result x2 is then multiplied by the second term in the divisor −3 = −3x2. Determine the partial remainder by subtracting −2x2 − (−3x2) = x2. Mark −2x2 as used and place the new remainder x2 above it.

Divide the highest term of the remainder by the highest term of the divisor (x2 ÷ x = x). Place the result (+x) below the bar. x2 has been divided leaving no remainder, and can therefore be marked as used. The result x is then multiplied by the second term in the divisor −3 = −3x. Determine the partial remainder by subtracting 0x − (−3x) = 3x. Mark 0x as used and place the new remainder 3x above it.

Divide the highest term of the remainder by the highest term of the divisor (3x ÷ x = 3). Place the result (+3) below the bar. 3x has been divided leaving no remainder, and can therefore be marked as used. The result 3 is then multiplied by the second term in the divisor −3 = −9. Determine the partial remainder by subtracting −4 − (−9) = 5. Mark −4 as used and place the new remainder 5 above it.

The polynomial below the bar is the quotient q(x), and the number left over (5) is the remainder r(x).

Pseudocode

The algorithm can be represented in pseudocode as follows, where +, −, and × represent polynomial arithmetic, and / represents simple division of two terms:

function n / d is
    require d ≠ 0
    q ← 0
    r ← n             // At each step n = d × q + r

    while r ≠ 0 and degree(r) ≥ degree(d) do
        t ← lead(r) / lead(d)       // Divide the leading terms
        q ← q + t
        r ← r − t × d

    return (q, r)

This works equally well when degree(n) < degree(d); in that case the result is just the trivial (0, n).

This algorithm describes exactly the above paper and pencil method: d is written on the left of the ")"; q is written, term after term, above the horizontal line, the last term being the value of t; the region under the horizontal line is used to compute and write down the successive values of r.

Euclidean division

For every pair of polynomials (A, B) such that B ≠ 0, polynomial division provides a quotient Q and a remainder R such that

and either R=0 or degree(R) < degree(B). Moreover (Q, R) is the unique pair of polynomials having this property.

The process of getting the uniquely defined polynomials Q and R from A and B is called Euclidean division (sometimes division transformation). Polynomial long division is thus an algorithm for Euclidean division.[2]

Applications

Factoring polynomials

Sometimes one or more roots of a polynomial are known, perhaps having been found using the rational root theorem. If one root r of a polynomial P(x) of degree n is known then polynomial long division can be used to factor P(x) into the form (xr)Q(x) where Q(x) is a polynomial of degree n − 1. Q(x) is simply the quotient obtained from the division process; since r is known to be a root of P(x), it is known that the remainder must be zero.

Likewise, if several roots r, s, . . . of P(x) are known, a linear factor (xr) can be divided out to obtain Q(x), and then (xs) can be divided out of Q(x), etc. Alternatively, the quadratic factor can be divided out of P(x) to obtain a quotient of degree n − 2.

This method is especially useful for cubic polynomials, and sometimes all the roots of a higher-degree polynomial can be obtained. For example, if the rational root theorem produces a single (rational) root of a quintic polynomial, it can be factored out to obtain a quartic (fourth degree) quotient; the explicit formula for the roots of a quartic polynomial can then be used to find the other four roots of the quintic. There is, however, no general way to solve a quintic by purely algebraic methods, see Abel–Ruffini theorem.

Finding tangents to polynomial functions

Polynomial long division can be used to find the equation of the line that is tangent to the graph of the function defined by the polynomial P(x) at a particular point x = r.[3] If R(x) is the remainder of the division of P(x) by (xr)2, then the equation of the tangent line at x = r to the graph of the function y = P(x) is y = R(x), regardless of whether or not r is a root of the polynomial.

Example

Find the equation of the line that is tangent to the following curve at x = 1:

Begin by dividing the polynomial by (x − 1)2 = x2 − 2x + 1:

The tangent line is y = −21x − 32.

Cyclic redundancy check

A cyclic redundancy check uses the remainder of polynomial division to detect errors in transmitted messages.

See also

References

  1. ^ Archived at Ghostarchive and the Wayback Machine: Blomqvist's division: the simplest method for solving divisions?, retrieved 2019-12-10
  2. ^ S. Barnard (2008). Higher Algebra. READ BOOKS. p. 24. ISBN 978-1-4437-3086-0.
  3. ^ Strickland-Constable, Charles, "A simple method for finding tangents to polynomial graphs", Mathematical Gazette 89, November 2005: 466-467.

Read other articles:

Untuk kegunaan lain, lihat Baby Blues (disambiguasi). Baby BluesPoster filmSutradaraKatarzyna RosłaniecProduserAgnieszka KurzydloDitulis olehKatarzyna RosłaniecPemeranMagdalena BerusSinematograferJens RamborgPerusahaanproduksiMental Disorder 4Tanggal rilis 10 September 2012 (2012-09-10) (TIFF) 4 Januari 2013 (2013-01-04) (Polandia) Durasi100 menitNegaraPolandiaBahasaBahasa Polandia Baby Blues adalah film drama Polandia tahun 2012 yang disutradarai oleh Katarzyna Rosłaniec.&#…

Часть серии статей о Холокосте Идеология и политика Расовая гигиена · Расовый антисемитизм · Нацистская расовая политика · Нюрнбергские расовые законы Шоа Лагеря смерти Белжец · Дахау · Майданек · Малый Тростенец · Маутхаузен · …

Erosentrisme (disebut juga Barat-sentrisme atau Western-centrism)[1] adalah pandangan dunia yang condong terhadap peradaban Barat. Cakupan istilah ini bervariasi mulai dari seluruh dunia Barat, Eropa saja, atau bahkan Eropa Barat era Perang Dingin. Bila dikaitkan dengan sejarah, istilah ini menandakan sikap apologetik terhadap kolonialisme Eropa dan bentuk-bentuk imperialisme lain.[2] Istilah Erosentrisme sendiri sudah ada sejak akhir 1970-an dan mulai populer pada 1990-an, khusu…

2001 single by Luther VandrossCan Heaven WaitSingle by Luther Vandrossfrom the album Luther Vandross ReleasedDecember 2001Length5:35LabelJSongwriter(s)Carsten ShackKenneth KarlinJoshua ThompsonDanny MercadoQuincy PatrickJoe ThomasProducer(s)Soulshock & KarlinLuther Vandross singles chronology Take You Out (2001) Can Heaven Wait (2001) I'd Rather (2002) Can Heaven Wait is a song by American singer-songwriter Luther Vandross. It was written by Carsten Shack, Kenneth Karlin, Joshua Thompson, Da…

Крепостные стены форта Накхал Маринкина башня Коломенского кремля с участком стены Крепостна́я стена́, или оборонительная стена — элемент фортификационного сооружения. В русском крепостном деле крепостная стена называлась пряслом. Стены могли быть деревянными (разн…

Jahana Hayes Jahana Flemming Hayes (lahir 8 Maret 1973)[1] adalah seorang pengajar dan politikus Amerika Serikat yang menjabat sebagai anggota DPR sejak 2019. Sebagai anggota Partai Demokrat, Hayes adalah wanita Afrika-Amerika dan anggota Partai Demokrat Afrika-Amerika pertama yang mewakili Connecticut dalam Kongres.[2][3] Ia diakui sebagai National Teacher of the Year pada 2016.[4] Referensi ^ Jahana Hayes, ’05, is First Southern Grad Elected to National Office…

Chronologies La place des Pyramides - Giuseppe De Nittis, 1875. Le bâtiment couvert d’échafaudages est le pavillon de Marsan (incendié pendant la Commune), alors en cours de reconstruction.Données clés 1872 1873 1874  1875  1876 1877 1878Décennies :1840 1850 1860  1870  1880 1890 1900Siècles :XVIIe XVIIIe  XIXe  XXe XXIeMillénaires :-Ier Ier  IIe  IIIe Chronologies géographiques Afrique Afrique du Sud, Algérie, Angola, Bénin, Bo…

Ця стаття може містити оригінальне дослідження. Будь ласка, удоскональте її, перевіривши сумнівні твердження й додавши посилання на джерела. Твердження, які містять лише оригінальне дослідження, мають бути вилучені. Ця стаття занадто довга та має бути скорочена для покра…

Artikel ini perlu diwikifikasi agar memenuhi standar kualitas Wikipedia. Anda dapat memberikan bantuan berupa penambahan pranala dalam, atau dengan merapikan tata letak dari artikel ini. Untuk keterangan lebih lanjut, klik [tampil] di bagian kanan. Mengganti markah HTML dengan markah wiki bila dimungkinkan. Tambahkan pranala wiki. Bila dirasa perlu, buatlah pautan ke artikel wiki lainnya dengan cara menambahkan [[ dan ]] pada kata yang bersangkutan (lihat WP:LINK untuk keterangan lebih lanjut). …

Battle of the American Civil War Battle of ChustenahlahPart of the Trans-Mississippi Theater of theAmerican Civil WarDateDecember 26, 1861 (1861-12-26)LocationOsage County, OklahomaResult Confederate victoryBelligerents CreeksSeminoles CSA (Confederacy)Commanders and leaders Opothleyahola Douglas H. CooperJames M. McIntoshStand WatieStrength 1,700 men 1,380 menCasualties and losses 250 killed and wounded 180 people captured 9 killed40 wounded vteOperations in the Indian Territory Round Moun…

Sports season2018 Atlantic 10 Conference men's soccer seasonLeagueNCAA Division ISportSoccerDurationAugust 24, 2018 – November 11, 2018Number of teams132019 MLS SuperDraftTop draft pickSiad Haji, VCUPicked bySan Jose Earthquakes, 2nd overallRegular SeasonSeason championsVCU  Runners-upDavidsonSeason MVPFW: János LöbeMF: Siad HajiDF: Jørgen OlandTop scorerLeon Maric, 12TournamentChampionsRhode Island  Runners-upGeorge MasonA-10 men's soccer seasons← 20172019 …

Doctor (Work It Out)Singel oleh Pharrell Williams dan Miley CyrusDiciptakan2012Dirilis1 Maret 2024 (2024-03-01)GenreGlam poppop rock[1]Durasi3:02LabelColumbiaPencipta Pharrell Williams Miley Cyrus Michael Pollack ProduserPharrell WilliamsKronologi singel Pharrell Williams Good People (2024) Doctor (Work It Out) (2024) Kronologi singel Miley Cyrus Used to Be Young(2023) Doctor (Work It Out)(2024) Video musikDoctor (Work It Out) di YouTube Doctor (Work It Out) adalah lagu da…

American family comedy television series Stuck in the MiddleGenreFamily comedyCreated byAlison BrownDeveloped byAlison Brown & Linda Videtti FigueiredoStarring Jenna Ortega Ronni Hawk Isaak Presley Ariana Greenblatt Kayla Maisonet Nicolas Bechtel Malachi Barton Cerina Vincent Joe Nieves Theme music composer Shridhar Solanki Sidh Solanki Maria Christensen Opening themeStuck with Youby SonusComposerKenneth BurgomasterCountry of originUnited StatesOriginal languageEnglishNo. of seasons3No. of e…

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:СинапсидыКл…

† Человек прямоходящий Научная классификация Домен:ЭукариотыЦарство:ЖивотныеПодцарство:ЭуметазоиБез ранга:Двусторонне-симметричныеБез ранга:ВторичноротыеТип:ХордовыеПодтип:ПозвоночныеИнфратип:ЧелюстноротыеНадкласс:ЧетвероногиеКлада:АмниотыКлада:СинапсидыКл…

Song written by Luis Fonsi, Claudia Brant and Gen Rubin Aquí Estoy YoUrban remix coverSingle by Luis Fonsi featuring Aleks Syntek, David Bisbal and Noel Schajrisfrom the album Palabras del Silencio ReleasedJanuary 12, 2009 (2009-01-12)Recorded2007–2008Studio Angel Recording Studios (London, England, United Kingdom) Arju Studios Cata Studios Hit Factory Critiera The Warehouse Recording The Tiki Room Mofongo Studios Picks and Hammers (Miami, Florida) Cosmos Studios Elith Studios …

Historic district in Illinois, United States This article is about the historic district of Chicago, United States. For other uses, see Gold Coast. United States historic placeGold Coast Historic DistrictU.S. National Register of Historic PlacesU.S. Historic district Gold Coast's Oak Street BeachShow map of Chicago metropolitan areaShow map of IllinoisShow map of the United StatesLocationRoughly bounded by North Ave., Lake Shore Dr., Clark and Oak Sts., Chicago, IllinoisCoordinates41°54′21″…

American packaging company Graphic Packaging InternationalCompany typePublic companyTraded asNYSE: GPKS&P 400 componentFounded1978 HeadquartersAtlanta , United States Key peopleMichael P. Doss (CEO)Number of employeesc. 24,000 (December 2022) Graphic Packaging International is a Fortune 500 corporation based in Sandy Springs, Georgia, United States.[1] It is a leading company in the design and manufacturing of packaging for commercial products.[2] GP…

Perjalanan PanjangAlbum studio karya JikustikDirilis27 Juni 2002GenrePopDurasi51:31LabelWarner Music IndonesiaKronologi Jikustik Seribu Tahun Repackaged (2001)Seribu Tahun Repackaged2001 Perjalanan Panjang (2002) Sepanjang Musim(2003)Sepanjang Musim2003 Perjalanan Panjang adalah album musik kedua karya Jikustik yang dirilis tahun 2002. Berisi 12 buah lagu dengan lagu Meninggalkanmu, Tak Ada Yang Abadi, dan Pandangi Langit Malam Ini sebagai lagu utama album ini.[1] Lagu Katarina, Meng…

Военно-воздушные силы Вьетнамавьетн. Không Quân Nhân Dân Việt Nam Эмблема ВВС Вьетнама Годы существования 1959 — н. в. Страна Вьетнам Подчинение Министерство обороны Вьетнама Входит в Вьетнамская народная армия Численность 30 000 человек (2009 год)550 летательных аппаратов Дислокация Хан…

Kembali kehalaman sebelumnya