1. ## polynomial question

Write an equation to construct a function whose graph is like that of y=x^2, except for pieces removed for values between 2 and 5, and 7 and 8.

2. Why not just

$\displaystyle f:\{(-\infty, 2)\cup (5, 7) \cup (8, \infty) \to \mathbf{R} | f(x) = x^2\}$?

3. Originally Posted by jasonxl
Write an equation to construct a function whose graph is like that of y=x^2, except for pieces removed for values between 2 and 5, and 7 and 8.
I beleilve this equation would work, although I'm guessing its too complicated to be the equation the question was expecting to be given as an answer:

$\displaystyle y = (x^2)\frac{\sqrt{(x-3)^2-1}}{\sqrt{(x-3)^2-1}}\frac{\sqrt{(x-7.5)^2-\frac{1}{4}}}{\sqrt{(x-7.5)^2-\frac{1}{4}}}$

Again, I beleive this will produce gap bewteen 3 and 5, and a gap between 7 and 8. I hope this helps somehow

4. Actually, the above equation doesnt quite come out correctly, I beleive it has the gaps in the proper places, but I dont think it returns parabolic looking graph otherwise. Its allot to type into a calculator though, so I could've made syntax errors. I think its a step in the right direction though.

EDIT:

I regraphed the above equation, and it looks just like the parabola y=x^2 except for gaps on the intervals

$\displaystyle [3, 5]$

and

$\displaystyle [7, 8]$

I stand by my first equation I posted
{"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": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "http://mathhelpforum.com/pre-calculus/149098-polynomial-question.html", "fetch_time": 1529521243000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2018-26/segments/1529267863834.46/warc/CC-MAIN-20180620182802-20180620202802-00520.warc.gz", "warc_record_offset": 203269275, "warc_record_length": 10288, "token_count": 408, "char_count": 1363, "score": 3.5, "int_score": 4, "crawl": "CC-MAIN-2018-26", "snapshot_type": "latest", "language": "en", "language_score": 0.9183579087257385, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00018-of-00064.parquet"}