# Flaw in the technique I am using to find the area between line and curve

I am asked to find the area between ${y = 7}$ and ${x^2 -5x + 13}$

Combining these equations together I get ${-x^2 - 5x + 6 = 0}$.

Factorising into ${(x - 3)(x - 2)}$

I am taking ${y = 7}$ to be the top equation so I then find the integral by subtracting the first equation from the second:

$${\int_{2}^3 (7 - (x^2 -5x + 13))\ dx}$$

Am I right so far?

This becomes:

$${\int_{2}^3 (-x^2 +5x - 6})dx$$

The integral is:

${-{x^3\over 3} + {5x^2\over 2} -6x}$

I subtract the 2 domain values:

$${({-27\over 3} + {45\over 2} - 18 ) - (-{8\over 3} + 10 - 12)}$$

$\implies {5{1\over 2} - {-4 {2\over 3}}}$

$\implies {10 {1\over 6}}$

This answer is wrong by some distance and I just cannot see what I am doing wrong.

• Check the line after you say, "This becomes: ..." Feb 5, 2016 at 18:55
• From your first integral to your second integral, doesn't $7 - (x^2-5x+13)$ become $-x^2+5x-6$? Feb 5, 2016 at 18:56
• Two issues: first, what you wrote immediately after subtracting has a sign error, but you corrected it further down. Second, your arithmetic for the final answer is wrong: wolframalpha.com/input/…
– Ian
Feb 5, 2016 at 18:56
• The area on what interval?
– mvw
Feb 5, 2016 at 19:03
• Note that $-\dfrac{27}{3}+\dfrac{45}{2}-18=-\dfrac{9}{2}.$
– mfl
Feb 5, 2016 at 19:08

Notice, your method is correct but you have made a mistake while subtracting in the last $$\left(\frac{-27}{3}+\frac{45}{2}-18\right)-\left(\frac{-8}{3}+10-12\right)$$ $$=\left(\frac{-9}{2}\right)-\left(\frac{-14}{3}\right)$$ $$=\frac{-9}{2}+\frac{14}{3}$$ $$=\frac{-27+28}{6}=\color{red}{\frac 16}$$
Plot the line: $y=7$ & upward parabola: $y=x^2-5x+13$ or $\left(x-\frac 52\right)^2=y-\frac 14$ which are intersecting each other at the points $\left(2, 7\right)$ & $(3, 7)$. Indicate the area between the line & the curve which is enclosed in a rectangle of $7\times 1$ & is given as $$(\text{area of rectangle})-(\text{area under the curve:}\ x^2-5x+13 \ \text{between}\ x=2\ \ \text{&} \ \ x=3)$$
$$=7\times 1-\int_2^3 (x^2-5x+13)\ dx$$ $$=7-\left[\frac{x^3}{3}-\frac {5x^2}{2}+13x\right]_2^3$$ $$=7-\frac{41}{6}=\color{red}{\frac 16}$$
• why is the first equation outside the integral, I.e 7 - ${\int}$ Feb 5, 2016 at 19:37
• This an alternate method by considering a rectangle enclosing the required area. The required area is equal to the difference of area of rectangle of $7\times 1$ to the area under the curve $x^2-5x+13$ between $x=2$ & $x=3$ which is given as $7-\int$ Feb 5, 2016 at 19:46