- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Draw the graph of $y = \mid x \mid + 2$.
Given:
Given equation is $y = \mid x \mid + 2$.
To do:
We have to draw the graph of $y = \mid x \mid + 2$.
Solution:
We know that,
$\mid x \mid = x$ if $x>0$
$=0$ if $x=0$
$=-x$ if $x
To represent the above equation graphically we need at least two solutions for the given equation.
$y = x + 2$
If $x=0$, then $y=0+2=2$
If $x=1$, then $y=1+2=3$
If $x=-2$, then $y=-2+2=0$
$x$ | $-2$ | $0$ | $1$ |
$y$ | $0$ | $2$ | $3$ |
Plot the points $(-2, 0), (0, 2)$ and $(1, 3)$ on the graph and join them to get the graph of the given equation.
The above situation can be plotted graphically as below:
Advertisements
To Continue Learning Please Login
Login with Google