Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

How do you graph linear function\[?\]

Answer
VerifiedVerified
539.1k+ views
Hint:The form of linear function is given as $y=f(x)=ax+b $. And it always gives a straight line in the graph. The degree of its function will be almost $1$ or$0$. The linear function has one independent and one dependent variable in the above linear function $y$ is a dependent variable that depends on the value of $x$ and the independent variable is $x$. Here $a$ is coefficient of $x$ and $b$ is constant.

Complete step by step solution:
Graphing a linear function we will take one example
Let us consider a linear equation is $y=2x+1$.
Here $y$ is the dependent variable and $x$ is an independent variable.
For plotting this linear equation in the graph we need to find two points that satisfy the equation $y=2x+1$.
Now we assume that
If $x=0$ then,
$\Rightarrow y=2\times 0+1$
$\Rightarrow y=0+1=1$
$\Rightarrow y=1$
Here one point is $(x=0,y=1)$
Again we assume another value of $x$
If $x=1$then,
$\Rightarrow y=2\times 1+1$
$\Rightarrow y=2+1$
$\Rightarrow y=3$
Here another point will be $(x=1,y=3)$
Now we will plot the these point $(0,1)$ and $(1,3)$ in graph
After plotting these points as in the given graph join these points we will get a straight line.
The form of linear function is given as $y=f(x)=ax+b $. And it always gives a straight line in the graph. The degree of its function will be almost $1$ or $0$. The linear function has one independent and one dependent variable in the above linear function $y$ is a dependent variable that depends on the value of $x$ and the independent variable is $x$. Here $a$ is coefficient of $x$ and $b$ is constant.

seo images


Notes: Every point $(a,b)$ of straight line $y=mx+c$ give the solutions $x=a$ and $y=b$. Each point will satisfy the linear equation.
The linear equation has infinitely many solutions if the linear equation has two variables.
If the linear equation is $y=mx$, then it passes through origin$(0,0)$.