Mister Exam

Graphing y = x+cos2x

v

The graph:

from to

Intersection points:

does show?

Piecewise:

The solution

You have entered [src]
f(x) = x + cos(2*x)
$$f{\left(x \right)} = x + \cos{\left(2 x \right)}$$
f = x + cos(2*x)
The graph of the function
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:
$$x + \cos{\left(2 x \right)} = 0$$
Solve this equation
The points of intersection with the axis X:

Numerical solution
$$x_{1} = -0.514933264661129$$
The points of intersection with the Y axis coordinate
The graph crosses Y axis when x equals 0:
substitute x = 0 to x + cos(2*x).
$$\cos{\left(0 \cdot 2 \right)}$$
The result:
$$f{\left(0 \right)} = 1$$
The point:
(0, 1)
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
$$1 - 2 \sin{\left(2 x \right)} = 0$$
Solve this equation
The roots of this equation
$$x_{1} = \frac{\pi}{12}$$
$$x_{2} = \frac{5 \pi}{12}$$
The values of the extrema at the points:
       ___      
 pi  \/ 3    pi 
(--, ----- + --)
 12    2     12 

           ___        
 5*pi    \/ 3    5*pi 
(----, - ----- + ----)
  12       2      12  


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} = \frac{5 \pi}{12}$$
Maxima of the function at points:
$$x_{1} = \frac{\pi}{12}$$
Decreasing at intervals
$$\left(-\infty, \frac{\pi}{12}\right] \cup \left[\frac{5 \pi}{12}, \infty\right)$$
Increasing at intervals
$$\left[\frac{\pi}{12}, \frac{5 \pi}{12}\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
$$- 4 \cos{\left(2 x \right)} = 0$$
Solve this equation
The roots of this equation
$$x_{1} = \frac{\pi}{4}$$
$$x_{2} = \frac{3 \pi}{4}$$

С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[\frac{\pi}{4}, \frac{3 \pi}{4}\right]$$
Convex at the intervals
$$\left(-\infty, \frac{\pi}{4}\right] \cup \left[\frac{3 \pi}{4}, \infty\right)$$
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(x + \cos{\left(2 x \right)}\right) = -\infty$$
Let's take the limit
so,
horizontal asymptote on the left doesn’t exist
$$\lim_{x \to \infty}\left(x + \cos{\left(2 x \right)}\right) = \infty$$
Let's take the limit
so,
horizontal asymptote on the right doesn’t exist
Inclined asymptotes
Inclined asymptote can be found by calculating the limit of x + cos(2*x), divided by x at x->+oo and x ->-oo
$$\lim_{x \to -\infty}\left(\frac{x + \cos{\left(2 x \right)}}{x}\right) = 1$$
Let's take the limit
so,
inclined asymptote equation on the left:
$$y = x$$
$$\lim_{x \to \infty}\left(\frac{x + \cos{\left(2 x \right)}}{x}\right) = 1$$
Let's take the limit
so,
inclined asymptote equation on the right:
$$y = x$$
Even and odd functions
Let's check, whether the function even or odd by using relations f = f(-x) и f = -f(-x).
So, check:
$$x + \cos{\left(2 x \right)} = - x + \cos{\left(2 x \right)}$$
- No
$$x + \cos{\left(2 x \right)} = x - \cos{\left(2 x \right)}$$
- No
so, the function
not is
neither even, nor odd