Mister Exam

Other calculators

Graphing y = cos(x)+1/(x+2)

v

The graph:

from to

Intersection points:

does show?

Piecewise:

The solution

You have entered [src]
                  1  
f(x) = cos(x) + -----
                x + 2
$$f{\left(x \right)} = \cos{\left(x \right)} + \frac{1}{x + 2}$$
f = cos(x) + 1/(x + 2)
The graph of the function
The domain of the function
The points at which the function is not precisely defined:
$$x_{1} = -2$$
The points of intersection with the X-axis coordinate
Graph of the function intersects the axis X at f = 0
so we need to solve the equation:
$$\cos{\left(x \right)} + \frac{1}{x + 2} = 0$$
Solve this equation
The points of intersection with the axis X:

Numerical solution
$$x_{1} = 76.9816815149623$$
$$x_{2} = 26.7383413008481$$
$$x_{3} = 64.4177061935755$$
$$x_{4} = 14.1989386573065$$
$$x_{5} = 4.55933773490524$$
$$x_{6} = -45.5301188561712$$
$$x_{7} = 70.6995903752582$$
$$x_{8} = -42.4362336402772$$
$$x_{9} = 36.1020672071621$$
$$x_{10} = 58.13609380627$$
$$x_{11} = -58.1016383560005$$
$$x_{12} = 802.675680255172$$
$$x_{13} = 95.8287980514462$$
$$x_{14} = 89.5463142772218$$
$$x_{15} = -29.8810046168397$$
$$x_{16} = 67.5298592461575$$
$$x_{17} = 98.950262557824$$
$$x_{18} = 45.5741148592996$$
$$x_{19} = 42.3889707988334$$
$$x_{20} = -26.6629798364534$$
$$x_{21} = -61.2779272309279$$
$$x_{22} = -7.67690537223213$$
$$x_{23} = 17.2267251792801$$
$$x_{24} = 7.95460735922755$$
$$x_{25} = 61.2452446206625$$
$$x_{26} = -11.105618557374$$
$$x_{27} = 10.9180859158898$$
$$x_{28} = 83.2639338773448$$
$$x_{29} = -95.8079156513603$$
$$x_{30} = -86.4056457996091$$
$$x_{31} = 1.83462794472422$$
$$x_{32} = -73.8413473696577$$
$$x_{33} = -51.8162036460538$$
$$x_{34} = -92.6880103203354$$
$$x_{35} = 20.464880886083$$
$$x_{36} = 39.2941270561176$$
$$x_{37} = -17.3439779664159$$
$$x_{38} = -5.04680031697879$$
$$x_{39} = 80.0984318647099$$
$$x_{40} = -70.6712720609268$$
$$x_{41} = -67.5594959641677$$
$$x_{42} = -14.0541122469744$$
$$x_{43} = -32.9544116679545$$
$$x_{44} = -23.6082400788061$$
$$x_{45} = 73.8142368421099$$
$$x_{46} = -80.1234132760863$$
$$x_{47} = -64.386619633992$$
$$x_{48} = 54.9603144529966$$
$$x_{49} = -39.2430542982617$$
$$x_{50} = 29.8136920237823$$
$$x_{51} = 48.6749512342163$$
$$x_{52} = -36.1575957651034$$
$$x_{53} = 33.0152857021933$$
$$x_{54} = -89.5239649365421$$
$$x_{55} = 23.5227541458611$$
$$x_{56} = -48.7160936650918$$
$$x_{57} = 86.3824832731094$$
$$x_{58} = -54.99674164227$$
$$x_{59} = -20.3658765051196$$
$$x_{60} = -98.9704811874688$$
$$x_{61} = -83.2398957861884$$
$$x_{62} = 51.854848281784$$
$$x_{63} = 92.6664196765929$$
$$x_{64} = -76.9556783997672$$
The points of intersection with the Y axis coordinate
The graph crosses Y axis when x equals 0:
substitute x = 0 to cos(x) + 1/(x + 2).
$$\frac{1}{2} + \cos{\left(0 \right)}$$
The result:
$$f{\left(0 \right)} = \frac{3}{2}$$
The point:
(0, 3/2)
Extrema of the function
In order to find the extrema, we need to solve the equation
$$\frac{d}{d x} f{\left(x \right)} = 0$$
(the derivative equals zero),
and the roots of this equation are the extrema of this function:
$$\frac{d}{d x} f{\left(x \right)} = $$
the first derivative
$$- \sin{\left(x \right)} - \frac{1}{\left(x + 2\right)^{2}} = 0$$
Solve this equation
The roots of this equation
$$x_{1} = -47.1233986739056$$
$$x_{2} = -28.2728851617707$$
$$x_{3} = -113.097416549203$$
$$x_{4} = -62.8321233021027$$
$$x_{5} = -56.5490038319963$$
$$x_{6} = 25.1313827392445$$
$$x_{7} = 100.530869790739$$
$$x_{8} = -207.345138852364$$
$$x_{9} = -50.2659117160171$$
$$x_{10} = -21.9886457315293$$
$$x_{11} = -34.5565757313723$$
$$x_{12} = 59.6905231805324$$
$$x_{13} = -91.1060610077762$$
$$x_{14} = -232.477875190928$$
$$x_{15} = 75.398056754043$$
$$x_{16} = 50.265116377299$$
$$x_{17} = 94.2476716584669$$
$$x_{18} = 31.4150309312823$$
$$x_{19} = 40.8412493451764$$
$$x_{20} = 34.5582674086562$$
$$x_{21} = 69.1148406458093$$
$$x_{22} = -81.6815664946825$$
$$x_{23} = -53.4066967027604$$
$$x_{24} = -59.6899599493029$$
$$x_{25} = -12.575312299732$$
$$x_{26} = -100.531067918762$$
$$x_{27} = -84.8228558663697$$
$$x_{28} = 97.3894734936108$$
$$x_{29} = -75.3984093069834$$
$$x_{30} = -94.2478971210017$$
$$x_{31} = 28.275424869352$$
$$x_{32} = -9.40654771996448$$
$$x_{33} = 65.973662155987$$
$$x_{34} = -72.2564284379647$$
$$x_{35} = 53.4074008460461$$
$$x_{36} = 9.43242911933225$$
$$x_{37} = 62.8316151543322$$
$$x_{38} = 37.6984773128278$$
$$x_{39} = -18.8530767308253$$
$$x_{40} = -87.9647296197069$$
$$x_{41} = 47.1243041918641$$
$$x_{42} = -31.4170821182773$$
$$x_{43} = -25.1346096547112$$
$$x_{44} = 3.17888571340257$$
$$x_{45} = 56.5483760418661$$
$$x_{46} = -6.33638979731349$$
$$x_{47} = 6.26855828560138$$
$$x_{48} = -69.1152603812606$$
$$x_{49} = -65.9732013801725$$
$$x_{50} = -15.7026373591581$$
$$x_{51} = -43.9828645065662$$
$$x_{52} = 78.5399705016502$$
$$x_{53} = 15.7111511860453$$
$$x_{54} = 72.2568123866733$$
$$x_{55} = -0.402800003627171$$
$$x_{56} = 138.230025904788$$
$$x_{57} = 43.9818241867606$$
$$x_{58} = -78.5396456422656$$
$$x_{59} = 21.9928857168367$$
$$x_{60} = -40.8400416079017$$
$$x_{61} = 81.6812661883011$$
$$x_{62} = 84.8231343035915$$
$$x_{63} = -97.3892623604415$$
$$x_{64} = 12.5616545452321$$
$$x_{65} = 91.1063023105434$$
$$x_{66} = -37.6998964752852$$
$$x_{67} = 87.9644707461921$$
$$x_{68} = -213.628322772239$$
$$x_{69} = 18.8472549956737$$
The values of the extrema at the points:
(-47.1233986739056, -1.02216133064689)

