# Thread:

1. ## Quadratic problem

Thanks, that was pretty simple

Find two quadratic functions f and g such that $f (1) = 0, g(1) = 0$ and $f (0) = 10, g(0) = 10$ and both have a maximum value of 18.

So if $f(x) = ax^2 + bx + c$ then $c= 10$ for both f and g.

I also got $0=a+b+10$ for both f and g

what do I do from here?

2. Originally Posted by jgv115
Thanks, that was pretty simple

Find two quadratic functions f and g such that $f (1) = 0, g(1) = 0$ and $f (0) = 10, g(0) = 10$ and both have a maximum value of 18.

So if $f(x) = ax^2 + bx + c$ then $c= 10$ for both f and g.

I also got $0=a+b+10$ for both f and g

what do I do from here?
the question basically is that how many quadratic functions $f(x)=ax^2+bx+c$ are there satisfying
$f(1)=0, f(0)=10$ and the maximum value attained by f is 18.

since 1 is a root of $f$, we can write
$f(x)=k(x-1)(x-p)$; p being the other root.
given that $f(0)=10$, we have $kp=10$.
also maximum value of $f$ is 18 and we know that the maxima occurs at $x=(p+1)/2$ as p and 1 are the roots of f, we have
$f((p+1)/2)=18=(-k/4)((1-p)^2)$, which simplifies to,
$k((1-p)^2)+72=0$. now multiply both sides by k to get,
$(k-kp)^2+72k=0$. we already have the value of $kp$ which is 10, so we have,
$(k-10)^2+72k=0$ which gives two values of k which are $k=-2, k=-50$. both are acceptable as k had to be negative( if k is not negative then maxima of f does not exist).
corresponding values of p are -5 and -0.2.
so we have two such quadratic functions which can be found out by putting the values of k and p in $f(x)=k(x-1)(x-p)$

3. Originally Posted by jgv115
Thanks, that was pretty simple

Find two quadratic functions f and g such that $f (1) = 0, g(1) = 0$ and $f (0) = 10, g(0) = 10$ and both have a maximum value of 18.

So if $f(x) = ax^2 + bx + c$ then $c= 10$ for both f and g.

I also got $0=a+b+10$ for both f and g

what do I do from here?
to proceed from here you have to exploit on the information that maxima of $f$ is 18.
you must already be aware that the maxima(or minima) occurs at $x=(r1+r2)/2$ where $r1$ and $r2$ are the roots of the quadratic equation.
now you must also be knowing that sum of roots can be expressed in terms of the coefficients of powers of x, viz, $r1+r2=(-b/a)$.
so you will get that maximum of f occurs at $x=(-b/2a)$.
so use $f(-b/2a)=18$. from this you will get one more relation in a and b. knowing that $a+b+10=0$ your problem can be solved.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 38, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9729998111724854, "perplexity_flag": "head"}