Solveeit Logo

Question

Question: How do you draw the graph of \( y = 1 + \sin x \) for \( 0 \leqslant x \leqslant 2\pi \) ?...

How do you draw the graph of y=1+sinxy = 1 + \sin x for 0x2π0 \leqslant x \leqslant 2\pi ?

Explanation

Solution

Hint : A graph of a function f is the set of ordered pairs; the equation of graph is generally represented as y=f(x)y = f\left( x \right) , where x and f(x)f\left( x \right) are real numbers. We substitute the value of x and we determine the value of y and then we mark the points in the graph and we join the points.

Complete step-by-step answer :
Here, in the given question, we have to plot the graph for the given function. A graph of a function is a set of ordered pairs and it is represented as y=f(x)y = f\left( x \right) , where x and f(x)f\left( x \right) are real numbers. These pairs are in the form of cartesian form and the graph is the two-dimensional graph.
First, we have to find the value of y by using the graph equation y=1+sinxy = 1 + \sin x and then limit the portion of the graph where x lies from 00 to 2π2\pi as we are given the condition 0x2π0 \leqslant x \leqslant 2\pi .
Let us substitute the value of x as π2\dfrac{\pi }{2} .
y=1+sin(π2)\Rightarrow y = 1 + \sin \left( {\dfrac{\pi }{2}} \right)
Since we know that the value of sinπ2\sin \dfrac{\pi }{2} is 11 .
y=1+1\Rightarrow y = 1 + 1
y=2\Rightarrow y = 2
Now, let us consider the value of x as 00 .
y=1+sin(0)\Rightarrow y = 1 + \sin \left( 0 \right)
Since we know that the value of sin0\sin 0 is 00 .
y=1\Rightarrow y = 1
Now we consider the value of x as (π6)\left( {\dfrac{\pi }{6}} \right) , the value of y is
y=1+sinπ6\Rightarrow y = 1 + \sin \dfrac{\pi }{6}
Since we know that the value of sinπ6\sin \dfrac{\pi }{6} is 12\dfrac{1}{2} .
y=32\Rightarrow y = \dfrac{3}{2}
Now we draw a table for these values we have

xπ2\dfrac{\pi }{2}(π6)\left( {\dfrac{\pi }{6}} \right)00
y2232\dfrac{3}{2}11

We also know the nature of the graph of sine function. Hence, we can now plot the graph of the given function y=1+sinxy = 1 + \sin x using graphical transformation. The graph plotted for these points is represented below:

Note : The graph is plotted x-axis versus y axis. The graph is two dimensional. By the equation of a graph, we can plot the graph by assuming the value of x. We can’t assume the value of y. because the value of y depends on the value of x. Hence, we have plotted the graph of y=1+sinxy = 1 + \sin x for 0x2π0 \leqslant x \leqslant 2\pi