(-28.27288516177066, -1.03806100560322)

(-113.097416549203, 0.990998887321633)

(-62.832123302102694, 0.983561280342805)

(-56.549003831996316, 0.981667803073048)

(25.131382739244504, 1.03685676377858)

(100.53086979073908, 1.00975315569019)

(-207.34513885236422, 0.995130149837809)

(-50.26591171601708, 0.979281351760373)

(-21.988645731529303, -1.05002526968385)

(-34.556575731372334, -1.03071531596974)

(59.69052318053242, -0.983790020279857)

(-91.10606100777616, -1.01122257321184)

(-232.47787519092785, 0.995661188563062)

(75.39805675404298, 1.01292020708967)

(50.26511637729896, 1.01913315356719)

(94.2476716584669, 1.01038985589968)

(31.415030931282306, 1.02992625087889)

(40.84124934517639, -0.976657861892235)

(34.55826740865621, -0.972646126194554)

(69.11484064580931, 1.01406174295942)

(-81.68156649468251, 0.987450033523323)

(-53.40669670276039, -1.0194526469041)

(-59.68995994930291, -1.0173339935876)

(-12.575312299732007, 0.905400168174768)

(-100.5310679187621, 0.989850911556931)

(-84.82285586636974, -1.0120739511994)

(97.38947349361078, -0.989938567193083)

