Solveeit Logo

Question

Question: How do you solve \({{x}^{2}}+3x-4=0\) graphically and algebraically? \[\]...

How do you solve x2+3x4=0{{x}^{2}}+3x-4=0 graphically and algebraically? $$$$

Explanation

Solution

We use the completing square method to solve the quadratic equationax2+bx+c=0a{{x}^{2}}+bx+c=0. We first take cc to the right hand side of the equation then a1a\ne 1 we divide both sides by aa. We then add (b2a)2{{\left( \dfrac{-b}{2a} \right)}^{2}} both sides. We make a complete square and then take the square root on both sides. We use the information that y=ax2+bx+c(a>0)y=a{{x}^{2}}+bx+c\left( a>0 \right)is the graph of an upward parabola with vertex at x=b2ax=\dfrac{-b}{2a} and solutions are at the point of intersection of the curve y=ax2+bx+cy=a{{x}^{2}}+bx+c with xx-axis. $$$$

Complete step-by-step solution:
We are given the quadratic equation x2+3x4=0{{x}^{2}}+3x-4=0 in the question; we compare it with general quadratic equation ax2+bx+c=0a{{x}^{2}}+bx+c=0 to find a=1,b=3,c=4a=1,b=3,c=4. We follows steps of completing the square method and take cc to the right hand side to have
x2+3x=4{{x}^{2}}+3x=4
Since a=1a=1 we do not need to divide both sides .We add (b2a)2=((3)2×1)2=(32)2=94{{\left( \dfrac{-b}{2a} \right)}^{2}}={{\left( \dfrac{\left( -3 \right)}{2\times 1} \right)}^{2}}={{\left( \dfrac{3}{2} \right)}^{2}}=\dfrac{9}{4} both side sides of the above equation to have
x23x+94=4+94\Rightarrow {{x}^{2}}-3x+\dfrac{9}{4}=4+\dfrac{9}{4}
Now we shall make a complete square using the terms on the left-hand side of the above step. Let us have;
(x)22×x×32+(32)2=16+94\Rightarrow {{\left( x \right)}^{2}}-2\times x\times \dfrac{3}{2}+{{\left( \dfrac{3}{2} \right)}^{2}}=\dfrac{16+9}{4}
We use the algebraic identity a22ab+b2=(ab)2{{a}^{2}}-2ab+{{b}^{2}}={{\left( a-b \right)}^{2}} in the left hand side of the above step to have the complete square as
(x32)2=254\Rightarrow {{\left( x-\dfrac{3}{2} \right)}^{2}}=\dfrac{25}{4}
We take square root both sides of the above step to have;

& \Rightarrow \left( x-\dfrac{3}{2} \right)=\pm \dfrac{5}{2} \\\ & \Rightarrow x=\dfrac{3}{2}\pm \dfrac{5}{2} \\\ & \Rightarrow x=\dfrac{3}{2}+\dfrac{5}{2},\dfrac{3}{2}-\dfrac{5}{2} \\\ & \Rightarrow x=4,-1 \\\ \end{aligned}$$ We graphically solve the problem by plotting the curve in $xy-$plane. We know that $y=a{{x}^{2}}+bx+c$ is the curve of an upward parabola with vertex at $x=\dfrac{-b}{2a}$. Show the points at where the curve $y=a{{x}^{2}}+bx+c$ will cut the $x-$axis will be our solution. So the vertex of the parabola is at $x=\dfrac{-b}{2a}=\dfrac{-3}{2}$ and the plot curve below. $$$$ ![](https://www.vedantu.com/question-sets/8d18907d-6d06-4dda-b6ca-bbb6113a75114480261751901730496.png) So we put the curve $y={{x}^{2}}+3x-4$ cuts $x-$axis at the points $\left( -4,0 \right),\left( 1,0 \right)$ . So the solutions of the equation are $x=-4,1$.$$$$ **Note:** We can alternatively solve by splitting the middle term method if the discriminant $D={{b}^{2}}-4ac$ is a perfect square. Here in this problem the discriminant is $D={{b}^{2}}-4ac={{\left( -3 \right)}^{2}}-4\times 1\times \left( -4 \right)=25$ is perfect square. We can now split the middle tem $-3x$ to have ${{x}^{2}}-4x+x-4=0$ which we factorize to get $\left( x+4 \right)\left( x-1 \right)=0$ from where we get the solution as $x=4,-1$