ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Graphical Method For Summing Arctangents

Updated on August 14, 2016

In this hub I want to show you how to use Lill’s method to find the sum of 2 or more arctangents. I will illustrate this method of summation by applying it to one specific example.This method is ideal if the sum of the arctangents is less than 360 degrees.

Obtaining a polynomial

In this hub I will show how this graphical method works by summing arctan(1) and arctan(2). arctan or tan-1 is the inverse of the tangent function, and the arctan function gives us an angle. Thus arctan(1)=45 degrees and arctan(2) is about 63.43 degrees. The sum adds to about 108.43 degrees.

Lill’s method is a graphical method of finding the roots of polynomial equations. I would recommend reading my hub about Lill’s method since I don’t want to make this hub too long. Since Lill’s method deals with polynomial equations we should create an equation first. We will create a quadratic equation that has the roots z1=1 and z2=2. Since we already know the roots, the equation can be derived like this: (z-1)(z-2)=z2-3z+2. Another method for deriving our polynomial equation is to use Vieta’s formulas (see this detailed Wikipedia page). If we have a general quadratic equation a2z2+a1 z+a0 =0 , using Vieta’s formulas we know that z1+z2=- a1/ a2 and z1z2= a0/ a2. To make things easy we can choose a2=1 and since we already know our 2 roots we get 1+2=3=- a1 and (1)(2)=2= a0. Thus a2=1, a1=-3, a0=2 and we get the same quadratic z2-3z+2=0.

Lill’s method and the sum of arctangents

In Lill’s method the coefficients of the polynomial have corresponding segments linked together. Starting from a point of origin O we will draw some segments using the formula akei(n-k)π/2 where ak is the coefficient corresponding to the segment, i is the imaginary number and 0≤k≤n . n=2 since we are dealing with a quadratic equation. Thus the segment corresponding to a2 will have the value a2ei(2-2)π/2=1e0=1 (from O goes 1 unit to right at A). The segment corresponding to a1 has the value a1ei(2-1)π/2=-3eiπ/2=-3i (from A goes 3 units down to B). Finally the segment corresponding to a0 has the value a0ei(2-0)π/2=2e=2(-1)=-2 (from B goes 2 units to the left to C). Image 1 shows how our polynomial z2-3z+2=0 looks if we use Lill’s method. In image 1 you can also see that the angle (AOC) is about 108.43 degrees , and indeed AOC=arctan(1) + arctan (2). Those who looked at my hub that dealt with Lill’s method in more details can see that due to the convention that I chose, the value of angle AOC is actually -108.43 degrees. So it is more correct to say that the absolute value of angle AOC= arctan(1) + arctan (2).

In this specific example, the segment OA corresponds to the coefficient a2=1 and the point C is the terminus point of the segment BC that corresponds to the coefficient a0=2. The angle AOC is a visual representation of the angle given by arctan(1) + arctan (2). This method of obtaining the sum of arctangents is most suited when you have to add 2 arctangents since the sum will be between -180 dgrees and 180 degrees.

If you want to add 3 arctangents arctan(a)+arctan(b)+arctan(c), then you will have to create a cubic equation that has the roots z1=a, z2=b and z3=c. The algebraic equation can be obtained by the 2 methods that I showed above, and the Lill method representation of that cubic equation can have at maximum an additional segment CD. To obtain your angle you measure the angle between the segment AO corresponding to the coefficient a3=1 and the segment made by O and the terminus of the segment corresponding to a0. Most probably you will have an additional segment CD corresponding to a0, then angle AOD= arctan(a)+arctan(b)+arctan(c). The absolute value of 3 arcangents is always less than 270 since arctan(x) is always less than 90 (you cannot have a root x=infinity). If the sum of the 3 arctangents is over 180 you will probably see easily if you plot the graph using Lill’s method. The angle AOD can be measured clockwise and counterclockwise, with the segment OA being the zero degree reference. In the case where the sum is over 180, you simply choose the angle AOD made by the rotation that gives the largest angle (the clockwise AOD +anticlockwise AOD=360).

The last thing to remember is that due to the convention I chose, the angle obtained using this method is the negative of the true value. In Lill's method the angle AOC = -108.43, but arctan(1) + arctan (2)=108.43.

Sum of arctangents

Image1
Image1 | Source

Comments

    0 of 8192 characters used
    Post Comment

    No comments yet.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)