(-75.39840930698344, 0.986375709311464)

(-94.24789712100169, 0.989159637583594)

(28.27542486935203, -0.966969315145298)

(-9.406547719964479, -1.1348495033844)

(65.97366215598699, -0.985288396118436)

(-72.25642843796469, -1.01423355243656)

(53.40740084604605, -0.981951816468838)

(9.43242911933225, -0.912500255507736)

(62.831615154332184, 1.01542454499601)

(37.69847731282785, 1.02518968171621)

(-18.85307673082531, 0.940657455486541)

(-87.96472961970693, 0.988367313065648)

(47.124304191864084, -0.979643391714133)

(-31.417082118277293, 0.96600547813237)

(-25.13460965471122, 0.956772973628831)

(3.1788857134025665, -0.806212964796512)

(56.54837604186615, 1.01707985048105)

(-6.336389797313493, 0.767978399731548)

(6.268558285601385, 1.12083309486718)

(-69.11526038126055, 0.985100234310236)

(-65.9732013801725, -1.01563151552024)

(-15.702637359158084, -1.07296446913929)

(-43.98286450656618, 0.976180597280533)

(78.53997050165019, -0.987583792856844)

(15.711151186045273, -0.94353331485599)

(72.25681238667326, -0.986533205654984)

(-0.40280000362717144, 1.54606268093042)

(138.2300259047878, 1.00713113908542)

(43.98182418676056, 1.02174761168671)

(-78.53964564226563, -1.01306510993769)

(21.99288571683669, -0.95831946965468)

(-40.84004160790166, -1.02574640564293)

(81.68126618830107, 1.01195009578945)

(84.82313430359152, -0.988482323611458)

(-97.38926236044152, -1.01048335419721)

(12.561654545232138, 1.06866239424047)

(91.10630231054344, -0.989259581847076)

(-37.69989647528518, 0.971988406465791)

(87.96447074619208, 1.01111549153818)

(-213.62832277223944, 0.995274734309408)

(18.847254995673673, 1.04796529878104)


