Solveeit Logo

Question

Question: How do you graph \(y = \sin x + x\)...

How do you graph y=sinx+xy = \sin x + x

Explanation

Solution

First, find the derivative of the trigonometric function. Then determine the possible values of xx at which the function is equal to zero. We will find the value of the function when xx reaches to infinity.

Complete step-by-step answer:
We know that the graph of a function is defined for all xx which belong to real number. First, determine the value of the derivative of the function.
y=(sinx)+x\Rightarrow y' = {\left( {\sin x} \right)^\prime } + x'
Find the derivative of the expression.
y=cosx+1\Rightarrow y' = \cos x + 1
The range of cosx=[1,1]\cos x = \left[ { - 1,1} \right]. Equate the differentiation of the function to zero to compute the value of xx.
y=0\Rightarrow y' = 0
cosx+1=0\Rightarrow \cos x + 1 = 0
cosx=1\Rightarrow \cos x = - 1
Now we will apply the general solution of cosx=cosα\cos x = \cos \alpha
Therefore, the value of cosx=1\cos x = - 1when x=nπx = n\pi
Now, apply the limits to the function.
limxy=\Rightarrow \mathop {\lim }\limits_{x \to - \infty } y = - \infty
And
limxy=\Rightarrow \mathop {\lim }\limits_{x \to \infty } y = \infty
Now find the second derivative of the function by again differentiating the equation.
y=(cosx)+(1)\Rightarrow y'' = {\left( {\cos x} \right)^\prime } + {\left( 1 \right)^\prime }
y=sinx\Rightarrow y'' = - \sin x
Now, equate the second derivative of the function to zero to compute the value of xx.
sinx=0\Rightarrow - \sin x = 0
Now we will apply the general solution of sinx=0\sin x = 0
Therefore, the value of sinx=0\sin x = 0 when x=nπx = n\pi
Here, the inflection points for xx is equal to nπn\pi . Therefore, the graph of the function y=sinx+xy = \sin x + x shows that yxy \to x as the value of x\left| x \right|increases.
The graph of the function is shown below:

Note:
The graph of the trigonometric function is obtained by finding the second derivative of the function. First, equate the first derivative of the function to obtain the value of x and then equate the second derivative of the function to zero to obtain the value of x. In such types of questions, students made mistakes to obtain the inflection points of the function which is further used to obtain the graph of the function.