Question 790572
The easiest way to the answer (in my opinion) is to factor 238.
Dividing by 2, I find that {{{238=2*119}}}
119 does not divide evenly by 2, 3, or 5, but it divides by 7:
{{{119=7*17}}}
So, {{{238=2*7*17=14*17}}}
The sister is {{{highlight(14)}}} and the brother is {{{highlight(17)}}}.
If you are studying prime factorization, or if you are not in advanced algebra, that is the way you are expected to solve the problem.
 
If you are studying quadratic equations, you may be expected to write and solve one, in a long, painful, unnecessary waste of effort, like this:
{{{x}}}= age of the brother
{{{x-3}}}= age of the sister
{{{x(x-3)=238}}}
{{{x^2-3x=238}}}
{{{x^2-3x-238=0}}}
That is the quadratic equation.
 
There are 3 popular ways to solve such an equation.
You could use factoring, "completing the square", or the quadratic formula.
 
Factoring involves finding two factors that multiply to yield 238, and differ by 3. In a way, that is what I did above, without even mentioning algebra or equations.
Factoring, we find that {{{x^2-3x-238=(x-17)(x+14)}}} so we re-write the equation as
{{{(x-17)(x+14)=0}}}
At that point we realize that a solution must make {{{x-17=0}}} or {{{x+14=0}}}
{{{x+14=0}}}-->{{{x=-14}}} which cannot be the brother's age, because it is a negative number.
{{{x-17=0}}} leads to {{{x=highlight(17)}}}= age of the brother, and
{{{17-3=highlight(14)}}}= age of the sister.
 
Completing the square would be:
{{{x^2-3x=238}}}
{{{x^2-3x+9/4=238+9/4}}}
{{{(x-3/2)^2=238+9/4}}}
{{{(x-3/2)^2=952/4+9/4}}}
{{{(x-3/2)^2=961/4}}}
{{{(x-3/2)^2=(31/2)^2}}}
So either {{{x-3/2=-31/2}}} --> {{{x=-31/2+3/2<0}}} (which cannot be the age of the brother), or
{{{x-3/2=31/2}}} --> {{{x=31/2+3/2=34/2=highlight(17)}}}= age of the brother,
so {{{17-3=highlight(14)}}}= age of the sister.
 
Using the quadratic formula:
The solutions to {{{ax^2+bx+c=0}}} can be expressed as
{{{x = (-b +- sqrt( b^2-4*a*c ))/(2*a) }}}
In the case of {{{x^2-3x-238=0}}},
{{{a=1}}}, {{{b=-3}}}, and {{{c=-238}}}, so
{{{x = (-(-3) +- sqrt((-3)^2-4*1*(-238) ))/(2*1)=(3 +- sqrt(9+952))/2=(3 +- sqrt(961))/2=3 +- 31)/2}}}
So the solutions to that equation are:
{{{c=(3-31)/2=-28/2=-14}}} (which is not a solution to the problem, because the brother's age cannot be negative),
and {{{x=(3+31)/2=34/2=highlight(17)}}}= age of the brother,
so {{{17-3=highlight(14)}}}= age of the sister.