Intervals of increase and decrease of the function:
Let's find intervals where the function increases and decreases, as well as minima and maxima of the function, for this let's look how the function behaves itself in the extremas and at the slightest deviation from:
Minima of the function at points:
$$x_{1} = -47.1233986739056$$
$$x_{2} = -28.2728851617707$$
$$x_{3} = -21.9886457315293$$
$$x_{4} = -34.5565757313723$$
$$x_{5} = 59.6905231805324$$
$$x_{6} = -91.1060610077762$$
$$x_{7} = 40.8412493451764$$
$$x_{8} = 34.5582674086562$$
$$x_{9} = -53.4066967027604$$
$$x_{10} = -59.6899599493029$$
$$x_{11} = -84.8228558663697$$
$$x_{12} = 97.3894734936108$$
$$x_{13} = 28.275424869352$$
$$x_{14} = -9.40654771996448$$
$$x_{15} = 65.973662155987$$
$$x_{16} = -72.2564284379647$$
$$x_{17} = 53.4074008460461$$
$$x_{18} = 9.43242911933225$$
$$x_{19} = 47.1243041918641$$
$$x_{20} = 3.17888571340257$$
$$x_{21} = -65.9732013801725$$
$$x_{22} = -15.7026373591581$$
$$x_{23} = 78.5399705016502$$
$$x_{24} = 15.7111511860453$$
$$x_{25} = 72.2568123866733$$
$$x_{26} = -78.5396456422656$$
$$x_{27} = 21.9928857168367$$
$$x_{28} = -40.8400416079017$$
$$x_{29} = 84.8231343035915$$
$$x_{30} = -97.3892623604415$$
$$x_{31} = 91.1063023105434$$
Maxima of the function at points:
$$x_{31} = -113.097416549203$$
$$x_{31} = -62.8321233021027$$
$$x_{31} = -56.5490038319963$$
$$x_{31} = 25.1313827392445$$
$$x_{31} = 100.530869790739$$
$$x_{31} = -207.345138852364$$
$$x_{31} = -50.2659117160171$$
$$x_{31} = -232.477875190928$$
$$x_{31} = 75.398056754043$$
$$x_{31} = 50.265116377299$$
$$x_{31} = 94.2476716584669$$
$$x_{31} = 31.4150309312823$$
$$x_{31} = 69.1148406458093$$
$$x_{31} = -81.6815664946825$$
$$x_{31} = -12.575312299732$$
$$x_{31} = -100.531067918762$$
$$x_{31} = -75.3984093069834$$
$$x_{31} = -94.2478971210017$$
$$x_{31} = 62.8316151543322$$
$$x_{31} = 37.6984773128278$$
$$x_{31} = -18.8530767308253$$
$$x_{31} = -87.9647296197069$$
$$x_{31} = -31.4170821182773$$
$$x_{31} = -25.1346096547112$$
$$x_{31} = 56.5483760418661$$
$$x_{31} = -6.33638979731349$$
$$x_{31} = 6.26855828560138$$
$$x_{31} = -69.1152603812606$$
$$x_{31} = -43.9828645065662$$
$$x_{31} = -0.402800003627171$$
$$x_{31} = 138.230025904788$$
$$x_{31} = 43.9818241867606$$
$$x_{31} = 81.6812661883011$$
$$x_{31} = 12.5616545452321$$
$$x_{31} = -37.6998964752852$$
$$x_{31} = 87.9644707461921$$
$$x_{31} = -213.628322772239$$
$$x_{31} = 18.8472549956737$$
Decreasing at intervals
$$\left[97.3894734936108, \infty\right)$$
Increasing at intervals
$$\left(-\infty, -97.3892623604415\right]$$
Inflection points
Let's find the inflection points, we'll need to solve the equation for this
$$\frac{d^{2}}{d x^{2}} f{\left(x \right)} = 0$$
(the second derivative equals zero),
the roots of this equation will be the inflection points for the specified function graph:
$$\frac{d^{2}}{d x^{2}} f{\left(x \right)} = $$
the second derivative
$$- \cos{\left(x \right)} + \frac{2}{\left(x + 2\right)^{3}} = 0$$
Solve this equation
The roots of this equation
$$x_{1} = -54.9778579870618$$
$$x_{2} = -10.9928242271883$$
$$x_{3} = 26.7034529833262$$
$$x_{4} = -86.3937946463696$$
$$x_{5} = -32.9867900829587$$
$$x_{6} = 95.8185737976782$$
$$x_{7} = 45.5530748778555$$
$$x_{8} = -36.128265202455$$
$$x_{9} = -14.1382852404967$$
$$x_{10} = -45.5531176857955$$
$$x_{11} = 15907.4544014519$$
$$x_{12} = -61.261047135031$$
$$x_{13} = 73.8274319465947$$
$$x_{14} = 61.2610646448812$$
$$x_{15} = 36.1283515978925$$
$$x_{16} = -76.9690247595694$$
$$x_{17} = 1.52512348968761$$
$$x_{18} = -7.86390084803617$$
$$x_{19} = -58.1194754073134$$
$$x_{20} = -80.110608469917$$
$$x_{21} = 32.9866761621488$$
$$x_{22} = -73.8274219622764$$
$$x_{23} = 17.2790387037663$$
$$x_{24} = -4.59809880627667$$
$$x_{25} = 42.4115236554107$$
$$x_{26} = -48.6946664867216$$
$$x_{27} = -39.2699468024493$$
$$x_{28} = 14.1366909634974$$
$$x_{29} = -89.535393609112$$
$$x_{30} = -95.8185783564291$$
$$x_{31} = -64.4026576289869$$
$$x_{32} = -42.4114705183404$$
$$x_{33} = 58.1194548872356$$
$$x_{34} = 98.9601705315571$$
$$x_{35} = 89.5353880195774$$
$$x_{36} = 29.8451921387173$$
$$x_{37} = -67.544234949431$$
$$x_{38} = 23.5620646427386$$
$$x_{39} = 48.6947014818402$$
$$x_{40} = 92.6769856375578$$
$$x_{41} = 7.85189006764925$$
$$x_{42} = -26.7036702172119$$
$$x_{43} = 4.71898258038367$$
$$x_{44} = -29.8450375716574$$
$$x_{45} = -70.6858408778047$$
$$x_{46} = 249.756616085728$$
$$x_{47} = -1575.50871577477$$
$$x_{48} = 80.1106162792411$$
$$x_{49} = -51.8362949424232$$
$$x_{50} = 67.5442479984742$$
$$x_{51} = 86.3938008694927$$
$$x_{52} = 64.402642567754$$
$$x_{53} = 51.8362659666761$$
$$x_{54} = -23.5617453856803$$
$$x_{55} = 10.9964853587052$$
$$x_{56} = 54.9778822499471$$
$$x_{57} = -83.2522090485464$$
$$x_{58} = 83.2522020922808$$
$$x_{59} = 70.6858294976532$$
$$x_{60} = -92.6769805984044$$
$$x_{61} = -17.2781987875846$$
$$x_{62} = 20.42017478321$$
$$x_{63} = 76.9690159516991$$
$$x_{64} = -20.4206722215146$$
$$x_{65} = 39.2698797167203$$
$$x_{66} = -117.809723221976$$
$$x_{67} = -3.26302915739567$$
$$x_{68} = -98.9601663940112$$
You also need to calculate the limits of y '' for arguments seeking to indeterminate points of a function:
Points where there is an indetermination:
$$x_{1} = -2$$

