{"items":["5faebbcd286a1c001751f773"],"styles":{"galleryType":"Columns","groupSize":1,"showArrows":true,"cubeImages":true,"cubeType":"fill","cubeRatio":1.3333333333333333,"isVertical":true,"gallerySize":30,"collageAmount":0,"collageDensity":0,"groupTypes":"1","oneRow":false,"imageMargin":0,"galleryMargin":0,"scatter":0,"chooseBestGroup":true,"smartCrop":false,"hasThumbnails":false,"enableScroll":true,"isGrid":true,"isSlider":false,"isColumns":false,"isSlideshow":false,"cropOnlyFill":false,"fixedColumns":0,"enableInfiniteScroll":true,"isRTL":false,"minItemSize":50,"rotatingGroupTypes":"","rotatingCropRatios":"","columnWidths":"","gallerySliderImageRatio":1.7777777777777777,"numberOfImagesPerRow":3,"numberOfImagesPerCol":1,"groupsPerStrip":0,"borderRadius":0,"boxShadow":0,"gridStyle":0,"mobilePanorama":false,"placeGroupsLtr":false,"viewMode":"preview","thumbnailSpacings":4,"galleryThumbnailsAlignment":"bottom","isMasonry":false,"isAutoSlideshow":false,"slideshowLoop":false,"autoSlideshowInterval":4,"bottomInfoHeight":0,"titlePlacement":"SHOW_ON_HOVER","galleryTextAlign":"center","scrollSnap":false,"itemClick":"nothing","fullscreen":true,"videoPlay":"hover","scrollAnimation":"NO_EFFECT","slideAnimation":"SCROLL","scrollDirection":0,"scrollDuration":400,"overlayAnimation":"FADE_IN","arrowsPosition":0,"arrowsSize":23,"watermarkOpacity":40,"watermarkSize":40,"useWatermark":true,"watermarkDock":{"top":"auto","left":"auto","right":0,"bottom":0,"transform":"translate3d(0,0,0)"},"loadMoreAmount":"all","defaultShowInfoExpand":1,"allowLinkExpand":true,"expandInfoPosition":0,"allowFullscreenExpand":true,"fullscreenLoop":false,"galleryAlignExpand":"left","addToCartBorderWidth":1,"addToCartButtonText":"","slideshowInfoSize":200,"playButtonForAutoSlideShow":false,"allowSlideshowCounter":false,"hoveringBehaviour":"NO_CHANGE","thumbnailSize":120,"magicLayoutSeed":1,"imageHoverAnimation":"NO_EFFECT","imagePlacementAnimation":"NO_EFFECT","calculateTextBoxWidthMode":"PERCENT","textBoxHeight":0,"textBoxWidth":200,"textBoxWidthPercent":50,"textImageSpace":10,"textBoxBorderRadius":0,"textBoxBorderWidth":0,"loadMoreButtonText":"","loadMoreButtonBorderWidth":1,"loadMoreButtonBorderRadius":0,"imageInfoType":"ATTACHED_BACKGROUND","itemBorderWidth":0,"itemBorderRadius":0,"itemEnableShadow":false,"itemShadowBlur":20,"itemShadowDirection":135,"itemShadowSize":10,"imageLoadingMode":"BLUR","expandAnimation":"NO_EFFECT","imageQuality":90,"usmToggle":false,"usm_a":0,"usm_r":0,"usm_t":0,"videoSound":false,"videoSpeed":"1","videoLoop":true,"gallerySizeType":"px","gallerySizePx":545,"allowTitle":true,"allowContextMenu":true,"textsHorizontalPadding":-30,"itemBorderColor":{"themeName":"color_12","value":"rgba(142,143,161,0.75)"},"showVideoPlayButton":true,"galleryLayout":2,"targetItemSize":545,"selectedLayout":"2|bottom|1|fill|true|0|true","layoutsVersion":2,"selectedLayoutV2":2,"isSlideshowFont":false,"externalInfoHeight":0,"externalInfoWidth":0},"container":{"width":260,"galleryWidth":260,"galleryHeight":0,"scrollBase":0,"height":null}}

- A-Level Maths

# Numerical Methods

A root of a function is when the function = 0. On a graph, this is represented by an x-axis intersection, where y-value changes from positive to negative or vice versa. Therefore, we can locate roots by showing that the sign has changed.

However, this only applies if the function is continuous throughout the given interval, notated using square brackets [a, b]. This means that the graph does not jump from one value to another, but changes smoothly. If there is a vertical asymptote in the interval, it is not continuous.

If f(x) is continuous on the interval [a, b], and f(a) and f(b) have opposite signs, then there is a root between the two

## Iteration

It is possible to estimate roots using an **iterative method**. Generally, the equation needs to be manipulated slightly before it works, as the linear variable (x) has to be the subject.

To solve an equation in the form f(x) = 0 using iteration, rearrange it into the form x = g(x) and apply iteration

Applying iteration means you use put the value you get out of g(x) back into the function, and repeat this multiple times.

There are multiple rearrangements for each function f(x), giving different variations of x = g(x). These different iterations will either converge to a root, or diverge:

If the iteration

**converges**closer and closer to the root, always in the same direction, it forms a**staircase diagram.**If the iteration

**converges**in an alternating pattern above and below the root, a**cobweb diagram**is formed.If the iteration

**diverges**, it moves away from the root very quickly.

## The Newton-Raphson Method

The Newton-Raphson method is the method used by many calculators to solve equations in the form f(x) = 0. The formula for the Newton-Raphson method is:

It works using tangent lines with increasing accuracy to approximate a root:

As you can see, it relies on differentiation, and so cannot work when f'(x) equals or is close to equalling zero.

If the starting value

**x₀ is close to a turning point, the method does not work**, because the gradient of the tangent is very small, so the tangent crosses the x-axis a long way away from x₀If any value of

**x is on a turning point, the method does not work**because the gradient of the tangent is 0, and so never crosses the x-axis.