$$\lim_{x \to -2^-}\left(- \cos{\left(x \right)} + \frac{2}{\left(x + 2\right)^{3}}\right) = -\infty$$
$$\lim_{x \to -2^+}\left(- \cos{\left(x \right)} + \frac{2}{\left(x + 2\right)^{3}}\right) = \infty$$
- the limits are not equal, so
$$x_{1} = -2$$
- is an inflection point

Сonvexity and concavity intervals:
Let’s find the intervals where the function is convex or concave, for this look at the behaviour of the function at the inflection points:
Concave at the intervals
$$\left[95.8185737976782, \infty\right)$$
Convex at the intervals
$$\left(-\infty, -1575.50871577477\right]$$
Vertical asymptotes
Have:
$$x_{1} = -2$$
Horizontal asymptotes
Let’s find horizontal asymptotes with help of the limits of this function at x->+oo and x->-oo
$$\lim_{x \to -\infty}\left(\cos{\left(x \right)} + \frac{1}{x + 2}\right) = \left\langle -1, 1\right\rangle$$
Let's take the limit
so,
equation of the horizontal asymptote on the left:
$$y = \left\langle -1, 1\right\rangle$$
$$\lim_{x \to \infty}\left(\cos{\left(x \right)} + \frac{1}{x + 2}\right) = \left\langle -1, 1\right\rangle$$
Let's take the limit
so,
equation of the horizontal asymptote on the right:
$$y = \left\langle -1, 1\right\rangle$$
Inclined asymptotes
Inclined asymptote can be found by calculating the limit of cos(x) + 1/(x + 2), divided by x at x->+oo and x ->-oo
$$\lim_{x \to -\infty}\left(\frac{\cos{\left(x \right)} + \frac{1}{x + 2}}{x}\right) = 0$$
Let's take the limit
so,
inclined coincides with the horizontal asymptote on the right
$$\lim_{x \to \infty}\left(\frac{\cos{\left(x \right)} + \frac{1}{x + 2}}{x}\right) = 0$$
Let's take the limit
so,
inclined coincides with the horizontal asymptote on the left
Even and odd functions
Let's check, whether the function even or odd by using relations f = f(-x) и f = -f(-x).
So, check:
$$\cos{\left(x \right)} + \frac{1}{x + 2} = \cos{\left(x \right)} + \frac{1}{2 - x}$$
- No
$$\cos{\left(x \right)} + \frac{1}{x + 2} = - \cos{\left(x \right)} - \frac{1}{2 - x}$$
- No
so, the function
not is
neither even, nor odd